/external/libsepol/tests/ |
test-expander-attr-map.c | 93 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_base_optional_disabled_5")); 94 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_base_optional_disabled_5_1_t")); 95 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_base_optional_disabled_5_2_t")); 96 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_base_optional_disabled_8")); 97 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_base_optional_disabled_8_1_t")); 98 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_base_optional_disabled_8_2_t")); 99 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_mod_optional_disabled_4")); 100 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_mod_optional_disabled_4_1_t")); 101 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_mod_optional_disabled_4_2_t")); 102 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_mod_optional_disabled_7")) [all...] |
test-common.c | 35 if (!hashtab_search(p->symtab[sym_type].table, id)) { 40 scope = hashtab_search(p->scope[sym_type].table, id); 155 type = hashtab_search(p->p_types.table, id); 156 primary = hashtab_search(p->p_types.table, primary_id); 192 role = hashtab_search(decl->p_roles.table, id); 194 role = hashtab_search(p->p_roles.table, id); 234 attr = hashtab_search(decl->p_types.table, id); 236 attr = hashtab_search(p->p_types.table, id);
|
helpers.c | 68 scope_datum_t *scope = (scope_datum_t *) hashtab_search(p->scope[symtab].table, sym);
|
test-expander-users.c | 40 user = (user_datum_t *) hashtab_search(p->p_users.table, user_name);
|
test-linker-cond-map.c | 82 b = hashtab_search(p->p_bools.table, bool);
|
test-linker-types.c | 107 type = hashtab_search(p->p_types.table, id); 116 type = hashtab_search(p->decl_val_to_struct[decls[i] - 1]->p_types.table, id);
|
/external/libsepol/src/ |
booleans.c | 31 hashtab_search(policydb->p_bools.table, name); 135 *response = (hashtab_search(policydb->p_bools.table, name) != NULL); 156 booldatum = hashtab_search(policydb->p_bools.table, name);
|
avrule_block.c | 156 (scope_datum_t *) hashtab_search(p->scope[symbol_table].table, id); 185 (class_datum_t *) hashtab_search(p->p_classes.table, class_id); 189 perm = hashtab_search(cladatum->permissions.table, perm_id); 194 hashtab_search(cladatum->comdatum->permissions.table,
|
roles.c | 16 *response = (hashtab_search(policydb->p_roles.table,
|
users.c | 137 usrdatum = hashtab_search(policydb->p_users.table, 161 roldatum = hashtab_search(policydb->p_roles.table, 297 *response = (hashtab_search(policydb->p_users.table, 326 usrdatum = hashtab_search(policydb->p_users.table,
|
genbools.c | 96 datum = hashtab_search(policydb->p_bools.table, name); 127 hashtab_search(policydb->p_bools.table, 224 datum = hashtab_search(policydb.p_bools.table, names[i]);
|
context.c | 168 usrdatum = (user_datum_t *) hashtab_search(policydb->p_users.table, 177 roldatum = (role_datum_t *) hashtab_search(policydb->p_roles.table, 186 typdatum = (type_datum_t *) hashtab_search(policydb->p_types.table,
|
policydb_public.c | 191 return (hashtab_search(p->p.p_classes.table, PACKET_CLASS_NAME) ==
|
genusers.c | 87 usrdatum = hashtab_search(policydb->p_users.table, q); 164 roldatum = hashtab_search(policydb->p_roles.table, q);
|
link.c | 137 dest_perm = hashtab_search(dest_class->permissions.table, perm_id); 140 hashtab_search(dest_class->comdatum->permissions.table, 255 new_class = hashtab_search(state->base->p_classes.table, id); 263 hashtab_search(state->cur->policy->p_classes_scope.table, 356 base_role = hashtab_search(state->base->p_roles.table, id); 451 base_type = hashtab_search(state->base->p_types.table, id); 541 base_user = hashtab_search(state->base->p_users.table, id); 609 base_bool = hashtab_search(state->base->p_bools.table, id); 648 scope = hashtab_search(state->cur->policy->p_bools_scope.table, id); 676 base_level = hashtab_search(state->base->p_levels.table, id) [all...] |
mls.c | 282 levdatum = (level_datum_t *) hashtab_search(p->p_levels.table, 357 (level_datum_t *) hashtab_search(policydb->p_levels.table, 382 (cat_datum_t *) hashtab_search(policydb-> 399 hashtab_search(policydb->p_cats. 566 (level_datum_t *) hashtab_search(newp->p_levels.table, 585 (cat_datum_t *) hashtab_search(newp->p_cats.
|
services.c | 1114 hashtab_search(tclass_datum->permissions.table, 1125 hashtab_search(tclass_datum->comdatum->permissions.table, [all...] |
hashtab.c | 178 hashtab_datum_t hashtab_search(hashtab_t h, const hashtab_key_t key) function
|
expand.c | 243 new_type = hashtab_search(state->out->p_types.table, id); 559 hashtab_search(state->out->p_commons.table, 584 new_class = hashtab_search(state->out->p_classes.table, id); 620 dest = hashtab_search(state->out->p_types.table, (char *)key); 650 dest = hashtab_search(state->out->p_roles.table, (char *)key); 680 dest = hashtab_search(state->out->p_users.table, (char *)key); 834 (role_datum_t *)hashtab_search(state->out->p_roles.table, id); 853 regular_role = (role_datum_t *)hashtab_search( 899 (role_datum_t *) hashtab_search(state->out->p_roles.table, id); 976 levdatum = (level_datum_t *) hashtab_search(p->p_levels.table [all...] |
/external/checkpolicy/ |
policy_define.c | 221 t = hashtab_search(policydbp->p_types.table, type); 340 cladatum = hashtab_search(policydbp->p_classes.table, id); 370 cladatum = hashtab_search(policydbp->p_classes.table, id); 402 cladatum = hashtab_search(policydbp->p_classes.table, id); 434 cladatum = hashtab_search(policydbp->p_classes.table, id); 468 comdatum = hashtab_search(policydbp->p_commons.table, id); 562 cladatum = (class_datum_t *) hashtab_search(policydbp->p_classes.table, 586 (common_datum_t *) hashtab_search(policydbp->p_commons. 624 (perm_datum_t *) hashtab_search(cladatum->comdatum-> 813 (level_datum_t *) hashtab_search(policydbp->p_levels.table [all...] |
module_compiler.c | 141 (symtab_datum_t *) hashtab_search(policydbp-> 183 bounds = hashtab_search(roles_tab, bounds_id); 246 dest_role = (role_datum_t *) hashtab_search(roles_tab, dest_id); 387 bounds = hashtab_search(users_tab, bounds_id); 451 dest_user = (user_datum_t *) hashtab_search(users_tab, dest_id); 525 dest_typdatum = hashtab_search(types_tab, id); 574 dest_roledatum = hashtab_search(roles_tab, id); 636 (symtab_datum_t *) hashtab_search(policydbp-> 657 (type_datum_t *) hashtab_search(policydbp-> 799 hashtab_search(policydbp->p_classes.table [all...] |
checkpolicy.c | 354 bool = hashtab_search(policydbp->p_bools.table, name); 679 (class_datum_t *) hashtab_search(policydb. 793 (class_datum_t *) hashtab_search(policydb. 988 (class_datum_t *) hashtab_search(policydb.
|
/external/libsepol/include/sepol/policydb/ |
hashtab.h | 98 extern hashtab_datum_t hashtab_search(hashtab_t h, const hashtab_key_t k);
|
/external/checkpolicy/test/ |
dismod.c | 106 (scope_datum_t *) hashtab_search(p->scope[symbol_type].table, id); 579 bool = hashtab_search(p->p_bools.table, name);
|
dispol.c | 292 bool = hashtab_search(p->p_bools.table, name);
|