Home
last modified time | relevance | path

Searched refs:p_cat_val_to_name (Results 1 – 7 of 7) sorted by relevance

/external/selinux/libsepol/src/
Dmls.c135 strlen(policydb->p_cat_val_to_name[i]) + 1; in mls_compute_context_len()
141 p_cat_val_to_name[i - 1]) + in mls_compute_context_len()
148 len += strlen(policydb->p_cat_val_to_name[i - 1]) + 1; in mls_compute_context_len()
207 policydb->p_cat_val_to_name[i]); in mls_sid_to_context()
209 strlen(policydb->p_cat_val_to_name[i]); in mls_sid_to_context()
219 policydb->p_cat_val_to_name[i - in mls_sid_to_context()
223 p_cat_val_to_name[i - 1]); in mls_sid_to_context()
235 strcpy(scontextp, policydb->p_cat_val_to_name[i - 1]); in mls_sid_to_context()
236 scontextp += strlen(policydb->p_cat_val_to_name[i - 1]); in mls_sid_to_context()
588 p_cat_val_to_name in mls_convert_context()
Dmodule_to_cil.c522 cil_printf("%s", pdb->p_cat_val_to_name[cat->low - 1]); in semantic_level_to_cil()
524 …cil_printf("range %s %s", pdb->p_cat_val_to_name[cat->low - 1], pdb->p_cat_val_to_name[cat->high -… in semantic_level_to_cil()
2315 cil_println(indent, "(categoryaliasactual %s %s)", key, pdb->p_cat_val_to_name[cat->s.value - 1]); in cat_to_cil()
2339 cil_printf("%s ", pdb->p_cat_val_to_name[i]); in cat_order_to_cil()
Dexpand.c911 p->p_cat_val_to_name[cat->low - 1], in mls_semantic_level_expand()
912 p->p_cat_val_to_name[cat->high - 1]); in mls_semantic_level_expand()
919 p->p_cat_val_to_name[i], in mls_semantic_level_expand()
Dpolicydb.c951 p->p_cat_val_to_name[catdatum->s.value - 1] = (char *)key; in cat_index()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h522 #define p_cat_val_to_name sym_val_to_name[SYM_CATS] macro
/external/selinux/libsepol/cil/src/
Dcil_binary.c3783 pdb->p_cat_val_to_name[cat->s.value - 1] = (char *)key; in __cil_cat_val_array_insert()
3839 policydb->p_cat_val_to_name = cil_malloc(sizeof(char *) * policydb->p_cats.nprim); in __cil_policydb_val_arrays_create()
/external/selinux/checkpolicy/
Dpolicy_define.c4105 policydbp->p_cat_val_to_name[i], in parse_categories()