Searched refs:sourceFilePath (Results 1 – 5 of 5) sorted by relevance
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/runtime/tooling/ |
| D | test_debug_info.cpp | 47 auto sourceFilePath = extractor.GetSourceFile(methods[0]); in TEST_F() local 48 ASSERT_TRUE(os::IsFileExists(sourceFilePath)); in TEST_F() 49 ASSERT_TRUE(os::GetAbsolutePath(sourceFilePath) == sourceFilePath); in TEST_F()
|
| /arkcompiler/ets_frontend/arkguard/src/ |
| D | ArkObfuscatorForTest.ts | 149 public async obfuscateFile(sourceFilePath: string, outputDir: string): Promise<void> { 150 const fileName: string = FileUtils.getFileName(sourceFilePath); 152 fs.copyFileSync(sourceFilePath, path.join(outputDir, fileName)); 156 const test262Filename = this.getPathAfterTest262SecondLevel(sourceFilePath); 168 let content: string = FileUtils.readFile(sourceFilePath); 169 this.readNameCache(sourceFilePath, outputDir); 170 performancePrinter?.filesPrinter?.startEvent(sourceFilePath); 171 const mixedInfo: ObfuscationResultType = await this.obfuscate(content, sourceFilePath); 172 performancePrinter?.filesPrinter?.endEvent(sourceFilePath, undefined, true); 176 fs.writeFileSync(sourceFilePath, mixedInfo.content); [all …]
|
| D | ArkObfuscator.ts | 359 sourceFilePath: string, 367 if (this.isObfsIgnoreFile(sourceFilePath)) { 372 let ast: SourceFile = this.createAst(content, sourceFilePath); 390 …this.writeObfuscationResult(ast, sourceFilePath, result, previousStageSourceMap, originalFilePath); 396 private createAst(content: SourceFile | string, sourceFilePath: string): SourceFile { 397 …leFilePrinter?.startEvent(EventList.CREATE_AST, performancePrinter.timeSumPrinter, sourceFilePath); 400 ast = TypeUtils.createObfSourceFile(sourceFilePath, content); 442 …private writeObfuscationResult(ast: SourceFile, sourceFilePath: string, result: ObfuscationResultT… 447 sourceMapGenerator = getSourceMapGenerator(sourceFilePath); 450 if (sourceFilePath.endsWith('.js')) { [all …]
|
| /arkcompiler/ets_frontend/arkguard/src/utils/ |
| D | TypeUtils.ts | 40 public static createObfSourceFile(sourceFilePath: string, content: string): SourceFile { 41 const pathOrExtension: PathAndExtension = FileUtils.getFileSuffix(sourceFilePath); 45 sourceFilePath = pathOrExtension.path + Extension.TS; 48 return createSourceFile(sourceFilePath, content, ScriptTarget.ES2015, true);
|
| /arkcompiler/ets_frontend/ets2panda/parser/program/ |
| D | program.h | 172 void SetSource(const util::StringView &sourceCode, const util::StringView &sourceFilePath, in SetSource() argument 176 sourceFile_ = util::Path(sourceFilePath, Allocator()); in SetSource()
|