Home
last modified time | relevance | path

Searched refs:result (Results 1 – 22 of 22) sorted by relevance

/resolv/
A Dtst-inet_ntop.c13 int result = 0; in do_test() local
28 result++; in do_test()
33 result++; in do_test()
38 result++; in do_test()
44 result++; in do_test()
49 result++; in do_test()
55 result++; in do_test()
60 result++; in do_test()
65 result++; in do_test()
71 result++; in do_test()
[all …]
A Dns_date.c45 uint32_t result; in ns_datetosecs() local
74 result = time.tm_sec; /*%< Seconds */ in ns_datetosecs()
75 result += time.tm_min * 60; /*%< Minutes */ in ns_datetosecs()
76 result += time.tm_hour * (60*60); /*%< Hours */ in ns_datetosecs()
82 result += mdays * SECS_PER_DAY; /*%< Months */ in ns_datetosecs()
91 return (result); in ns_datetosecs()
102 int result = 0; in datepart() local
108 result = (result * 10) + buf[i] - '0'; in datepart()
110 if (result < min) in datepart()
112 if (result > max) in datepart()
[all …]
A Dtst-ns_name.c46 result->length = 0; in base64_to_buffer()
56 result->length = ret; in base64_to_buffer()
88 memset (result, 0, sizeof (*result)); in parse_test_case()
90 result->lineno = lineno; in parse_test_case()
91 result->ntop_result = -1; in parse_test_case()
97 &result->ntop_result, &result->ntop_text); in parse_test_case()
129 if (result->input_offset > result->input.length) in parse_test_case()
132 path, lineno, result->input_offset, result->input.length); in parse_test_case()
133 free_test_case (result); in parse_test_case()
140 free_test_case (result); in parse_test_case()
[all …]
A Dtst-aton.c30 uint32_t result; member
74 int result = 0; in do_test() local
87 result = 1; in do_test()
89 else if (tests[cnt].valid && addr.s_addr != ntohl (tests[cnt].result)) in do_test()
92 tests[cnt].input, addr.s_addr, tests[cnt].result); in do_test()
93 result = 1; in do_test()
97 return result; in do_test()
A Dgai_suspend.c38 int result; in ___gai_suspend_time64() local
81 result = 0; in ___gai_suspend_time64()
83 result = EAI_ALLDONE; in ___gai_suspend_time64()
96 result = 0; in ___gai_suspend_time64()
132 if (result != 0) in ___gai_suspend_time64()
137 if (__glibc_likely (result == ETIMEDOUT)) in ___gai_suspend_time64()
138 result = EAI_AGAIN; in ___gai_suspend_time64()
139 else if (result == EINTR) in ___gai_suspend_time64()
140 result = EAI_INTR; in ___gai_suspend_time64()
142 result = EAI_SYSTEM; in ___gai_suspend_time64()
[all …]
A Dgai_cancel.c27 int result = 0; in __gai_cancel() local
36 result = EAI_CANCELED; in __gai_cancel()
38 result = EAI_NOTCANCELED; in __gai_cancel()
40 result = EAI_ALLDONE; in __gai_cancel()
45 return result; in __gai_cancel()
A Dtst-res_hconf_reorder.c57 struct hostent *result; in resolve() local
63 &ent, buf, sizeof (buf), &result, &err); in resolve()
73 int result = 0; in do_test() local
102 result = 1; in do_test()
109 return result; in do_test()
A Dgai_notify.c55 int result = 0; in __gai_notify_only() local
81 result = -1; in __gai_notify_only()
89 result = -1; in __gai_notify_only()
97 result = -1; in __gai_notify_only()
99 return result; in __gai_notify_only()
A Dtst-resolv-canonname.c37 char **result, int *errnop, int *h_errnop);
217 char *result; in check() local
228 result = xstrdup (temp_result); in check()
241 if (strcmp (result, expected) != 0) in check()
246 printf ("error: actual: %s\n", result); in check()
247 free (result); in check()
255 printf ("error: actual: %s\n", result); in check()
256 free (result); in check()
259 free (result); in check()
A Dgetaddrinfo_a.c43 int result = 0; in __getaddrinfo_a() local
74 result = EAI_SYSTEM; in __getaddrinfo_a()
93 return result; in __getaddrinfo_a()
152 result = EAI_AGAIN; in __getaddrinfo_a()
180 return result; in __getaddrinfo_a()
A Dres_hostalias.c33 const char *result = __res_context_hostalias (ctx, name, dst, siz); in context_hostalias_common() local
35 return result; in context_hostalias_common()
A Dtst-res_hnok.c47 unsigned int result; /* Combination of the *ok flags. */ member
99 int expected = (test->result & bit) != 0; in one_test()
144 test->dn, test->result); in do_test()
A Dtst-resolv-basic.c145 struct hostent *result; in check_h() local
152 (name, &hostbuf, buf + offset, size, &result, &herror); in check_h()
156 check_hostent (query, result, expected); in check_h()
171 (name, family, &hostbuf, buf + offset, size, &result, &herror); in check_h()
175 check_hostent (query, result, expected); in check_h()
A Dres_mkquery.c188 int result = __res_context_mkquery in libc_hidden_def() local
190 if (result >= 2) in libc_hidden_def()
193 return result; in libc_hidden_def()
A Dgai_misc.c115 struct requestlist *result; in get_elem() local
155 result = freelist; in get_elem()
158 return result; in get_elem()
A Dres_query.c292 int result = __res_context_query (ctx, name, class, type, answer, anslen, in libc_hidden_def() local
295 return result; in libc_hidden_def()
542 int result = __res_context_search (ctx, name, class, type, answer, anslen, in libc_hidden_def() local
545 return result; in libc_hidden_def()
634 int result = __res_context_querydomain (ctx, name, domain, class, type, in context_querydomain_common() local
638 return result; in context_querydomain_common()
A Dres_init.c230 domain_from_hostname (char **result) in domain_from_hostname() argument
240 *result = __strdup (dot + 1); in domain_from_hostname()
241 if (*result == NULL) in domain_from_hostname()
246 *result = NULL; in domain_from_hostname()
A Dtst-resolv-edns.c86 struct response_data *result = response_data_array[index]; in get_response() local
88 return result; in get_response()
A Dres_send.c441 int result = __res_context_send (ctx, buf, buflen, NULL, 0, ans, anssiz, in libc_hidden_def() local
444 return result; in libc_hidden_def()
/resolv/nss_dns/
A Ddns-network.c100 struct netent *result, char *buffer,
106 _nss_dns_getnetbyname_r (const char *name, struct netent *result, in _nss_dns_getnetbyname_r() argument
146 status = getanswer_r (net_buffer.buf, anslen, result, buffer, buflen, in _nss_dns_getnetbyname_r()
156 _nss_dns_getnetbyaddr_r (uint32_t net, int type, struct netent *result, in libc_hidden_def()
230 status = getanswer_r (net_buffer.buf, anslen, result, buffer, buflen, in libc_hidden_def()
241 result->n_net = u_net; in libc_hidden_def()
332 alias_pointer = result->n_aliases = &net_data->aliases[0]; in libc_hidden_def()
412 result->n_name = *result->n_aliases++; in libc_hidden_def()
413 result->n_net = 0L; in libc_hidden_def()
419 for (ap = result->n_aliases; *ap != NULL; ++ap) in libc_hidden_def()
[all …]
A Ddns-host.c206 result->h_addrtype = af; in libc_hidden_def()
207 result->h_length = size; in libc_hidden_def()
553 result->h_addrtype = af; in libc_hidden_def()
554 result->h_length = len; in libc_hidden_def()
661 result->h_name = NULL; in getanswer_r()
732 result->h_name = bp; in getanswer_r()
738 qname = result->h_name; in getanswer_r()
832 result->h_name = bp; in getanswer_r()
903 result->h_name = bp; in getanswer_r()
938 result->h_name = bp; in getanswer_r()
[all …]
A Ddns-canon.c50 char **result,int *errnop, int *h_errnop) in _nss_dns_getcanonname_r() argument
141 *result = buffer; in _nss_dns_getcanonname_r()

Completed in 41 milliseconds