Home
last modified time | relevance | path

Searched refs:scope_datum (Results 1 – 3 of 3) sorted by relevance

/external/selinux/libsepol/src/
Dpolicydb.c1494 scope_datum_t *scope_datum; in symtab_insert() local
1516 scope_datum = in symtab_insert()
1518 if (scope_datum == NULL) { in symtab_insert()
1522 if ((scope_datum = malloc(sizeof(*scope_datum))) == NULL) { in symtab_insert()
1526 scope_datum->scope = scope; in symtab_insert()
1527 scope_datum->decl_ids = NULL; in symtab_insert()
1528 scope_datum->decl_ids_len = 0; in symtab_insert()
1531 scope_datum)) != 0) { in symtab_insert()
1533 free(scope_datum); in symtab_insert()
1536 } else if (scope_datum->scope == SCOPE_DECL && scope == SCOPE_DECL) { in symtab_insert()
[all …]
Dmodule_to_cil.c320 struct scope_datum *scope; in typealiases_gather_map()
476 struct scope_datum *scope; in is_id_in_scope_with_start()
3213 struct scope_datum *scope; in declared_scopes_to_cil()
3283 struct scope_datum *scope_datum; in required_scopes_to_cil() local
3297 scope_datum = hashtab_search(pdb->scope[sym].table, key); in required_scopes_to_cil()
3298 for (j = 0; j < scope_datum->decl_ids_len; j++) { in required_scopes_to_cil()
3299 if (scope_datum->decl_ids[j] == decl->decl_id) { in required_scopes_to_cil()
3303 if (j >= scope_datum->decl_ids_len) { in required_scopes_to_cil()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h467 typedef struct scope_datum { struct