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.c164 for (i = 0; i < scope->decl_ids_len; i++) { in is_id_enabled()
Dlink.c1871 base_scope->decl_ids_len = 0; in scope_copy_callback()
1872 for (i = 0; i < scope->decl_ids_len; i++) { in scope_copy_callback()
1874 &base_scope->decl_ids_len, in scope_copy_callback()
1884 for (i = 0; i < scope->decl_ids_len; i++) { in scope_copy_callback()
1886 &base_scope->decl_ids_len, in scope_copy_callback()
1902 for (i = 0; i < scope->decl_ids_len; i++) { in scope_copy_callback()
1904 &base_scope->decl_ids_len, in scope_copy_callback()
Dpolicydb.c1528 scope_datum->decl_ids_len = 0; in symtab_insert()
1568 for (i = 0; i < scope_datum->decl_ids_len; i++) { in symtab_insert()
1576 &scope_datum->decl_ids_len, in symtab_insert()
3605 scope->decl_ids_len = le32_to_cpu(buf[1]); in scope_read()
3606 assert(scope->decl_ids_len > 0); in scope_read()
3608 malloc(scope->decl_ids_len * sizeof(uint32_t))) == NULL) { in scope_read()
3611 rc = next_entry(scope->decl_ids, fp, sizeof(uint32_t) * scope->decl_ids_len); in scope_read()
3614 for (i = 0; i < scope->decl_ids_len; i++) { in scope_read()
Dwrite.c1880 unsigned int items = 2 + scope->decl_ids_len, i; in scope_write()
1901 buf[1] = cpu_to_le32(scope->decl_ids_len); in scope_write()
1903 for (i = 0; i < scope->decl_ids_len; i++) in scope_write()
Dmodule_to_cil.c330 for (i = 0; i < scope->decl_ids_len; i++) { in typealiases_gather_map()
486 for (j = 0; j < scope->decl_ids_len; j++) { in is_id_in_scope_with_start()
3349 for (j = 0; j < scope_datum->decl_ids_len; j++) { in required_scopes_to_cil()
3354 if (j >= scope_datum->decl_ids_len) { in required_scopes_to_cil()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h477 uint32_t decl_ids_len; member
/external/selinux/checkpolicy/
Dmodule_compiler.c1234 for (i = 0; i < scope->decl_ids_len; i++) { in is_scope_in_stack()