Searched refs:symtab_init (Results 1 – 12 of 12) sorted by relevance
/external/selinux/libsepol/cil/test/unit/ |
D | test_cil_copy_ast.c | 165 symtab_init(&sym, cil_sym_sizes[CIL_SYM_ARRAY_BLOCK][CIL_SYM_BLOCKS]); in test_cil_copy_block() 198 symtab_init(&sym, CIL_CLASS_SYM_SIZE); in test_cil_copy_perm() 233 symtab_init(&sym, CIL_CLASS_SYM_SIZE); in test_cil_copy_class() 260 symtab_init(&sym, CIL_CLASS_SYM_SIZE); in test_cil_copy_common() 296 symtab_init(&sym, CIL_CLASS_SYM_SIZE); in test_cil_copy_classcommon() 325 symtab_init(&sym, CIL_TEST_SYM_SIZE); in test_cil_copy_sid() 352 symtab_init(&sym, CIL_TEST_SYM_SIZE); in test_cil_copy_sidcontext() 381 symtab_init(&sym, CIL_TEST_SYM_SIZE); in test_cil_copy_user() 408 symtab_init(&sym, CIL_TEST_SYM_SIZE); in test_cil_copy_role() 435 symtab_init(&sym, CIL_TEST_SYM_SIZE); in test_cil_copy_userrole() [all …]
|
D | CilTest.c | 139 rc = symtab_init(&test_new_db->symtab[i], cil_sym_sizes[CIL_SYM_ARRAY_ROOT][i]); in test_symtab_init() 151 int rc = symtab_init(&test_new_db->symtab[0], (uint32_t)SIZE_MAX); in test_symtab_init_no_table_neg()
|
/external/selinux/libsepol/include/sepol/policydb/ |
D | symtab.h | 38 extern int symtab_init(symtab_t *, unsigned int size);
|
/external/selinux/libsepol/src/ |
D | symtab.c | 36 int symtab_init(symtab_t * s, unsigned int size) in symtab_init() function
|
D | avrule_block.c | 62 if (symtab_init(&decl->symtab[i], symtab_sizes[i])) { in avrule_decl_create()
|
D | policydb.c | 867 rc = symtab_init(&p->symtab[i], symtab_sizes[i]); in policydb_init() 874 if (symtab_init(&p->scope[i], symtab_sizes[i])) { in policydb_init() 2120 if (symtab_init(&comdatum->permissions, PERM_SYMTAB_SIZE)) in common_read() 2268 if (symtab_init(&cladatum->permissions, PERM_SYMTAB_SIZE)) in class_read()
|
D | expand.c | 245 if (symtab_init(&new_common->permissions, PERM_SYMTAB_SIZE)) { in common_copy_callback() 436 if (symtab_init(&new_class->permissions, PERM_SYMTAB_SIZE)) { in class_copy_callback()
|
D | link.c | 294 if (symtab_init in class_copy_callback()
|
/external/selinux/libsepol/cil/src/ |
D | cil_symtab.c | 56 int rc = symtab_init(symtab, size); in cil_symtab_init()
|
D | cil_binary.c | 261 rc = symtab_init(&sepol_common->permissions, PERM_SYMTAB_SIZE); in cil_common_to_policydb() 317 rc = symtab_init(&sepol_class->permissions, PERM_SYMTAB_SIZE); in cil_classorder_to_policydb()
|
/external/selinux/checkpolicy/ |
D | module_compiler.c | 803 symtab_init(&datum->permissions, PERM_SYMTAB_SIZE)) { in require_class()
|
D | policy_define.c | 536 if (symtab_init(&comdatum->permissions, PERM_SYMTAB_SIZE)) { in define_common_perms() 619 if (symtab_init(&cladatum->permissions, PERM_SYMTAB_SIZE)) { in define_av_perms()
|