Searched refs:resolvedPath (Results 1 - 12 of 12) sorted by relevance
/arkcompiler/ets_frontend/ets2panda/util/ |
H A D | importPathManager.cpp | 53 auto resolvedPath = UString(currentDirectory, allocator_); in ResolvePath() local 54 resolvedPath.Append(pathDelimiter_); in ResolvePath() 55 resolvedPath.Append(importPath.Mutf8()); in ResolvePath() 57 return AppendExtensionOrIndexFileIfOmitted(resolvedPath.View()); in ResolvePath() 80 auto resolvedPath = arktsConfig_->ResolvePath(importPath.Mutf8()); in ResolvePath() local 81 if (!resolvedPath) { in ResolvePath() 86 return AppendExtensionOrIndexFileIfOmitted(UString(resolvedPath.value(), allocator_).View()); in ResolvePath() 127 void ImportPathManager::AddToParseList(const StringView &resolvedPath, const ImportFlags importFlags) in AddToParseList() argument 131 const auto parseInfo = ParseInfo {resolvedPath, false, isImplicitPackageImport}; in AddToParseList() 133 if (ark::os::file::File::IsDirectory(resolvedPath in AddToParseList() [all...] |
H A D | arktsconfig.cpp | 140 auto resolvedPath = MakeAbsolute(relPath, base); in ResolveConfigLocation() local 142 while (!fs::exists(resolvedPath)) { in ResolveConfigLocation() 143 resolvedPath = MakeAbsolute(relPath, JoinPaths(newBase, "node_modules")); in ResolveConfigLocation() 149 return resolvedPath; in ResolveConfigLocation()
|
H A D | importPathManager.h | 71 void AddToParseList(const StringView &resolvedPath, ImportFlags importFlags);
|
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/ |
H A D | file_stream.cpp | 72 char resolvedPath[PATH_MAX] = {0}; in FilePathValid() local 73 auto result = realpath(fileName.c_str(), resolvedPath); in FilePathValid() 74 if (result == resolvedPath || errno == ENOENT) { in FilePathValid() 75 return std::make_pair(true, std::string(resolvedPath)); in FilePathValid()
|
/arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/ |
H A D | filesystem.cpp | 27 std::array<char, PATH_MAX> resolvedPath; in GetAbsolutePath() local 28 auto res = realpath(path.data(), resolvedPath.data()); in GetAbsolutePath()
|
/arkcompiler/ets_runtime/ecmascript/extractortool/src/ |
H A D | file_path_utils.cpp | 30 char* realpath(const char* path, char* resolvedPath) in realpath() argument 35 if (strcpy_s(resolvedPath, PATH_MAX, path) != 0) { in realpath() 38 return resolvedPath; in realpath() 416 char resolvedPath[PATH_MAX + 1] = { 0 }; in MakeFilePath() local 417 if (realpath(path.c_str(), resolvedPath) != nullptr) { in MakeFilePath() 418 fileName = resolvedPath; in MakeFilePath() 435 if (realpath(path.c_str(), resolvedPath) == nullptr) { in MakeFilePath() 439 fileName = resolvedPath; in MakeFilePath()
|
/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/ |
H A D | cpu_profiler.cpp | 529 CVector<char> resolvedPath(PATH_MAX); in CheckFileName() 530 auto result = realpath(fileName.c_str(), resolvedPath.data()); in CheckFileName() 535 std::ofstream file(resolvedPath.data()); in CheckFileName() 541 absoluteFilePath = resolvedPath.data(); in CheckFileName()
|
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/topLevelStmts/ |
H A D | importExportDecls.cpp | 40 bool ImportExportDecls::MatchResolvedPathWithProgram(std::string_view resolvedPath, parser::Program *prog) in MatchResolvedPathWithProgram() argument 48 if (prog->AbsoluteName().Is(resolvedPath)) { in MatchResolvedPathWithProgram() 51 if (prog->IsPackageModule() && prog->SourceFileFolder().Is(resolvedPath)) { in MatchResolvedPathWithProgram()
|
H A D | importExportDecls.h | 73 bool MatchResolvedPathWithProgram(std::string_view resolvedPath, parser::Program *prog);
|
/arkcompiler/ets_frontend/ets2panda/ |
H A D | es2panda.cpp | 55 : filePath(fn), fileFolder(DirName(fn)), source(s), resolvedPath(DirName(rp)), isModule(m) in SourceFile()
|
H A D | es2panda.h | 91 std::string_view resolvedPath {};
|
/arkcompiler/ets_frontend/ets2panda/parser/program/ |
H A D | program.h | 198 resolvedFilePath_ = util::UString(sourceFile.resolvedPath, Allocator()).View(); in SetSource()
|
Completed in 8 milliseconds