Home
last modified time | relevance | path

Searched refs:tfd (Results 1 – 24 of 24) sorted by relevance

/external/ltp/testcases/kernel/syscalls/timerfd/
Dtimerfd01.c107 long waittmr(int tfd, int timeo) in waittmr() argument
112 pfd.fd = tfd; in waittmr()
123 if (read(tfd, &ticks, sizeof(ticks)) != sizeof(ticks)) { in waittmr()
135 int tfd; in main() local
164 if ((tfd = timerfd_create(clks[i].id, 0)) == -1) { in main()
168 fprintf(stdout, "timerfd = %d\n", tfd); in main()
170 if (timerfd_settime(tfd, 0, &tmr, NULL)) { in main()
176 ticks = waittmr(tfd, -1); in main()
188 if (timerfd_settime(tfd, TFD_TIMER_ABSTIME, &tmr, NULL)) { in main()
194 ticks = waittmr(tfd, -1); in main()
[all …]
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/
Ddistribution_test.py30 tfd = distributions variable
37 tfd.Normal,
38 tfd.Bernoulli,
39 tfd.Beta,
40 tfd.Chi2,
41 tfd.Exponential,
42 tfd.Gamma,
43 tfd.InverseGamma,
44 tfd.Laplace,
45 tfd.StudentT,
[all …]
/external/toybox/toys/pending/
Dsyslogd.c238 struct logfile *tfd; in open_logfiles() local
240 for (tfd = TT.lfiles; tfd; tfd = tfd->next) { in open_logfiles()
244 if (*tfd->filename == '@') { // network in open_logfiles()
247 tmpfile = xstrdup(tfd->filename + 1); in open_logfiles()
254 error_exit("bad port in %s", tfd->filename); in open_logfiles()
264 memcpy(&tfd->saddr, info->ai_addr, info->ai_addrlen); in open_logfiles()
267 tfd->logfd = xsocket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in open_logfiles()
269 } else tfd->logfd = open(tfd->filename, O_CREAT | O_WRONLY | O_APPEND, 0666); in open_logfiles()
270 if (tfd->logfd < 0) { in open_logfiles()
271 tfd->filename = "/dev/console"; in open_logfiles()
[all …]
Dcrontab.c249 int tfd = mkstemp(tname); in do_replace() local
251 if (tfd < 0) perror_exit("mkstemp"); in do_replace()
252 xsendfile(0, tfd); in do_replace()
253 xclose(tfd); in do_replace()
/external/curl/docs/examples/
Dephiperfifo.c89 int tfd; /* timer filedescriptor */ member
174 timerfd_settime(g->tfd, /*flags=*/0, &its, NULL); in multi_timer_cb()
221 timerfd_settime(g->tfd, 0, &its, NULL); in event_cb()
232 err = read(g->tfd, &count, sizeof(uint64_t)); in timer_cb()
240 fprintf(MSG_OUT, "EAGAIN on tfd %d\n", g->tfd); in timer_cb()
491 g.tfd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK | TFD_CLOEXEC); in main()
492 if(g.tfd == -1) { in main()
500 timerfd_settime(g.tfd, 0, &its, NULL); in main()
503 ev.data.fd = g.tfd; in main()
504 epoll_ctl(g.epfd, EPOLL_CTL_ADD, g.tfd, &ev); in main()
[all …]
/external/grpc-grpc/test/core/iomgr/
Dpollset_set_test.cc105 void on_readable(void* tfd, grpc_error* error) { in on_readable() argument
106 (static_cast<test_fd*>(tfd))->is_on_readable_called = true; in on_readable()
109 static void reset_test_fd(test_fd* tfd) { in reset_test_fd() argument
110 tfd->is_on_readable_called = false; in reset_test_fd()
112 GRPC_CLOSURE_INIT(&tfd->on_readable, on_readable, tfd, in reset_test_fd()
114 grpc_fd_notify_on_read(tfd->fd, &tfd->on_readable); in reset_test_fd()
/external/ltp/testcases/kernel/syscalls/recvmsg/
Drecvmsg01.c253 int tfd; in setup() local
258 tfd = mkstemp(tmpsunpath); in setup()
259 close(tfd); in setup()
496 int tfd; in sender() local
499 tfd = mkstemp(tmpfn); in sender()
500 if (tfd < 0) in sender()
511 *(int *)CMSG_DATA(control) = tfd; in sender()
524 (void)close(tfd); in sender()
/external/strace/
Dkcmp.c35 uint32_t tfd; member
86 PRINT_FIELD_PIDFD(", ", slot, tfd, tcp, pid2); in SYS_FUNC()
/external/ltp/testcases/kernel/syscalls/sendmsg/
Dsendmsg01.c623 static int tfd; variable
631 tfd = mkstemp(tmpfilename); in setup4()
632 if (tfd < 0) { in setup4()
641 *(int *)CMSG_DATA(control) = tfd; in setup4()
648 close(tfd); in cleanup4()
649 tfd = -1; in cleanup4()
/external/toybox/toys/posix/
Dcp.c129 tfd = dirtree_parentfd(try); in cp_node() local
217 if (!linkat(tfd, try->name, cfd, catch, 0)) err = 0; in cp_node()
254 ? ((i = readlinkat0(tfd, try->name, toybuf, sizeof(toybuf))) && in cp_node()
266 fdin = openat(tfd, try->name, O_RDONLY); in cp_node()
346 if (unlinkat(tfd, try->name, S_ISDIR(try->st.st_mode) ? AT_REMOVEDIR :0)) in cp_node()
/external/strace/tests-m32/
Dkcmp.c72 uint32_t tfd; member
132 printpidfd(", tfd=", pid2, slot->tfd); in do_kcmp()
/external/strace/tests/
Dkcmp.c72 uint32_t tfd; member
132 printpidfd(", tfd=", pid2, slot->tfd); in do_kcmp()
/external/strace/tests-mx32/
Dkcmp.c72 uint32_t tfd; member
132 printpidfd(", tfd=", pid2, slot->tfd); in do_kcmp()
/external/kernel-headers/original/uapi/linux/
Dkcmp.h24 __u32 tfd; /* target file number */ member
/external/autotest/site_utils/
Dlabel_cleaner.py280 tfd, metrics_file=tempfile.mkstemp()
281 os.close(tfd)
/external/u-boot/tools/
Dfit_image.c29 int tfd, destfd = 0; in fit_add_file_data() local
36 tfd = mmap_fdt(params->cmdname, tmpfile, size_inc, &ptr, &sbuf, true); in fit_add_file_data()
37 if (tfd < 0) in fit_add_file_data()
72 close(tfd); in fit_add_file_data()
/external/linux-kselftest/tools/testing/selftests/kcmp/
Dkcmp_test.c140 .tfd = duped_num, in main()
/external/python/cpython3/Lib/idlelib/
Diomenu.py452 (tfd, tempfilename) = tempfile.mkstemp(prefix='IDLE_tmp_')
454 os.close(tfd)
/external/mtpd/
Dl2tp.c417 static void create_pppox_ol2tp(int *tfd, int *sfd) in create_pppox_ol2tp() argument
470 *tfd = tunnel_fd; in create_pppox_ol2tp()
/external/python/cpython2/Lib/idlelib/
DIOBinding.py486 (tfd, tempfilename) = tempfile.mkstemp(prefix='IDLE_tmp_')
488 os.close(tfd)
/external/u-boot/drivers/ata/
Ddwc_ahsata.c33 u32 tfd; member
492 while ((readl(&port_mmio->tfd) & (SATA_PORT_TFD_STS_ERR | in ahci_port_start()
/external/syzkaller/sys/linux/
Dsys.txt924 tfd fd
/external/deqp/external/vulkancts/framework/vulkan/
DvkStrUtilImpl.inl4994 s << "\tfd = " << value.fd << '\n';
5094 s << "\tfd = " << value.fd << '\n';
5320 s << "\tfd = " << value.fd << '\n';
/external/tensorflow/
DRELEASE.md755 * Change `tf.contrib.distributions` docstring examples to use `tfd` alias