Searched refs:sym_val_to_name (Results 1 – 10 of 10) sorted by relevance
62 CU_ASSERT(p->sym_val_to_name[SYM_COMMONS][d->s.value - 1] == (char *)key); in common_test_index()71 CU_ASSERT(p->sym_val_to_name[SYM_CLASSES][d->s.value - 1] == (char *)key); in class_test_index()81 CU_ASSERT(p->sym_val_to_name[SYM_ROLES][d->s.value - 1] == (char *)key); in role_test_index()94 CU_ASSERT(p->sym_val_to_name[SYM_TYPES][d->s.value - 1] == (char *)key); in type_test_index()105 CU_ASSERT(p->sym_val_to_name[SYM_USERS][d->s.value - 1] == (char *)key); in user_test_index()115 CU_ASSERT(p->sym_val_to_name[SYM_BOOLS][d->s.value - 1] == (char *)key); in cond_test_index()125 CU_ASSERT(p->sym_val_to_name[SYM_LEVELS][d->level->sens - 1] == (char *)key); in level_test_index()134 CU_ASSERT(p->sym_val_to_name[SYM_CATS][d->s.value - 1] == (char *)key); in cat_test_index()204 if (strcmp(p->sym_val_to_name[SYM_TYPES][i], types[j]) == 0) { in test_role_type_set()210 printf("\nRole %s had type %s not in types array\n", id, p->sym_val_to_name[SYM_TYPES][i]); in test_role_type_set()[all …]
72 CU_ASSERT(strcmp(p->sym_val_to_name[SYM_BOOLS][expr->bool - 1], bools[i].bool) == 0); in test_cond_expr_mapping()
532 char **sym_val_to_name[SYM_NUM]; member533 #define p_common_val_to_name sym_val_to_name[SYM_COMMONS]534 #define p_class_val_to_name sym_val_to_name[SYM_CLASSES]535 #define p_role_val_to_name sym_val_to_name[SYM_ROLES]536 #define p_type_val_to_name sym_val_to_name[SYM_TYPES]537 #define p_user_val_to_name sym_val_to_name[SYM_USERS]538 #define p_bool_val_to_name sym_val_to_name[SYM_BOOLS]539 #define p_sens_val_to_name sym_val_to_name[SYM_LEVELS]540 #define p_cat_val_to_name sym_val_to_name[SYM_CATS]
242 tmp_ptr = realloc(policydb->sym_val_to_name[SYM_USERS], in sepol_user_modify()247 policydb->sym_val_to_name[SYM_USERS] = tmp_ptr; in sepol_user_modify()
844 p->sym_val_to_name[i] = NULL; in policydb_init()1233 free(p->sym_val_to_name[i]); in policydb_index_others()1234 p->sym_val_to_name[i] = NULL; in policydb_index_others()1236 p->sym_val_to_name[i] = (char **) in policydb_index_others()1238 if (!p->sym_val_to_name[i]) in policydb_index_others()1471 if (p->sym_val_to_name[i]) in policydb_destroy()1472 free(p->sym_val_to_name[i]); in policydb_destroy()4283 if (p->sym_val_to_name[i]) in policydb_reindex_users()4284 free(p->sym_val_to_name[i]); in policydb_reindex_users()4291 p->sym_val_to_name[i] = (char **) in policydb_reindex_users()[all …]
2021 id = pol->sym_val_to_name[i][j]; in is_decl_requires_met()2134 p->sym_val_to_name[req. in debug_requirements()2144 p->sym_val_to_name[req. in debug_requirements()2184 p->sym_val_to_name[req->symbol_type][req->symbol_value - 1]); in print_missing_requirements()
733 char **val_to_name = pdb->sym_val_to_name[type]; in ebitmap_to_cil()2101 cil_printf("%s ", pdb->sym_val_to_name[SYM_CLASSES][i]); in class_order_to_cil()3434 key = pdb->sym_val_to_name[sym][i]; in declared_scopes_to_cil()3501 key = pdb->sym_val_to_name[sym][i]; in required_scopes_to_cil()
104 char *id = p->sym_val_to_name[symbol_type][symbol_value]; in display_id()551 p->sym_val_to_name[i][j]); in display_scope_index()
300 const char *id = p->sym_val_to_name[symbol_type][symbol_value]; in display_id()
1218 policydbp->sym_val_to_name[SYM_TYPES][i]); in expand_attrib()