/src/lib/libc/resolv/ |
res_query.c | 253 u_int dots; local in function:res_nsearch 261 dots = 0; 263 dots += (*cp == '.'); 268 /* If there aren't any dots, it could be a user-level alias. */ 269 if (!dots && (cp = res_hostalias(statp, name, tmp, sizeof tmp))!= NULL) 273 * If there are enough dots in the name, let's just give it a 278 if (dots >= statp->ndots || trailing_dot) { 293 if ((!dots && (statp->options & RES_DEFNAMES) != 0U) || 294 (dots && !trailing_dot && (statp->options & RES_DNSRCH) != 0U)) { 359 * unless RES_NOTLDQUERY is set and there were no dots [all...] |
res_init.c | 222 int dots; local in function:__res_vinit 542 dots = 0; 544 dots += (*cp == '.'); 548 if (dots < LOCALDOMAINPARTS) 552 dots--;
|
/src/sys/kern/ |
subr_kobj.c | 1213 const char *d = name, *dots = ""; local in function:kobj_setname 1226 len = (len - sizeof(ko->ko_name)) + 5; /* dots + NUL */ 1229 dots = "/..."; 1232 snprintf(ko->ko_name, sizeof(ko->ko_name), "%s%s%s", name, dots, d);
|
/src/libexec/rshd/ |
rshd.c | 787 int dots = 0; local in function:topdomain 791 if (++dots == 2)
|
/src/libexec/rlogind/ |
rlogind.c | 742 int dots = 0; local in function:topdomain 746 if (++dots == 2)
|
/src/usr.sbin/mtrace/ |
mtrace.c | 188 int i, dots = 3; local in function:host_addr 198 if (*ip == '.') --dots; 200 else if (!isdigit((unsigned char)*ip)) dots = 0; /* Not numeric, don't add zeroes */ 203 for (i = 0; i < dots; ++i) { 209 if (dots <= 0) e = gethostbyname(name);
|
/src/lib/libc/net/ |
getaddrinfo.c | 2683 u_int dots; local in function:res_searchN 2695 dots = 0; 2697 dots += (*cp == '.'); 2703 * if there aren't any dots, it could be a user-level alias 2705 if (!dots && (cp = res_hostalias(res, name, buf, sizeof(buf))) != NULL) { 2711 * If there are dots in the name already, let's just give it a try 2715 if (dots >= res->ndots) { 2729 if ((!dots && (res->options & RES_DEFNAMES)) || 2730 (dots && !trailing_dot && (res->options & RES_DNSRCH))) { 2788 * note that we do this regardless of how many dots were in th [all...] |
/src/usr.bin/make/unit-tests/ |
Makefile | 312 TESTS+= sh-dots 557 SED_CMDS.sh-dots= -e 's,^.*\.\.\.:.*,<not found: ...>,' 559 SED_CMDS.sh-dots+= -e 's,^make: exec(\(.*\)): .*$$,<not found: \1>,' 560 SED_CMDS.sh-dots+= -e 's,^\(\*\*\* Error code \)[1-9][0-9]*,\1<nonzero>,'
|