Lines Matching refs:argp
109 get_grname(argp)
110 nss_XbyY_args_t *argp;
112 struct group *g = (struct group *)argp->returnval;
118 check_grname(argp)
119 nss_XbyY_args_t *argp;
121 struct group *g = (struct group *)argp->returnval;
123 return (strcmp(g->gr_name, argp->key.name) == 0);
131 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a;
133 return (_nss_compat_XY_all(be, argp, check_grname,
138 check_grgid(argp)
139 nss_XbyY_args_t *argp;
141 struct group *g = (struct group *)argp->returnval;
143 return (g->gr_gid == argp->key.gid);
151 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a;
153 if (argp->key.gid > MAXUID)
155 return (_nss_compat_XY_all(be, argp, check_grgid,
164 struct nss_groupsbymem *argp = (struct nss_groupsbymem *)a;
165 int numgids = argp->numgids;
166 int maxgids = argp->maxgids;
167 gid_t *gid_array = argp->gid_array;
188 argp->str2ent);
199 if (strcmp(*mem, argp->username) == 0) {
209 argp->numgids = numgids;
230 merge_grents(be, argp, fields)
232 nss_XbyY_args_t *argp;
235 struct group *g = (struct group *)argp->buf.result;
251 /* No legal overrides, leave *argp unscathed */
292 argp->buf.result = NULL;
294 if (dlen > argp->buf.buflen) {
297 (void) strncpy(argp->buf.buffer, buf, dlen);
298 argp->returnval = argp->buf.buffer;
299 argp->returnlen = dlen;
303 parsestat = (*argp->str2ent)(buf, dlen,
304 argp->buf.result,
305 argp->buf.buffer,
306 argp->buf.buflen);