Home
last modified time | relevance | path

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

/external/selinux/libsepol/tests/
Dtest-common.c43 CU_ASSERT(scope->decl_ids_len == len); in test_sym_presence()
44 if (scope->decl_ids_len != len) in test_sym_presence()
45 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()
/external/selinux/libsepol/src/
Davrule_block.c160 uint32_t len = scope->decl_ids_len; in is_id_enabled()
Dlink.c1880 base_scope->decl_ids_len = 0; in scope_copy_callback()
1881 for (i = 0; i < scope->decl_ids_len; i++) { in scope_copy_callback()
1883 &base_scope->decl_ids_len, in scope_copy_callback()
1893 for (i = 0; i < scope->decl_ids_len; i++) { in scope_copy_callback()
1895 &base_scope->decl_ids_len, in scope_copy_callback()
1911 for (i = 0; i < scope->decl_ids_len; i++) { in scope_copy_callback()
1913 &base_scope->decl_ids_len, in scope_copy_callback()
Dpolicydb.c1668 scope_datum->decl_ids_len = 0; in symtab_insert()
1705 for (i = 0; i < scope_datum->decl_ids_len; i++) { in symtab_insert()
1713 &scope_datum->decl_ids_len, in symtab_insert()
1721 len = scope_datum->decl_ids_len; in symtab_insert()
3912 scope->decl_ids_len = le32_to_cpu(buf[1]); in scope_read()
3913 if (scope->decl_ids_len == 0) { in scope_read()
3918 malloc(scope->decl_ids_len * sizeof(uint32_t))) == NULL) { in scope_read()
3921 rc = next_entry(scope->decl_ids, fp, sizeof(uint32_t) * scope->decl_ids_len); in scope_read()
3924 for (i = 0; i < scope->decl_ids_len; i++) { in scope_read()
Dwrite.c2013 unsigned int items = 2 + scope->decl_ids_len, i; in scope_write()
2034 buf[1] = cpu_to_le32(scope->decl_ids_len); in scope_write()
2036 for (i = 0; i < scope->decl_ids_len; i++) in scope_write()
Dmodule_to_cil.c341 len = scope->decl_ids_len; in typealiases_gather_map()
503 for (j = 0; j < scope->decl_ids_len; j++) { in is_id_in_scope_with_start()
3508 for (j = 0; j < scope_datum->decl_ids_len; j++) { in required_scopes_to_cil()
3513 if (j >= scope_datum->decl_ids_len) { in required_scopes_to_cil()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h495 uint32_t decl_ids_len; member
/external/selinux/checkpolicy/
Dmodule_compiler.c1115 for (i = 0; i < scope->decl_ids_len; i++) { in is_scope_in_stack()