Lines Matching refs:name
38 static enum nss_status (*getspnam_r_impl) (const char *name, struct spwd * sp,
272 getspent_next_nss_netgr (const char *name, struct spwd *result, ent_t *ent, in getspent_next_nss_netgr() argument
326 if (name != NULL) in getspent_next_nss_netgr()
327 if (strcmp (user, name) != 0) in getspent_next_nss_netgr()
392 getspnam_plususer (const char *name, struct spwd *result, ent_t *ent, in getspnam_plususer() argument
416 enum nss_status status = getspnam_r_impl (name, result, buffer, buflen, in getspnam_plususer()
631 internal_getspnam_r (const char *name, struct spwd *result, ent_t *ent, in internal_getspnam_r() argument
685 if (strcmp (result->sp_namp, name) == 0) in internal_getspnam_r()
697 if (innetgr (&result->sp_namp[2], NULL, name, NULL)) in internal_getspnam_r()
708 if (innetgr (&result->sp_namp[2], NULL, name, NULL)) in internal_getspnam_r()
710 status = getspnam_plususer (name, result, ent, buffer, in internal_getspnam_r()
725 if (strcmp (&result->sp_namp[1], name) == 0) in internal_getspnam_r()
735 if (strcmp (name, &result->sp_namp[1]) == 0) in internal_getspnam_r()
739 status = getspnam_plususer (name, result, ent, in internal_getspnam_r()
755 status = getspnam_plususer (name, result, ent, in internal_getspnam_r()
773 _nss_compat_getspnam_r (const char *name, struct spwd *pwd, in _nss_compat_getspnam_r() argument
780 if (name[0] == '-' || name[0] == '+') in _nss_compat_getspnam_r()
793 result = internal_getspnam_r (name, pwd, &ent, buffer, buflen, errnop); in _nss_compat_getspnam_r()
804 blacklist_store_name (const char *name, ent_t *ent) in blacklist_store_name() argument
806 int namelen = strlen (name); in blacklist_store_name()
822 if (in_blacklist (name, namelen, ent)) in blacklist_store_name()
839 tmp = stpcpy (ent->blacklist.data + ent->blacklist.current, name); in blacklist_store_name()
850 in_blacklist (const char *name, int namelen, ent_t *ent) in in_blacklist() argument
859 cp = stpcpy (&buf[1], name); in in_blacklist()