/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 | 1101 static int add_aliases_to_type(type_datum_t * type) 1104 type_datum_t *aliasdatum = NULL; 1113 aliasdatum = (type_datum_t *) malloc(sizeof(type_datum_t)); 1119 memset(aliasdatum, 0, sizeof(type_datum_t)); 1169 type_datum_t *t; 1201 type_datum_t *t, *attr; 1263 type_datum_t *bounds, *type; 1335 type_datum_t *datum, *attr; 1419 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 | 178 } type_datum_t; typedef in typeref:struct:type_datum 500 type_datum_t **type_val_to_struct; 622 extern void type_datum_init(type_datum_t * x); 623 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 | 79 type_datum_t *type, *new_type; 83 type = (type_datum_t *) datum; 105 new_type = (type_datum_t *) malloc(sizeof(type_datum_t)); 111 memset(new_type, 0, sizeof(type_datum_t)); 148 type_datum_t *type, *new_type; 153 type = (type_datum_t *) datum; 514 type_datum_t *type = (type_datum_t *) datum; 515 type_datum_t *dest [all...] |
link.c | 434 type_datum_t *type, *base_type, *new_type = NULL; 437 type = (type_datum_t *) datum; 474 (type_datum_t *) calloc(1, sizeof(*new_type))) == NULL) { 748 type_datum_t *type = (type_datum_t *) datum; 749 type_datum_t *dest; 841 type_datum_t *type, *base_type, *new_type = NULL, *target_type; 846 type = (type_datum_t *) datum; 885 (type_datum_t *) calloc(1, sizeof(*new_type))) == NULL) { 1149 type_datum_t *type, *new_type = NULL [all...] |
policydb.c | 415 void type_datum_init(type_datum_t * x) 421 void type_datum_destroy(type_datum_t * x) 832 type_datum_t *typdatum; 834 typdatum = (type_datum_t *) datum; 1024 p->type_val_to_struct = (type_datum_t **) 1025 calloc(p->p_types.nprim, sizeof(type_datum_t *)); 1143 type_datum_destroy((type_datum_t *) datum); [all...] |
services.c | 871 type_datum_t *typdatum; 903 typdatum = (type_datum_t *) [all...] |
write.c | 1058 type_datum_t *typdatum; 1065 typdatum = (type_datum_t *) datum; [all...] |
/external/checkpolicy/test/ |
dismod.c | 294 type_datum_t *type; 298 type = (type_datum_t *) datum;
|