Lines Matching refs:pipefds
420 OSSL_ASYNC_FD pipefds[2] = {0, 0};
434 if (ASYNC_WAIT_CTX_get_fd(waitctx, engine_dasync_id, &pipefds[0],
436 pipefds[1] = *writefd;
442 if (CreatePipe(&pipefds[0], &pipefds[1], NULL, 256) == 0) {
447 if (pipe(pipefds) != 0) {
452 *writefd = pipefds[1];
454 if (!ASYNC_WAIT_CTX_set_wait_fd(waitctx, engine_dasync_id, pipefds[0],
456 wait_cleanup(waitctx, engine_dasync_id, pipefds[0], writefd);
466 WriteFile(pipefds[1], &buf, 1, &numwritten, NULL);
468 if (write(pipefds[1], &buf, 1) < 0)
477 ReadFile(pipefds[0], &buf, 1, &numread, NULL);
479 if (read(pipefds[0], &buf, 1) < 0)