/external/ltp/testcases/kernel/syscalls/timerfd/ |
D | timerfd01.c | 107 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/valgrind/memcheck/tests/linux/ |
D | timerfd-syscall.c | 146 long waittmr(int tfd, int timeo) in waittmr() argument 151 pfd.fd = tfd; in waittmr() 164 if (read(tfd, &ticks, sizeof(ticks)) != sizeof(ticks)) in waittmr() 175 int i, tfd; in main() local 198 if ((tfd = timerfd_create(clks[i].id, 0)) == -1) in main() 204 if (timerfd_settime(tfd, 0, &tmr, NULL)) in main() 211 ticks = waittmr(tfd, -1); in main() 224 if (timerfd_settime(tfd, TFD_TIMER_ABSTIME, &tmr, NULL)) in main() 231 ticks = waittmr(tfd, -1); in main() 243 if (timerfd_settime(tfd, TFD_TIMER_ABSTIME, &tmr, NULL)) in main() [all …]
|
/external/toybox/toys/pending/ |
D | syslogd.c | 238 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 …]
|
D | crontab.c | 249 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/ltp/testcases/kernel/syscalls/recvmsg/ |
D | recvmsg01.c | 253 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/ |
D | kcmp.c | 35 uint32_t tfd; member 86 PRINT_FIELD_PIDFD(", ", slot, tfd, tcp, pid2); in SYS_FUNC()
|
/external/ltp/testcases/kernel/syscalls/sendmsg/ |
D | sendmsg01.c | 623 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/ |
D | cp.c | 129 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() 344 if (unlinkat(tfd, try->name, S_ISDIR(try->st.st_mode) ? AT_REMOVEDIR :0)) in cp_node()
|
/external/strace/tests-mx32/ |
D | kcmp.c | 71 uint32_t tfd; member 131 printpidfd(", tfd=", pid2, slot->tfd); in do_kcmp()
|
/external/strace/tests/ |
D | kcmp.c | 71 uint32_t tfd; member 131 printpidfd(", tfd=", pid2, slot->tfd); in do_kcmp()
|
/external/strace/tests-m32/ |
D | kcmp.c | 71 uint32_t tfd; member 131 printpidfd(", tfd=", pid2, slot->tfd); in do_kcmp()
|
/external/kernel-headers/original/uapi/linux/ |
D | kcmp.h | 24 __u32 tfd; /* target file number */ member
|
/external/autotest/site_utils/ |
D | label_cleaner.py | 280 tfd, metrics_file=tempfile.mkstemp() 281 os.close(tfd)
|
/external/linux-kselftest/tools/testing/selftests/kcmp/ |
D | kcmp_test.c | 140 .tfd = duped_num, in main()
|
/external/python/cpython3/Lib/idlelib/ |
D | iomenu.py | 452 (tfd, tempfilename) = tempfile.mkstemp(prefix='IDLE_tmp_') 454 os.close(tfd)
|
/external/python/cpython2/Lib/idlelib/ |
D | IOBinding.py | 486 (tfd, tempfilename) = tempfile.mkstemp(prefix='IDLE_tmp_') 488 os.close(tfd)
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkStrUtilImpl.inl | 4903 s << "\tfd = " << value.fd << '\n'; 5003 s << "\tfd = " << value.fd << '\n'; 5114 s << "\tfd = " << value.fd << '\n';
|
/external/tensorflow/ |
D | RELEASE.md | 149 * Change `tf.contrib.distributions` docstring examples to use `tfd` alias
|