HomeSort by relevance Sort by last modified time
    Searched refs:ast_node (Results 1 - 21 of 21) sorted by null

  /external/selinux/libsepol/cil/src/
cil_build_ast.h 40 int cil_gen_node(struct cil_db *db, struct cil_tree_node *ast_node, struct cil_symtab_datum *datum, hashtab_key_t key, enum cil_sym_index sflavor, enum cil_flavor nflavor);
43 int cil_gen_block(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, uint16_t is_abstract);
45 int cil_gen_blockinherit(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node);
47 int cil_gen_blockabstract(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node);
49 int cil_gen_in(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node);
51 int cil_gen_class(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node);
53 int cil_gen_classorder(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node);
55 int cil_gen_perm(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor, unsigned int *num_perms);
57 int cil_gen_perm_nodes(struct cil_db *db, struct cil_tree_node *current_perm, struct cil_tree_node *ast_node, enum cil_flavor flavor, unsigned int *num_perms);
65 int cil_gen_classpermission(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node);
    [all...]
cil_build_ast.c 85 int cil_gen_node(__attribute__((unused)) struct cil_db *db, struct cil_tree_node *ast_node, struct cil_symtab_datum *datum, hashtab_key_t key, enum cil_sym_index sflavor, enum cil_flavor nflavor)
95 rc = cil_get_symtab(ast_node->parent, &symtab, sflavor);
100 ast_node->data = datum;
101 ast_node->flavor = nflavor;
104 rc = cil_symtab_insert(symtab, (hashtab_key_t)key, datum, ast_node);
107 cil_node_to_string(ast_node), key);
118 if (ast_node->flavor >= CIL_MIN_DECLARATIVE && ast_node->parent->flavor == CIL_MACRO) {
120 struct cil_list *param_list = ((struct cil_macro*)ast_node->parent->data)->params;
124 if (param->flavor == ast_node->flavor)
5920 struct cil_tree_node *ast_node = NULL; local
    [all...]
android.c 17 struct cil_tree_node *ast_node; member in struct:version_datum
95 datum->ast_node = node;
169 switch (vers_datum->ast_node->flavor) {
784 struct cil_tree_node *ast_node = NULL; local
790 if (vers_datum->ast_node->flavor == CIL_TYPEATTRIBUTE) {
801 cil_tree_node_init(&ast_node);
802 ast_node->data = attrset;
803 ast_node->flavor = CIL_TYPEATTRIBUTESET;
806 ast_node->parent = ast_parent;
808 ast_parent->cl_head = ast_node;
    [all...]
cil_resolve_ast.h 99 int cil_resolve_name(struct cil_tree_node *ast_node, char *name, enum cil_sym_index sym_index, void *extra_args, struct cil_symtab_datum **datum);
cil_resolve_ast.c 67 static struct cil_name * __cil_insert_name(struct cil_db *db, hashtab_key_t key, struct cil_tree_node *ast_node)
72 struct cil_tree_node *parent = ast_node->parent;
103 cil_symtab_insert(symtab, key, (struct cil_symtab_datum *)name, ast_node);
    [all...]
cil_internal.h 962 int cil_get_symtab(struct cil_tree_node *ast_node, symtab_t **symtab, enum cil_sym_index sym_index);
cil.c     [all...]
  /external/mesa3d/src/compiler/glsl/
ast.h 50 class ast_node { class
52 DECLARE_LINEAR_ZALLOC_CXX_OPERATORS(ast_node);
73 * \sa _mesa_glsl_error, ast_node::set_location
91 * \sa ast_node::get_location
105 * \sa ast_node::set_location
136 ast_node(void);
215 class ast_expression : public ast_node {
336 class ast_subroutine_list : public ast_node
343 class ast_array_specifier : public ast_node {
364 /* This list contains objects of type ast_node containing th
    [all...]
glsl_parser_extras.cpp     [all...]
ast_array_index.cpp 31 foreach_list_typed (ast_node, array_dimension, link, &this->array_dimensions) {
ast_type.cpp 502 ast_node* &node)
616 ast_node* &node)
804 ast_node *const_expression = exec_node_data(ast_node, node, link);
ast_function.cpp 41 foreach_list_typed(ast_node, ast, link, parameters) {
    [all...]
ast_to_hir.cpp 153 foreach_list_typed (ast_node, ast, link, & state->translation_unit)
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_ast.py 129 def _assertTrueorder(self, ast_node, parent_pos):
130 if not isinstance(ast_node, ast.AST) or ast_node._fields is None:
132 if isinstance(ast_node, (ast.expr, ast.stmt, ast.excepthandler)):
133 node_pos = (ast_node.lineno, ast_node.col_offset)
135 parent_pos = (ast_node.lineno, ast_node.col_offset)
136 for name in ast_node._fields:
137 value = getattr(ast_node, name)
    [all...]
  /external/python/cpython2/Lib/test/
test_ast.py 182 def _assertTrueorder(self, ast_node, parent_pos):
183 if not isinstance(ast_node, ast.AST) or ast_node._fields is None:
185 if isinstance(ast_node, (ast.expr, ast.stmt, ast.excepthandler)):
186 node_pos = (ast_node.lineno, ast_node.col_offset)
188 parent_pos = (ast_node.lineno, ast_node.col_offset)
189 for name in ast_node._fields:
190 value = getattr(ast_node, name
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_ast.py 182 def _assertTrueorder(self, ast_node, parent_pos):
183 if not isinstance(ast_node, ast.AST) or ast_node._fields is None:
185 if isinstance(ast_node, (ast.expr, ast.stmt, ast.excepthandler)):
186 node_pos = (ast_node.lineno, ast_node.col_offset)
188 parent_pos = (ast_node.lineno, ast_node.col_offset)
189 for name in ast_node._fields:
190 value = getattr(ast_node, name
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_ast.py 182 def _assertTrueorder(self, ast_node, parent_pos):
183 if not isinstance(ast_node, ast.AST) or ast_node._fields is None:
185 if isinstance(ast_node, (ast.expr, ast.stmt, ast.excepthandler)):
186 node_pos = (ast_node.lineno, ast_node.col_offset)
188 parent_pos = (ast_node.lineno, ast_node.col_offset)
189 for name in ast_node._fields:
190 value = getattr(ast_node, name
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_ast.py 182 def _assertTrueorder(self, ast_node, parent_pos):
183 if not isinstance(ast_node, ast.AST) or ast_node._fields is None:
185 if isinstance(ast_node, (ast.expr, ast.stmt, ast.excepthandler)):
186 node_pos = (ast_node.lineno, ast_node.col_offset)
188 parent_pos = (ast_node.lineno, ast_node.col_offset)
189 for name in ast_node._fields:
190 value = getattr(ast_node, name
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_ast.py 182 def _assertTrueorder(self, ast_node, parent_pos):
183 if not isinstance(ast_node, ast.AST) or ast_node._fields is None:
185 if isinstance(ast_node, (ast.expr, ast.stmt, ast.excepthandler)):
186 node_pos = (ast_node.lineno, ast_node.col_offset)
188 parent_pos = (ast_node.lineno, ast_node.col_offset)
189 for name in ast_node._fields:
190 value = getattr(ast_node, name
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/include/isl/
ast.h 64 ISL_DECLARE_LIST(ast_node)
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/include/isl/
ast.h 64 ISL_DECLARE_LIST(ast_node)

Completed in 835 milliseconds