Home
last modified time | relevance | path

Searched refs:readFile (Results 1 – 11 of 11) sorted by relevance

/arkcompiler/ets_runtime/test/typeinfer/automatedcases/nodeModulesAllowJsDynamicImportmodulenode16/
Dindex.js23 const { readFile } = await import("fs");
24 AssertType(readFile, "any");
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/nodeModulesAllowJsDynamicImportmodulenodenext/
Dindex.js23 const { readFile } = await import("fs");
24 AssertType(readFile, "any");
/arkcompiler/ets_frontend/arkguard/test/ut/utils/
DFileUtils.spec.ts24 assert.strictEqual(FileUtils.readFile(path), undefined);
29 assert.strictEqual(FileUtils.readFile(path), 'hello world!');
110 const fileContent = FileUtils.readFile(path);
/arkcompiler/ets_frontend/arkguard/src/utils/
DTypeUtils.ts72 readFile: (name): string => {
73 return name === ast.fileName ? ast.text : host.readFile(name);
DNameCacheUtil.ts33 const cacheString: string = FileUtils.readFile(filePath);
DFileUtils.ts26 public static readFile(filePath: string): string | undefined { method in FileUtils
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
Dsnapshot.cpp158 auto readFile = ToUintPtr(fileMap.GetOriginAddr()); in Deserialize() local
159 auto hdr = *ToNativePtr<const SnapShotHeader>(readFile); in Deserialize()
165 uintptr_t oldSpaceBegin = readFile + sizeof(SnapShotHeader); in Deserialize()
176 uintptr_t pandaFileMem = readFile + hdr.pandaFileBegin; in Deserialize()
/arkcompiler/ets_frontend/arkguard/src/
DArkObfuscator.ts298 let content: string = FileUtils.readFile(sourceFilePath);
/arkcompiler/ets_frontend/testTs/
Dtest-case.patch7053 + const { readFile } = await import("fs");
7058 + const { readFile } = await import("fs");
7162 +fs.readFile;
7167 +fs.readFile;
7174 +fs.readFile;
7204 +_fs.readFile;
7206 +fs.readFile;
7210 +_fs.readFile;
7212 +fs.readFile;
8425 + const { readFile } = await import("fs");
[all …]
/arkcompiler/ets_frontend/legacy_bin/api8/src/
Dindex.js2readFile(s)}catch(t){return i&&i.push(e.createCompilerDiagnostic(e.Diagnostics.Unable_to_open_file… property
/arkcompiler/ets_frontend/es2panda/test/compiler/js/
Dcocos_worker_test.js2279 readFile(t, e, i) {
2301 a.readFile(t, "utf8", e);
2304 a.readFile(t, "", e);
2307 a.readFile(t, "utf8", ((i, s) => {