Lines Matching refs:value_
16 : value_(p.data(), p.size()) {
17 DCHECK(!value_.empty());
18 DCHECK(value_[0] == '/');
19 DCHECK(!EndsWithSlash(value_));
29 DCHECK(value_.find('/') != std::string::npos);
30 size_t last_slash = value_.rfind('/');
31 return std::string(&value_[last_slash + 1],
32 value_.size() - last_slash - 1);
39 DCHECK(value_.find('/') != std::string::npos);
40 size_t last_slash = value_.rfind('/');
41 return SourceDir(base::StringPiece(&value_[0], last_slash + 1));
50 if (value_.size() > 2 && value_[2] == ':') {
52 converted.assign(&value_[1], value_.size() - 1);
54 converted.assign(value_);
59 converted.assign(&value_[2], value_.size() - 2);