/external/tensorflow/tensorflow/python/tools/api/generator/ |
D | create_python_api_test.py | 65 imports, _, _ = create_python_api.get_api_init_text( 81 expected_import in str(imports), 82 msg='%s not in %s' % (expected_import, str(imports))) 94 expected_import in str(imports), 95 msg='%s not in %s' % (expected_import, str(imports))) 97 self.assertFalse('compat.v1' in imports, 98 msg='compat.v1 in %s' % str(imports.keys())) 101 imports, _, _ = create_python_api.get_api_init_text( 117 'TestClass' in str(imports), 118 msg='%s not in %s' % (expected_import, str(imports))) [all …]
|
/external/llvm-project/lld/test/ELF/lto/ |
D | thinlto-emit-imports.ll | 11 ; Ensure lld generates imports files if requested for distributed backends. 12 ; RUN: rm -f %t3.o.imports %t3.o.thinlto.bc 13 ; RUN: ld.lld --plugin-opt=thinlto-index-only --plugin-opt=thinlto-emit-imports-files -shared %t1.o… 15 ; The imports file for this module contains the bitcode file for 17 ; RUN: count 1 < %t1.o.imports 18 ; RUN: FileCheck %s --check-prefix=IMPORTS1 < %t1.o.imports 19 ; IMPORTS1: thinlto-emit-imports.ll.tmp2.o 21 ; The imports file for Input/thinlto.ll is empty as it does not import anything. 22 ; RUN: count 0 < %t2.o.imports 24 ; The imports file for Input/thinlto_empty.ll is empty but should exist. [all …]
|
/external/llvm-project/lld/test/COFF/ |
D | thinlto-emit-imports.ll | 11 ; Ensure lld generates imports files if requested for distributed backends. 12 ; RUN: rm -f %t3.obj.imports %t3.obj.thinlto.bc 14 ; RUN: -thinlto-emit-imports-files %t1.obj %t2.obj %t3.obj -out:%t4.exe 16 ; The imports file for this module contains the bitcode file for 18 ; RUN: cat %t1.obj.imports | count 1 19 ; RUN: cat %t1.obj.imports | FileCheck %s --check-prefix=IMPORTS1 20 ; IMPORTS1: thinlto-emit-imports.ll.tmp2.obj 22 ; The imports file for Input/thinlto.ll is empty as it does not import anything. 23 ; RUN: cat %t2.obj.imports | count 0 25 ; The imports file for Input/thinlto_empty.ll is empty but should exist. [all …]
|
/external/python/asn1crypto/tests/ |
D | test_init.py | 20 def add_mod(mod_name, imports): argument 31 imports.add(MOD_MAP.get(mod_name, mod_name)) 34 def walk_ast(parent_node, modname, imports): argument 51 add_mod(node.names[0].name, imports) 69 add_mod(base_mod + '.' + n.name, imports) 71 add_mod(base_mod, imports) 75 walk_ast(subast, modname, imports) 77 walk_ast(subast, modname, imports) 81 walk_ast(subast, modname, imports) 83 walk_ast(subast, modname, imports) [all …]
|
/external/python/cpython3/Lib/lib2to3/fixes/ |
D | fix_itertools_imports.py | 15 imports = results['imports'] 16 if imports.type == syms.import_as_name or not imports.children: 17 children = [imports] 19 children = imports.children 40 children = imports.children[:] or [imports] 52 if (not (imports.children or getattr(imports, 'value', None)) or 53 imports.parent is None):
|
/external/llvm-project/llvm/test/ThinLTO/X86/ |
D | emit_imports.ll | 7 ; RUN: rm -f %t3.bc.imports 11 ; The imports file for this module contains the bitcode file for 13 ; RUN: cat %t1.bc.imports | count 2 14 ; RUN: cat %t1.bc.imports | FileCheck %s --check-prefix=IMPORTS1 18 ; The imports file for Input/emit_imports.ll is empty as it does not import anything. 19 ; RUN: cat %t2.bc.imports | count 0 21 ; The imports file for Input/empty.ll is empty but should exist. 22 ; RUN: cat %t3.bc.imports | count 0 24 ; RUN: rm -f %t1.thinlto.bc %t1.bc.imports 25 ; RUN: rm -f %t2.thinlto.bc %t2.bc.imports [all …]
|
/external/python/cpython2/Lib/lib2to3/fixes/ |
D | fix_itertools_imports.py | 15 imports = results['imports'] 16 if imports.type == syms.import_as_name or not imports.children: 17 children = [imports] 19 children = imports.children 40 children = imports.children[:] or [imports] 52 if (not (imports.children or getattr(imports, 'value', None)) or 53 imports.parent is None):
|
/external/okio/okio/src/jvmMain/kotlin/okio/ |
D | -DeprecatedOkio.kt | 32 imports = ["okio.appendingSink"] 42 imports = ["okio.buffer"] 52 imports = ["okio.buffer"] 62 imports = ["okio.sink"] 72 imports = ["okio.sink"] 82 imports = ["okio.sink"] 92 imports = ["okio.sink"] 102 imports = ["okio.source"] 112 imports = ["okio.source"] 122 imports = ["okio.source"] [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/ |
D | CompilationUnit.java | 55 private List<ImportDeclaration> imports; field in CompilationUnit 62 …public CompilationUnit(PackageDeclaration pakage, List<ImportDeclaration> imports, List<TypeDeclar… in CompilationUnit() argument 64 setImports(imports); in CompilationUnit() 68 …dLine, int endColumn, PackageDeclaration pakage, List<ImportDeclaration> imports, List<TypeDeclara… in CompilationUnit() argument 71 setImports(imports); in CompilationUnit() 108 return imports; in getImports() 153 public void setImports(List<ImportDeclaration> imports) { in setImports() argument 154 this.imports = imports; in setImports() 155 setAsParentNodeOf(this.imports); in setImports()
|
/external/mesa3d/src/glx/ |
D | glxglvnd.c | 58 __GLXvendorInfo *vendor, __GLXapiImports *imports) in __glx_Main() argument 72 imports->isScreenSupported = __glXGLVNDIsScreenSupported; in __glx_Main() 73 imports->getProcAddress = __glXGLVNDGetProcAddress; in __glx_Main() 74 imports->getDispatchAddress = __glXGLVNDGetDispatchAddress; in __glx_Main() 75 imports->setDispatchIndex = __glXGLVNDSetDispatchIndex; in __glx_Main() 76 imports->notifyError = NULL; in __glx_Main() 77 imports->isPatchSupported = NULL; in __glx_Main() 78 imports->initiatePatch = NULL; in __glx_Main()
|
/external/mesa3d/src/egl/main/ |
D | eglglvnd.c | 57 __EGLvendorInfo *vendor, __EGLapiImports *imports) in __egl_Main() argument 66 imports->getPlatformDisplay = __eglGLVNDGetPlatformDisplay; in __egl_Main() 67 imports->getSupportsAPI = _eglIsApiValid; in __egl_Main() 68 imports->getVendorString = __eglGLVNDGetVendorString; in __egl_Main() 69 imports->getProcAddress = __eglGLVNDGetProcAddress; in __egl_Main() 70 imports->getDispatchAddress = __eglDispatchFindDispatchFunction; in __egl_Main() 71 imports->setDispatchIndex = __eglSetDispatchIndex; in __egl_Main()
|
/external/llvm-project/llvm/test/tools/gold/X86/ |
D | thinlto_emit_imports.ll | 8 ; Ensure gold generates imports files if requested for distributed backends. 9 ; RUN: rm -f %t3.o.imports %t3.o.thinlto.bc 13 ; RUN: --plugin-opt=thinlto-emit-imports-files \ 16 ; The imports file for this module contains the bitcode file for 18 ; RUN: cat %t.o.imports | count 1 19 ; RUN: cat %t.o.imports | FileCheck %s --check-prefix=IMPORTS1 22 ; The imports file for Input/thinlto.ll is empty as it does not import anything. 23 ; RUN: cat %t2.o.imports | count 0 25 ; The imports file for Input/thinlto_empty.ll is empty but should exist. 26 ; RUN: cat %t3.o.imports | count 0
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/ |
D | CompilationUnit.java | 86 private NodeList<ImportDeclaration> imports; field in CompilationUnit 105 …nUnit(PackageDeclaration packageDeclaration, NodeList<ImportDeclaration> imports, NodeList<TypeDec… in CompilationUnit() argument 106 this(null, packageDeclaration, imports, types, module); in CompilationUnit() 113 …ange, PackageDeclaration packageDeclaration, NodeList<ImportDeclaration> imports, NodeList<TypeDec… in CompilationUnit() argument 116 setImports(imports); in CompilationUnit() 157 return imports; in getImports() 207 public CompilationUnit setImports(final NodeList<ImportDeclaration> imports) { in setImports() argument 208 assertNotNull(imports); in setImports() 209 if (imports == this.imports) { in setImports() 212 notifyPropertyChange(ObservableProperty.IMPORTS, this.imports, imports); in setImports() [all …]
|
/external/elfutils/libdw/ |
D | libdw_visit_scopes.c | 71 struct Dwarf_Die_Chain *imports; member 85 struct Dwarf_Die_Chain *imports, in __libdw_visit_scopes() argument 97 .imports = imports, in __libdw_visit_scopes() 138 for (struct Dwarf_Die_Chain *import = state->imports; import != NULL; in walk_children() 150 struct Dwarf_Die_Chain *orig_imports = state->imports; in walk_children() 153 state->imports = &import; in walk_children() 155 state->imports = orig_imports; in walk_children() 176 result = __libdw_visit_scopes (state->depth + 1, &state->child, state->imports, in walk_children()
|
/external/auto/value/src/test/java/com/google/auto/value/processor/ |
D | PropertyAnnotationsTest.java | 124 Iterable<String> imports = ImmutableList.of(); field in PropertyAnnotationsTest.InputFileBuilder 128 InputFileBuilder setImports(Iterable<String> imports) { in setImports() argument 129 this.imports = imports; in setImports() 152 .addAll(imports) in build() 170 Iterable<String> imports = ImmutableList.of(); field in PropertyAnnotationsTest.OutputFileBuilder 174 OutputFileBuilder setImports(Iterable<String> imports) { in setImports() argument 175 this.imports = imports; in setImports() 199 .addAll(imports) in build() 262 Iterable<String> imports, in assertGeneratedMatches() argument 267 new InputFileBuilder().setImports(imports).addAnnotations(annotations).build(); in assertGeneratedMatches() [all …]
|
/external/llvm/test/tools/gold/X86/ |
D | thinlto_emit_imports.ll | 5 ; Ensure gold generates imports files if requested for distributed backends. 9 ; RUN: --plugin-opt=thinlto-emit-imports-files \ 12 ; The imports file for this module contains the bitcode file for 14 ; RUN: cat %t.o.imports | count 1 15 ; RUN: cat %t.o.imports | FileCheck %s --check-prefix=IMPORTS1 18 ; The imports file for Input/thinlto.ll is empty as it does not import anything. 19 ; RUN: cat %t2.o.imports | count 0
|
/external/rust/crates/grpcio-sys/grpc/src/compiler/ |
D | objective_c_plugin.cc | 166 ::std::string imports; in Generate() 168 imports = LocalImport(file_name + ".pbobjc.h"); in Generate() 170 imports = FrameworkImport(file_name + ".pbobjc.h", framework); in Generate() 240 PreprocIfNot(kForwardDeclare, imports) + "\n" + in Generate() 253 ::std::string imports; in Generate() 255 imports = LocalImport(file_name + ".pbrpc.h") + in Generate() 258 imports = FrameworkImport(file_name + ".pbrpc.h", framework) + in Generate() 264 imports += in Generate() 267 imports += LocalImport(grpc_local_import_prefix + in Generate() 269 imports += LocalImport(grpc_local_import_prefix + in Generate() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/ |
D | CompilationUnit.java | 71 private List<ImportDeclaration> imports; field in CompilationUnit 78 …public CompilationUnit(PackageDeclaration pakage, List<ImportDeclaration> imports, List<TypeDeclar… in CompilationUnit() argument 80 setImports(imports); in CompilationUnit() 84 public CompilationUnit(Range range, PackageDeclaration pakage, List<ImportDeclaration> imports, in CompilationUnit() argument 88 setImports(imports); in CompilationUnit() 125 imports = ensureNotNull(imports); in getImports() 126 return imports; in getImports() 172 public CompilationUnit setImports(List<ImportDeclaration> imports) { in setImports() argument 173 this.imports = imports; in setImports() 174 setAsParentNodeOf(this.imports); in setImports()
|
/external/llvm-project/lld/COFF/ |
D | DLL.h | 24 void add(DefinedImportData *sym) { imports.push_back(sym); } in add() 25 bool empty() { return imports.empty(); } in empty() 29 std::vector<DefinedImportData *> imports; variable 41 void add(DefinedImportData *sym) { imports.push_back(sym); } in add() 42 bool empty() { return imports.empty(); } in empty() 56 std::vector<DefinedImportData *> imports; variable
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/expected_output/ |
D | com_github_javaparser_ast_CompilationUnit.txt | 7 Line 64) setImports(imports) ==> void 14 Line 71) setImports(imports) ==> void 19 Line 108) imports ==> java.util.List<com.github.javaparser.ast.ImportDeclaration> 23 Line 154) this.imports = imports ==> java.util.List<com.github.javaparser.ast.ImportDeclaration> 24 Line 155) setAsParentNodeOf(this.imports) ==> void
|
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/ |
D | ImportOrderer.java | 75 ImportsAndIndex imports = scanImports(firstImportStart); in reorderImports() local 76 int afterLastImport = imports.index; in reorderImports() 90 result.append(reorderedImportsString(imports.imports)); in reorderImports() 273 final ImmutableSortedSet<Import> imports; field in ImportOrderer.ImportsAndIndex 276 ImportsAndIndex(ImmutableSortedSet<Import> imports, int index) { in ImportsAndIndex() argument 277 this.imports = imports; in ImportsAndIndex() 298 ImmutableSortedSet.Builder<Import> imports = ImmutableSortedSet.orderedBy(importComparator); in scanImports() local 349 imports.add(new Import(importedName, trailing.toString(), isStatic)); in scanImports() 358 return new ImportsAndIndex(imports.build(), afterLastImport); in scanImports() 362 private String reorderedImportsString(ImmutableSortedSet<Import> imports) { in reorderedImportsString() argument [all …]
|
/external/llvm/test/ThinLTO/X86/ |
D | emit_imports.ll | 6 ; The imports file for this module contains the bitcode file for 8 ; RUN: cat %t1.bc.imports | count 1 9 ; RUN: cat %t1.bc.imports | FileCheck %s --check-prefix=IMPORTS1 12 ; The imports file for Input/emit_imports.ll is empty as it does not import anything. 13 ; RUN: cat %t2.bc.imports | count 0
|
/external/dagger2/javatests/dagger/internal/codegen/ |
D | DaggerModuleMethodSubject.java | 78 private final ImmutableList.Builder<String> imports = field in DaggerModuleMethodSubject 106 DaggerModuleMethodSubject importing(Class<?>... imports) { in importing() argument 107 return importing(Arrays.asList(imports)); in importing() 120 DaggerModuleMethodSubject importing(List<? extends Class<?>> imports) { in importing() argument 121 imports.stream() in importing() 123 .forEachOrdered(this.imports::add); in importing() 175 for (String importLine : imports.build()) { in moduleSource()
|
/external/golang-protobuf/protoc-gen-go/testdata/imports/ |
D | test_import_all.proto | 36 option go_package = "github.com/golang/protobuf/protoc-gen-go/testdata/imports"; 42 import "imports/test_a_1/m1.proto"; 43 import "imports/test_a_1/m2.proto"; 44 import "imports/test_a_2/m3.proto"; 45 import "imports/test_a_2/m4.proto"; 46 import "imports/test_b_1/m1.proto"; 47 import "imports/test_b_1/m2.proto"; 48 import "imports/fmt/m.proto";
|
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/ |
D | RobolectricModel.java | 37 private final TreeSet<String> imports; field in RobolectricModel 54 public RobolectricModel(TreeSet<String> imports, in RobolectricModel() argument 59 this.imports = new TreeSet<>(imports); in RobolectricModel() 78 private final TreeSet<String> imports = newTreeSet(); field in RobolectricModel.Builder 131 public void documentType(TypeElement type, String documentation, List<String> imports) { in documentType() argument 134 documentedType.imports = imports; in documentType() 164 return new RobolectricModel(imports, shadowTypes, extraShadowTypes, resetterMap, in build() 212 imports.add(imp.getQualifiedName().toString()); in prepare() 217 imports.add("java.util.Map"); in prepare() 218 imports.add("java.util.HashMap"); in prepare() [all …]
|