/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 | 155 type = hashtab_search(p->p_types.table, id); 156 primary = hashtab_search(p->p_types.table, primary_id); 234 attr = hashtab_search(decl->p_types.table, id); 236 attr = hashtab_search(p->p_types.table, id);
|
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/ |
context.c | 50 if (!c->type || c->type > p->p_types.nprim) 186 typdatum = (type_datum_t *) hashtab_search(policydb->p_types.table,
|
link.c | 409 base_type = hashtab_search(state->base->p_types.table, id); 448 new_type->s.value = state->base->p_types.nprim + 1; 450 ret = hashtab_insert(state->base->p_types.table, 456 state->base->p_types.nprim++; 473 (state->dest_decl->p_types.table, new_id, new_type)) { 476 state->dest_decl->p_types.nprim++; 722 dest = hashtab_search(state->base->p_types.table, key); 829 target_type = hashtab_search(state->base->p_types.table, target_id); 844 base_type = hashtab_search(state->base->p_types.table, id); 857 new_type->s.value = state->base->p_types.nprim + 1 [all...] |
expand.c | 115 new_type->s.value = ++state->out->p_types.nprim; 125 ret = hashtab_insert(state->out->p_types.table, 167 new_type = hashtab_search(state->out->p_types.table, id); 489 dest = hashtab_search(state->out->p_types.table, (char *)key); 626 ret = hashtab_insert(state->out->p_types.table, [all...] |
hierarchy.c | 467 if (hashtab_map(p->p_types.table, check_type_hierarchy_callback, &args))
|
policydb.c | 817 if (!typdatum->s.value || typdatum->s.value > p->p_types.nprim) 974 p->p_users.nprim, p->p_roles.nprim, p->p_types.nprim, 1004 calloc(p->p_types.nprim, sizeof(type_datum_t *)); 1313 for (i = 0; i < p->p_types.nprim; i++) { 1320 for (i = 0; i < p->p_types.nprim; i++) { [all...] |
services.c | 903 hashtab_search(args->newp->p_types.table, [all...] |
write.c | [all...] |
/external/checkpolicy/ |
checkpolicy.c | 234 type_rules = malloc(sizeof(struct avtab_node) * policydb.p_types.nprim); 240 sizeof(struct avtab_node) * policydb.p_types.nprim); 247 for (i = 0; i < policydb.p_types.nprim - 1; i++) { 250 for (j = i + 1; j < policydb.p_types.nprim; j++) {
|
policy_define.c | 221 t = hashtab_search(policydbp->p_types.table, type); 1092 t = hashtab_search(policydbp->p_types.table, id); 1124 t = hashtab_search(policydbp->p_types.table, id); 1137 attr = hashtab_search(policydbp->p_types.table, id); 1174 bounds = hashtab_search(policydbp->p_types.table, bounds_id); 1185 type = hashtab_search(policydbp->p_types.table, type_id); 1287 attr = hashtab_search(policydbp->p_types.table, id); 1360 t = hashtab_search(policydbp->p_types.table, id); 1426 datum = (type_datum_t *) hashtab_search(policydbp->p_types.table, [all...] |
module_compiler.c | 521 types_tab = policydbp->p_types.table; 523 types_tab = stack_top->decl->p_types.table; [all...] |
/external/libsepol/include/sepol/policydb/ |
policydb.h | 466 #define p_types symtab[SYM_TYPES] macro
|
/external/checkpolicy/test/ |
dismod.c | 336 if (hashtab_map(p->p_types.table, display_type_callback, fp))
|