Home
last modified time | relevance | path

Searched refs:sym_val_to_name (Results 1 – 11 of 11) sorted by relevance

/third_party/selinux/libsepol/tests/
Dtest-common.c65 CU_ASSERT(p->sym_val_to_name[SYM_COMMONS][d->s.value - 1] == (char *)key); in common_test_index()
74 CU_ASSERT(p->sym_val_to_name[SYM_CLASSES][d->s.value - 1] == (char *)key); in class_test_index()
84 CU_ASSERT(p->sym_val_to_name[SYM_ROLES][d->s.value - 1] == (char *)key); in role_test_index()
97 CU_ASSERT(p->sym_val_to_name[SYM_TYPES][d->s.value - 1] == (char *)key); in type_test_index()
108 CU_ASSERT(p->sym_val_to_name[SYM_USERS][d->s.value - 1] == (char *)key); in user_test_index()
118 CU_ASSERT(p->sym_val_to_name[SYM_BOOLS][d->s.value - 1] == (char *)key); in cond_test_index()
128 CU_ASSERT(p->sym_val_to_name[SYM_LEVELS][d->level->sens - 1] == (char *)key); in level_test_index()
137 CU_ASSERT(p->sym_val_to_name[SYM_CATS][d->s.value - 1] == (char *)key); in cat_test_index()
206 if (strcmp(p->sym_val_to_name[SYM_TYPES][i], types[j]) == 0) { in test_role_type_set()
213 id, p->sym_val_to_name[SYM_TYPES][i]); in test_role_type_set()
[all …]
Dtest-linker-cond-map.c73 CU_ASSERT(strcmp(p->sym_val_to_name[SYM_BOOLS][expr->bool - 1], bools[i].bool) == 0); in test_cond_expr_mapping()
/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h535 char **sym_val_to_name[SYM_NUM]; member
536 #define p_common_val_to_name sym_val_to_name[SYM_COMMONS]
537 #define p_class_val_to_name sym_val_to_name[SYM_CLASSES]
538 #define p_role_val_to_name sym_val_to_name[SYM_ROLES]
539 #define p_type_val_to_name sym_val_to_name[SYM_TYPES]
540 #define p_user_val_to_name sym_val_to_name[SYM_USERS]
541 #define p_bool_val_to_name sym_val_to_name[SYM_BOOLS]
542 #define p_sens_val_to_name sym_val_to_name[SYM_LEVELS]
543 #define p_cat_val_to_name sym_val_to_name[SYM_CATS]
/third_party/selinux/libsepol/src/
Dusers.c237 tmp_ptr = reallocarray(policydb->sym_val_to_name[SYM_USERS], in sepol_user_modify()
242 policydb->sym_val_to_name[SYM_USERS] = tmp_ptr; in sepol_user_modify()
Dpolicydb.c882 p->sym_val_to_name[i] = NULL; in policydb_init()
1271 free(p->sym_val_to_name[i]); in policydb_index_others()
1272 p->sym_val_to_name[i] = NULL; in policydb_index_others()
1274 p->sym_val_to_name[i] = (char **) in policydb_index_others()
1276 if (!p->sym_val_to_name[i]) in policydb_index_others()
1505 if (p->sym_val_to_name[i]) in policydb_destroy()
1506 free(p->sym_val_to_name[i]); in policydb_destroy()
4586 if (p->sym_val_to_name[i]) in policydb_reindex_users()
4587 free(p->sym_val_to_name[i]); in policydb_reindex_users()
4594 p->sym_val_to_name[i] = (char **) in policydb_reindex_users()
[all …]
Dlink.c1951 id = pol->sym_val_to_name[i][j]; in is_decl_requires_met()
2061 p->sym_val_to_name[req. in debug_requirements()
2071 p->sym_val_to_name[req. in debug_requirements()
2111 p->sym_val_to_name[req->symbol_type][req->symbol_value - 1]); in print_missing_requirements()
Dmodule_to_cil.c738 char **val_to_name = pdb->sym_val_to_name[type]; in ebitmap_to_cil()
2098 cil_printf("%s ", pdb->sym_val_to_name[SYM_CLASSES][i]); in class_order_to_cil()
3447 key = pdb->sym_val_to_name[sym][i]; in declared_scopes_to_cil()
3511 key = pdb->sym_val_to_name[sym][i]; in required_scopes_to_cil()
/third_party/selinux/checkpolicy/test/
Ddismod.c103 char *id = p->sym_val_to_name[symbol_type][symbol_value]; in display_id()
550 p->sym_val_to_name[i][j]); in display_scope_index()
Ddispol.c298 const char *id = p->sym_val_to_name[symbol_type][symbol_value]; in display_id()
/third_party/selinux/checkpolicy/
Dpolicy_define.c1205 policydbp->sym_val_to_name[SYM_TYPES][i]); in expand_attrib()
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h54231 char **sym_val_to_name[8]; member