Home
last modified time | relevance | path

Searched refs:sourceFilePath (Results 1 – 3 of 3) sorted by relevance

/arkcompiler/runtime_core/static_core/plugins/ets/tests/runtime/tooling/
Dtest_debug_info.cpp47 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/
DArkObfuscator.ts320 public async obfuscateFile(sourceFilePath: string, outputDir: string): Promise<void> {
321 const fileName: string = FileUtils.getFileName(sourceFilePath);
323 fs.copyFileSync(sourceFilePath, path.join(outputDir, fileName));
331 let content: string = FileUtils.readFile(sourceFilePath);
332 this.readNameCache(sourceFilePath, outputDir);
333 const mixedInfo: ObfuscationResultType = await this.obfuscate(content, sourceFilePath);
343 relativePath = sourceFilePath.replace(testCasesRootPath, '');
368 …public async obfuscate(content: SourceFile | string, sourceFilePath: string, previousStageSourceMa…
372 if (this.isObfsIgnoreFile(sourceFilePath)) {
378 ast = createSourceFile(sourceFilePath, content, ScriptTarget.ES2015, true);
[all …]
/arkcompiler/ets_frontend/ets2panda/parser/program/
Dprogram.h162 void SetSource(const util::StringView &sourceCode, const util::StringView &sourceFilePath, in SetSource() argument
166 sourceFilePath_ = util::Path(sourceFilePath, Allocator()); in SetSource()
168 … absoluteName_ = util::UString(os::GetAbsolutePath(sourceFilePath.Utf8()), Allocator()).View(); in SetSource()