| /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/typescript/src/compiler/ |
| D | moduleSpecifiers.ts | 76 …modulePath => tryGetModuleNameAsExternalModule(modulePath, info, host, compilerOptions, /*packageN… 88 …return firstDefined(modulePaths, modulePath => tryGetModuleNameAsExternalModule(modulePath, info, … 109 const existingSpecifier = forEach(modulePaths, modulePath => forEach( 110 …host.getFileIncludeReasons().get(toPath(modulePath.path, host.getCurrentDirectory(), info.getCanon… 132 for (const modulePath of modulePaths) { constant 133 … const specifier = tryGetModuleNameAsExternalModule(modulePath, info, host, compilerOptions); 135 if (specifier && modulePath.isRedirect) { 141 if (!specifier && !modulePath.isRedirect) { 142 … const local = getLocalModuleSpecifier(modulePath.path, info, compilerOptions, host, preferences); 146 else if (!importedFileIsInNodeModules || modulePath.isInNodeModules) { [all …]
|
| D | sys.ts | 1316 const modulePath = resolveJSModule(moduleName, baseDir, nodeSystem); constant 1317 return { module: require(modulePath), modulePath, error: undefined }; 1320 return { module: undefined, modulePath: undefined, error };
|
| D | types.ts | 6148 | { module: T, modulePath?: string, error: undefined } 6149 … | { module: undefined, modulePath?: undefined, error: { stack?: string, message?: string } };
|
| /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/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 | 9 const modulePath = path.join(wasmDir, 'exitcode.wasm'); constant 10 const buffer = fs.readFileSync(modulePath);
|
| D | test-wasi-stdio.js | 9 const modulePath = join(__dirname, 'wasm', 'stdin.wasm'); constant 10 const buffer = readFileSync(modulePath);
|
| D | test-wasi.js | 26 const modulePath = path.join(wasmDir, `${process.argv[3]}.wasm`); constant 27 const buffer = fs.readFileSync(modulePath);
|
| D | test-wasi-symlinks.js | 22 const modulePath = path.join(wasmDir, `${process.argv[3]}.wasm`); constant 23 const buffer = fs.readFileSync(modulePath);
|
| /third_party/node/lib/internal/modules/esm/ |
| D | translators.js | 302 let modulePath; 305 modulePath = isWindows ? 307 module = CJSModule._cache[modulePath]; 325 module = CJSModule._cache[modulePath]; 348 CJSModule._cache[modulePath] = module;
|
| /third_party/node/test/es-module/ |
| D | test-esm-specifiers.mjs | 47 const modulePath = path.join( constant 57 [`${option}=node`, 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 | 100 function fork(modulePath /* , args, options */) { argument 101 validateString(modulePath, 'modulePath'); 136 args = execArgv.concat([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 | 478 …fork(modulePath: string, args: string[], options?: { execArgv: string[], env?: MapLike<string> }):…
|
| /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/node/doc/api/ |
| D | child_process.md | 381 ### `child_process.fork(modulePath[, args][, options])` 411 * `modulePath` {string} The module to run in the child.
|
| /third_party/typescript/lib/ |
| D | tsc.js | 4517 var modulePath = ts.resolveJSModule(moduleName, baseDir, nodeSystem); 4518 … return { module: require(modulePath), modulePath: modulePath, error: undefined }; 4521 return { module: undefined, modulePath: undefined, error: error }; 91932 …return ts.firstDefined(modulePaths, function (modulePath) { return tryGetModuleNameAsNodeModule(mo… argument 91938 …return ts.firstDefined(modulePaths, function (modulePath) { return tryGetModuleNameAsNodeModule(mo… argument 91949 …ts.forEach(modulePaths, function (modulePath) { return ts.forEach(host.getFileIncludeReasons().get… argument 91964 var modulePath = modulePaths_1[_i]; 91965 … var specifier = tryGetModuleNameAsNodeModule(modulePath, info, host, compilerOptions); 91967 if (specifier && modulePath.isRedirect) { 91970 if (!specifier && !modulePath.isRedirect) { [all …]
|