Lines Matching defs:argp
127 get_pwname(argp)
128 nss_XbyY_args_t *argp;
130 struct passwd *p = (struct passwd *)argp->returnval;
136 check_pwname(argp)
137 nss_XbyY_args_t *argp;
139 struct passwd *p = (struct passwd *)argp->returnval;
141 return (strcmp(p->pw_name, argp->key.name) == 0);
149 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a;
151 return (_nss_compat_XY_all(be, argp,
156 check_pwuid(argp)
157 nss_XbyY_args_t *argp;
159 struct passwd *p = (struct passwd *)argp->returnval;
161 return (p->pw_uid == argp->key.uid);
169 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a;
171 if (argp->key.uid > MAXUID)
173 return (_nss_compat_XY_all(be, argp,
179 merge_pwents(be, argp, fields)
181 nss_XbyY_args_t *argp;
184 struct passwd *pw = (struct passwd *)argp->buf.result;
203 buflen = argp->buf.buflen;
241 argp->buf.result = NULL;
243 if (len > argp->buf.buflen) {
246 (void) strncpy(argp->buf.buffer, buf, len);
247 argp->returnval = argp->buf.buffer;
248 argp->returnlen = len;
252 parsestat = (*argp->str2ent)(buf, len,
253 argp->buf.result,
254 argp->buf.buffer,
255 argp->buf.buflen);