Lines Matching refs:mapp
585 register ns_enum_map *mapp; in __s_get_enum_value() local
607 mapp = &ns_auth_enum_v1[0]; in __s_get_enum_value()
609 mapp = &ns_auth_enum_v2[0]; in __s_get_enum_value()
615 mapp = &ns_scope_enum_v1[0]; in __s_get_enum_value()
617 mapp = &ns_scope_enum_v2[0]; in __s_get_enum_value()
621 mapp = &ns_ref_enum_v1[0]; in __s_get_enum_value()
623 mapp = &ns_ref_enum_v2[0]; in __s_get_enum_value()
626 mapp = &ns_pref_enum[0]; in __s_get_enum_value()
629 mapp = &ns_shadow_update_enum[0]; in __s_get_enum_value()
635 mapp = &ns_cred_enum_v2[0]; in __s_get_enum_value()
638 mapp = &ns_auth_enum_v2[0]; in __s_get_enum_value()
641 mapp = &ns_cred_enum_v2[0]; in __s_get_enum_value()
647 for (; mapp->name != NULL; mapp++) { in __s_get_enum_value()
648 if (strncasecmp(pstart, mapp->name, len) == 0 && in __s_get_enum_value()
649 (strlen(mapp->name) == len)) { in __s_get_enum_value()
650 return (mapp->value); in __s_get_enum_value()
659 register ns_enum_map *mapp; in __s_get_auth_name() local
662 mapp = &ns_auth_enum_v1[0]; in __s_get_auth_name()
664 mapp = &ns_auth_enum_v2[0]; in __s_get_auth_name()
666 for (; mapp->name != NULL; mapp++) { in __s_get_auth_name()
667 if (type == INT2AUTHENUM(mapp->value)) { in __s_get_auth_name()
668 return (mapp->name); in __s_get_auth_name()
678 register ns_enum_map *mapp; in __s_get_security_name() local
681 mapp = &ns_sec_enum_v1[0]; in __s_get_security_name()
683 for (; mapp->name != NULL; mapp++) { in __s_get_security_name()
684 if (type == INT2SECENUM(mapp->value)) { in __s_get_security_name()
685 return (mapp->name); in __s_get_security_name()
696 register ns_enum_map *mapp; in __s_get_scope_name() local
699 mapp = &ns_scope_enum_v1[0]; in __s_get_scope_name()
701 mapp = &ns_scope_enum_v2[0]; in __s_get_scope_name()
703 for (; mapp->name != NULL; mapp++) { in __s_get_scope_name()
704 if (type == INT2SCOPEENUM(mapp->value)) { in __s_get_scope_name()
705 return (mapp->name); in __s_get_scope_name()
715 register ns_enum_map *mapp = &ns_pref_enum[0]; in __s_get_pref_name() local
717 for (; mapp->name != NULL; mapp++) { in __s_get_pref_name()
718 if (type == INT2PREFONLYENUM(mapp->value)) { in __s_get_pref_name()
719 return (mapp->name); in __s_get_pref_name()
728 register ns_enum_map *mapp; in __s_get_searchref_name() local
731 mapp = &ns_ref_enum_v1[0]; in __s_get_searchref_name()
733 mapp = &ns_ref_enum_v2[0]; in __s_get_searchref_name()
735 for (; mapp->name != NULL; mapp++) { in __s_get_searchref_name()
736 if (type == INT2SEARCHREFENUM(mapp->value)) { in __s_get_searchref_name()
737 return (mapp->name); in __s_get_searchref_name()
746 register ns_enum_map *mapp; in __s_get_shadowupdate_name() local
748 mapp = &ns_shadow_update_enum[0]; in __s_get_shadowupdate_name()
750 for (; mapp->name != NULL; mapp++) { in __s_get_shadowupdate_name()
751 if (type == INT2SHADOWUPDATENUM(mapp->value)) { in __s_get_shadowupdate_name()
752 return (mapp->name); in __s_get_shadowupdate_name()
761 register ns_enum_map *mapp; in __s_get_credlvl_name() local
764 mapp = &ns_cred_enum_v2[0]; in __s_get_credlvl_name()
765 for (; mapp->name != NULL; mapp++) { in __s_get_credlvl_name()
766 if (type == INT2CREDLEVELENUM(mapp->value)) { in __s_get_credlvl_name()
767 return (mapp->name); in __s_get_credlvl_name()