Home
last modified time | relevance | path

Searched refs:imports (Results 1 – 25 of 1216) sorted by relevance

12345678910>>...49

/external/tensorflow/tensorflow/python/tools/api/generator/
Dcreate_python_api_test.py65 imports, _, _ = create_python_api.get_api_init_text(
80 expected_import in str(imports),
81 msg='%s not in %s' % (expected_import, str(imports)))
93 expected_import in str(imports),
94 msg='%s not in %s' % (expected_import, str(imports)))
96 self.assertFalse('compat.v1' in imports,
97 msg='compat.v1 in %s' % str(imports.keys()))
100 imports, _, _ = create_python_api.get_api_init_text(
115 'TestClass' in str(imports),
116 msg='%s not in %s' % (expected_import, str(imports)))
[all …]
/external/python/asn1crypto/tests/
Dtest_init.py20 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/
Dfix_itertools_imports.py15 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/swiftshader/third_party/llvm-7.0/llvm/test/ThinLTO/X86/
Demit_imports.ll7 ; 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/
Dfix_itertools_imports.py15 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/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/
DCompilationUnit.java55 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/
Dglxglvnd.c58 __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/
Deglglvnd.c57 __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/swiftshader/third_party/llvm-7.0/llvm/test/tools/gold/X86/
Dthinlto_emit_imports.ll8 ; 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/
DCompilationUnit.java86 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/
Dlibdw_visit_scopes.c71 struct Dwarf_Die_Chain *imports; member
85 struct Dwarf_Die_Chain *imports, in __libdw_visit_scopes() argument
97 .imports = imports, in __libdw_visit_scopes()
134 for (struct Dwarf_Die_Chain *import = state->imports; import != NULL; in walk_children()
146 struct Dwarf_Die_Chain *orig_imports = state->imports; in walk_children()
149 state->imports = &import; in walk_children()
151 state->imports = orig_imports; in walk_children()
172 result = __libdw_visit_scopes (state->depth + 1, &state->child, state->imports, in walk_children()
/external/llvm/test/tools/gold/X86/
Dthinlto_emit_imports.ll5 ; 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/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/
DCompilationUnit.java71 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/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/expected_output/
Dcom_github_javaparser_ast_CompilationUnit.txt7 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/llvm/test/ThinLTO/X86/
Demit_imports.ll6 ; 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/
DDaggerModuleMethodSubject.java78 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/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/
DRobolectricModel.java37 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 …]
/external/golang-protobuf/protoc-gen-go/testdata/imports/
Dtest_import_all.proto36 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/grpc-grpc/src/python/grpcio/grpc/beta/
DBUILD.bazel20 imports=["../../",]
31 imports=["../../",],
37 imports=["../../",],
46 imports=["../../",],
/external/icu/icu4c/source/test/depstest/
Ddepstest.py129 imports = set()
137 imports |= obj_file["imports"]
139 imports -= exports | _ignored_symbols
149 if files and imports.isdisjoint(dep_exports) and imports.isdisjoint(dep_system_symbols):
157 imports -= exports | system_symbols
158 for symbol in imports:
/external/protobuf/js/
DREADME.md12 1. CommonJS-style imports (eg. `var protos = require('my-protos');`)
13 2. Closure-style imports (eg. `goog.require('my.package.MyProto');`)
15 Support for ES6-style imports is not implemented yet. Browsers can
17 resolve imports at compile time.
53 Closure Compiler style imports and one that uses CommonJS imports.
63 little different depending on whether you are using Closure imports
64 or CommonJS imports:
69 If you want to use Closure imports, your build should run a command
74 For Closure imports, `protoc` will generate a single output file
104 CommonJS imports
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/FunctionImport/
Dfuncimport_cutoff.ll12 ; RUN: opt -function-import -stats -print-imports -summary-file %t3.thinlto.bc %t.bc -S 2>&1 | File…
15 ; RUN: opt -import-cutoff=1 -function-import -stats -print-imports -summary-file %t3.thinlto.bc %t.…
17 ; Next try to restrict to 0 imports. This should not import.
18 ; RUN: opt -import-cutoff=0 -function-import -stats -print-imports -summary-file %t3.thinlto.bc %t.…
30 ; Check -print-imports output
/external/icu/tools/srcgen/src/main/java/com/android/icu4j/srcgen/
DShardingAnnotator.java74 Set<String> imports = Sets.newHashSet(); in process() local
79 annotateTestType(cu, rewrite, declaration, imports); in process()
93 CompilationUnit cu, ASTRewrite rewrite, TypeDeclaration type, Set<String> imports) { in annotateTestType() argument
98 if (!imports.contains(annotationName)) { in annotateTestType()
100 imports.add(annotationName); in annotateTestType()
/external/antlr/antlr3-maven-plugin/src/site/apt/examples/
Dimport.apt4 as imports in your main <<<.g>>> files, you need to place the imported grammar
5 files in the imports directory beneath the root directory of your grammar
8 For a default layout, place your import grammars in the directory: <<<src/main/antlr3/imports>>>
/external/chromium-trace/catapult/common/py_vulcanize/py_vulcanize/
Dparse_html_deps_unittest.py21 self.assertEquals([], module.imports)
29 self.assertEquals([], module.imports)
46 self.assertEquals([], module.imports)
65 self.assertEquals(['x-foo.html'], module.imports)
82 self.assertEquals([], module.imports)
112 self.assertEquals([], module.imports)
133 self.assertEquals([], module.imports)

12345678910>>...49