/external/clearsilver/util/ |
D | neo_net.c | 42 int sfd = 0; in ne_net_listen() local 47 if ((sfd = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP)) < 0) in ne_net_listen() 50 if (setsockopt (sfd, SOL_SOCKET, SO_REUSEADDR, (char *)&on, in ne_net_listen() 53 close(sfd); in ne_net_listen() 57 if(setsockopt (sfd, SOL_SOCKET, SO_KEEPALIVE, (void *)&on, in ne_net_listen() 60 close(sfd); in ne_net_listen() 64 if(setsockopt (sfd, IPPROTO_TCP, TCP_NODELAY, (void *)&on, in ne_net_listen() 67 close(sfd); in ne_net_listen() 74 if (bind(sfd,(struct sockaddr *)&(serv_addr),sizeof(struct sockaddr)) == -1) in ne_net_listen() 76 close(sfd); in ne_net_listen() [all …]
|
/external/dnsmasq/src/ |
D | network.c | 565 struct serverfd *sfd; in allocate_sfd() local 588 for (sfd = daemon->sfds; sfd; sfd = sfd->next ) in allocate_sfd() 589 if (sockaddr_isequal(&sfd->source_addr, addr) && in allocate_sfd() 590 strcmp(intname, sfd->interface) == 0) in allocate_sfd() 591 return sfd; in allocate_sfd() 595 if (!(sfd = whine_malloc(sizeof(struct serverfd)))) in allocate_sfd() 598 if ((sfd->fd = socket(addr->sa.sa_family, SOCK_DGRAM, 0)) == -1) in allocate_sfd() 600 free(sfd); in allocate_sfd() 604 if (!local_bind(sfd->fd, addr, intname, 0) || !fix_fd(sfd->fd)) in allocate_sfd() 607 close(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 | 334 struct serverfd *sfd; member
|
/external/webkit/WebCore/platform/graphics/gtk/ |
D | FontCacheGtk.cpp | 53 SimpleFontData* sfd = getCachedFontData(&alternateFont); in getFontDataForCharacters() local 54 if (sfd->containsCharacters(characters, length)) in getFontDataForCharacters() 55 return sfd; in getFontDataForCharacters()
|
/external/ppp/pppd/ |
D | sys-linux.c | 2552 int i, mfd, sfd = -1; local 2571 if ((sfd = open(pty_name, O_RDWR | O_NOCTTY)) < 0) 2577 if (sfd < 0) { 2585 sfd = open(pty_name, O_RDWR | O_NOCTTY, 0); 2586 if (sfd >= 0) { 2587 fchown(sfd, uid, -1); 2588 fchmod(sfd, S_IRUSR | S_IWUSR); 2596 if (sfd < 0) 2601 *slave_fdp = sfd; 2602 if (tcgetattr(sfd, &tios) == 0) { [all …]
|
D | sys-solaris.c | 2740 int mfd, sfd; local 2763 sfd = open(pty_name, O_RDWR); 2764 if (sfd < 0) { 2769 if (ioctl(sfd, I_PUSH, "ptem") < 0) 2775 *slave_fdp = sfd;
|
/external/chromium/net/third_party/nss/ssl/ |
D | sslsock.c | 1776 PRSendFileData sfd; in ssl_TransmitFile() local 1778 sfd.fd = fd; in ssl_TransmitFile() 1779 sfd.file_offset = 0; in ssl_TransmitFile() 1780 sfd.file_nbytes = 0; in ssl_TransmitFile() 1781 sfd.header = headers; in ssl_TransmitFile() 1782 sfd.hlen = hlen; in ssl_TransmitFile() 1783 sfd.trailer = NULL; in ssl_TransmitFile() 1784 sfd.tlen = 0; in ssl_TransmitFile() 1786 return sd->methods->sendfile(sd, &sfd, flags, timeout); in ssl_TransmitFile()
|
/external/qemu/ |
D | qemu-char.c | 767 int mfd = -1, sfd = -1; in openpty() local 781 if ((sfd = open(slave, O_RDONLY | O_NOCTTY)) == -1) in openpty() 784 if (ioctl(sfd, I_PUSH, "ptem") == -1 || in openpty() 785 (termp != NULL && tcgetattr(sfd, termp) < 0)) in openpty() 791 *aslave = sfd; in openpty() 793 ioctl(sfd, TIOCSWINSZ, winp); in openpty() 798 if (sfd != -1) in openpty() 799 close(sfd); in openpty()
|
D | qemu-char-android.c | 799 int mfd = -1, sfd = -1; in openpty() local 813 if ((sfd = open(slave, O_RDONLY | O_NOCTTY)) == -1) in openpty() 816 if (ioctl(sfd, I_PUSH, "ptem") == -1 || in openpty() 817 (termp != NULL && tcgetattr(sfd, termp) < 0)) in openpty() 823 *aslave = sfd; in openpty() 825 ioctl(sfd, TIOCSWINSZ, winp); in openpty() 830 if (sfd != -1) in openpty() 831 close(sfd); in openpty()
|
/external/expat/amiga/ |
D | README.txt | 30 3.1 - removed obsolete sfd file
|
/external/strace/ |
D | signal.c | 828 int sfd; local 867 if ((sfd = open(sname, O_RDONLY)) == -1) { 871 i = read(sfd, buf, sizeof(buf)); 873 close(sfd);
|
/external/bluetooth/glib/gio/ |
D | glocalfileoutputstream.c | 593 copy_file_data (gint sfd, in copy_file_data() argument 608 bytes_read = read (sfd, buffer, BUFSIZE); in copy_file_data()
|