Lines Matching defs:buffer
54 getspnam_r(const char *name, struct spwd *result, char *buffer, int buflen)
58 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2spwd);
79 getspent_r(struct spwd *result, char *buffer, int buflen)
87 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2spwd);
98 fgetspent_r(FILE *f, struct spwd *result, char *buffer, int buflen)
106 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2spwd);
176 * wherein the field pointers would be set to areas in the buffer if
177 * need be. instring and buffer should be separate areas.
180 str2spwd(const char *instr, int lenstr, void *ent, char *buffer, int buflen)
202 if (instr != buffer) {
203 /* Overlapping buffer copies are OK */
204 (void) memmove(buffer, instr, lencopy);
205 buffer[lencopy] = 0;
213 shadow->sp_namp = bufp = buffer;
241 } /* else p was set when we copied name and passwd into the buffer */