/third_party/ltp/testcases/kernel/syscalls/select/ |
D | select01.c | 29 int *writefd; member 47 if (tc->writefd) { in run() 48 SAFE_WRITE(0, *tc->writefd, &buf, sizeof(buf)); in run() 77 if (!tc->writefd) in run() 80 if (FD_ISSET(*tc->writefd, tc->writefds)) in run() 81 tst_res(TPASS, "writefds bit %i is set", *tc->writefd); in run() 83 tst_res(TPASS, "writefds bit %i is not set", *tc->writefd); in run()
|
/third_party/ltp/testcases/kernel/syscalls/writev/ |
D | writev03.c | 37 static int mapfd = -1, writefd = -1, readfd = -1; variable 59 writefd = SAFE_OPEN(TEMPFILE, O_CREAT|O_WRONLY|O_TRUNC, 0644); in thread_run() 76 tst_atomic_store(writev(writefd, iov, ARRAY_SIZE(iov)), in thread_run() 82 SAFE_CLOSE(writefd); in thread_run() 134 if (writefd >= 0) in cleanup() 135 SAFE_CLOSE(writefd); in cleanup()
|
/third_party/ltp/testcases/kernel/mem/thp/ |
D | thp04.c | 38 static int writefd = -1, readfd = -1; variable 95 writefd = SAFE_OPEN("/proc/self/mem", O_RDWR); in setup() 129 SAFE_LSEEK(writefd, (off_t)write_ptr, SEEK_SET); in run() 131 SAFE_WRITE(1, writefd, &c, sizeof(int)); in run() 153 if (writefd >= 0) in cleanup() 154 SAFE_CLOSE(writefd); in cleanup()
|
/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() 396 (int)(sizeof(i) + sizeof(buflen)), buflen, writefd); in main() 397 write (writefd, &i, sizeof (i)); in main() 398 write (writefd, &buflen, sizeof (buflen)); in main() 399 write (writefd, buf, buflen); in main() 413 g_debug ("gio-test: child exiting, closing %d", writefd); in main() 414 close (writefd); in main()
|
/third_party/openssl/engines/ |
D | e_dasync.c | 421 OSSL_ASYNC_FD *writefd; in dummy_pause_job() local 435 (void **)&writefd)) { in dummy_pause_job() 436 pipefds[1] = *writefd; in dummy_pause_job() 438 writefd = OPENSSL_malloc(sizeof(*writefd)); in dummy_pause_job() 439 if (writefd == NULL) in dummy_pause_job() 443 OPENSSL_free(writefd); in dummy_pause_job() 448 OPENSSL_free(writefd); in dummy_pause_job() 452 *writefd = pipefds[1]; in dummy_pause_job() 455 writefd, wait_cleanup)) { in dummy_pause_job() 456 wait_cleanup(waitctx, engine_dasync_id, pipefds[0], writefd); in dummy_pause_job()
|
/third_party/curl/lib/ |
D | select.c | 248 curl_socket_t writefd, /* socket to write to */ in Curl_socket_check() argument 256 (writefd == CURL_SOCKET_BAD)) { in Curl_socket_check() 279 if(writefd != CURL_SOCKET_BAD) { in Curl_socket_check() 280 pfd[num].fd = writefd; in Curl_socket_check() 306 if(writefd != CURL_SOCKET_BAD) { in Curl_socket_check()
|
D | select.h | 76 curl_socket_t writefd,
|
/third_party/pulseaudio/src/pulsecore/ |
D | srbchannel.c | 312 sr->sem_write = pa_fdsem_open_shm(&srh->write_semdata, t->writefd); in pa_srbchannel_new_from_template() 317 temp = t->readfd; t->readfd = t->writefd; t->writefd = temp; in pa_srbchannel_new_from_template() 337 t->writefd = pa_fdsem_get(sr->sem_write); in pa_srbchannel_export()
|
D | srbchannel.h | 33 int readfd, writefd; member
|
D | protocol-native.c | 2526 fdlist[1] = srbt.writefd; in setup_srbchannel()
|
/third_party/weston/compositor/ |
D | cms-colord.c | 53 int writefd; member 157 rc = write(cms->writefd, &tmp, 1); in update_device_with_profile_in_idle() 463 if (cms->writefd) in colord_module_destroy() 464 close(cms->writefd); in colord_module_destroy() 576 cms->writefd = fd[1]; in wet_module_init()
|
/third_party/weston/remoting/ |
D | remoting-plugin.c | 66 int writefd; member 178 ret = write(pipe->writefd, &msg, sizeof(msg)); in remoting_gst_bus_sync_handler() 407 output->gstpipe.writefd = fd[1]; in remoting_gstpipe_init() 427 close(pipe->writefd); in remoting_gstpipe_release() 501 ret = write(pipe->writefd, &msg, sizeof(msg)); in remoting_gst_mem_free_cb()
|
/third_party/curl/lib/vtls/ |
D | rustls.c | 395 curl_socket_t writefd; in cr_connect_nonblocking() local 433 writefd = wants_write?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 | 546 curl_socket_t writefd = in mesalink_connect_common() local 553 what = Curl_socket_check(readfd, CURL_SOCKET_BAD, writefd, in mesalink_connect_common()
|
D | wolfssl.c | 976 curl_socket_t writefd = ssl_connect_2_writing == in wolfssl_connect_common() local 981 what = Curl_socket_check(readfd, CURL_SOCKET_BAD, writefd, in wolfssl_connect_common()
|
D | mbedtls.c | 954 curl_socket_t writefd = ssl_connect_2_writing == in mbed_connect_common() local 959 what = Curl_socket_check(readfd, CURL_SOCKET_BAD, writefd, in mbed_connect_common()
|
D | bearssl.c | 685 curl_socket_t writefd = ssl_connect_2_writing == in bearssl_connect_common() local 690 what = Curl_socket_check(readfd, CURL_SOCKET_BAD, writefd, in bearssl_connect_common()
|
D | gtls.c | 225 curl_socket_t writefd = ssl_connect_2_writing == in handshake() local 230 what = Curl_socket_check(readfd, CURL_SOCKET_BAD, writefd, in handshake()
|
D | schannel.c | 1553 curl_socket_t writefd = ssl_connect_2_writing == in schannel_connect_common() local 1558 what = Curl_socket_check(readfd, CURL_SOCKET_BAD, writefd, in schannel_connect_common()
|
D | sectransp.c | 3036 curl_socket_t writefd = ssl_connect_2_writing == local 3041 what = Curl_socket_check(readfd, CURL_SOCKET_BAD, writefd,
|
D | openssl.c | 4090 curl_socket_t writefd = ssl_connect_2_writing == in ossl_connect_common() local 4095 what = Curl_socket_check(readfd, CURL_SOCKET_BAD, writefd, in ossl_connect_common()
|
/third_party/pulseaudio/src/pulse/ |
D | context.c | 177 c->srb_template.writefd = -1; in pa_context_new_with_proplist() 384 c->srb_template.writefd = -1; in handle_srbchannel_memblock() 1499 c->srb_template.writefd = ancil->fds[1]; 1532 c->srb_template.writefd = -1;
|
/third_party/gstreamer/gstplugins_base/ |
D | ChangeLog | 124188 rtsp: Removed duplicate initialization of conn->writefd.
|