Home
last modified time | relevance | path

Searched refs:modulePath (Results 1 – 25 of 32) 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/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/typescript/src/compiler/
DmoduleSpecifiers.ts108modulePath => 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 …]
DohApi.ts120 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);
Dsys.ts1572 const modulePath = resolveJSModule(moduleName, baseDir, nodeSystem); constant
1573 return { module: require(modulePath), modulePath, error: undefined };
1576 return { module: undefined, modulePath: undefined, error };
Dtypes.ts6914 | { module: T, modulePath?: string, error: undefined }
6915 … | { module: undefined, modulePath?: undefined, error: { stack?: string, message?: string } };
/third_party/node/lib/internal/modules/esm/
Dtranslators.js272 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/
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.js8 const modulePath = path.join(wasmDir, 'exitcode.wasm'); constant
9 const buffer = fs.readFileSync(modulePath);
Dtest-wasi-stdio.js8 const modulePath = join(__dirname, 'wasm', 'stdin.wasm'); constant
9 const buffer = readFileSync(modulePath);
Dtest-wasi.js25 const modulePath = path.join(wasmDir, `${process.argv[3]}.wasm`); constant
26 const buffer = fs.readFileSync(modulePath);
Dtest-wasi-symlinks.js21 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/
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.js123 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/
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.ts388 …fork(modulePath: string, args: string[], options?: { execArgv: string[], env?: MapLike<string> }):…
/third_party/node/doc/api/
Dchild_process.md392 ### `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/
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/typescript/lib/
Dtypescript.d.ts5397 function isOHModules(modulePath: string): boolean;
5398 … function isOhpmAndOhModules(packageManagerType: string | undefined, modulePath: string): boolean;

12