Lines Matching defs:abuf
345 char *abuf = NULL, *abuf_start = NULL, *abuf_end;
452 abuf = (char *)malloc(args->buf.buflen);
453 if (abuf == NULL) {
457 abuf_start = abuf;
459 (void) memcpy(abuf, h_name, h_namelen);
460 abuf += h_namelen;
461 *abuf = '\0';
462 abuf = do_aliases(hp, abuf, abuf_end);
463 if (abuf == NULL) {
595 abuf = do_aliases(hp, abuf, abuf_end);
596 if (abuf == NULL) {
616 if (abuf && res == NSS_SUCCESS) {
618 /* abuf != NULL implies hp and abuf_start != NULL */
649 abuf - abuf_start, args->buf.buffer,
681 do_aliases(struct hostent *hp, char *abuf, char *end)
687 return (abuf);
691 if (abuf+len+1 >= end) {
694 *abuf++ = ' ';
695 (void) memcpy(abuf, *cp, len);
696 abuf += len;
698 *abuf = '\0';
700 return (abuf);