Home
last modified time | relevance | path

Searched refs:tmp (Results 1 – 12 of 12) sorted by relevance

/resolv/
A Dns_ttl.c94 u_long ttl, tmp; in libresolv_hidden_def() local
98 tmp = 0; in libresolv_hidden_def()
105 tmp *= 10; in libresolv_hidden_def()
106 tmp += (ch - '0'); in libresolv_hidden_def()
115 case 'W': tmp *= 7; in libresolv_hidden_def()
117 case 'D': tmp *= 24; in libresolv_hidden_def()
126 ttl += tmp; in libresolv_hidden_def()
127 tmp = 0; in libresolv_hidden_def()
135 ttl += tmp; in libresolv_hidden_def()
150 char tmp[50]; in fmt1() local
[all …]
A Dinet_net_pton.c84 int n, ch, tmp, dirty, bits; in inet_net_pton_ipv4() local
94 tmp = 0; /* To calm down gcc. */ in inet_net_pton_ipv4()
101 tmp = n; in inet_net_pton_ipv4()
103 tmp = (tmp << 4) | n; in inet_net_pton_ipv4()
107 *dst++ = (u_char) tmp; in inet_net_pton_ipv4()
114 *dst++ = (u_char) (tmp << 4); in inet_net_pton_ipv4()
119 tmp = 0; in inet_net_pton_ipv4()
124 tmp *= 10; in inet_net_pton_ipv4()
125 tmp += n; in inet_net_pton_ipv4()
126 if (tmp > 255) in inet_net_pton_ipv4()
[all …]
A Dinet_ntop.c83 char tmp[sizeof "255.255.255.255"]; in libc_hidden_def() local
85 if (SPRINTF((tmp, fmt, src[0], src[1], src[2], src[3])) >= size) { in libc_hidden_def()
89 return strcpy(dst, tmp); in libc_hidden_def()
108 char tmp[sizeof "ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255"], *tp; in inet_ntop6() local
149 tp = tmp; in inet_ntop6()
164 if (!inet_ntop4(src+12, tp, sizeof tmp - (tp - tmp))) in inet_ntop6()
180 if ((socklen_t)(tp - tmp) > size) { in inet_ntop6()
184 return strcpy(dst, tmp); in inet_ntop6()
A Dns_name_compress.c37 unsigned char tmp[NS_MAXCDNAME]; in ___ns_name_compress() local
39 if (__ns_name_pton (src, tmp, sizeof tmp) < 0) in ___ns_name_compress()
41 return __ns_name_pack (tmp, dst, dstsiz, dnptrs, lastdnptr); in ___ns_name_compress()
A Dns_name_uncompress.c28 unsigned char tmp[NS_MAXCDNAME]; in ___ns_name_uncompress() local
29 int n = __ns_name_unpack (msg, eom, src, tmp, sizeof tmp); in ___ns_name_uncompress()
32 if (__ns_name_ntop (tmp, dst, dstsiz) < 0) in ___ns_name_uncompress()
A Dns_print.c99 char tmp[100]; in libresolv_hidden_def() local
134 T(addstr(tmp, len, &buf, &buflen)); in libresolv_hidden_def()
196 len = SPRINTF((tmp, "%lu", t)); in libresolv_hidden_def()
252 len = SPRINTF((tmp, "%u ", t)); in libresolv_hidden_def()
270 len = SPRINTF((tmp, "%u ", t)); in libresolv_hidden_def()
441 char base64_cert[8192], tmp[40]; in libresolv_hidden_def() local
491 len = SPRINTF((tmp, "%lu ", t)); in libresolv_hidden_def()
582 p = tmp; in libresolv_hidden_def()
588 T(addstr(tmp, p - tmp, &buf, &buflen)); in libresolv_hidden_def()
593 p = tmp; in libresolv_hidden_def()
[all …]
A Dinet_pton.c84 unsigned char tmp[NS_INADDRSZ], *tp; in weak_alias() local
88 *(tp = tmp) = 0; in weak_alias()
120 memcpy (dst, tmp, NS_INADDRSZ); in weak_alias()
145 unsigned char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; in inet_pton6() local
151 tp = memset (tmp, '\0', NS_IN6ADDRSZ); in inet_pton6()
232 memcpy (dst, tmp, NS_IN6ADDRSZ); in inet_pton6()
A Dns_parse.c130 int tmp; in libresolv_hidden_def() local
133 tmp = section; in libresolv_hidden_def()
134 if (tmp < 0 || section >= ns_s_max) in libresolv_hidden_def()
A Dres_hconf.c516 void *tmp; in _res_hconf_reorder_addrs() local
518 tmp = hp->h_addr_list[i]; in _res_hconf_reorder_addrs()
520 hp->h_addr_list[0] = tmp; in _res_hconf_reorder_addrs()
A Dres_query.c342 char tmp[NS_MAXDNAME]; in __res_context_search() local
361 (ctx, name, tmp, sizeof tmp))!= NULL) in __res_context_search()
A Dcompat-gethnamaddr.c837 char tmp[INADDRSZ]; in map_v4v6_address() local
841 memcpy(tmp, src, INADDRSZ); in map_v4v6_address()
848 memcpy((void*)p, tmp, INADDRSZ); in map_v4v6_address()
/resolv/nss_dns/
A Ddns-host.c184 char tmp[NS_MAXDNAME]; in libc_hidden_def() local
215 && (cp = __res_context_hostalias (ctx, name, tmp, sizeof (tmp))) != NULL) in libc_hidden_def()
354 char *tmp = alloca (NS_MAXDNAME); in libc_hidden_def() local
355 const char *cp = __res_context_hostalias (ctx, name, tmp, NS_MAXDNAME); in libc_hidden_def()

Completed in 24 milliseconds