Lines Matching defs:basePath
100 void Path::InitializeBasePath(std::string basePath)
102 if (!basePath.empty() && basePath.back() == PATH_DELIMITER) {
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)
114 InitializeBasePath(basePath.Mutf8());
122 Path::Path(const std::string &relativePath, const std::string &basePath, ArenaAllocator *allocator)
125 InitializeBasePath(basePath);