Searched refs:tfd (Results 1 - 5 of 5) sorted by relevance

/external/valgrind/memcheck/tests/linux/
H A Dtimerfd-syscall.c146 long waittmr(int tfd, int timeo) argument
151 pfd.fd = tfd;
164 if (read(tfd, &ticks, sizeof(ticks)) != sizeof(ticks))
175 int i, tfd; local
198 if ((tfd = timerfd_create(clks[i].id, 0)) == -1)
204 if (timerfd_settime(tfd, 0, &tmr, NULL))
211 ticks = waittmr(tfd, -1);
224 if (timerfd_settime(tfd, TFD_TIMER_ABSTIME, &tmr, NULL))
231 ticks = waittmr(tfd, -1);
243 if (timerfd_settime(tfd, TFD_TIMER_ABSTIM
[all...]
/external/toybox/toys/pending/
H A Dsyslogd.c239 struct logfile *tfd; local
241 for (tfd = TT.lfiles; tfd; tfd = tfd->next) {
245 if (*tfd->filename == '@') { // network
248 tmpfile = xstrdup(tfd->filename + 1);
255 error_exit("bad port in %s", tfd->filename);
265 memcpy(&tfd->saddr, info->ai_addr, info->ai_addrlen);
268 tfd
[all...]
H A Dcrontab.c249 int tfd = mkstemp(tname); local
251 if (tfd < 0) perror_exit("mkstemp");
252 xsendfile(0, tfd);
253 xclose(tfd);
/external/toybox/toys/posix/
H A Dcp.c107 tfd = dirtree_parentfd(try); local
195 if (!linkat(tfd, try->name, cfd, catch, 0)) err = 0;
232 ? (0 < (i = readlinkat(tfd, try->name, toybuf, sizeof(toybuf))) &&
244 fdin = openat(tfd, try->name, O_RDONLY);
293 if (unlinkat(tfd, try->name, S_ISDIR(try->st.st_mode) ? AT_REMOVEDIR :0))
/external/libvncserver/x11vnc/
H A Dunixpw.c960 int i, j, status, fd = -1, sfd, tfd, drain_size = 65536, rsize = 0;
1115 tfd = open("/tmp/isatty", O_CREAT|O_WRONLY, 0600);
1117 close(tfd);
1122 write(tfd, "NOTTTY\n", 7);
1123 close(tfd);

Completed in 172 milliseconds