/external/checkpolicy/ |
module_compiler.h | 34 type_datum_t *declare_type(unsigned char primary, unsigned char isattr); 37 type_datum_t *get_local_type(char *id, uint32_t value, unsigned char isattr);
|
module_compiler.c | 307 type_datum_t *declare_type(unsigned char primary, unsigned char isattr) 310 type_datum_t *typdatum; 326 typdatum = (type_datum_t *) malloc(sizeof(type_datum_t)); 506 /* Return a type_datum_t for the local avrule_decl with the given ID. 514 type_datum_t *get_local_type(char *id, uint32_t value, unsigned char isattr) 516 type_datum_t *dest_typdatum; 527 dest_typdatum = (type_datum_t *) malloc(sizeof(type_datum_t)); 655 ((type_datum_t *) datum)->flavor [all...] |
policy_define.c | 1135 static int add_aliases_to_type(type_datum_t * type) 1138 type_datum_t *aliasdatum = NULL; 1147 aliasdatum = (type_datum_t *) malloc(sizeof(type_datum_t)); 1153 memset(aliasdatum, 0, sizeof(type_datum_t)); 1203 type_datum_t *t; 1235 type_datum_t *t, *attr; 1297 type_datum_t *bounds, *type; 1369 type_datum_t *datum, *attr; 1453 type_datum_t *t [all...] |
/external/libsepol/tests/ |
test-common.c | 88 type_datum_t *d = (type_datum_t *) datum; 152 type_datum_t *type, *primary; 231 type_datum_t *attr;
|
test-linker-types.c | 104 type_datum_t *type;
|
/external/libsepol/include/sepol/policydb/ |
policydb.h | 179 } type_datum_t; typedef in typeref:struct:type_datum 504 type_datum_t **type_val_to_struct; 626 extern void type_datum_init(type_datum_t * x); 627 extern void type_datum_destroy(type_datum_t * x);
|
/external/libsepol/src/ |
context.c | 152 type_datum_t *typdatum; 186 typdatum = (type_datum_t *) hashtab_search(policydb->p_types.table,
|
hierarchy.c | 129 type_datum_t *t, *tp; 132 t = (type_datum_t *) d; 162 type_datum_t *s, *t1 = NULL, *t2 = NULL;
|
expand.c | 155 type_datum_t *type, *new_type; 159 type = (type_datum_t *) datum; 181 new_type = (type_datum_t *) malloc(sizeof(type_datum_t)); 187 memset(new_type, 0, sizeof(type_datum_t)); 224 type_datum_t *type, *new_type; 229 type = (type_datum_t *) datum; 608 type_datum_t *type = (type_datum_t *) datum; 609 type_datum_t *dest [all...] |
link.c | 441 type_datum_t *type, *base_type, *new_type = NULL; 444 type = (type_datum_t *) datum; 481 (type_datum_t *) calloc(1, sizeof(*new_type))) == NULL) { 763 type_datum_t *type = (type_datum_t *) datum; 764 type_datum_t *dest; 856 type_datum_t *type, *base_type, *new_type = NULL, *target_type; 861 type = (type_datum_t *) datum; 900 (type_datum_t *) calloc(1, sizeof(*new_type))) == NULL) { 1164 type_datum_t *type, *new_type = NULL [all...] |
policydb.c | 457 void type_datum_init(type_datum_t * x) 463 void type_datum_destroy(type_datum_t * x) 876 type_datum_t *typdatum; 878 typdatum = (type_datum_t *) datum; 1068 p->type_val_to_struct = (type_datum_t **) 1069 calloc(p->p_types.nprim, sizeof(type_datum_t *)); 1187 type_datum_destroy((type_datum_t *) datum); [all...] |
write.c | 1071 type_datum_t *typdatum; 1078 typdatum = (type_datum_t *) datum; [all...] |
services.c | [all...] |
/external/sepolicy/tools/ |
sepolicy-check.c | 117 type_datum_t *src = NULL; 118 type_datum_t *tgt = NULL;
|
/external/checkpolicy/test/ |
dismod.c | 294 type_datum_t *type; 298 type = (type_datum_t *) datum;
|