Lines Matching defs:buffer

55 _uncached_getpwuid_r(uid_t uid, struct passwd *result, char *buffer,
59 _uncached_getpwnam_r(const char *name, struct passwd *result, char *buffer,
67 getpwnam_r(const char *name, struct passwd *result, char *buffer, int buflen)
75 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2passwd);
87 getpwuid_r(uid_t uid, struct passwd *result, char *buffer, int buflen)
91 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2passwd);
100 _uncached_getpwuid_r(uid_t uid, struct passwd *result, char *buffer,
105 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2passwd);
118 __posix_getpwuid_r(uid_t uid, struct passwd *pwd, char *buffer,
125 if ((*result = getpwuid_r(uid, pwd, buffer, (uintptr_t)bufsize))
134 _uncached_getpwnam_r(const char *name, struct passwd *result, char *buffer,
139 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2passwd);
151 __posix_getpwnam_r(const char *name, struct passwd *pwd, char *buffer,
158 if ((*result = getpwnam_r(name, pwd, buffer, (uintptr_t)bufsize))
180 getpwent_r(struct passwd *result, char *buffer, int buflen)
188 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2passwd);
199 fgetpwent_r(FILE *f, struct passwd *result, char *buffer, int buflen)
207 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2passwd);
237 * wherein the field pointers would be set to areas in the buffer if
238 * need be. instring and buffer should be separate areas.
241 str2passwd(const char *instr, int lenstr, void *ent, char *buffer, int buflen)
252 * We copy the input string into the output buffer and
255 if (instr != buffer) {
256 /* Overlapping buffer copies are OK */
257 (void) memmove(buffer, instr, lenstr);
258 buffer[lenstr] = '\0';
265 next = buffer;