Home
last modified time | relevance | path

Searched refs:modulePath (Results 1 – 25 of 31) sorted by relevance

12

/third_party/node/test/parallel/
Dtest-module-multi-extensions.js23 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 …]
Dtest-child-process-fork-args.js24 invalidModulePath.forEach((modulePath) => {
25 assert.throws(() => fork(modulePath), {
/third_party/typescript/src/compiler/
DmoduleSpecifiers.ts76modulePath => 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 …]
Dsys.ts1316 const modulePath = resolveJSModule(moduleName, baseDir, nodeSystem); constant
1317 return { module: require(modulePath), modulePath, error: undefined };
1320 return { module: undefined, modulePath: undefined, error };
Dtypes.ts6148 | { module: T, modulePath?: string, error: undefined }
6149 … | { module: undefined, modulePath?: undefined, error: { stack?: string, message?: string } };
/third_party/weex-loader/deps/weex-scripter/lib/
Drequire-parse.js18 var modulePath = findModuleMain(path.resolve(pathBase, 'node_modules', searchPath))
19 if (modulePath) {
20 return modulePath
/third_party/node/test/wasi/
Dtest-wasi-not-started.js15 const modulePath = path.join(__dirname, 'wasm', 'main_args.wasm'); constant
16 const buffer = fs.readFileSync(modulePath);
Dtest-return-on-exit.js9 const modulePath = path.join(wasmDir, 'exitcode.wasm'); constant
10 const buffer = fs.readFileSync(modulePath);
Dtest-wasi-stdio.js9 const modulePath = join(__dirname, 'wasm', 'stdin.wasm'); constant
10 const buffer = readFileSync(modulePath);
Dtest-wasi.js26 const modulePath = path.join(wasmDir, `${process.argv[3]}.wasm`); constant
27 const buffer = fs.readFileSync(modulePath);
Dtest-wasi-symlinks.js22 const modulePath = path.join(wasmDir, `${process.argv[3]}.wasm`); constant
23 const buffer = fs.readFileSync(modulePath);
/third_party/node/lib/internal/modules/esm/
Dtranslators.js302 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/
Dtest-esm-specifiers.mjs47 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/
DFunctionImport.cpp229 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()
DWholeProgramDevirt.cpp722 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/
Dchild_process.js100 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/
DFunctionImportUtils.cpp206 if (FS->modulePath() == M.getModuleIdentifier()) { in processGlobalForThinLTO()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DModuleSummaryIndex.h381 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/
DLTO.cpp348 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/
DModuleSummaryIndex.cpp83 if (Summary->modulePath() != ModulePath) in collectDefinedFunctionsForModule()
DAsmWriter.cpp3093 Out << "(module: ^" << Machine.getModulePathSlot(Summary.modulePath()) in printSummary()
/third_party/typescript/src/tsserver/
DnodeServer.ts478 …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/
DBitcodeWriter.cpp4019 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/
Dchild_process.md381 ### `child_process.fork(modulePath[, args][, options])`
411 * `modulePath` {string} The module to run in the child.
/third_party/typescript/lib/
Dtsc.js4517 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 …]

12