Lines Matching defs:pipefds
413 OSSL_ASYNC_FD pipefds[2] = {0, 0};
427 if (ASYNC_WAIT_CTX_get_fd(waitctx, engine_dasync_id, &pipefds[0],
429 pipefds[1] = *writefd;
435 if (CreatePipe(&pipefds[0], &pipefds[1], NULL, 256) == 0) {
440 if (pipe(pipefds) != 0) {
445 *writefd = pipefds[1];
447 if (!ASYNC_WAIT_CTX_set_wait_fd(waitctx, engine_dasync_id, pipefds[0],
449 wait_cleanup(waitctx, engine_dasync_id, pipefds[0], writefd);
459 WriteFile(pipefds[1], &buf, 1, &numwritten, NULL);
461 if (write(pipefds[1], &buf, 1) < 0)
470 ReadFile(pipefds[0], &buf, 1, &numread, NULL);
472 if (read(pipefds[0], &buf, 1) < 0)