Searched refs:CIL_SYM_BLOCKS (Results 1 – 9 of 9) sorted by relevance
/external/selinux/libsepol/cil/test/unit/ |
D | test_cil.c | 73 int rc = cil_get_symtab(test_db, test_ast_node->parent, &symtab, CIL_SYM_BLOCKS); in test_cil_get_symtab_block() 91 int rc = cil_get_symtab(test_db, test_ast_node->parent, &symtab, CIL_SYM_BLOCKS); in test_cil_get_symtab_class() 109 int rc = cil_get_symtab(test_db, test_ast_node->parent, &symtab, CIL_SYM_BLOCKS); in test_cil_get_symtab_root() 127 int rc = cil_get_symtab(test_db, test_ast_node->parent, &symtab, CIL_SYM_BLOCKS); in test_cil_get_symtab_flavor_neg() 144 int rc = cil_get_symtab(test_db, test_ast_node->parent, &symtab, CIL_SYM_BLOCKS); in test_cil_get_symtab_null_neg() 157 int rc = cil_get_symtab(test_db, test_ast_node, &symtab, CIL_SYM_BLOCKS); in test_cil_get_symtab_node_null_neg() 175 int rc = cil_get_symtab(test_db, test_ast_node->parent, &symtab, CIL_SYM_BLOCKS); in test_cil_get_symtab_parent_null_neg()
|
D | test_cil_symtab.c | 57 cil_get_symtab(test_db, test_ast_node->parent, &test_symtab, CIL_SYM_BLOCKS); in test_cil_symtab_insert()
|
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()
|
D | test_cil_resolve_ast.c | 5859 …ll*)test_db->ast->root->cl_head->next->next->next->data)->macro_str, CIL_SYM_BLOCKS, args, ¯o_… in test_cil_resolve_call1_unknown_neg() 5988 …(test_db->ast->root->cl_head->next->next->next, new_call->macro_str, CIL_SYM_BLOCKS, args, ¯o_… in test_cil_resolve_call1_paramsflavor_neg() 6019 …(test_db->ast->root->cl_head->next->next->next, new_call->macro_str, CIL_SYM_BLOCKS, args, ¯o_… in test_cil_resolve_call1_unknownflavor_neg()
|
/external/selinux/libsepol/cil/src/ |
D | cil_fqn.c | 120 rc = cil_symtab_map(&(block->symtab[CIL_SYM_BLOCKS]), __cil_fqn_qualify_blocks, &child_args); in __cil_fqn_qualify_blocks() 139 return cil_symtab_map(&(root->symtab[CIL_SYM_BLOCKS]), __cil_fqn_qualify_blocks, &fqn_args); in cil_fqn_qualify()
|
D | cil_resolve_ast.c | 2310 rc = cil_resolve_name(current, inherit->block_str, CIL_SYM_BLOCKS, extra_args, &block_datum); in cil_resolve_blockinherit_link() 2449 rc = cil_resolve_name(current, abstract->block_str, CIL_SYM_BLOCKS, extra_args, &block_datum); in cil_resolve_blockabstract() 2481 rc = cil_resolve_name(current, in->block_str, CIL_SYM_BLOCKS, extra_args, &block_datum); in cil_resolve_in() 2529 rc = cil_resolve_name(node, in->block_str, CIL_SYM_BLOCKS, extra_args, &block_datum); in cil_resolve_in_list() 2773 rc = cil_resolve_name(current, new_call->macro_str, CIL_SYM_BLOCKS, extra_args, ¯o_datum); in cil_resolve_call1() 4185 symtab = &((struct cil_root *)db->ast->root->data)->symtab[CIL_SYM_BLOCKS]; in cil_resolve_name_keep_aliases() 4187 rc = __cil_resolve_name_helper(db, node->parent, current, CIL_SYM_BLOCKS, datum); in cil_resolve_name_keep_aliases() 4203 symtab = &((struct cil_block*)node->data)->symtab[CIL_SYM_BLOCKS]; in cil_resolve_name_keep_aliases()
|
D | cil.c | 973 *sym_index = CIL_SYM_BLOCKS; in cil_flavor_to_symtab_index() 976 *sym_index = CIL_SYM_BLOCKS; in cil_flavor_to_symtab_index() 979 *sym_index = CIL_SYM_BLOCKS; in cil_flavor_to_symtab_index() 1937 if (sym_index < CIL_SYM_BLOCKS || sym_index >= CIL_SYM_NUM) { in cil_get_symtab()
|
D | cil_internal.h | 243 CIL_SYM_BLOCKS = 0, enumerator
|
D | cil_build_ast.c | 137 if (sflavor == CIL_SYM_BLOCKS) { in cil_gen_node() 214 …node(db, ast_node, (struct cil_symtab_datum*)block, (hashtab_key_t)key, CIL_SYM_BLOCKS, CIL_BLOCK); in cil_gen_block() 5330 …node(db, ast_node, (struct cil_symtab_datum*)macro, (hashtab_key_t)key, CIL_SYM_BLOCKS, CIL_MACRO); in cil_gen_macro() 5491 …b, ast_node, (struct cil_symtab_datum*)optional, (hashtab_key_t)key, CIL_SYM_BLOCKS, CIL_OPTIONAL); in cil_gen_optional()
|