Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dpolicydb.c1652 scope_datum_t *scope_datum; in symtab_insert() local
1674 scope_datum = in symtab_insert()
1676 if (scope_datum == NULL) { in symtab_insert()
1680 if ((scope_datum = malloc(sizeof(*scope_datum))) == NULL) { in symtab_insert()
1684 scope_datum->scope = scope; in symtab_insert()
1685 scope_datum->decl_ids = NULL; in symtab_insert()
1686 scope_datum->decl_ids_len = 0; in symtab_insert()
1689 scope_datum)) != 0) { in symtab_insert()
1691 free(scope_datum); in symtab_insert()
1694 } else if (scope_datum->scope == SCOPE_DECL && scope == SCOPE_DECL) { in symtab_insert()
[all …]
Dmodule_to_cil.c332 struct scope_datum *scope; in typealiases_gather_map()
494 struct scope_datum *scope; in is_id_in_scope_with_start()
3383 struct scope_datum *scope; in declared_scopes_to_cil()
3450 struct scope_datum *scope_datum; in required_scopes_to_cil() local
3461 scope_datum = hashtab_search(pdb->scope[sym].table, key); in required_scopes_to_cil()
3462 if (scope_datum == NULL) { in required_scopes_to_cil()
3466 for (j = 0; j < scope_datum->decl_ids_len; j++) { in required_scopes_to_cil()
3467 if (scope_datum->decl_ids[j] == decl->decl_id) { in required_scopes_to_cil()
3471 if (j >= scope_datum->decl_ids_len) { in required_scopes_to_cil()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h489 typedef struct scope_datum { struct