/third_party/ltp/testcases/kernel/syscalls/writev/ |
D | writev03.c | 37 static int mapfd = -1, writefd = -1, readfd = -1; variable 97 readfd = SAFE_OPEN(TEMPFILE, O_RDONLY); in run() 101 total_read += SAFE_READ(0, readfd, readbuf+total_read, in run() 106 SAFE_CLOSE(readfd); in run() 131 if (readfd >= 0) in cleanup() 132 SAFE_CLOSE(readfd); in cleanup()
|
/third_party/ltp/testcases/kernel/mem/thp/ |
D | thp04.c | 38 static int writefd = -1, readfd = -1; variable 96 readfd = SAFE_OPEN("/proc/self/mem", O_RDWR); in setup() 110 SAFE_LSEEK(readfd, (off_t)write_ptr, SEEK_SET); in thread_run() 111 SAFE_READ(1, readfd, &c, sizeof(int)); in thread_run() 150 if (readfd >= 0) in cleanup() 151 SAFE_CLOSE(readfd); in cleanup()
|
/third_party/pulseaudio/src/pulsecore/ |
D | srbchannel.c | 226 int readfd; in pa_srbchannel_new() local 264 readfd = pa_fdsem_get(sr->sem_read); in pa_srbchannel_new() 267 pa_log("Enabling io event on fd %d", readfd); in pa_srbchannel_new() 270 sr->read_event = m->io_new(m, readfd, PA_IO_EVENT_INPUT, semread_cb, sr); in pa_srbchannel_new() 308 sr->sem_read = pa_fdsem_open_shm(&srh->read_semdata, t->readfd); in pa_srbchannel_new_from_template() 317 temp = t->readfd; t->readfd = t->writefd; t->writefd = temp; in pa_srbchannel_new_from_template() 320 pa_log("Enabling io event on fd %d", t->readfd); in pa_srbchannel_new_from_template() 323 sr->read_event = m->io_new(m, t->readfd, PA_IO_EVENT_INPUT, semread_cb, sr); in pa_srbchannel_new_from_template() 336 t->readfd = pa_fdsem_get(sr->sem_read); in pa_srbchannel_export()
|
D | srbchannel.h | 33 int readfd, writefd; member
|
D | protocol-native.c | 2525 fdlist[0] = srbt.readfd; in setup_srbchannel()
|
/third_party/ltp/testcases/kernel/syscalls/select/ |
D | select01.c | 28 int *readfd; member 72 if (FD_ISSET(*tc->readfd, tc->readfds)) in run() 73 tst_res(TPASS, "readfds bit %i is set", *tc->readfd); in run() 75 tst_res(TFAIL, "readfds bit %i is not set", *tc->readfd); in run()
|
/third_party/weston/compositor/ |
D | cms-colord.c | 52 int readfd; member 391 rc = read(cms->readfd, &tmp, 1); in colord_dispatch_all_pending() 461 if (cms->readfd) in colord_module_destroy() 462 close(cms->readfd); in colord_module_destroy() 575 cms->readfd = fd[0]; in wet_module_init() 579 cms->readfd, in wet_module_init()
|
/third_party/libuv/test/ |
D | test-pipe-getsockname.c | 214 int readfd; in TEST_IMPL() local 224 readfd = _open_osfhandle((intptr_t)readh, _O_RDONLY); in TEST_IMPL() 226 r = uv_pipe_open(&pipe_client, readfd); in TEST_IMPL()
|
/third_party/glib/tests/ |
D | gio-test.c | 369 int readfd, writefd; in main() local 381 sscanf (argv[2], "%d:%d%n", &readfd, &writefd, &n); in main() 387 srand (tv.tv_sec ^ (tv.tv_usec / 1000) ^ readfd ^ (writefd << 4)); in main()
|
/third_party/curl/lib/vtls/ |
D | rustls.c | 396 curl_socket_t readfd; in cr_connect_nonblocking() local 434 readfd = wants_read?sockfd:CURL_SOCKET_BAD; in cr_connect_nonblocking() 436 what = Curl_socket_check(readfd, CURL_SOCKET_BAD, writefd, 0); in cr_connect_nonblocking()
|
D | mesalink.c | 549 curl_socket_t readfd = ssl_connect_2_reading == connssl->connecting_state in mesalink_connect_common() local 553 what = Curl_socket_check(readfd, CURL_SOCKET_BAD, writefd, in mesalink_connect_common()
|
D | wolfssl.c | 978 curl_socket_t readfd = ssl_connect_2_reading == in wolfssl_connect_common() local 981 what = Curl_socket_check(readfd, CURL_SOCKET_BAD, writefd, in wolfssl_connect_common()
|
D | mbedtls.c | 956 curl_socket_t readfd = ssl_connect_2_reading == in mbed_connect_common() local 959 what = Curl_socket_check(readfd, CURL_SOCKET_BAD, writefd, in mbed_connect_common()
|
D | bearssl.c | 687 curl_socket_t readfd = ssl_connect_2_reading == in bearssl_connect_common() local 690 what = Curl_socket_check(readfd, CURL_SOCKET_BAD, writefd, in bearssl_connect_common()
|
D | gtls.c | 227 curl_socket_t readfd = ssl_connect_2_reading == in handshake() local 230 what = Curl_socket_check(readfd, CURL_SOCKET_BAD, writefd, in handshake()
|
D | schannel.c | 1555 curl_socket_t readfd = ssl_connect_2_reading == in schannel_connect_common() local 1558 what = Curl_socket_check(readfd, CURL_SOCKET_BAD, writefd, in schannel_connect_common()
|
D | sectransp.c | 3038 curl_socket_t readfd = ssl_connect_2_reading == local 3041 what = Curl_socket_check(readfd, CURL_SOCKET_BAD, writefd,
|
D | openssl.c | 4092 curl_socket_t readfd = ssl_connect_2_reading == in ossl_connect_common() local 4095 what = Curl_socket_check(readfd, CURL_SOCKET_BAD, writefd, in ossl_connect_common()
|
/third_party/curl/lib/ |
D | select.h | 75 int Curl_socket_check(curl_socket_t readfd, curl_socket_t readfd2,
|
/third_party/weston/remoting/ |
D | remoting-plugin.c | 65 int readfd; member 406 output->gstpipe.readfd = fd[0]; in remoting_gstpipe_init() 410 wl_event_loop_add_fd(loop, output->gstpipe.readfd, in remoting_gstpipe_init() 426 close(pipe->readfd); in remoting_gstpipe_release()
|
/third_party/openssl/engines/ |
D | e_dasync.c | 402 OSSL_ASYNC_FD readfd, void *pvwritefd) in wait_cleanup() argument 406 CloseHandle(readfd); in wait_cleanup() 409 close(readfd); in wait_cleanup()
|
/third_party/pulseaudio/src/pulse/ |
D | context.c | 176 c->srb_template.readfd = -1; in pa_context_new_with_proplist() 383 c->srb_template.readfd = -1; in handle_srbchannel_memblock() 412 if (c->srb_template.readfd != -1 && c->srb_template.memblock == NULL) { in pstream_memblock_callback() 1490 if (c->srb_template.readfd != -1) 1498 c->srb_template.readfd = ancil->fds[0]; 1531 c->srb_template.readfd = -1;
|
/third_party/gstreamer/gstreamer/ |
D | ChangeLog | 73171 poll: make sure we remove the readfd messages
|