Searched refs:decl_ids_len (Results 1 – 10 of 10) sorted by relevance
/third_party/selinux/libsepol/tests/ |
D | test-common.c | 46 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()
|
D | helpers.c | 76 if (scope->decl_ids_len != 1) { in test_find_decl_by_sym()
|
/third_party/selinux/libsepol/src/ |
D | avrule_block.c | 169 len = scope->decl_ids_len; in is_id_enabled()
|
D | link.c | 1814 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()
|
D | policydb.c | 1698 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()
|
D | module_to_cil.c | 344 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()
|
D | write.c | 2133 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()
|
D | policydb_validate.c | 193 for (i = 0; i < scope_datum->decl_ids_len; i++) { in validate_scope()
|
/third_party/selinux/libsepol/include/sepol/policydb/ |
D | policydb.h | 498 uint32_t decl_ids_len; member
|
/third_party/selinux/checkpolicy/ |
D | module_compiler.c | 1124 for (i = 0; i < scope->decl_ids_len; i++) { in is_scope_in_stack()
|