Lines Matching refs:value_
26 : value_(p.data(), p.size()) {
27 if (!EndsWithSlash(value_))
28 value_.push_back('/');
29 AssertValueSourceDirString(value_);
33 value_.swap(*s);
34 if (!EndsWithSlash(value_))
35 value_.push_back('/');
36 AssertValueSourceDirString(value_);
54 ret.value_.assign(p.data(), p.size());
55 NormalizePath(&ret.value_);
59 !MakeAbsolutePathRelativeIfPossible(source_root, p, &ret.value_)) {
64 ret.value_ = "/";
66 ret.value_.append(p.data(), p.size());
68 NormalizePath(&ret.value_);
72 ret.value_.reserve(value_.size() + p.size());
73 ret.value_.assign(value_);
74 ret.value_.append(p.data(), p.size());
76 NormalizePath(&ret.value_);
89 ret.value_.assign(p.data(), p.size());
90 if (!EndsWithSlash(ret.value_))
91 ret.value_.push_back('/');
92 NormalizePath(&ret.value_);
96 !MakeAbsolutePathRelativeIfPossible(source_root, p, &ret.value_)) {
99 ret.value_ = "/";
101 ret.value_.append(p.data(), p.size());
103 NormalizePath(&ret.value_);
104 if (!EndsWithSlash(ret.value_))
105 ret.value_.push_back('/');
109 ret.value_.reserve(value_.size() + p.size());
110 ret.value_.assign(value_);
111 ret.value_.append(p.data(), p.size());
113 NormalizePath(&ret.value_);
114 if (!EndsWithSlash(ret.value_))
115 ret.value_.push_back('/');
116 AssertValueSourceDirString(ret.value_);
127 if (value_.size() > 2 && value_[2] == ':') {
129 converted.assign(&value_[1], value_.size() - 1);
131 converted.assign(value_);
137 converted.assign(&value_[2], value_.size() - 2);
143 value_.swap(*v);
144 AssertValueSourceDirString(value_);