Lines Matching refs:buffer
152 char *buffer, size_t buflen, int *errnop) in copy_passwd() argument
154 struct alloc_buffer buf = alloc_buffer_create (buffer, buflen); in copy_passwd()
174 NAME(getpwent_r) (struct passwd *result, char *buffer, size_t buflen, in NAME()
186 res = copy_passwd (result, &CURPWD, buffer, buflen, errnop); in NAME()
197 NAME(getpwuid_r) (uid_t uid, struct passwd *result, char *buffer, in NAME()
203 return copy_passwd (result, &pwd_data[idx], buffer, buflen, errnop); in NAME()
210 NAME(getpwnam_r) (const char *name, struct passwd *result, char *buffer, in NAME()
216 return copy_passwd (result, &pwd_data[idx], buffer, buflen, errnop); in NAME()
247 char *buffer, size_t buflen, int *errnop) in copy_group() argument
249 struct alloc_buffer buf = alloc_buffer_create (buffer, buflen); in copy_group()
287 NAME(getgrent_r) (struct group *result, char *buffer, size_t buflen, in NAME()
299 res = copy_group (result, &CURGRP, buffer, buflen, errnop); in NAME()
310 NAME(getgrgid_r) (gid_t gid, struct group *result, char *buffer, in NAME()
316 return copy_group (result, &grp_data[idx], buffer, buflen, errnop); in NAME()
323 NAME(getgrnam_r) (const char *name, struct group *result, char *buffer, in NAME()
330 return copy_group (result, &grp_data[idx], buffer, buflen, errnop); in NAME()
362 char *buffer, size_t buflen, int *errnop) in copy_shadow() argument
364 struct alloc_buffer buf = alloc_buffer_create (buffer, buflen); in copy_shadow()
386 NAME(getspent_r) (struct spwd *result, char *buffer, size_t buflen, in NAME()
398 res = copy_shadow (result, &CURSPWD, buffer, buflen, errnop); in NAME()
408 NAME(getspnam_r) (const char *name, struct spwd *result, char *buffer, in NAME()
414 return copy_shadow (result, &spwd_data[idx], buffer, buflen, errnop); in NAME()
445 char *buffer, size_t buflen, int *errnop) in copy_host() argument
447 struct alloc_buffer buf = alloc_buffer_create (buffer, buflen); in copy_host()
488 NAME(gethostent_r) (struct hostent *ret, char *buffer, size_t buflen, in NAME()
503 res = copy_host (ret, &CURHOST, buffer, buflen, errnop); in NAME()
515 char *buffer, size_t buflen, int *errnop, in NAME()
522 return copy_host (ret, & host_data[idx], buffer, buflen, h_errnop); in NAME()
529 char *buffer, size_t buflen, in NAME()
532 return NAME(gethostbyname3_r) (name, AF_INET, result, buffer, buflen, in NAME()
538 char *buffer, size_t buflen, in NAME()
541 return NAME(gethostbyname3_r) (name, af, result, buffer, buflen, in NAME()
547 struct hostent *result, char *buffer, size_t buflen, in NAME()
558 return copy_host (result, & host_data[idx], buffer, buflen, h_errnop); in NAME()
566 struct hostent *result, char *buffer, size_t buflen, in NAME()
569 return NAME(gethostbyaddr2_r) (addr, len, af, result, buffer, buflen, in NAME()