/external/chromium_org/mojo/public/tools/bindings/pylib/mojom_tests/parse/ |
D | parser_unittest.py | 24 import mojom.parse.ast as ast namespace 41 expected = ast.Mojom( 42 ast.Module(('IDENTIFIER', 'my_module'), None), 43 ast.ImportList(), 51 expected = ast.Mojom( 52 ast.Module(('IDENTIFIER', 'my_module'), None), 53 ast.ImportList(), 145 expected = ast.Mojom( 146 ast.Module(('IDENTIFIER', 'my_module'), None), 147 ast.ImportList(), [all …]
|
D | ast_unittest.py | 24 import mojom.parse.ast as ast namespace 27 class _TestNode(ast.NodeBase): 38 class _TestNodeList(ast.NodeListBase): 50 node1 = ast.NodeBase(filename="hello.mojom", lineno=123) 51 node2 = ast.NodeBase()
|
/external/lldb/source/Symbol/ |
D | ClangASTContext.cpp | 343 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/chromium_org/ppapi/generators/ |
D | idl_generator.py | 63 def Generate(self, ast, options): argument 69 print "Found releases: %s" % ast.releases 72 for filenode in ast.GetListOf('File'): 90 vmin = ast.releases[0] 92 vmax = ast.releases[-1] 94 vmin = ast.releases.index(vmin) 95 vmax = ast.releases.index(vmax) + 1 96 releases = ast.releases[vmin:vmax] 98 ret = self.GenerateRange(ast, releases, options) 106 releasestr = ast.releases[0] [all …]
|
D | generator.py | 41 ast = ParseFiles(filenames) 42 if ast.errors: 43 print 'Found %d errors. Aborting build.\n' % ast.errors 45 return Generator.Run(ast)
|
D | idl_gen_pnacl.py | 210 def GenerateRange(self, ast, releases, options): argument 215 return WrapperGen.GenerateRange(self, ast, releases, options) 238 def GetOldTestOutput(ast): argument 241 for filenode in ast.GetListOf('File'): 251 ast = ParseFiles(filenames) 252 iface_releases = pnaclgen.DetermineInterfaces(ast, test_releases) 255 old_output = GetOldTestOutput(ast) 278 ast = ParseFiles(filenames) 279 return pnaclgen.GenerateRange(ast, test_releases, filenames)
|
D | idl_gen_wrapper.py | 73 def GenerateRelease(self, ast, release, options): argument 74 return self.GenerateRange(ast, [release], options) 205 def DetermineInterfaces(self, ast, releases): argument 209 for filenode in ast.GetListOf('File'): 397 def GenerateRange(self, ast, releases, options): argument 412 iface_releases = self.DetermineInterfaces(ast, releases)
|
/external/chromium_org/mojo/public/tools/bindings/pylib/mojom/parse/ |
D | translate.py | 10 from . import ast 68 assert isinstance(attribute_list, ast.AttributeList) 75 assert isinstance(enum_value, ast.EnumValue) 79 assert isinstance(enum, ast.Enum) 84 assert isinstance(const, ast.Const) 97 assert isinstance(struct_field, ast.StructField) 104 assert isinstance(struct, ast.Struct) 108 ast.StructField), 109 'enums': _MapTreeForType(_EnumToDict, struct.body, ast.Enum), 111 ast.Const)} [all …]
|
D | parser.py | 29 from . import ast 75 p[0] = ast.Mojom(p[2], p[1], p[4]) 79 p[0] = ast.Mojom(None, p[1], p[2]) 83 p[0] = ast.ImportList() 94 p[0] = ast.Import(eval(p[2])) 98 p[0] = ast.Module(p[3], p[1], filename=self.filename, lineno=p.lineno(2)) 126 p[0] = ast.AttributeList() 134 p[0] = ast.AttributeList(p[1]) 144 p[0] = ast.Attribute(p[1], p[3], filename=self.filename, lineno=p.lineno(1)) 153 p[0] = ast.Struct(p[3], p[1], p[5]) [all …]
|
/external/clang/test/ASTMerge/ |
D | category.m | 1 // 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
|
D | property.m | 1 // 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
|
D | interface.m | 1 // 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/chromium_org/third_party/jinja2/ |
D | meta.py | 33 def find_undeclared_variables(ast): argument 52 codegen = TrackingCodeGenerator(ast.environment) 53 codegen.visit(ast) 57 def find_referenced_templates(ast): argument 72 for node in ast.find_all((nodes.Extends, nodes.FromImport, nodes.Import,
|
/external/lldb/include/lldb/Symbol/ |
D | ClangASTContext.h | 109 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 …]
|
D | ClangNamespaceDecl.h | 27 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/ |
D | glsl_parser_extras.cpp | 508 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/chromium_org/third_party/mesa/src/src/glsl/ |
D | glsl_parser_extras.cpp | 508 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/ |
D | NSArray.cpp | 101 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/clang/docs/ |
D | HowToSetupToolingForLLVM.rst | 108 * ``-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/ |
D | TestSuiteAdapter.java | 88 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/ |
D | TestClassForwardDecl.m | 1 // 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
|
D | TestClassDecl.m | 1 // 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/chromium_org/third_party/WebKit/Source/bindings/scripts/ |
D | idl_reader.py | 78 ast = blink_idl_parser.parse_file(self.parser, idl_filename) 79 if not ast: 82 definitions = IdlDefinitions(idl_file_basename, ast)
|
/external/clang/test/Coverage/ |
D | ast-printing.m | 2 // RUN: %clang_cc1 -ast-print -fobjc-exceptions %s 3 // RUN: %clang_cc1 -ast-dump -fobjc-exceptions %s
|
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/ |
D | TemplateCompiler.java | 88 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()
|