Lines Matching refs:symtab
42 cil_symtab_array_init(test_new_db->symtab, cil_sym_sizes[CIL_SYM_ARRAY_ROOT]); in test_cil_symtab_array_init()
43 CuAssertPtrNotNull(tc, test_new_db->symtab); in test_cil_symtab_array_init()
54 CuAssertPtrNotNull(tc, test_db->symtab); in test_cil_db_init()
55 CuAssertPtrNotNull(tc, test_db->symtab); in test_cil_db_init()
61 symtab_t *symtab = NULL; in test_cil_get_symtab_block() local
73 int rc = cil_get_symtab(test_db, test_ast_node->parent, &symtab, CIL_SYM_BLOCKS); in test_cil_get_symtab_block()
75 CuAssertPtrNotNull(tc, symtab); in test_cil_get_symtab_block()
79 symtab_t *symtab = NULL; in test_cil_get_symtab_class() local
91 int rc = cil_get_symtab(test_db, test_ast_node->parent, &symtab, CIL_SYM_BLOCKS); in test_cil_get_symtab_class()
93 CuAssertPtrNotNull(tc, symtab); in test_cil_get_symtab_class()
97 symtab_t *symtab = NULL; in test_cil_get_symtab_root() local
109 int rc = cil_get_symtab(test_db, test_ast_node->parent, &symtab, CIL_SYM_BLOCKS); in test_cil_get_symtab_root()
111 CuAssertPtrNotNull(tc, symtab); in test_cil_get_symtab_root()
115 symtab_t *symtab = NULL; in test_cil_get_symtab_flavor_neg() local
127 int rc = cil_get_symtab(test_db, test_ast_node->parent, &symtab, CIL_SYM_BLOCKS); in test_cil_get_symtab_flavor_neg()
129 CuAssertPtrEquals(tc, symtab, NULL); in test_cil_get_symtab_flavor_neg()
133 symtab_t *symtab = NULL; in test_cil_get_symtab_null_neg() local
144 int rc = cil_get_symtab(test_db, test_ast_node->parent, &symtab, CIL_SYM_BLOCKS); in test_cil_get_symtab_null_neg()
146 CuAssertPtrEquals(tc, symtab, NULL); in test_cil_get_symtab_null_neg()
150 symtab_t *symtab = NULL; in test_cil_get_symtab_node_null_neg() local
157 int rc = cil_get_symtab(test_db, test_ast_node, &symtab, CIL_SYM_BLOCKS); in test_cil_get_symtab_node_null_neg()
159 CuAssertPtrEquals(tc, symtab, NULL); in test_cil_get_symtab_node_null_neg()
164 symtab_t *symtab = NULL; in test_cil_get_symtab_parent_null_neg() local
175 int rc = cil_get_symtab(test_db, test_ast_node->parent, &symtab, CIL_SYM_BLOCKS); in test_cil_get_symtab_parent_null_neg()
177 CuAssertPtrEquals(tc, symtab, NULL); in test_cil_get_symtab_parent_null_neg()