Lines Matching refs:buf
81 * by a successful call to lwres_gethostbyname_r() . buf is a buffer of
93 * lwres_gethostbyaddr_r(). buf is a buffer of length len bytes which is
130 * lookups fail or if buf was too small to hold the list of addresses and
132 * the struct hostent. If buf was too small, both lwres_gethostbyname_r()
230 char *buf, int buflen, int *error)
238 res = copytobuf(he, resbuf, buf, buflen);
250 struct hostent *resbuf, char *buf, int buflen,
259 res = copytobuf(he, resbuf, buf, buflen);
270 lwres_gethostent_r(struct hostent *resbuf, char *buf, int buflen, int *error) {
272 UNUSED(buf);
296 copytobuf(struct hostent *he, struct hostent *hptr, char *buf, int buflen) {
306 len = (char *)LWRES_ALIGN(buf) - buf;
326 ptr = (char **)LWRES_ALIGN(buf);
327 cp = (char *)LWRES_ALIGN(buf) + nptr * sizeof(char *);