Lines Matching defs:buffer
289 * wherein the field pointers would be set to areas in the buffer if
290 * need be. instring and buffer should be separate areas.
293 str2passwd(const char *instr, int lenstr, void *ent, char *buffer, int buflen)
303 * We copy the input string into the output buffer and
306 (void) memcpy(buffer, instr, lenstr);
307 buffer[lenstr] = '\0';
309 next = buffer;
513 * wherein the field pointers would be set to areas in the buffer if
514 * need be. instring and buffer should be separate areas.
517 str2spwd(instr, lenstr, ent, buffer, buflen)
521 char *buffer;
542 (void) memcpy(buffer, instr, lencopy);
543 buffer[lencopy] = 0;
546 shadow->sp_namp = bufp = buffer;
574 } /* else p was set when we copied name and passwd into the buffer */
597 static nss_XbyY_buf_t *buffer;
601 NSS_XbyY_ALLOC(&buffer, sizeof (struct passwd), NSS_BUFLEN_PASSWD)
608 NSS_XbyY_FREE(&buffer);
622 NSS_XbyY_INIT(&arg, b->result, b->buffer, b->buflen, str2passwd);
653 NSS_XbyY_INIT(&arg, b->result, b->buffer, b->buflen, str2passwd);
699 NSS_XbyY_INIT(&arg, b->result, b->buffer, b->buflen, str2spwd);