Lines Matching defs:instr
46 nis_str2spent(const char *instr, int lenstr, void *ent, char *buffer,
53 * We know that instr != 0 because we're in 'nis', not 'files'
55 if ((p = memchr(instr, ':', lenstr)) == 0) {
58 if ((q = memchr(p + 1, ':', lenstr - (p + 1 - instr))) == 0) {
63 if (q + 1 - instr > buflen) {
69 (void) memcpy(buffer, instr, q - instr);
71 buffer[p - instr] = '\0';
72 buffer[q - instr] = '\0';
75 spwd->sp_pwdp = buffer + (p + 1 - instr);
89 r = buffer + (q - instr);