Home
last modified time | relevance | path

Searched refs:ast (Results 1 – 25 of 247) sorted by relevance

12345678910

/external/lldb/source/Symbol/
DClangASTContext.cpp343 ASTContext *ast = getASTContext(); in HasExternalSource() local
344 if (ast) in HasExternalSource()
345 return ast->getExternalSource () != NULL; in HasExternalSource()
352 ASTContext *ast = getASTContext(); in SetExternalSource() local
353 if (ast) in SetExternalSource()
355 ast->setExternalSource (ast_source_ap); in SetExternalSource()
356 ast->getTranslationUnitDecl()->setHasExternalLexicalStorage(true); in SetExternalSource()
364 ASTContext *ast = getASTContext(); in RemoveExternalSource() local
366 if (ast) in RemoveExternalSource()
369 ast->setExternalSource (empty_ast_source_ap); in RemoveExternalSource()
[all …]
/external/selinux/libsepol/cil/test/unit/
Dtest_cil_resolve_ast.c80 cil_build_ast(test_db, test_tree->root, test_db->ast->root); in test_cil_resolve_name()
82 struct cil_tree_node *test_curr = test_db->ast->root->cl_head->cl_head; in test_cil_resolve_name()
104 cil_build_ast(test_db, test_tree->root, test_db->ast->root); in test_cil_resolve_name_invalid_type_neg()
106 struct cil_tree_node *test_curr = test_db->ast->root->cl_head->cl_head; in test_cil_resolve_name_invalid_type_neg()
118 test_db->ast->root = NULL; in test_cil_resolve_ast_curr_null_neg()
120 int rc = cil_resolve_ast(test_db, test_db->ast->root); in test_cil_resolve_ast_curr_null_neg()
143 cil_build_ast(test_db, test_tree->root, test_db->ast->root); in test_cil_resolve_roleallow()
145 int rc = cil_resolve_roleallow(test_db->ast->root->cl_head->next->next, args); in test_cil_resolve_roleallow()
162 int rc1=cil_build_ast(test_db, test_tree->root, test_db->ast->root); in test_cil_resolve_roleallow_srcdecl_neg()
165 int rc = cil_resolve_roleallow(test_db->ast->root->cl_head->next, args); in test_cil_resolve_roleallow_srcdecl_neg()
[all …]
Dtest_cil_copy_ast.c156 test_ast_node->parent = test_db->ast->root; in test_cil_copy_block()
224 test_ast_node->parent = test_db->ast->root; in test_cil_copy_class()
251 test_ast_node->parent = test_db->ast->root; in test_cil_copy_common()
282 test_ast_node->parent = test_db->ast->root; in test_cil_copy_classcommon()
316 test_ast_node->parent = test_db->ast->root; in test_cil_copy_sid()
343 test_ast_node->parent = test_db->ast->root; in test_cil_copy_sidcontext()
372 test_ast_node->parent = test_db->ast->root; in test_cil_copy_user()
399 test_ast_node->parent = test_db->ast->root; in test_cil_copy_role()
426 test_ast_node->parent = test_db->ast->root; in test_cil_copy_userrole()
455 test_ast_node->parent = test_db->ast->root; in test_cil_copy_type()
[all …]
Dtest_cil_build_ast.c45 struct cil_tree_node *ast; member
54 args->ast = node; in gen_build_args()
218 test_ast_node->parent = test_db->ast->root; in test_cil_gen_block()
240 test_ast_node->parent = test_db->ast->root; in test_cil_gen_block_justblock_neg()
259 test_ast_node->parent = test_db->ast->root; in test_cil_gen_block_noname_neg()
295 test_ast_node->parent = test_db->ast->root; in test_cil_gen_block_treenull_neg()
348 test_ast_node->parent = test_db->ast->root; in test_cil_destroy_block()
369 test_ast_node->parent = test_db->ast->root; in test_cil_gen_blockinherit()
388 test_ast_node->parent = test_db->ast->root; in test_cil_gen_blockinherit_namelist_neg()
407 test_ast_node->parent = test_db->ast->root; in test_cil_gen_blockinherit_namenull_neg()
[all …]
Dtest_cil_fqn.c55 cil_build_ast(test_db, tree->root, test_db->ast->root); in test_cil_qualify_name()
57 int rc = cil_fqn_qualify(test_db->ast->root); in test_cil_qualify_name()
71 cil_build_ast(test_db, tree->root, test_db->ast->root); in test_cil_qualify_name_cil_flavor()
73 int rc = cil_fqn_qualify(test_db->ast->root); in test_cil_qualify_name_cil_flavor()
Dtest_cil_list.c60 test_ast_node->parent = test_db->ast->root; in test_cil_list_append_item()
88 test_ast_node->parent = test_db->ast->root; in test_cil_list_append_item_append()
124 test_ast_node->parent = test_db->ast->root; in test_cil_list_append_item_append_extra()
166 test_ast_node->parent = test_db->ast->root; in test_cil_list_append_item_listnull_neg()
193 test_ast_node->parent = test_db->ast->root; in test_cil_list_append_item_itemnull_neg()
217 test_ast_node->parent = test_db->ast->root; in test_cil_list_prepend_item()
245 test_ast_node->parent = test_db->ast->root; in test_cil_list_prepend_item_prepend()
274 test_ast_node->parent = test_db->ast->root; in test_cil_list_prepend_item_prepend_neg()
308 test_ast_node->parent = test_db->ast->root; in test_cil_list_prepend_item_listnull_neg()
335 test_ast_node->parent = test_db->ast->root; in test_cil_list_prepend_item_itemnull_neg()
Dtest_cil.c53 CuAssertPtrNotNull(tc, test_db->ast); in test_cil_db_init()
69 test_ast_node->parent = test_db->ast->root; in test_cil_get_symtab_block()
87 test_ast_node->parent = test_db->ast->root; in test_cil_get_symtab_class()
105 test_ast_node->parent = test_db->ast->root; in test_cil_get_symtab_root()
123 test_ast_node->parent = test_db->ast->root; in test_cil_get_symtab_flavor_neg()
/external/clang/test/ASTMerge/
Dcategory.m1 // RUN: %clang_cc1 -emit-pch -o %t.1.ast %S/Inputs/category1.m
2 // RUN: %clang_cc1 -emit-pch -o %t.2.ast %S/Inputs/category2.m
3 // RUN: not %clang_cc1 -ast-merge %t.1.ast -ast-merge %t.2.ast -fsyntax-only %s 2>&1 | FileCheck %s
Dproperty.m1 // RUN: %clang_cc1 -emit-pch -o %t.1.ast %S/Inputs/property1.m
2 // RUN: %clang_cc1 -emit-pch -o %t.2.ast %S/Inputs/property2.m
3 // RUN: not %clang_cc1 -ast-merge %t.1.ast -ast-merge %t.2.ast -fsyntax-only %s 2>&1 | FileCheck %s
Dinterface.m1 // RUN: %clang_cc1 -emit-pch -o %t.1.ast %S/Inputs/interface1.m
2 // RUN: %clang_cc1 -emit-pch -o %t.2.ast %S/Inputs/interface2.m
3 // RUN: not %clang_cc1 -ast-merge %t.1.ast -ast-merge %t.2.ast -fsyntax-only %s 2>&1 | FileCheck %s
/external/google-breakpad/src/testing/scripts/generator/cpp/
Dgmock_class.py36 from cpp import ast
52 function_type = ast.FUNCTION_VIRTUAL | ast.FUNCTION_PURE_VIRTUAL
53 ctor_or_dtor = ast.FUNCTION_CTOR | ast.FUNCTION_DTOR
58 if (isinstance(node, ast.Function) and
63 if node.modifiers & ast.FUNCTION_CONST:
125 if (isinstance(node, ast.Class) and node.body and
194 builder = ast.BuilderFromSource(source, filename)
Dgmock_class_test.py30 from cpp import ast
52 builder = ast.BuilderFromSource(cpp_source, '<test>')
206 builder = ast.BuilderFromSource(cpp_source, filename)
/external/lldb/include/lldb/Symbol/
DClangASTContext.h109 GetCompleteDecl (clang::ASTContext *ast,
122 SetMetadata (clang::ASTContext *ast,
133 GetMetadata (clang::ASTContext *ast,
144 GetBuiltinTypeForEncodingAndBitSize (clang::ASTContext *ast,
152 GetBasicType (clang::ASTContext *ast, lldb::BasicType type);
155 GetBasicType (clang::ASTContext *ast, const ConstString &name);
170 GetUnknownAnyType(clang::ASTContext *ast);
182 GetTranslationUnitDecl (clang::ASTContext *ast);
309 FieldIsBitfield (clang::ASTContext *ast,
347 CreateFunctionType (clang::ASTContext *ast,
[all …]
DClangNamespaceDecl.h27 ClangNamespaceDecl (clang::ASTContext *ast, clang::NamespaceDecl *namespace_decl) : in ClangNamespaceDecl() argument
28 m_ast (ast), in ClangNamespaceDecl()
75 SetASTContext (clang::ASTContext *ast) in SetASTContext() argument
77 m_ast = ast; in SetASTContext()
/external/mesa3d/src/glsl/
Dglsl_parser_extras.cpp508 ast_node *ast = exec_node_data(ast_node, n, link); in print() local
509 ast->print(); in print()
591 ast_node *ast = exec_node_data(ast_node, n, link); in print() local
592 ast->print(); in print()
627 ast_node *ast = exec_node_data(ast_node, n, link); in print() local
628 ast->print(); in print()
677 ast_node *ast = exec_node_data(ast_node, n, link); in print() local
678 ast->print(); in print()
756 ast_node *ast = exec_node_data(ast_node, ptr, link); in print() local
757 ast->print(); in print()
[all …]
/external/lldb/source/DataFormatters/
DNSArray.cpp101 clang::ASTContext *ast = valobj_sp->GetClangType().GetASTContext(); in NSArrayMSyntheticFrontEnd() local
102 if (ast) in NSArrayMSyntheticFrontEnd()
103 m_id_type = ClangASTType(ast, ast->ObjCBuiltinIdTy); in NSArrayMSyntheticFrontEnd()
210 clang::ASTContext *ast = valobj_sp->GetClangType().GetASTContext(); in NSArrayISyntheticFrontEnd() local
211 if (ast) in NSArrayISyntheticFrontEnd()
212 m_id_type = ClangASTType(ast, ast->ObjCBuiltinIdTy); in NSArrayISyntheticFrontEnd()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.jdt.debug_3.6.1.v20100715_r361/
Djdimodel.jar ... eclipse/jdt/internal/debug/eval/ast/ org/eclipse/jdt/internal/debug ...
/external/clang/docs/
DHowToSetupToolingForLLVM.rst108 * ``-ast-print`` --- Build ASTs and then pretty-print them.
109 * ``-ast-dump`` --- Build ASTs and then debug dump them.
110 * ``-ast-dump-filter=<string>`` --- Use with ``-ast-dump`` or ``-ast-print`` to
112 qualified name. Use ``-ast-list`` to list all filterable declaration node
114 * ``-ast-list`` --- Build ASTs and print the list of declaration node qualified
121 …$ clang-check tools/clang/tools/clang-check/ClangCheck.cpp -ast-dump -ast-dump-filter ActionFactor…
129 …$ clang-check tools/clang/tools/clang-check/ClangCheck.cpp -ast-print -ast-dump-filter ActionFacto…
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/runner/
DTestSuiteAdapter.java88 public static ITestCaseOutput createAstOutput(String ast) { in createAstOutput() argument
89 if(ast == null) throw new IllegalArgumentException("null"); in createAstOutput()
90 return new TestCaseOutputAST(ast); in createAstOutput()
/external/clang/test/Index/
DTestClassForwardDecl.m1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fblocks -emit-pch -x objective-c %s -o %t.ast
2 // RUN: c-index-test -test-file-scan %t.ast %s | FileCheck -check-prefix=CHECK-scan %s
3 // RUN: c-index-test -test-load-tu %t.ast local | FileCheck -check-prefix=CHECK-load %s
DTestClassDecl.m1 // RUN: c-index-test -write-pch %t.ast -fobjc-nonfragile-abi -fblocks -x objective-c %s
2 // RUN: c-index-test -test-file-scan %t.ast %s | FileCheck -check-prefix=CHECK-scan %s
3 // RUN: c-index-test -test-load-tu %t.ast local | FileCheck -check-prefix=CHECK-load %s
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/
DTemplateCompiler.java88 private Template compile(TemplateSyntaxTree ast, String templateName, EscapeMode mode) { in compile() argument
89 CharSequence javaSource = translateAstToJavaSource(ast, mode); in compile()
109 private CharSequence translateAstToJavaSource(TemplateSyntaxTree ast, EscapeMode mode) { in translateAstToJavaSource() argument
113 ast.apply(new TemplateTranslator(PACKAGE_NAME, CLASS_NAME, sourceBuffer, propagateStatus)); in translateAstToJavaSource()
/external/clang/test/Coverage/
Dast-printing.m2 // RUN: %clang_cc1 -ast-print -fobjc-exceptions %s
3 // RUN: %clang_cc1 -ast-dump -fobjc-exceptions %s
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.apache.jasper_5.5.17.v201004212143.jar ... org/eclipse/jdt/internal/compiler/ast/ org/eclipse/jdt/internal/compiler ...
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DGrammarAST.java160 public void initialize(Tree ast) { in initialize() argument
161 GrammarAST t = ((GrammarAST)ast); in initialize()
421 public boolean equals(Object ast) { in equals() argument
422 if ( this == ast ) { in equals()
425 if ( !(ast instanceof GrammarAST) ) { in equals()
426 return this.getType() == ((Tree)ast).getType(); in equals()
428 GrammarAST t = (GrammarAST)ast; in equals()

12345678910