/third_party/ltp/testcases/kernel/syscalls/timerfd/ |
D | timerfd01.c | 55 static void settime(int tfd, struct tst_its *tmr, int tflags, in settime() argument 63 if (tv->tfd_settime(tfd, tflags, tst_its_get(tmr), NULL)) in settime() 67 static void waittmr(int tfd, unsigned int exp_ticks) in waittmr() argument 72 pfd.fd = tfd; in waittmr() 83 SAFE_READ(0, tfd, &ticks, sizeof(ticks)); in waittmr() 96 int tfd; in run() local 104 tfd = SAFE_TIMERFD_CREATE(clks->id, 0); in run() 107 settime(tfd, &tmr, 0, 100 * 1000, 0); in run() 108 waittmr(tfd, 1); in run() 112 settime(tfd, &tmr, TFD_TIMER_ABSTIME, tnow + 100 * 1000, 0); in run() [all …]
|
/third_party/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 | 252 int tfd = mkstemp(tname); in do_replace() local 254 if (tfd < 0) perror_exit("mkstemp"); in do_replace() 255 xsendfile(0, tfd); in do_replace() 256 xclose(tfd); in do_replace()
|
/third_party/curl/docs/examples/ |
D | ephiperfifo.c | 85 int tfd; /* timer filedescriptor */ member 169 timerfd_settime(g->tfd, /* flags= */0, &its, NULL); in multi_timer_cb() 216 timerfd_settime(g->tfd, 0, &its, NULL); in event_cb() 227 err = read(g->tfd, &count, sizeof(uint64_t)); in timer_cb() 235 fprintf(MSG_OUT, "EAGAIN on tfd %d\n", g->tfd); in timer_cb() 484 g.tfd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK | TFD_CLOEXEC); in main() 485 if(g.tfd == -1) { in main() 493 timerfd_settime(g.tfd, 0, &its, NULL); in main() 496 ev.data.fd = g.tfd; in main() 497 epoll_ctl(g.epfd, EPOLL_CTL_ADD, g.tfd, &ev); in main() [all …]
|
/third_party/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()
|
/third_party/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()
|
/third_party/toybox/porting/liteos_a/toys/posix/ |
D | cp.c | 113 tfd = dirtree_parentfd(try); in cp_node() local 189 if (!linkat(tfd, try->name, cfd, catch, 0)) err = 0; in cp_node() 226 ? ((i = readlinkat0(tfd, try->name, toybuf, sizeof(toybuf))) && in cp_node() 239 fdin = openat(tfd, try->name, O_RDONLY); in cp_node() 319 if (unlinkat(tfd, try->name, S_ISDIR(try->st.st_mode) ? AT_REMOVEDIR :0)) in cp_node()
|
/third_party/toybox/toys/posix/ |
D | cp.c | 129 tfd = dirtree_parentfd(try); in cp_node() local 216 if (!linkat(tfd, try->name, cfd, catch, 0)) err = 0; in cp_node() 253 ? ((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()
|
/third_party/python/Lib/idlelib/ |
D | iomenu.py | 312 (tfd, tempfilename) = tempfile.mkstemp(prefix='IDLE_tmp_') 314 os.close(tfd)
|
/third_party/vk-gl-cts/build/external/vulkancts/framework/vulkan/ |
D | vkStrUtilImpl.inl | 8082 s << "\tfd = " << value.fd << '\n'; 8116 s << "\tfd = " << value.fd << '\n'; 8190 s << "\tfd = " << value.fd << '\n';
|
/third_party/openh264/res/ |
D | Cisco_Absolute_Power_1280x720_30fps.yuv | 770 …yurv|{{||{{{|||{}~||{{{yxxz{z������{sr��{wwxzzzyx{zzxxxz|}~|zyxxxxtwxy|{~�tfd^Y[\]\]bcddbb^\\XTRM…
|
/third_party/chromium/patch/ |
D | 0001-cve.patch | 56705 z-^cXV-0R2Q-tffV-tfd%H@)%IO<#O<(-nVj!xMjR!_&1M5L@qb#a9K~XjQ<SSQTJ@
|