/external/toybox/toys/pending/ |
D | tftpd.c | 30 long sfd; 83 if (sendto(TT.sfd, g_errpkt, strlen(errmsg)+5, 0, dstaddr, socklen) < 0) in send_errpkt() 100 pollfds[0].fd = TT.sfd; in do_action() 160 if (sendto(TT.sfd, spkt, (ptr - spkt), 0, dstaddr, socklen) <0) in do_action() 167 pollfds[0].fd = TT.sfd; in do_action() 255 TT.sfd = xsocket(dstaddr.ss_family, SOCK_DGRAM, 0); in tftpd_main() 256 if (setsockopt(TT.sfd, SOL_SOCKET, SO_REUSEADDR, (const void *)&set, in tftpd_main() 258 if (bind(TT.sfd, (void *)&srcaddr, socklen)) perror_exit("bind"); in tftpd_main() 259 if (connect(TT.sfd, (void *)&dstaddr, socklen) < 0) in tftpd_main()
|
D | telnet.c | 28 int sfd; 106 int wlen = write(TT.sfd, TT.iac, TT.piac); in flush_iac() 317 if(i) write(TT.sfd, toybuf, i); in write_server() 343 TT.sfd = xconnect_inet_tcp(toys.optargs[0], TT.port); in telnet_main() 344 setsockopt(TT.sfd, SOL_SOCKET, SO_REUSEADDR, &set, sizeof(set)); in telnet_main() 345 setsockopt(TT.sfd, SOL_SOCKET, SO_KEEPALIVE, &set, sizeof(set)); in telnet_main() 349 pfds[1].fd = TT.sfd; in telnet_main() 367 len = read(TT.sfd, TT.buff, DATABUFSIZE); in telnet_main()
|
/external/dnsmasq/src/ |
D | network.c | 742 struct serverfd *sfd; in allocate_sfd() local 765 for (sfd = daemon->sfds; sfd; sfd = sfd->next ) in allocate_sfd() 766 if (sockaddr_isequal(&sfd->source_addr, addr) && in allocate_sfd() 767 mark == sfd->mark && in allocate_sfd() 768 strcmp(intname, sfd->interface) == 0) in allocate_sfd() 769 return sfd; in allocate_sfd() 773 if (!(sfd = whine_malloc(sizeof(struct serverfd)))) in allocate_sfd() 776 if ((sfd->fd = socket(addr->sa.sa_family, SOCK_DGRAM, 0)) == -1) in allocate_sfd() 778 free(sfd); in allocate_sfd() 782 if (!local_bind(sfd->fd, addr, intname, mark, 0) || !fix_fd(sfd->fd)) in allocate_sfd() [all …]
|
D | netlink.c | 288 if (daemon->srv_save->sfd) in nl_routechange() 289 fd = daemon->srv_save->sfd->fd; in nl_routechange()
|
D | forward.c | 299 if (start->sfd) in forward_query() 300 fd = start->sfd->fd; in forward_query()
|
D | dnsmasq.h | 335 struct serverfd *sfd; member
|
/external/libvncserver/x11vnc/ |
D | unixpw.c | 960 int i, j, status, fd = -1, sfd, tfd, drain_size = 65536, rsize = 0; 1082 sfd = open(slave, O_RDWR); 1083 if (sfd < 0) { 1092 ioctl(sfd, I_PUSH, "ptem"); 1093 ioctl(sfd, I_PUSH, "ldterm"); 1094 ioctl(sfd, I_PUSH, "ttcompat"); 1101 if (fcntl(sfd, F_DUPFD, 1) == -1) { 1104 if (fcntl(sfd, F_DUPFD, 2) == -1) { 1109 ioctl(sfd, TIOCSCTTY, (char *) 0); 1116 if (isatty(sfd)) {
|
/external/strace/test/ |
D | .gitignore | 9 sfd
|
D | Makefile | 6 mtd ubi seccomp sfd mmap_offset_decode x32_lseek x32_mmap \
|
/external/ppp/pppd/ |
D | sys-linux.c | 2618 int i, mfd, sfd = -1; local 2637 if ((sfd = open(pty_name, O_RDWR | O_NOCTTY)) < 0) 2643 if (sfd < 0) { 2651 sfd = open(pty_name, O_RDWR | O_NOCTTY, 0); 2652 if (sfd >= 0) { 2653 fchown(sfd, uid, -1); 2654 fchmod(sfd, S_IRUSR | S_IWUSR); 2662 if (sfd < 0) 2667 *slave_fdp = sfd; 2668 if (tcgetattr(sfd, &tios) == 0) { [all …]
|
D | sys-solaris.c | 2748 int mfd, sfd; local 2770 sfd = open(pty_name, O_RDWR); 2771 if (sfd < 0) { 2776 if (ioctl(sfd, I_PUSH, "ptem") < 0) 2782 *slave_fdp = sfd;
|
/external/toybox/generated/ |
D | globals.h | 753 int sfd; member 786 long sfd; member
|
/external/elfutils/src/src/ |
D | readelf.c | 584 int sfd = mkstemp (tempname); in open_input_section() local 585 if (sfd == -1) in open_input_section() 594 if (write_retry (sfd, data->d_buf, size) != size) in open_input_section() 607 if (lseek (sfd, 0, SEEK_SET) == -1) in open_input_section() 613 return sfd; in open_input_section()
|
/external/deqp/data/gles2/shaders/ |
D | preprocessor.test | 34 /*sfd*/ # /* */
|
/external/libvncserver/x11vnc/misc/enhanced_tightvnc_viewer/src/patches/ |
D | tight-vncviewer-full.patch | 11070 + int sfd[2]; 11086 + if (! SocketPair(sfd)) { 11090 + fprintf(stderr, "sfd: %d %d\n", sfd[0], sfd[1]); 11107 + close(sfd[1]); 11108 + dup2(sfd[0], 0); 11109 + dup2(sfd[0], 1); 11111 + if (d != sfd[0]) { 11119 + close(sfd[0]); 11120 + rfbsock = sfd[1];
|
/external/deqp/data/gles3/shaders/ |
D | preprocessor.test | 43 /*sfd*/ # /* */
|