Lines Matching refs:search
219 grscan(int search, gid_t gid, const char *name)
226 if (!search)
241 if (grmatchline(search, gid, name))
248 grmatchline(int search, gid_t gid, const char *name)
254 /* name may be NULL if search is nonzero */
259 if (search && name && strcmp(_gr_group.gr_name, name))
268 if (search && name == NULL && _gr_group.gr_gid != gid)
367 pwscan(int search, uid_t uid, const char *name)
374 if (!search)
389 if (pwmatchline(search, uid, name))
396 pwmatchline(int search, uid_t uid, const char *name)
401 /* name may be NULL if search is nonzero */
406 if (search && name && strcmp(_pw_passwd.pw_name, name))
417 if (search && name == NULL && _pw_passwd.pw_uid != uid)