/external/selinux/libsepol/cil/src/ |
D | cil_build_ast.h | 40 int cil_gen_node(struct cil_db *db, struct cil_tree_node *ast_node, struct cil_symtab_datum *datum,… 43 … cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, uint16_t is_abst… 45 …ockinherit(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node); 47 …ckabstract(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node); 49 …cil_gen_in(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node); 51 …_gen_class(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node); 53 …classorder(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node); 55 … cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor … 57 …t cil_db *db, struct cil_tree_node *current_perm, struct cil_tree_node *ast_node, enum cil_flavor … 65 …permission(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node); [all …]
|
D | cil_build_ast.c | 85 int cil_gen_node(__attribute__((unused)) struct cil_db *db, struct cil_tree_node *ast_node, struct … in cil_gen_node() argument 95 rc = cil_get_symtab(ast_node->parent, &symtab, sflavor); in cil_gen_node() 100 ast_node->data = datum; in cil_gen_node() 101 ast_node->flavor = nflavor; in cil_gen_node() 104 rc = cil_symtab_insert(symtab, (hashtab_key_t)key, datum, ast_node); in cil_gen_node() 107 cil_node_to_string(ast_node), key); in cil_gen_node() 119 if (ast_node->flavor >= CIL_MIN_DECLARATIVE && ast_node->parent->flavor == CIL_MACRO) { in cil_gen_node() 121 struct cil_list *param_list = ((struct cil_macro*)ast_node->parent->data)->params; in cil_gen_node() 125 if (param->flavor == ast_node->flavor) { in cil_gen_node() 127 …_ERR, "%s %s shadows a macro parameter in macro declaration\n", cil_node_to_string(ast_node), key); in cil_gen_node() [all …]
|
D | cil_resolve_ast.h | 99 int cil_resolve_name(struct cil_tree_node *ast_node, char *name, enum cil_sym_index sym_index, void…
|
D | cil.c | 1702 int cil_get_symtab(struct cil_tree_node *ast_node, symtab_t **symtab, enum cil_sym_index sym_index) in cil_get_symtab() argument 1704 struct cil_tree_node *node = ast_node; in cil_get_symtab() 1759 ast_node->line, ast_node->path); in cil_get_symtab()
|
D | cil_resolve_ast.c | 67 … cil_name * __cil_insert_name(struct cil_db *db, hashtab_key_t key, struct cil_tree_node *ast_node) in __cil_insert_name() argument 72 struct cil_tree_node *parent = ast_node->parent; in __cil_insert_name() 103 cil_symtab_insert(symtab, key, (struct cil_symtab_datum *)name, ast_node); in __cil_insert_name() 4003 int cil_resolve_name(struct cil_tree_node *ast_node, char *name, enum cil_sym_index sym_index, void… in cil_resolve_name() argument 4019 rc = __cil_resolve_name_helper(db, ast_node->parent, name, sym_index, datum); in cil_resolve_name() 4030 node = ast_node; in cil_resolve_name() 4053 if (ast_node->flavor != CIL_IN) { in cil_resolve_name()
|
D | cil_internal.h | 936 int cil_get_symtab(struct cil_tree_node *ast_node, symtab_t **symtab, enum cil_sym_index sym_index);
|
/external/mesa3d/src/glsl/ |
D | ast.h | 50 class ast_node { 131 ast_node(void); 198 class ast_expression : public ast_node { 306 class ast_compound_statement : public ast_node { 308 ast_compound_statement(int new_scope, ast_node *statements); 318 class ast_declaration : public ast_node { 454 class ast_struct_specifier : public ast_node { 470 class ast_type_specifier : public ast_node { 510 class ast_fully_specified_type : public ast_node { 520 class ast_declarator_list : public ast_node { [all …]
|
D | glsl_parser_extras.cpp | 474 ast_node::print(void) const in print() 480 ast_node::ast_node(void) in ast_node() function in ast_node 508 ast_node *ast = exec_node_data(ast_node, n, link); in print() 517 ast_node *statements) in ast_compound_statement() 591 ast_node *ast = exec_node_data(ast_node, n, link); in print() 627 ast_node *ast = exec_node_data(ast_node, n, link); in print() 677 ast_node *ast = exec_node_data(ast_node, n, link); in print() 756 ast_node *ast = exec_node_data(ast_node, ptr, link); in print() 822 ast_node *then_statement, in ast_selection_statement() 823 ast_node *else_statement) in ast_selection_statement() [all …]
|
D | main.cpp | 158 ast_node *ast = exec_node_data(ast_node, n, link); in compile_shader()
|
D | glsl_parser.yy | 66 ast_node *node; 84 ast_node *cond; 89 ast_node *then_statement; 90 ast_node *else_statement; 1604 compound_statement { $$ = (ast_node *) $1; } 1638 compound_statement_no_new_scope { $$ = (ast_node *) $1; } 1719 $$ = (ast_node *) $1;
|
D | ast_function.cpp | 45 ast_node *const ast = exec_node_data(ast_node, n, link); in process_parameters() 1331 ast_node *ast = exec_node_data(ast_node, n, link); in hir()
|
D | ast_to_hir.cpp | 90 foreach_list_typed (ast_node, ast, link, & state->translation_unit) in _mesa_ast_to_hir() 791 ast_node::hir(exec_list *instructions, in hir() 1745 foreach_list_typed (ast_node, ast, link, &this->expressions) { in hir() 1824 foreach_list_typed (ast_node, ast, link, &this->statements) in hir() 1837 process_array_type(YYLTYPE *loc, const glsl_type *base, ast_node *array_size, in process_array_type() 3672 foreach_list_typed (ast_node, stmt, link, & this->stmts) in hir()
|