/external/libwebsockets/minimal-examples/raw/minimal-raw-serial/ |
D | minimal-raw-file.c | 30 int filefd; member 64 vhd->filefd = lws_open(filepath, O_RDWR); in callback_raw_test() 65 if (vhd->filefd == -1) { in callback_raw_test() 71 tcflush(vhd->filefd, TCIOFLUSH); in callback_raw_test() 74 if (ioctl(vhd->filefd, TIOCGSERIAL, &s_s) == 0) { in callback_raw_test() 76 ioctl(vhd->filefd, TIOCSSERIAL, &s_s); in callback_raw_test() 83 if (tcgetattr(vhd->filefd, &tio)) { in callback_raw_test() 84 close(vhd->filefd); in callback_raw_test() 85 vhd->filefd = -1; in callback_raw_test() 115 tcsetattr(vhd->filefd, TCSANOW, &tio); in callback_raw_test() [all …]
|
/external/libwebsockets/minimal-examples/raw/minimal-raw-file/ |
D | minimal-raw-file.c | 22 int filefd; member 41 vhd->filefd = lws_open(filepath, O_RDWR); in callback_raw_test() 42 if (vhd->filefd == -1) { in callback_raw_test() 47 u.filefd = (lws_filefd_type)(long long)vhd->filefd; in callback_raw_test() 52 close(vhd->filefd); in callback_raw_test() 53 vhd->filefd = -1; in callback_raw_test() 60 if (vhd && vhd->filefd != -1) in callback_raw_test() 61 close(vhd->filefd); in callback_raw_test() 72 n = read(vhd->filefd, buf, sizeof(buf)); in callback_raw_test()
|
/external/ltp/testcases/kernel/syscalls/vmsplice/ |
D | vmsplice02.c | 38 static int filefd; variable 49 { &filefd, &ivc, 1, EBADF }, 60 filefd = SAFE_OPEN(TESTFILE, O_WRONLY | O_CREAT, 0644); in setup() 93 if (filefd > 0) in cleanup() 94 SAFE_CLOSE(filefd); in cleanup()
|
/external/ltp/testcases/kernel/syscalls/renameat/ |
D | renameat01.c | 79 static int filefd; variable 99 { &filefd, TESTFILE, &filefd, NEW_TESTFILE, ENOTDIR }, 172 filefd = SAFE_OPEN(cleanup, TESTFILE4, in setup() 243 if (filefd > 0 && close(filefd) < 0) in cleanup()
|
/external/libwebsockets/plugins/ |
D | protocol_lws_raw_test.c | 141 u.filefd = vhd->fifo; in callback_raw_test() 220 u.filefd = vhd->fifo; in callback_raw_test()
|
/external/libwebsockets/minimal-examples/raw/minimal-raw-audio/ |
D | audio.c | 30 int filefd; member 59 u.filefd = (lws_filefd_type)(long long)pfd.fd; in set_hw_params()
|
/external/kernel-headers/original/uapi/misc/ |
D | fastrpc.h | 32 __s32 filefd; /* fd for the file */ member
|
/external/libwebsockets/include/libwebsockets/ |
D | lws-adopt.h | 79 lws_filefd_type filefd; member
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | tls.c | 172 int filefd = open("/proc/self/exe", O_RDONLY); in TEST_F() local 175 EXPECT_GE(filefd, 0); in TEST_F() 176 fstat(filefd, &st); in TEST_F() 177 EXPECT_GE(sendfile(self->fd, filefd, 0, st.st_size), 0); in TEST_F() 182 int filefd = open("/proc/self/exe", O_RDONLY); in TEST_F() local 189 EXPECT_GE(filefd, 0); in TEST_F() 190 fstat(filefd, &st); in TEST_F() 197 EXPECT_GE(sendfile(self->fd, filefd, 0, st.st_size), 0); in TEST_F()
|
/external/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-alexa/ |
D | audio.c | 53 int filefd; member 148 u.filefd = (lws_filefd_type)(long long)pfd.fd; in set_hw_params()
|
/external/libwebsockets/lib/event-libs/libev/ |
D | libev.c | 265 fd = wsi->desc.filefd; in elops_accept_ev() 358 fd = wsi->desc.filefd; in elops_init_vhost_listen_wsi_ev()
|
/external/libwebsockets/lib/event-libs/libevent/ |
D | libevent.c | 252 fd = wsi->desc.filefd; in elops_accept_event() 382 fd = wsi->desc.filefd; in elops_init_vhost_listen_wsi_event()
|
/external/libwebsockets/minimal-examples/raw/minimal-raw-netcat/ |
D | minimal-raw-netcat.c | 237 sock.filefd = 0; in main()
|
/external/fastrpc/inc/ |
D | fastrpc_internal.h | 98 __s32 filefd; /* fd for the file */ member
|
/external/libwebsockets/lib/core-net/ |
D | dummy-callback.c | 739 written = write(args->stdwsi[LWS_STDIN]->desc.filefd, in lws_callback_http_dummy() 777 args->stdwsi[LWS_STDIN]->desc.filefd > 0) { in lws_callback_http_dummy()
|
D | output.c | 369 n = write((int)(long long)wsi->desc.filefd, buf, len); in lws_ssl_capable_write_no_ssl()
|
D | adopt.c | 215 if (lws_plat_set_nonblocking(fd.filefd)) { in lws_adopt_descriptor_vhost2()
|
/external/libwebsockets/lib/event-libs/glib/ |
D | glib.c | 257 fd = wsi->desc.filefd; in elops_accept_glib()
|
/external/libwebsockets/lib/event-libs/libuv/ |
D | libuv.c | 625 (int)(long long)wsi->desc.filefd); in elops_accept_uv()
|
/external/fastrpc/src/ |
D | fastrpc_apps_user.c | 1671 uproc.filefd = rpcmem_to_fd_internal((void *)uproc.file); in apps_dev_init() 1673 VERIFYC(uproc.filefd != -1, AEE_EINVALIDFD); in apps_dev_init()
|
/external/libwebsockets/READMEs/ |
D | README.coding.md | 734 u.filefd = your_open_file_fd;
|