Home
last modified time | relevance | path

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

/external/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/libsepol/src/
Davrule_block.c164 for (i = 0; i < scope->decl_ids_len; i++) { in is_id_enabled()
Dlink.c1870 base_scope->decl_ids_len = 0; in scope_copy_callback()
1871 for (i = 0; i < scope->decl_ids_len; i++) { in scope_copy_callback()
1873 &base_scope->decl_ids_len, in scope_copy_callback()
1883 for (i = 0; i < scope->decl_ids_len; i++) { in scope_copy_callback()
1885 &base_scope->decl_ids_len, in scope_copy_callback()
1901 for (i = 0; i < scope->decl_ids_len; i++) { in scope_copy_callback()
1903 &base_scope->decl_ids_len, in scope_copy_callback()
Dpolicydb.c1514 scope_datum->decl_ids_len = 0; in symtab_insert()
1554 for (i = 0; i < scope_datum->decl_ids_len; i++) { in symtab_insert()
1562 &scope_datum->decl_ids_len, in symtab_insert()
3566 scope->decl_ids_len = le32_to_cpu(buf[1]); in scope_read()
3567 assert(scope->decl_ids_len > 0); in scope_read()
3569 malloc(scope->decl_ids_len * sizeof(uint32_t))) == NULL) { in scope_read()
3572 rc = next_entry(scope->decl_ids, fp, sizeof(uint32_t) * scope->decl_ids_len); in scope_read()
3575 for (i = 0; i < scope->decl_ids_len; i++) { in scope_read()
Dwrite.c1810 unsigned int items = 2 + scope->decl_ids_len, i; in scope_write()
1831 buf[1] = cpu_to_le32(scope->decl_ids_len); in scope_write()
1833 for (i = 0; i < scope->decl_ids_len; i++) in scope_write()
/external/libsepol/include/sepol/policydb/
Dpolicydb.h453 uint32_t decl_ids_len; member
/external/checkpolicy/
Dmodule_compiler.c1233 for (i = 0; i < scope->decl_ids_len; i++) { in is_scope_in_stack()