1360: */
1361: n = strlen(bp) + 1; /* for the \0 */
1362: if (n >= MAXHOSTNAMELEN) {
1414: /* Get canonical name. */
1415: n = strlen(tbuf) + 1; /* for the \0 */
1416: if (n > ep - bp || n >= MAXHOSTNAMELEN) {
1474: canonname = bp;
1475: nn = strlen(bp) + 1; /* for the \0 */
1476: bp += nn;
1805: #else
1806: cp = (void *)hostbuf + strlen(hostbuf) + 1;
1807: inet_ntop(p->table.addr->sa_family,
2017: r = yp_match(ypdomain, "hosts.byname", name,
2018: (int)strlen(name), &ypbuf, &ypbuflen);
2019: if (r == 0) {
2035: r = yp_match(ypdomain, "ipnodes.byname", name,
2036: (int)strlen(name), &ypbuf, &ypbuflen);
2037: if (r == 0) {
2362: */
2363: n = strlen(name);
2364: #ifndef T2EX
2388: } else {
2389: n = strlen(name);
2390: d = strlen(domain);
2391: #ifndef T2EX