Home
last modified time | relevance | path

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

/inet/
A Dtst-checks.c9 int result = 0; in do_test() local
16 result = 1; in do_test()
25 result = 1; in do_test()
33 result = 1; in do_test()
39 result = 1; in do_test()
56 result = 1; in do_test()
88 result = 1; in do_test()
121 result = 1; in do_test()
131 result = 1; in do_test()
143 result = 1; in do_test()
[all …]
A Didna.c48 struct functions *result = malloc (sizeof (*result)); in functions_allocate() local
49 if (result == NULL) in functions_allocate()
57 free (result); in functions_allocate()
68 free (result); in functions_allocate()
72 result->handle = handle; in functions_allocate()
73 result->lookup_ul = ptr_lookup_ul; in functions_allocate()
76 PTR_MANGLE (result->lookup_ul); in functions_allocate()
80 return result; in functions_allocate()
108 *result = ptr; in gai_strdup()
147 *result = ptr; in __idna_to_dns_encoding()
[all …]
A Dtst-ntoa.c28 int result = 0; in do_test() local
30 result |= test (INADDR_LOOPBACK, "127.0.0.1"); in do_test()
31 result |= test (INADDR_BROADCAST, "255.255.255.255"); in do_test()
32 result |= test (INADDR_ANY, "0.0.0.0"); in do_test()
33 result |= test (0xc0060746, "192.6.7.70"); in do_test()
35 return result; in do_test()
A Dtst-gethnm.c18 int result = 0; in do_test() local
39 result = 1; in do_test()
48 result = 1; in do_test()
54 result = 1; in do_test()
59 result |= ent->h_aliases[0] != NULL; in do_test()
63 return result; in do_test()
A Dtst-ether_aton.c9 int result, r; in do_test() local
22 result = (valp->ether_addr_octet[0] != 0x12 in do_test()
40 result |= strcmp ("0:c0:f0:46:5f:97 host.ether.com", buf) != 0; in do_test()
45 result |= 1; in do_test()
50 result |= r != -1; in do_test()
54 result |= r != -1; in do_test()
56 return result; in do_test()
A Didna_name_classify.c37 size_t result = mbrtowc (&wc, p, end - p, &mbs); in __idna_name_classify() local
38 if (result == 0) in __idna_name_classify()
41 else if (result == (size_t) -2) in __idna_name_classify()
45 else if (result == (size_t) -1) in __idna_name_classify()
58 p += result; in __idna_name_classify()
A Dtest_ifindex.c47 int result; in do_test() local
51 result = (ni != p->if_index || (strcmp (buf, p->if_name))); in do_test()
56 result = 0; in do_test()
57 printf ("%10s", result ? "fail" : "okay"); in do_test()
59 failures += result; in do_test()
A Dether_aton.c24 static struct ether_addr result; in ether_aton() local
26 return ether_aton_r (asc, &result); in ether_aton()
A Dinet6_option.c59 *result = startp + 1; in get_opt_end()
69 *result = startp + startp[1] + 2; in get_opt_end()
212 return result; in option_alloc()
256 const uint8_t *result; in inet6_option_next() local
259 result = (const uint8_t *) (ip6e + 1); in inet6_option_next()
273 *tptrp = (uint8_t *) result; in inet6_option_next()
276 return get_opt_end (&result, result, endp); in inet6_option_next()
329 const uint8_t *result; in inet6_option_find() local
332 result = next; in inet6_option_find()
338 while (*result != type); in inet6_option_find()
[all …]
A Dinet6_scopeid_pton.c33 uint32_t *result) in __inet6_scopeid_pton() argument
42 *result = number; in __inet6_scopeid_pton()
55 *result = number; in __inet6_scopeid_pton()
A Dhtontest.c28 result = 1; \
34 result = 1; \
46 int result = 0; in main() local
68 return result; in main()
A Ddeadline.c30 struct deadline_current_time result; in __deadline_current_time() local
31 if (__clock_gettime64 (CLOCK_MONOTONIC, &result.current) != 0) in __deadline_current_time()
32 __clock_gettime64 (CLOCK_REALTIME, &result.current); in __deadline_current_time()
33 assert (result.current.tv_sec >= 0); in __deadline_current_time()
34 return result; in __deadline_current_time()
A Dtst-inet6_scopeid_pton.c61 struct sockaddr_in6 *result) in call_gai() argument
85 TEST_VERIFY_EXIT (ai->ai_addrlen == sizeof (*result)); in call_gai()
88 memcpy (result, ai->ai_addr, sizeof (*result)); in call_gai()
124 uint32_t result = 1234; in expect_failure() local
125 if (__inet6_scopeid_pton (&addr, scope, &result) == 0) in expect_failure()
131 if (result != 1234) in expect_failure()
A Dgetnetgrent_r.c169 int result; in setnetgrent() local
173 result = nscd_setnetgrent (group); in setnetgrent()
174 if (result < 0) in setnetgrent()
179 return result; in setnetgrent()
370 if (result >= 0) in weak_alias()
371 return result; in weak_alias()
383 int result = 0; in weak_alias() local
437 result = -1; in weak_alias()
456 result = 1; in weak_alias()
472 if (result != 0) in weak_alias()
[all …]
A Dnet-internal.h30 const char *scope, uint32_t *result);
39 int __idna_to_dns_encoding (const char *name, char **result);
41 int __idna_from_dns_encoding (const char *name, char **result);
A Dgetnameinfo.c202 check_sprintf_result (int result, size_t destlen) in check_sprintf_result() argument
204 if (result < 0) in check_sprintf_result()
206 if ((size_t) result >= destlen) in check_sprintf_result()
367 int result = gni_host_inet_name in gni_host_inet() local
369 if (result != EAI_NONAME) in gni_host_inet()
370 return result; in gni_host_inet()
523 int result = gni_host (&tmpbuf, sa, addrlen, host, hostlen, flags); in getnameinfo() local
524 if (result != 0) in getnameinfo()
527 return result; in getnameinfo()
534 if (result != 0) in getnameinfo()
[all …]
A Dgethstbyad_r.c37 *result = NULL; \

Completed in 19 milliseconds