Searched refs:sbuf (Results 1 – 3 of 3) sorted by relevance
/bionic/libc/dns/resolv/ |
D | res_send.c | 1297 char sbuf[NI_MAXSERV]; in Aerror() local 1301 sbuf, sizeof(sbuf), niflags)) { in Aerror() 1304 strncpy(sbuf, "?", sizeof(sbuf) - 1); in Aerror() 1305 sbuf[sizeof(sbuf) - 1] = '\0'; in Aerror() 1308 string, hbuf, sbuf, strerror(error)); in Aerror()
|
D | res_init.c | 355 char sbuf[NI_MAXSERV]; in __res_vinit() local 368 sprintf(sbuf, "%u", NAMESERVER_PORT); in __res_vinit() 369 if (getaddrinfo(cp, sbuf, &hints, &ai) == 0 && in __res_vinit()
|
D | res_cache.c | 2001 char sbuf[NI_MAXSERV]; in _resolv_set_nameservers_for_net() local 2018 snprintf(sbuf, sizeof(sbuf), "%u", NAMESERVER_PORT); in _resolv_set_nameservers_for_net() 2021 int rt = getaddrinfo(servers[i], sbuf, &hints, &nsaddrinfo[i]); in _resolv_set_nameservers_for_net()
|