Home | History | Annotate | Download | only in strings

Lines Matching refs:StringPieceDetail

47 template <typename STRING_TYPE> class StringPieceDetail {
65 StringPieceDetail() : ptr_(NULL), length_(0) {}
66 StringPieceDetail(const value_type* str)
69 StringPieceDetail(const STRING_TYPE& str)
71 StringPieceDetail(const value_type* offset, size_type len)
73 StringPieceDetail(const typename STRING_TYPE::const_iterator& begin,
150 const typename StringPieceDetail<STRING_TYPE>::size_type
151 StringPieceDetail<STRING_TYPE>::npos =
152 typename StringPieceDetail<STRING_TYPE>::size_type(-1);
156 extern template class BASE_EXPORT StringPieceDetail<std::string>;
157 extern template class BASE_EXPORT StringPieceDetail<string16>;
162 BASE_EXPORT StringPieceDetail<std::string>::size_type copy(
165 StringPieceDetail<std::string>::size_type n,
166 StringPieceDetail<std::string>::size_type pos);
167 BASE_EXPORT StringPieceDetail<std::string>::size_type find(
170 StringPieceDetail<std::string>::size_type pos);
171 BASE_EXPORT StringPieceDetail<std::string>::size_type find(
174 StringPieceDetail<std::string>::size_type pos);
175 BASE_EXPORT StringPieceDetail<std::string>::size_type rfind(
178 StringPieceDetail<std::string>::size_type pos);
179 BASE_EXPORT StringPieceDetail<std::string>::size_type rfind(
182 StringPieceDetail<std::string>::size_type pos);
183 BASE_EXPORT StringPieceDetail<std::string>::size_type find_first_of(
186 StringPieceDetail<std::string>::size_type pos);
187 BASE_EXPORT StringPieceDetail<std::string>::size_type find_first_not_of(
190 StringPieceDetail<std::string>::size_type pos);
191 BASE_EXPORT StringPieceDetail<std::string>::size_type find_first_not_of(
194 StringPieceDetail<std::string>::size_type pos);
195 BASE_EXPORT StringPieceDetail<std::string>::size_type find_last_of(
198 StringPieceDetail<std::string>::size_type pos);
199 BASE_EXPORT StringPieceDetail<std::string>::size_type find_last_of(
202 StringPieceDetail<std::string>::size_type pos);
203 BASE_EXPORT StringPieceDetail<std::string>::size_type find_last_not_of(
206 StringPieceDetail<std::string>::size_type pos);
207 BASE_EXPORT StringPieceDetail<std::string>::size_type find_last_not_of(
210 StringPieceDetail<std::string>::size_type pos);
212 StringPieceDetail<std::string>::size_type pos,
213 StringPieceDetail<std::string>::size_type n);
219 public internal::StringPieceDetail<STRING_TYPE> {
221 typedef typename internal::StringPieceDetail<STRING_TYPE>::value_type
223 typedef typename internal::StringPieceDetail<STRING_TYPE>::size_type
228 : internal::StringPieceDetail<STRING_TYPE>(str) {}
230 : internal::StringPieceDetail<STRING_TYPE>(str) {}
232 : internal::StringPieceDetail<STRING_TYPE>(offset, len) {}
235 : internal::StringPieceDetail<STRING_TYPE>(begin, end) {}
241 public internal::StringPieceDetail<std::string> {
245 : internal::StringPieceDetail<std::string>(str) {}
247 : internal::StringPieceDetail<std::string>(str) {}
249 : internal::StringPieceDetail<std::string>(offset, len) {}
252 : internal::StringPieceDetail<std::string>(begin, end) {}
256 using internal::StringPieceDetail<std::string>::set;