/third_party/node/test/fixtures/wpt/wasm/jsapi/module/ |
H A D | imports.any.js | 27 function assert_imports(imports, expected) { 28 assert_true(Array.isArray(imports), "Should be array"); 29 assert_equals(Object.getPrototypeOf(imports), Array.prototype, "Prototype"); 30 assert_true(Object.isExtensible(imports), "isExtensible"); 32 assert_equals(imports.length, expected.length); 34 assert_ModuleImportDescriptor(imports[i], expected[i]); 44 assert_throws_js(TypeError, () => WebAssembly.Module.imports()); 60 assert_throws_js(TypeError, () => WebAssembly.Module.imports(argument), 61 `imports(${format_value(argument)})`); 67 const fn = WebAssembly.Module.imports; [all...] |
/third_party/python/Lib/lib2to3/fixes/ |
H A 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 [all...] |
/third_party/mesa3d/src/glx/ |
H A D | glxglvnd.c | 58 __GLXvendorInfo *vendor, __GLXapiImports *imports) in __glx_Main() 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() 57 __glx_Main(uint32_t version, const __GLXapiExports *exports, __GLXvendorInfo *vendor, __GLXapiImports *imports) __glx_Main() argument
|
/third_party/node/lib/internal/modules/esm/ |
H A D | create_dynamic_module.js | 23 import.meta.imports[${imptPath}] = $import_${index};`; 42 * Creates a dynamic module with the given imports, exports, URL, and evaluate function. 43 * @param {string[]} imports - An array of imports. 48 * @property {string[]} imports - The imports of the module. 52 const createDynamicModule = (imports, exports, url = '', evaluate) => { 55 ${ArrayPrototypeJoin(ArrayPrototypeMap(imports, createImport), '\n')} 69 if (imports.length) { 70 reflect.imports [all...] |
H A D | translators.js | 135 * Dynamically imports a module using the ESM loader. 163 * Provide a more informative error for CommonJS imports. 381 const imports = 382 ArrayPrototypeMap(WebAssembly.Module.imports(compiled), 390 return createDynamicModule(imports, exports, url, (reflect) => { 391 const { exports } = new WebAssembly.Instance(compiled, reflect.imports);
|
H A D | resolve.js | 38 getOptionValue('--experimental-network-imports'); 99 * @param {boolean} internal - Whether the module is in the "imports" or "exports" field. 111 }in the "${internal ? 'imports' : 'exports'}" field module resolution of the package at ${ 376 * @param {boolean} internal - Whether the resolution is for an "imports" or "exports" field in package.json. 382 internal ? 'imports' : 'exports'}" resolution of ${ 676 // To match "imports" and the spec. 749 const reason = 'is not a valid internal imports specifier name'; 756 const imports = packageConfig.imports; 757 if (imports) { [all...] |
/third_party/mesa3d/src/egl/main/ |
H A D | eglglvnd.c | 84 __EGLvendorInfo *vendor, __EGLapiImports *imports) in __egl_Main() 93 imports->getPlatformDisplay = __eglGLVNDGetPlatformDisplay; in __egl_Main() 94 imports->getSupportsAPI = _eglIsApiValid; in __egl_Main() 95 imports->getVendorString = __eglGLVNDGetVendorString; in __egl_Main() 96 imports->getProcAddress = __eglGLVNDGetProcAddress; in __egl_Main() 97 imports->getDispatchAddress = __eglDispatchFindDispatchFunction; in __egl_Main() 98 imports->setDispatchIndex = __eglSetDispatchIndex; in __egl_Main() 83 __egl_Main(uint32_t version, const __EGLapiExports *exports, __EGLvendorInfo *vendor, __EGLapiImports *imports) __egl_Main() argument
|
/third_party/elfutils/libdw/ |
H A D | libdw_visit_scopes.c | 71 struct Dwarf_Die_Chain *imports; member 85 struct Dwarf_Die_Chain *imports, in __libdw_visit_scopes() 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() 84 __libdw_visit_scopes(unsigned int depth, struct Dwarf_Die_Chain *root, struct Dwarf_Die_Chain *imports, int (*previsit) (unsigned int, struct Dwarf_Die_Chain *, void *), int (*postvisit) (unsigned int, struct Dwarf_Die_Chain *, void *), void *arg) __libdw_visit_scopes() argument
|
/third_party/icu/icu4c/source/test/depstest/ |
H A D | depstest.py | 97 _obj_files[lib_obj_name] = {"imports": obj_imports, "exports": obj_exports} 129 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): 152 # to satisfy local imports. 157 imports -= exports | system_symbols 158 for symbol in imports [all...] |
/third_party/node/deps/v8/tools/wasm/ |
H A D | wasm-import-profiler.js | 10 function instrument(imports, profile) { 11 let orig_imports = imports; 12 return new Proxy(imports, { 76 WebAssembly.instantiate = (m, imports, ...args) => { 78 let promise = orig_instantiate(m, instrument(imports, profile), ...args);
|
/third_party/node/test/fixtures/wpt/wasm/jsapi/ |
H A D | bad-imports.js | 25 t(`Non-object imports argument: ${format_value(value)}`, 32 const imports = { 40 imports); 43 t(`Missing imports argument`,
|
/third_party/node/lib/internal/modules/ |
H A D | package_json_reader.js | 31 * imports?: string | string[] | Record<string, unknown>, 66 imports: undefined, 111 if (ObjectPrototypeHasOwnProperty(parsed, 'imports')) { 112 result.imports = parsed.imports;
|
/third_party/node/deps/v8/third_party/wasm-api/example/ |
H A D | hello.c | 64 const wasm_extern_t* imports[] = { wasm_func_as_extern(hello_func) }; in main() local 66 wasm_instance_new(store, module, imports, NULL); in main()
|
H A D | serialize.c | 79 const wasm_extern_t* imports[] = { wasm_func_as_extern(hello_func) }; in main() local 81 wasm_instance_new(store, deserialized, imports, NULL); in main()
|
H A D | hello.cc | 58 wasm::Extern* imports[] = {hello_func.get()}; in run() local 59 auto instance = wasm::Instance::make(store, module.get(), imports); in run()
|
H A D | trap.c | 78 const wasm_extern_t* imports[] = { wasm_func_as_extern(fail_func) }; in main() local 80 wasm_instance_new(store, module, imports, NULL); in main()
|
H A D | callback.c | 111 const wasm_extern_t* imports[] = { in main() local 115 wasm_instance_new(store, module, imports, NULL); in main()
|
H A D | serialize.cc | 70 wasm::Extern* imports[] = {hello_func.get()}; in run() local 71 auto instance = wasm::Instance::make(store, deserialized.get(), imports); in run()
|
H A D | threads.cc | 43 // Create imports. in run() 56 wasm::Extern* imports[] = {func.get(), global.get()}; in run() local 57 auto instance = wasm::Instance::make(store, module.get(), imports); in run()
|
/third_party/zlib/contrib/dotzlib/DotZLib/ |
H A D | ChecksumImpl.cs | 106 #region DLL imports
157 #region DLL imports
|
/third_party/skia/third_party/externals/spirv-tools/source/link/ |
H A D | linker.cpp | 60 // imports and exports together 391 std::vector<LinkageSymbolInfo> imports; in GetImportExportPairs() 394 // Figure out the imports and exports in GetImportExportPairs() 451 imports.push_back(symbol_info); in GetImportExportPairs() 457 for (const auto& import : imports) { in GetImportExportPairs() 568 std::unordered_set<SpvId> imports; in RemoveLinkageSpecificInstructions() local 570 imports.reserve(linkings_to_do.size()); in RemoveLinkageSpecificInstructions() 572 imports.emplace(linking_entry.exported_symbol.id); in RemoveLinkageSpecificInstructions() 588 imports.find(inst->GetSingleWordOperand(0u)) != imports in RemoveLinkageSpecificInstructions() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/link/ |
H A D | linker.cpp | 60 // imports and exports together 391 std::vector<LinkageSymbolInfo> imports; in GetImportExportPairs() 394 // Figure out the imports and exports in GetImportExportPairs() 451 imports.push_back(symbol_info); in GetImportExportPairs() 457 for (const auto& import : imports) { in GetImportExportPairs() 568 std::unordered_set<SpvId> imports; in RemoveLinkageSpecificInstructions() local 570 imports.reserve(linkings_to_do.size()); in RemoveLinkageSpecificInstructions() 572 imports.emplace(linking_entry.exported_symbol.id); in RemoveLinkageSpecificInstructions() 588 imports.find(inst->GetSingleWordOperand(0u)) != imports in RemoveLinkageSpecificInstructions() [all...] |
/third_party/spirv-tools/source/link/ |
H A D | linker.cpp | 63 // imports and exports together 417 std::vector<LinkageSymbolInfo> imports; in GetImportExportPairs() 420 // Figure out the imports and exports in GetImportExportPairs() 478 imports.push_back(symbol_info); in GetImportExportPairs() 484 for (const auto& import : imports) { in GetImportExportPairs() 595 std::unordered_set<spv::Id> imports; in RemoveLinkageSpecificInstructions() local 597 imports.reserve(linkings_to_do.size()); in RemoveLinkageSpecificInstructions() 599 imports.emplace(linking_entry.exported_symbol.id); in RemoveLinkageSpecificInstructions() 617 imports.find(inst->GetSingleWordOperand(0u)) != imports in RemoveLinkageSpecificInstructions() [all...] |
/third_party/libphonenumber/tools/java/java-build/src/com/google/i18n/phonenumbers/ |
H A D | BuildMetadataProtoFromXml.java | 346 private final SortedSet<String> imports; field in BuildMetadataProtoFromXml.ClassWriter 355 imports = new TreeSet<String>(); in ClassWriter() 362 imports.add(name); in addToImports() 378 if (!imports.isEmpty()) { in writeToFile() 379 for (String item : imports) { in writeToFile()
|
/third_party/node/test/wasi/ |
H A D | test-wasi-worker-terminate.js | 38 const imports = { wasi_snapshot_preview1: wasi.wasiImport }; 40 const instance = await WebAssembly.instantiate(module, imports);
|