Lines Matching defs:util
21 namespace ark::es2panda::util {
25 Path::Path(const util::StringView &absolutePath, ArenaAllocator *allocator)
34 path_ = util::UString(path, allocator).View();
39 absolutePath_ = util::UString(os::GetAbsolutePath(path_.Utf8()), allocator_).View();
55 util::StringView fileName = path_.Substr(position + 1, path_.Length());
103 basePath_ = util::UString(basePath.substr(0, basePath.length() - 1), allocator_).View();
105 basePath_ = util::UString(basePath, allocator_).View();
111 Path::Path(const util::StringView &relativePath, const util::StringView &basePath, ArenaAllocator *allocator)
138 const util::StringView &Path::GetPath() const
143 const util::StringView &Path::GetAbsolutePath() const
148 const util::StringView &Path::GetExtension() const
153 const util::StringView &Path::GetFileName() const
158 const util::StringView &Path::GetParentFolder() const
163 const util::StringView &Path::GetAbsoluteParentFolder() const
168 } // namespace ark::es2panda::util