/external/python/cpython2/Lib/lib2to3/fixes/ |
D | fix_itertools_imports.py | 1 """ Fixer for imports of itertools.(imap|ifilter|izip|ifilterfalse) """ 3 # Local imports 11 import_from< 'from' 'itertools' 'import' imports=any > 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] 51 # If there are no imports left, just get rid of the entire statement 52 if (not (imports.children or getattr(imports, 'value', None)) or [all …]
|
/external/python/cpython3/Lib/lib2to3/fixes/ |
D | fix_itertools_imports.py | 1 """ Fixer for imports of itertools.(imap|ifilter|izip|ifilterfalse) """ 3 # Local imports 11 import_from< 'from' 'itertools' 'import' imports=any > 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] 51 # If there are no imports left, just get rid of the entire statement 52 if (not (imports.children or getattr(imports, 'value', None)) or [all …]
|
/external/tensorflow/tensorflow/python/tools/api/generator/ |
D | create_python_api_test.py | 59 imports = create_python_api.get_api_init_text( 68 expected_import in str(imports), 69 msg='%s not in %s' % (expected_import, str(imports))) 74 expected_import in str(imports), 75 msg='%s not in %s' % (expected_import, str(imports))) 76 # Also check that compat.v1 is not added to imports. 77 self.assertFalse('compat.v1' in imports, 78 msg='compat.v1 in %s' % str(imports.keys())) 81 imports = create_python_api.get_api_init_text( 89 'TestClass' in str(imports), [all …]
|
/external/swiftshader/third_party/llvm-7.0/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/swiftshader/third_party/llvm-7.0/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-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() 102 * Retrieves the list of imports declared in this compilation unit or 105 * @return the list of imports or <code>null</code> if there is no import 108 return imports; in getImports() 147 * Sets the list of imports of this compilation unit. The list is initially 150 * @param imports [all …]
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
D | ElemApplyImport.java | 30 * Implement xsl:apply-imports. 32 * <!ELEMENT xsl:apply-imports EMPTY> 34 * @see <a href="http://www.w3.org/TR/xslt#apply-imports">apply-imports in XSLT Specification</a> 45 * @return Token ID for xsl:apply-imports element types 63 * Execute the xsl:apply-imports transformation. 77 …XSLTErrorResources.ER_NO_APPLY_IMPORT_IN_FOR_EACH); //"xsl:apply-imports not allowed in a xsl:for… in execute() 90 …SLTErrorResources.ER_NULL_SOURCENODE_APPLYIMPORTS); //"sourceNode is null in xsl:apply-imports!"); in execute() 96 * <!ELEMENT xsl:apply-imports EMPTY> 100 * @return null, xsl:apply-Imports cannot have children
|
D | StylesheetComposed.java | 29 * imports. It has methods on it that 37 * the imports.</li> 174 /* The count of imports composed for this stylesheet */ 192 // Now get the count of composed imports from this stylesheet's imports in recomposeImports() 201 // Now get the count of composed imports from this stylesheet's in recomposeImports() 206 int imports = getIncludeComposed(--count).getImportCount(); in recomposeImports() local 207 m_endImportCountComposed += imports; in recomposeImports() 208 while (imports > 0) in recomposeImports() 209 …m_endImportCountComposed +=getIncludeComposed(count).getImport(--imports).getEndImportCountCompose… in recomposeImports() 252 * @return the number of imports in this stylesheet's composed list.
|
/external/curl/src/ |
D | Makefile.netware | 169 PRELUDE = $(NDK_LIBC)/imports/posixpre.o 171 PRELUDE = $(NDK_LIBC)/imports/libcpre.o 175 # PRELUDE = $(NDK_CLIB)/imports/clibpre.o 193 PRELUDE = $(NDK_LIBC)/imports/posixpre.gcc.o 195 PRELUDE = $(NDK_LIBC)/imports/libcpre.gcc.o 198 # PRELUDE = $(NDK_CLIB)/imports/clibpre.gcc.o 264 IMPORTS = @$(CURL_LIB)/libcurl.imp 272 IMPORTS += @$(LIBSSH2_PATH)/nw/libssh2.imp 285 IMPORTS += GetProcessSwitchCount RunningProcess 293 IMPORTS += @$(ZLIB_PATH)/nw/$(LIBARCH)/libz.imp [all …]
|
/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/protobuf/js/ |
D | README.md | 12 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. 51 Closure Compiler style imports and one that uses CommonJS imports. 61 little different depending on whether you are using Closure imports 62 or CommonJS imports: 64 Closure Imports 67 If you want to use Closure imports, your build should run a command 72 For Closure imports, `protoc` will generate a single output file [all …]
|
/external/curl/docs/examples/ |
D | Makefile.netware | 127 PRELUDE = $(NDK_LIBC)/imports/posixpre.o 129 PRELUDE = $(NDK_LIBC)/imports/libcpre.o 133 # PRELUDE = $(NDK_CLIB)/imports/clibpre.o 151 PRELUDE = $(NDK_LIBC)/imports/posixpre.gcc.o 153 PRELUDE = $(NDK_LIBC)/imports/libcpre.gcc.o 156 # PRELUDE = $(NDK_CLIB)/imports/clibpre.gcc.o 215 IMPORTS = @$(CURL_LIB)/libcurl.imp 223 IMPORTS += @$(LIBSSH2_PATH)/nw/libssh2.imp 236 IMPORTS += GetProcessSwitchCount RunningProcess 245 IMPORTS += @$(ZLIB_PATH)/nw/$(LIBARCH)/libz.imp [all …]
|
/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() 150 * Retrieves the list of imports declared in this compilation unit or 153 * @return the list of imports or <code>none</code> if there is no import 157 return imports; in getImports() 201 * Sets the list of imports of this compilation unit. The list is initially 204 * @param imports the list of imports [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/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/mesa3d/src/egl/main/ |
D | eglglvnd.c | 64 __EGLvendorInfo *vendor, __EGLapiImports *imports) in __egl_Main() argument 73 imports->getPlatformDisplay = __eglGLVNDGetPlatformDisplay; in __egl_Main() 74 imports->getSupportsAPI = _eglIsApiValid; in __egl_Main() 75 imports->getVendorString = __eglGLVNDGetVendorString; in __egl_Main() 76 imports->getProcAddress = __eglGLVNDGetProcAddress; in __egl_Main() 77 imports->getDispatchAddress = __eglDispatchFindDispatchFunction; in __egl_Main() 78 imports->setDispatchIndex = __eglSetDispatchIndex; in __egl_Main()
|
/external/icu/icu4c/source/test/depstest/ |
D | depstest.py | 83 _obj_files[lib_obj_name] = {"imports": obj_imports, "exports": obj_exports} 102 imports = set() 110 imports |= obj_file["imports"] 112 imports -= exports | _ignored_symbols 122 if files and imports.isdisjoint(dep_exports) and imports.isdisjoint(dep_system_symbols): 125 # to satisfy local imports. 130 imports -= exports | system_symbols 131 for symbol in imports: 133 if symbol in _obj_files[file_name]["imports"]: 139 sys.stderr.write("Error: in %s %s: %s imports %s %s\n" %
|
/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() 119 * Retrieves the list of imports declared in this compilation unit or 122 * @return the list of imports or <code>null</code> if there is no import 125 imports = ensureNotNull(imports); in getImports() 126 return imports; in getImports() 166 * Sets the list of imports of this compilation unit. The list is initially [all …]
|
/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() 216 // Other imports that the generated class needs in prepare() 217 imports.add("java.util.Map"); in prepare() [all …]
|
/external/turbine/java/com/google/turbine/binder/lookup/ |
D | ImportIndex.java | 36 * A scope that provides entries for the single-type imports in a compilation unit. 38 * <p>Import resolution is lazy; imports are not evaluated until the first request for a matching 41 * <p>Static imports of types, and on-demand imports of types (static or otherwise), are not 61 ImmutableList<ImportDecl> imports) { in create() argument 63 for (final Tree.ImportDecl i : imports) { in create() 77 // Process static imports as a separate pass. If a static and non-static named import share a in create() 79 for (final Tree.ImportDecl i : imports) { in create() 155 // Assume that static imports that don't resolve to types are non-type member imports,
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_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/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() 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/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/v8/src/js/ |
D | prologue.js | 14 var imports = UNDEFINED; 28 f.next = imports; 29 imports = f; 34 // functions called during bootstrapping. Hooking up imports in PostNatives 91 for ( ; !IS_UNDEFINED(imports); imports = imports.next) { 92 imports(exports_container);
|
/external/clang/lib/Format/ |
D | SortJavaScriptImports.cpp | 1 //===--- SortJavaScriptImports.h - Sort ES6 Imports -------------*- C++ -*-===// 11 /// \brief This file implements a sort operation for JavaScript ES6 imports. 48 // but imports at different code locations are still conceptually the same. in operator ==() 67 // imports and exports support individual symbols, but also a wildcard syntax: 71 // This struct represents both exports and imports to build up the information 85 // Prefix from "import * as prefix". Empty for symbol imports and `export *`. 101 // Side effect imports might be ordering sensitive. Consider them equal so in operator <() 110 // '*' imports (with prefix) sort before {a, b, ...} imports. in operator <() 118 // JavaScriptImportSorter sorts JavaScript ES6 imports and exports. It is 119 // implemented as a TokenAnalyzer because ES6 imports have substantial syntactic [all …]
|