Lines Matching refs:prefix
25 std::optional<std::string> StripPrefix(const std::string& str, const std::string& prefix)
27 if (str.compare(0, prefix.length(), prefix) == 0) {
28 auto p_path = str.substr(prefix.length());
35 Entry::Entry(std::string prefix, std::string path)
37 this->prefix = prefix + Base::GetPathSep();
92 auto name = this->prefix + this->header.Name();
98 if (!this->prefix.empty()) {
99 auto p_path = Hdc::StripPrefix(name, this->prefix);