Searched refs:dn (Results 1 – 6 of 6) sorted by relevance
/resolv/ |
A D | ns_name_ntop.c | 61 char *dn, *eom; in ___ns_name_ntop() local 66 dn = dst; in ___ns_name_ntop() 77 if (dn != dst) in ___ns_name_ntop() 79 if (dn >= eom) in ___ns_name_ntop() 84 *dn++ = '.'; in ___ns_name_ntop() 122 if (dn == dst) in ___ns_name_ntop() 124 if (dn >= eom) in ___ns_name_ntop() 129 *dn++ = '.'; in ___ns_name_ntop() 131 if (dn >= eom) in ___ns_name_ntop() 136 *dn++ = '\0'; in ___ns_name_ntop() [all …]
|
A D | res-name-checking.c | 96 char ch = *dn; in printable_string() 101 ++dn; in printable_string() 116 ++dn; in binary_hnok() 120 unsigned char ch = *dn; in binary_hnok() 126 ++dn; in binary_hnok() 138 return dn[0] > 0 && dn[1] == '-'; in binary_leading_dash() 145 ___res_hnok (const char *dn) in ___res_hnok() argument 148 if (!printable_string (dn) in ___res_hnok() 167 if (!printable_string (dn) in ___res_ownok() 188 if (!printable_string (dn) in ___res_mailok() [all …]
|
A D | ns_name.c | 52 u_char *dn, *eom; in ns_name_ntol() local 58 dn = dst; in ns_name_ntol() 61 if (dn >= eom) { in ns_name_ntol() 71 *dn++ = n; in ns_name_ntol() 76 if (dn + l >= eom) { in ns_name_ntol() 83 *dn++ = tolower(c); in ns_name_ntol() 85 *dn++ = c; in ns_name_ntol() 88 *dn++ = '\0'; in ns_name_ntol() 89 return (dn - dst); in ns_name_ntol()
|
A D | tst-res_hnok.c | 46 const char *dn; member 100 int actual = func (test->dn); in one_test() 105 funcname, test->dn, expected, actual); in one_test() 118 char dn[1024]; in one_char() local 119 snprintf (dn, sizeof (dn), "%s%c%s", prefix, ch, suffix); in one_char() 121 int actual = func (dn); in one_char() 126 funcname, dn, expected, actual); in one_char() 144 test->dn, test->result); in do_test()
|
A D | tst-ns_name_pton.c | 72 const char *dn; member 147 printf ("info: testing domain name [[[%s]]]\n", test->dn); in do_test() 148 int ret = ns_name_pton (test->dn, wire, NS_MAXCDNAME); in do_test() 155 test->dn); in do_test() 165 ret, test->dn); in do_test() 174 printf ("error: failure to convert back [[%s]]\n", test->dn); in do_test() 180 printf ("error: unexpected success converting [[%s]]\n", test->dn); in do_test() 182 printf ("error: result converts back to [[%s]]\n", test->dn); in do_test() 190 test->dn); in do_test() 199 test->dn); in do_test()
|
A D | ns_name_pack.c | 43 const unsigned char *dn, *cp, *sp; in dn_find() local 54 dn = domain; in dn_find() 62 if (n != *dn++) in dn_find() 66 if (mklower (*dn++) != mklower (*cp++)) in dn_find() 69 if (*dn == '\0' && *cp == '\0') in dn_find() 71 if (*dn) in dn_find()
|
Completed in 13 milliseconds