Searched refs:decl_ids_len (Results 1 – 8 of 8) sorted by relevance
/external/libsepol/tests/ |
D | test-common.c | 43 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()
|
D | helpers.c | 76 if (scope->decl_ids_len != 1) { in test_find_decl_by_sym()
|
/external/libsepol/src/ |
D | avrule_block.c | 164 for (i = 0; i < scope->decl_ids_len; i++) { in is_id_enabled()
|
D | link.c | 1870 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()
|
D | policydb.c | 1514 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()
|
D | write.c | 1810 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/ |
D | policydb.h | 453 uint32_t decl_ids_len; member
|
/external/checkpolicy/ |
D | module_compiler.c | 1233 for (i = 0; i < scope->decl_ids_len; i++) { in is_scope_in_stack()
|