Searched refs:readFile (Results 1 – 11 of 11) sorted by relevance
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/nodeModulesAllowJsDynamicImportmodulenode16/ |
D | index.js | 23 const { readFile } = await import("fs"); 24 AssertType(readFile, "any");
|
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/nodeModulesAllowJsDynamicImportmodulenodenext/ |
D | index.js | 23 const { readFile } = await import("fs"); 24 AssertType(readFile, "any");
|
/arkcompiler/ets_frontend/arkguard/test/ut/utils/ |
D | FileUtils.spec.ts | 24 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/ |
D | TypeUtils.ts | 72 readFile: (name): string => { 73 return name === ast.fileName ? ast.text : host.readFile(name);
|
D | NameCacheUtil.ts | 33 const cacheString: string = FileUtils.readFile(filePath);
|
D | FileUtils.ts | 26 public static readFile(filePath: string): string | undefined { method in FileUtils
|
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/ |
D | snapshot.cpp | 158 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/ |
D | ArkObfuscator.ts | 298 let content: string = FileUtils.readFile(sourceFilePath);
|
/arkcompiler/ets_frontend/testTs/ |
D | test-case.patch | 7053 + 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/ |
D | index.js | 2 …readFile(s)}catch(t){return i&&i.push(e.createCompilerDiagnostic(e.Diagnostics.Unable_to_open_file… property
|
/arkcompiler/ets_frontend/es2panda/test/compiler/js/ |
D | cocos_worker_test.js | 2279 readFile(t, e, i) { 2301 a.readFile(t, "utf8", e); 2304 a.readFile(t, "", e); 2307 a.readFile(t, "utf8", ((i, s) => {
|