Lines Matching defs:buffer
58 static nss_XbyY_buf_t *buffer;
60 NSS_XbyY_ALLOC(&buffer, sizeof (struct hostent), NSS_BUFLEN_HOSTS)
70 return (gethostbyname_r(nam, b->result, b->buffer, b->buflen,
86 b->result, b->buffer, b->buflen, &h_errno));
96 return (gethostent_r(b->result, b->buffer, b->buflen, &h_errno));
102 * wherein the field pointers would be set to areas in the buffer if
103 * need be. instring and buffer should be separate areas.
106 __str2hostent(int af, const char *instr, int lenstr, void *ent, char *buffer,
118 if ((instr >= buffer && (buffer + buflen) > instr) ||
119 (buffer >= instr && (instr + lenstr) > buffer))
164 addrp6 = (struct in6_addr *)ROUND_DOWN(buffer + buflen,
170 addrp = (struct in_addr *)ROUND_DOWN(buffer + buflen,
177 if ((char *)addrvec < buffer)
244 buffer, ((char *)addrvec) - buffer);
246 aliases_erange = 1; /* too big for buffer */