• Home
  • Raw
  • Download

Lines Matching refs:symtab

336 	cil_symtab_array_init(r->symtab, cil_sym_sizes[CIL_SYM_ARRAY_ROOT]);  in cil_root_init()
346 cil_symtab_array_destroy(root->symtab); in cil_root_destroy()
1688 void cil_symtab_array_init(symtab_t symtab[], int symtab_sizes[CIL_SYM_NUM]) in cil_symtab_array_init() argument
1692 cil_symtab_init(&symtab[i], symtab_sizes[i]); in cil_symtab_array_init()
1696 void cil_symtab_array_destroy(symtab_t symtab[]) in cil_symtab_array_destroy() argument
1700 cil_symtab_destroy(&symtab[i]); in cil_symtab_array_destroy()
1709 cil_symtab_array_destroy(((struct cil_block*)current->data)->symtab); in cil_destroy_ast_symtabs()
1712 cil_symtab_array_destroy(((struct cil_in*)current->data)->symtab); in cil_destroy_ast_symtabs()
1720 cil_symtab_array_destroy(((struct cil_macro*)current->data)->symtab); in cil_destroy_ast_symtabs()
1723 cil_symtab_array_destroy(((struct cil_condblock*)current->data)->symtab); in cil_destroy_ast_symtabs()
1737 int cil_get_symtab(struct cil_tree_node *ast_node, symtab_t **symtab, enum cil_sym_index sym_index) in cil_get_symtab() argument
1740 *symtab = NULL; in cil_get_symtab()
1746 *symtab = &((struct cil_class*)node->data)->perms; in cil_get_symtab()
1757 while (node != NULL && *symtab == NULL) { in cil_get_symtab()
1760 *symtab = &((struct cil_root *)node->data)->symtab[sym_index]; in cil_get_symtab()
1763 *symtab = &((struct cil_block*)node->data)->symtab[sym_index]; in cil_get_symtab()
1766 *symtab = &((struct cil_macro*)node->data)->symtab[sym_index]; in cil_get_symtab()
1770 *symtab = &((struct cil_in*)node->data)->symtab[sym_index]; in cil_get_symtab()
1775 *symtab = &((struct cil_condblock*)node->data)->symtab[sym_index]; in cil_get_symtab()
1786 if (*symtab == NULL) { in cil_get_symtab()
1886 cil_symtab_array_init((*block)->symtab, cil_sym_sizes[CIL_SYM_ARRAY_BLOCK]); in cil_block_init()
1910 cil_symtab_array_init((*in)->symtab, cil_sym_sizes[CIL_SYM_ARRAY_IN]); in cil_in_init()
2140 cil_symtab_array_init((*cb)->symtab, cil_sym_sizes[CIL_SYM_ARRAY_CONDBLOCK]); in cil_condblock_init()
2553 cil_symtab_array_init((*macro)->symtab, cil_sym_sizes[CIL_SYM_ARRAY_MACRO]); in cil_macro_init()