Home
last modified time | relevance | path

Searched refs:sbuf (Results 1 – 3 of 3) sorted by relevance

/bionic/libc/dns/resolv/
Dres_send.c1298 char sbuf[NI_MAXSERV]; in Aerror() local
1302 sbuf, sizeof(sbuf), niflags)) { in Aerror()
1305 strncpy(sbuf, "?", sizeof(sbuf) - 1); in Aerror()
1306 sbuf[sizeof(sbuf) - 1] = '\0'; in Aerror()
1309 string, hbuf, sbuf, strerror(error)); in Aerror()
Dres_init.c355 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()
Dres_cache.c2005 char sbuf[NI_MAXSERV]; in _resolv_set_nameservers_for_net() local
2022 snprintf(sbuf, sizeof(sbuf), "%u", NAMESERVER_PORT); in _resolv_set_nameservers_for_net()
2025 int rt = getaddrinfo(servers[i], sbuf, &hints, &nsaddrinfo[i]); in _resolv_set_nameservers_for_net()