/third_party/selinux/libsepol/cil/src/ |
D | cil_build_ast.h | 42 int cil_gen_node(struct cil_db *db, struct cil_tree_node *ast_node, struct cil_symtab_datum *datum,… 45 … cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, uint16_t is_abst… 47 …ockinherit(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node); 49 …ckabstract(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node); 51 …cil_gen_in(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node); 53 …_gen_class(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node); 55 …classorder(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node); 57 … cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor … 59 …t cil_db *db, struct cil_tree_node *current_perm, struct cil_tree_node *ast_node, enum cil_flavor … 67 …permission(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node); [all …]
|
D | cil_build_ast.c | 143 int cil_gen_node(struct cil_db *db, struct cil_tree_node *ast_node, struct cil_symtab_datum *datum,… in cil_gen_node() argument 153 rc = cil_get_symtab(ast_node->parent, &symtab, sflavor); in cil_gen_node() 158 ast_node->data = datum; in cil_gen_node() 159 ast_node->flavor = nflavor; in cil_gen_node() 161 rc = cil_add_decl_to_symtab(db, symtab, key, datum, ast_node); in cil_gen_node() 166 if (ast_node->parent->flavor == CIL_MACRO) { in cil_gen_node() 167 rc = cil_verify_decl_does_not_shadow_macro_parameter(ast_node->parent->data, ast_node, key); in cil_gen_node() 179 static void cil_clear_node(struct cil_tree_node *ast_node) in cil_clear_node() argument 181 if (ast_node == NULL) { in cil_clear_node() 185 ast_node->data = NULL; in cil_clear_node() [all …]
|
D | cil_resolve_ast.h | 101 int cil_resolve_name(struct cil_tree_node *ast_node, char *name, enum cil_sym_index sym_index, void… 102 int cil_resolve_name_keep_aliases(struct cil_tree_node *ast_node, char *name, enum cil_sym_index sy…
|
D | cil_resolve_ast.c | 71 … cil_name * __cil_insert_name(struct cil_db *db, hashtab_key_t key, struct cil_tree_node *ast_node) in __cil_insert_name() argument 76 struct cil_tree_node *parent = ast_node->parent; in __cil_insert_name() 108 cil_symtab_insert(symtab, key, (struct cil_symtab_datum *)name, ast_node); in __cil_insert_name() 4364 int cil_resolve_name(struct cil_tree_node *ast_node, char *name, enum cil_sym_index sym_index, void… in cil_resolve_name() argument 4369 rc = cil_resolve_name_keep_aliases(ast_node, name, sym_index, extra_args, datum); in cil_resolve_name() 4392 int cil_resolve_name_keep_aliases(struct cil_tree_node *ast_node, char *name, enum cil_sym_index sy… in cil_resolve_name_keep_aliases() argument 4408 rc = __cil_resolve_name_helper(db, ast_node->parent, name, sym_index, datum); in cil_resolve_name_keep_aliases() 4421 cil_tree_log(ast_node, CIL_ERR, "Invalid name %s", name); in cil_resolve_name_keep_aliases() 4426 node = ast_node; in cil_resolve_name_keep_aliases() 4449 if (ast_node->flavor != CIL_IN) { in cil_resolve_name_keep_aliases()
|
D | cil_internal.h | 996 int cil_get_symtab(struct cil_tree_node *ast_node, symtab_t **symtab, enum cil_sym_index sym_index);
|
D | cil.c | 1957 int cil_get_symtab(struct cil_tree_node *ast_node, symtab_t **symtab, enum cil_sym_index sym_index) in cil_get_symtab() argument 1959 struct cil_tree_node *node = ast_node; in cil_get_symtab() 2013 cil_tree_log(ast_node, CIL_ERR, "Failed to get symtab from node"); in cil_get_symtab()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | ast.h | 51 class ast_node { 53 DECLARE_LINEAR_ZALLOC_CXX_OPERATORS(ast_node); 141 ast_node(void); 222 class ast_expression : public ast_node { 345 class ast_subroutine_list : public ast_node 352 class ast_array_specifier : public ast_node { 379 class ast_layout_expression : public ast_node { 437 class ast_compound_statement : public ast_node { 439 ast_compound_statement(int new_scope, ast_node *statements); 449 class ast_declaration : public ast_node { [all …]
|
D | glsl_parser_extras.cpp | 1206 ast_node::print(void) const in print() 1212 ast_node::ast_node(void) in ast_node() function in ast_node 1236 foreach_list_typed(ast_node, ast, link, &this->statements) { in print() 1245 ast_node *statements) in ast_compound_statement() 1315 foreach_list_typed (ast_node, ast, link, &this->expressions) { in print() 1362 foreach_list_typed (ast_node, ast, link, & this->expressions) { in print() 1374 foreach_list_typed (ast_node, ast, link, & this->expressions) { in print() 1428 foreach_list_typed(ast_node, ast, link, & this->parameters) { in print() 1505 foreach_list_typed (ast_node, ast, link, & this->declarations) { in print() 1581 ast_node *then_statement, in ast_selection_statement() [all …]
|
D | ast_type.cpp | 573 ast_node* &node) in merge_into_out_qualifier() 692 ast_node* &node) in merge_into_in_qualifier() 940 ast_node *const_expression = exec_node_data(ast_node, node, link); in process_qualifier_constant()
|
D | ast_array_index.cpp | 31 foreach_list_typed (ast_node, array_dimension, link, &this->array_dimensions) { in print()
|
D | glsl_parser.yy | 109 ast_node *node; 129 ast_node *cond; 134 ast_node *then_statement; 135 ast_node *else_statement; 2511 compound_statement { $$ = (ast_node *) $1; } 2546 compound_statement_no_new_scope { $$ = (ast_node *) $1; } 2636 $$ = (ast_node *) $1;
|
D | ast_to_hir.cpp | 158 foreach_list_typed (ast_node, ast, link, & state->translation_unit) in _mesa_ast_to_hir() 1081 ast_node::hir(exec_list *instructions, struct _mesa_glsl_parse_state *state) in hir() 1090 ast_node::has_sequence_subexpression() const in has_sequence_subexpression() 1096 ast_node::set_is_lhs(bool /* new_value */) in set_is_lhs() 2147 foreach_list_typed (ast_node, ast, link, &this->expressions) { in do_hir() 2305 foreach_list_typed (ast_node, ast, link, &this->statements) in hir() 2328 ast_node *array_size = exec_node_data(ast_node, node, link); in process_array_size() 6969 foreach_list_typed (ast_node, stmt, link, & this->stmts) in hir()
|
D | ast_function.cpp | 44 foreach_list_typed(ast_node, ast, link, parameters) { in process_parameters() 2207 foreach_list_typed(ast_node, ast, link, &this->expressions) { in hir() 2522 foreach_list_typed(const ast_node, ast, link, &this->expressions) { in has_sequence_subexpression()
|
/third_party/python/Lib/test/ |
D | test_ast.py | 259 def _assertTrueorder(self, ast_node, parent_pos): argument 260 if not isinstance(ast_node, ast.AST) or ast_node._fields is None: 262 if isinstance(ast_node, (ast.expr, ast.stmt, ast.excepthandler)): 263 node_pos = (ast_node.lineno, ast_node.col_offset) 265 parent_pos = (ast_node.lineno, ast_node.col_offset) 266 for name in ast_node._fields: 267 value = getattr(ast_node, name) 276 self.assertEqual(ast_node._fields, ast_node.__match_args__) 1780 def _check_end_pos(self, ast_node, end_lineno, end_col_offset): argument 1781 self.assertEqual(ast_node.end_lineno, end_lineno) [all …]
|
/third_party/mesa3d/docs/relnotes/ |
D | 7.11.1.rst | 57 const glsl_type*, ast_node*, \_mesa_glsl_parse_state*): Assertion
|
D | 20.3.0.rst | 4633 - glsl: Initialize ast_node member field location.path in constructor.
|