Searched refs:nbuf (Results 1 – 2 of 2) sorted by relevance
/packages/modules/DnsResolver/ |
D | res_query.cpp | 334 char nbuf[MAXDNAME]; in res_nquerydomain() local 335 const char* longname = nbuf; in res_nquerydomain() 351 strncpy(nbuf, name, (size_t) n); in res_nquerydomain() 352 nbuf[n] = '\0'; in res_nquerydomain() 363 snprintf(nbuf, sizeof(nbuf), "%s.%s", name, domain); in res_nquerydomain()
|
D | getaddrinfo.cpp | 1926 char nbuf[MAXDNAME]; in res_querydomainN() local 1927 const char* longname = nbuf; in res_querydomainN() 1935 if (n + 1 > sizeof(nbuf)) { in res_querydomainN() 1940 strncpy(nbuf, name, n); in res_querydomainN() 1941 nbuf[n] = '\0'; in res_querydomainN() 1947 if (n + 1 + d + 1 > sizeof(nbuf)) { in res_querydomainN() 1951 snprintf(nbuf, sizeof(nbuf), "%s.%s", name, domain); in res_querydomainN()
|