/third_party/node/test/parallel/ |
D | test-module-multi-extensions.js | 23 const modulePath = path.join(tmpdir.path, 'test-extensions'); constant 24 require(modulePath); 34 const modulePath = path.join(tmpdir.path, 'test-extensions'); constant 35 require(modulePath); 37 () => require(`${modulePath}.foo`), 38 (err) => err.message.startsWith(`Cannot find module '${modulePath}.foo'`) 40 require(`${modulePath}.foo.bar`); 47 const modulePath = path.join(tmpdir.path, 'test-extensions'); constant 49 () => require(modulePath), 50 (err) => err.message.startsWith(`Cannot find module '${modulePath}'`) [all …]
|
D | test-child-process-fork-args.js | 24 invalidModulePath.forEach((modulePath) => { 25 assert.throws(() => fork(modulePath), {
|
/third_party/weex-loader/deps/weex-scripter/lib/ |
D | require-parse.js | 18 var modulePath = findModuleMain(path.resolve(pathBase, 'node_modules', searchPath)) 19 if (modulePath) { 20 return modulePath
|
/third_party/typescript/src/compiler/ |
D | moduleSpecifiers.ts | 108 …modulePath => tryGetModuleNameAsNodeModule(modulePath, info, importingSourceFile, host, compilerOp… 123 …return firstDefined(modulePaths, modulePath => tryGetModuleNameAsNodeModule(modulePath, info, impo… 221 const existingSpecifier = forEach(modulePaths, modulePath => forEach( 222 …host.getFileIncludeReasons().get(toPath(modulePath.path, host.getCurrentDirectory(), info.getCanon… 250 for (const modulePath of modulePaths) { constant 251 …const specifier = tryGetModuleNameAsNodeModule(modulePath, info, importingSourceFile, host, compil… 253 if (specifier && modulePath.isRedirect) { 259 if (!specifier && !modulePath.isRedirect) { 260 …const local = getLocalModuleSpecifier(modulePath.path, info, compilerOptions, host, options.overri… 264 else if (!importedFileIsInNodeModules || modulePath.isInNodeModules) { [all …]
|
D | ohApi.ts | 120 export function isOHModules(modulePath: string): boolean { 121 return modulePath.indexOf(ohModulesPathPart) >= 0; 124 …export function isOhpmAndOhModules(packageManagerType: string | undefined, modulePath: string): bo… 125 return isOhpm(packageManagerType) && isOHModules(modulePath);
|
D | sys.ts | 1572 const modulePath = resolveJSModule(moduleName, baseDir, nodeSystem); constant 1573 return { module: require(modulePath), modulePath, error: undefined }; 1576 return { module: undefined, modulePath: undefined, error };
|
D | types.ts | 6914 | { module: T, modulePath?: string, error: undefined } 6915 … | { module: undefined, modulePath?: undefined, error: { stack?: string, message?: string } };
|
/third_party/node/lib/internal/modules/esm/ |
D | translators.js | 272 let modulePath; 275 modulePath = isWindows ? 277 module = CJSModule._cache[modulePath]; 290 module = CJSModule._cache[modulePath]; 313 CJSModule._cache[modulePath] = module;
|
/third_party/node/test/wasi/ |
D | test-wasi-not-started.js | 15 const modulePath = path.join(__dirname, 'wasm', 'main_args.wasm'); constant 16 const buffer = fs.readFileSync(modulePath);
|
D | test-return-on-exit.js | 8 const modulePath = path.join(wasmDir, 'exitcode.wasm'); constant 9 const buffer = fs.readFileSync(modulePath);
|
D | test-wasi-stdio.js | 8 const modulePath = join(__dirname, 'wasm', 'stdin.wasm'); constant 9 const buffer = readFileSync(modulePath);
|
D | test-wasi.js | 25 const modulePath = path.join(wasmDir, `${process.argv[3]}.wasm`); constant 26 const buffer = fs.readFileSync(modulePath);
|
D | test-wasi-symlinks.js | 21 const modulePath = path.join(wasmDir, `${process.argv[3]}.wasm`); constant 22 const buffer = fs.readFileSync(modulePath);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | FunctionImport.cpp | 229 Summary->modulePath() != CallerModulePath) { in selectCallee() 306 RefSummary->modulePath() != Summary.modulePath(); in computeImportForReferencedGlobals() 311 (*ExportLists)[S->modulePath()].insert(VI); in computeImportForReferencedGlobals() 318 auto ILI = ImportList[RefSummary->modulePath()].insert(VI.getGUID()); in computeImportForReferencedGlobals() 450 Summary.modulePath(), Reason, VI.getGUID()); in computeImportForFunction() 484 auto ExportModulePath = ResolvedCalleeSummary->modulePath(); in computeImportForFunction() 772 if (Summary->modulePath() == ModulePath) in ComputeCrossModuleImportForModuleFromIndex() 775 ImportList[Summary->modulePath()].insert(GUID); in ComputeCrossModuleImportForModuleFromIndex()
|
D | WholeProgramDevirt.cpp | 722 if (!isExported(S->modulePath(), VI)) in updateIndexWPDForExports() 733 Summary.getModuleHash(S->modulePath())); in updateIndexWPDForExports() 920 IsExported |= S->modulePath() != FS->modulePath(); in AddCalls() 924 IsExported |= S->modulePath() != FS->modulePath(); in AddCalls() 1028 TheFn.name(), ExportSummary.getModuleHash(S->modulePath())); in trySingleImplDevirt()
|
/third_party/node/lib/ |
D | child_process.js | 123 function fork(modulePath, args = [], options) { argument 124 modulePath = getValidatedPath(modulePath, 'modulePath'); 158 args = [...execArgv, modulePath, ...args];
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | FunctionImportUtils.cpp | 206 if (FS->modulePath() == M.getModuleIdentifier()) { in processGlobalForThinLTO()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | ModuleSummaryIndex.h | 381 StringRef modulePath() const { return ModulePath; } 1207 return Summary->modulePath() == ModuleId; 1369 ModuleToDefinedGVSummaries[Summary->modulePath()][GUID] = Summary.get();
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/ |
D | LTO.cpp | 348 recordNewLinkage(S->modulePath(), VI.getGUID(), S->linkage()); in thinLTOResolvePrevailingGUID() 393 if (isExported(S->modulePath(), VI)) { in thinLTOInternalizeAndPromoteGUID() 1349 return ThinLTO.PrevailingModuleForGUID[GUID] == S->modulePath(); in runThinLTO()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | ModuleSummaryIndex.cpp | 83 if (Summary->modulePath() != ModulePath) in collectDefinedFunctionsForModule()
|
D | AsmWriter.cpp | 3093 Out << "(module: ^" << Machine.getModulePathSlot(Summary.modulePath()) in printSummary()
|
/third_party/typescript/src/tsserver/ |
D | nodeServer.ts | 388 …fork(modulePath: string, args: string[], options?: { execArgv: string[], env?: MapLike<string> }):…
|
/third_party/node/doc/api/ |
D | child_process.md | 392 ### `child_process.fork(modulePath[, args][, options])` 401 description: The `modulePath` parameter can be a WHATWG `URL` object using 437 * `modulePath` {string|URL} The module to run in the child.
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Writer/ |
D | BitcodeWriter.cpp | 4019 NameVals.push_back(Index.getModuleId(VS->modulePath())); in writeCombinedGlobalValueSummary() 4042 NameVals.push_back(Index.getModuleId(FS->modulePath())); in writeCombinedGlobalValueSummary() 4126 NameVals.push_back(Index.getModuleId(AS->modulePath())); in writeCombinedGlobalValueSummary()
|
/third_party/typescript/lib/ |
D | typescript.d.ts | 5397 function isOHModules(modulePath: string): boolean; 5398 … function isOhpmAndOhModules(packageManagerType: string | undefined, modulePath: string): boolean;
|