Home
last modified time | relevance | path

Searched refs:getFileName (Results 1 – 4 of 4) sorted by relevance

/arkcompiler/ets_frontend/arkguard/src/utils/
DFileUtils.ts28 console.error(`File <${this.getFileName(filePath)} is not found.>`);
41 console.error(`File <${this.getFileName(filePath)} is not found.>`);
58 public static getFileName(filePath: string): string | undefined { method in FileUtils
82 let fileName: string = this.getFileName(filePath);
/arkcompiler/ets_frontend/arkguard/test/ut/utils/
DFileUtils.spec.ts54 assert.strictEqual(FileUtils.getFileName(path), undefined);
57 assert.strictEqual(FileUtils.getFileName(path), undefined);
62 assert.strictEqual(FileUtils.getFileName(path), 'user_profile.json');
67 assert.strictEqual(FileUtils.getFileName(path), 'user_profile.json');
72 assert.strictEqual(FileUtils.getFileName(path), 'user_profile.json');
/arkcompiler/ets_frontend/arkguard/src/
DArkObfuscator.ts149 console.error(`File ${FileUtils.getFileName(sourcePath)} is not found.`);
197 …const nameCachePath: string = path.join(outputDir, FileUtils.getFileName(sourceFile) + NAME_CACHE_…
218 …const nameCachePath: string = path.join(outputDir, FileUtils.getFileName(sourceFile) + NAME_CACHE_…
292 const fileName: string = FileUtils.getFileName(sourceFilePath);
303 … fs.writeFileSync(path.join(outputDir, FileUtils.getFileName(sourceFilePath)), mixedInfo.content);
305 fs.writeFileSync(path.join(outputDir, FileUtils.getFileName(sourceFilePath) + '.map'),
/arkcompiler/ets_frontend/arkguard/src/common/
DApiReader.ts72 console.error(`File ${FileUtils.getFileName(projectPath)} is not found.`);