Home
last modified time | relevance | path

Searched refs:hostbuf (Results 1 – 6 of 6) sorted by relevance

/glibc-2.36/resolv/
Dcompat-gethnamaddr.c83 static char hostbuf[8*1024]; variable
174 bp = hostbuf; in getanswer()
175 buflen = sizeof hostbuf; in getanswer()
359 if (bp + n >= &hostbuf[sizeof hostbuf]) { in getanswer()
500 strncpy(hostbuf, name, MAXDNAME); in res_gethostbyname2_context()
501 hostbuf[MAXDNAME] = '\0'; in res_gethostbyname2_context()
502 bp = hostbuf + MAXDNAME; in res_gethostbyname2_context()
503 len = sizeof hostbuf - MAXDNAME; in res_gethostbyname2_context()
504 host.h_name = hostbuf; in res_gethostbyname2_context()
533 strncpy(hostbuf, name, MAXDNAME); in res_gethostbyname2_context()
[all …]
Dtst-resolv-basic.c144 struct hostent hostbuf; in check_h() local
152 (name, &hostbuf, buf + offset, size, &result, &herror); in check_h()
171 (name, family, &hostbuf, buf + offset, size, &result, &herror); in check_h()
/glibc-2.36/nss/
Dbug-erange.c18 struct hostent hostbuf, *hp; in main() local
28 while ((res = gethostbyname_r (host, &hostbuf, tmphstbuf, hstbuflen, in main()
/glibc-2.36/sunrpc/
Drpc_gethostbyname.c28 struct hostent hostbuf; in __libc_rpc_gethostbyname() local
35 &hostbuf, tmpbuf.data, tmpbuf.length, &hp, in __libc_rpc_gethostbyname()
/glibc-2.36/sysdeps/unix/sysv/linux/
Dgethostid.c73 struct hostent hostbuf, *hp; in gethostid() local
103 int ret = __gethostbyname_r (hostname, &hostbuf, in gethostid()
/glibc-2.36/manual/
Dsocket.texi1528 struct hostent *hostbuf, *hp;
1534 hostbuf = malloc (sizeof (struct hostent));
1538 while ((res = gethostbyname_r (host, hostbuf, tmphstbuf, hstbuflen,