/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 | 1005 static int add_aliases_to_type(type_datum_t * type) 1008 type_datum_t *aliasdatum = NULL; 1017 aliasdatum = (type_datum_t *) malloc(sizeof(type_datum_t)); 1023 memset(aliasdatum, 0, sizeof(type_datum_t)); 1073 type_datum_t *t; 1105 type_datum_t *t, *attr; 1167 type_datum_t *bounds, *type; 1239 type_datum_t *datum, *attr; 1323 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 | 165 } type_datum_t; typedef in typeref:struct:type_datum 487 type_datum_t **type_val_to_struct; 609 extern void type_datum_init(type_datum_t * x); 610 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; 477 type_datum_t *type = (type_datum_t *) datum; 478 type_datum_t *dest [all...] |
link.c | 399 type_datum_t *type, *base_type, *new_type = NULL; 402 type = (type_datum_t *) datum; 439 (type_datum_t *) calloc(1, sizeof(*new_type))) == NULL) { 713 type_datum_t *type = (type_datum_t *) datum; 714 type_datum_t *dest; 806 type_datum_t *type, *base_type, *new_type = NULL, *target_type; 811 type = (type_datum_t *) datum; 850 (type_datum_t *) calloc(1, sizeof(*new_type))) == NULL) { 1114 type_datum_t *type, *new_type = NULL [all...] |
policydb.c | 394 void type_datum_init(type_datum_t * x) 400 void type_datum_destroy(type_datum_t * x) 811 type_datum_t *typdatum; 813 typdatum = (type_datum_t *) datum; 1003 p->type_val_to_struct = (type_datum_t **) 1004 calloc(p->p_types.nprim, sizeof(type_datum_t *)); 1122 type_datum_destroy((type_datum_t *) datum); [all...] |
services.c | 870 type_datum_t *typdatum; 902 typdatum = (type_datum_t *) [all...] |
write.c | 1046 type_datum_t *typdatum; 1053 typdatum = (type_datum_t *) datum; [all...] |
/external/checkpolicy/test/ |
dismod.c | 294 type_datum_t *type; 298 type = (type_datum_t *) datum;
|