Home
last modified time | relevance | path

Searched refs:decl_ids_len (Results 1 – 10 of 10) sorted by relevance

/third_party/selinux/libsepol/tests/
Dtest-common.c46 CU_ASSERT(scope->decl_ids_len == len); in test_sym_presence()
47 if (scope->decl_ids_len != len) in test_sym_presence()
48 fprintf(stderr, "sym %s has %d decls, %d expected\n", id, scope->decl_ids_len, len); in test_sym_presence()
Dhelpers.c76 if (scope->decl_ids_len != 1) { in test_find_decl_by_sym()
/third_party/selinux/libsepol/src/
Davrule_block.c169 len = scope->decl_ids_len; in is_id_enabled()
Dlink.c1814 base_scope->decl_ids_len = 0; in scope_copy_callback()
1815 for (i = 0; i < scope->decl_ids_len; i++) { in scope_copy_callback()
1817 &base_scope->decl_ids_len, in scope_copy_callback()
1827 for (i = 0; i < scope->decl_ids_len; i++) { in scope_copy_callback()
1829 &base_scope->decl_ids_len, in scope_copy_callback()
1845 for (i = 0; i < scope->decl_ids_len; i++) { in scope_copy_callback()
1847 &base_scope->decl_ids_len, in scope_copy_callback()
Dpolicydb.c1698 scope_datum->decl_ids_len = 0; in symtab_insert()
1735 for (i = 0; i < scope_datum->decl_ids_len; i++) { in symtab_insert()
1743 &scope_datum->decl_ids_len, in symtab_insert()
1751 len = scope_datum->decl_ids_len; in symtab_insert()
4144 scope->decl_ids_len = le32_to_cpu(buf[1]); in scope_read()
4145 if (zero_or_saturated(scope->decl_ids_len)) { in scope_read()
4150 calloc(scope->decl_ids_len, sizeof(uint32_t))) == NULL) { in scope_read()
4153 rc = next_entry(scope->decl_ids, fp, sizeof(uint32_t) * scope->decl_ids_len); in scope_read()
4156 for (i = 0; i < scope->decl_ids_len; i++) { in scope_read()
Dmodule_to_cil.c344 len = scope->decl_ids_len; in typealiases_gather_map()
508 for (j = 0; j < scope->decl_ids_len; j++) { in is_id_in_scope_with_start()
3518 for (j = 0; j < scope_datum->decl_ids_len; j++) { in required_scopes_to_cil()
3523 if (j >= scope_datum->decl_ids_len) { in required_scopes_to_cil()
Dwrite.c2133 unsigned int items = 2 + scope->decl_ids_len, i; in scope_write()
2154 buf[1] = cpu_to_le32(scope->decl_ids_len); in scope_write()
2156 for (i = 0; i < scope->decl_ids_len; i++) in scope_write()
Dpolicydb_validate.c193 for (i = 0; i < scope_datum->decl_ids_len; i++) { in validate_scope()
/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h498 uint32_t decl_ids_len; member
/third_party/selinux/checkpolicy/
Dmodule_compiler.c1124 for (i = 0; i < scope->decl_ids_len; i++) { in is_scope_in_stack()