Lines Matching refs:fieldlen
1434 ssize_t fieldlen, namelen = 0;
1473 fieldlen = p - fieldstart - 1;
1474 if (fieldlen == 0 || fieldlen >= sizeof (numbuf)) {
1478 (void) memcpy(numbuf, fieldstart, fieldlen);
1479 numbuf[fieldlen] = '\0';
1490 fieldlen = p - fieldstart + 1; /* Include '\0' this time */
1491 if (fieldlen > buflen - namelen - 1) {
1495 (void) memcpy(serv->s_proto, fieldstart, fieldlen - 1);
1496 serv->s_proto[fieldlen - 1] = '\0';
1509 ptr = (char **)ROUND_UP(buffer + namelen + 1 + fieldlen,
1522 buffer + namelen + 1 + fieldlen,
1523 (int)(buflen - namelen - 1 - fieldlen));