Searched refs:BasicStringPiece (Results 1 – 10 of 10) sorted by relevance
/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/ |
D | examples.cpp | 218 template <typename STRING_TYPE> class BasicStringPiece; 219 template <> class BasicStringPiece<int> { }; class 220 extern template class BasicStringPiece<int>; 221 template class BasicStringPiece<int>; variable 225 template <typename STRING_TYPE> class BasicStringPiece; 226 template <> class BasicStringPiece<int> { }; class 227 …template class BasicStringPiece<int>; // expected-note {{explicit instantiation definition is her… variable 228 …extern template class BasicStringPiece<int>; // expected-error {{explicit instantiation declarati… 232 …template <typename STRING_TYPE> class BasicStringPiece; // expected-note {{template is declared h… 233 …template class BasicStringPiece<int>; // expected-error {{explicit instantiation of undefined tem… variable [all …]
|
/external/libchrome/base/strings/ |
D | string_piece.cc | 39 template class BasicStringPiece<std::string>; variable 40 template class BasicStringPiece<string16>; variable 59 void CopyToStringT(const BasicStringPiece<STR>& self, STR* target) { in CopyToStringT() 75 void AppendToStringT(const BasicStringPiece<STR>& self, STR* target) { in AppendToStringT() 89 size_t copyT(const BasicStringPiece<STR>& self, in copyT() 107 size_t findT(const BasicStringPiece<STR>& self, in findT() 108 const BasicStringPiece<STR>& s, in findT() 111 return BasicStringPiece<STR>::npos; in findT() 113 typename BasicStringPiece<STR>::const_iterator result = in findT() 117 return xpos + s.size() <= self.size() ? xpos : BasicStringPiece<STR>::npos; in findT() [all …]
|
D | string_piece.h | 161 template <typename STRING_TYPE> class BasicStringPiece { 179 constexpr BasicStringPiece() : ptr_(NULL), length_(0) {} in BasicStringPiece() function 184 constexpr BasicStringPiece(const value_type* str) in BasicStringPiece() function 186 BasicStringPiece(const STRING_TYPE& str) in BasicStringPiece() function 188 constexpr BasicStringPiece(const value_type* offset, size_type len) in BasicStringPiece() function 190 BasicStringPiece(const typename STRING_TYPE::const_iterator& begin, in BasicStringPiece() function 252 constexpr int compare(BasicStringPiece x) const noexcept { in compare() 297 constexpr bool starts_with(BasicStringPiece x) const noexcept { in starts_with() 304 constexpr bool ends_with(BasicStringPiece x) const noexcept { in ends_with() 312 size_type find(const BasicStringPiece<STRING_TYPE>& s, [all …]
|
D | string_piece_unittest.cc | 47 ASSERT_TRUE( (BasicStringPiece<TypeParam>((lhs.c_str())) op \ in TYPED_TEST() 48 BasicStringPiece<TypeParam>((rhs.c_str())))); \ in TYPED_TEST() 49 ASSERT_TRUE( (BasicStringPiece<TypeParam>((lhs.c_str())).compare( \ in TYPED_TEST() 50 BasicStringPiece<TypeParam>((rhs.c_str()))) op 0)); \ in TYPED_TEST() 57 ASSERT_FALSE( (BasicStringPiece<TypeParam>((lhs.c_str())) op \ in TYPED_TEST() 58 BasicStringPiece<TypeParam>((rhs.c_str())))); \ in TYPED_TEST() 59 ASSERT_FALSE( (BasicStringPiece<TypeParam>((lhs.c_str())).compare( \ in TYPED_TEST() 60 BasicStringPiece<TypeParam>((rhs.c_str()))) op 0)); \ in TYPED_TEST() 143 BasicStringPiece<TypeParam> a(alphabet); in TYPED_TEST() 144 BasicStringPiece<TypeParam> b(abc); in TYPED_TEST() [all …]
|
D | string_piece_forward.h | 17 class BasicStringPiece; variable 18 typedef BasicStringPiece<std::string> StringPiece; 19 typedef BasicStringPiece<string16> StringPiece16; 20 typedef BasicStringPiece<std::wstring> WStringPiece;
|
D | string_util.cc | 78 const BasicStringPiece<string_type>& source) { in AppendToString() 158 StringType ToLowerASCIIImpl(BasicStringPiece<StringType> str) { in ToLowerASCIIImpl() 167 StringType ToUpperASCIIImpl(BasicStringPiece<StringType> str) { in ToUpperASCIIImpl() 194 int CompareCaseInsensitiveASCIIT(BasicStringPiece<StringType> a, in CompareCaseInsensitiveASCIIT() 195 BasicStringPiece<StringType> b) { in CompareCaseInsensitiveASCIIT() 250 BasicStringPiece<StringType> find_any_of_these, 251 BasicStringPiece<StringType> replace_with, 283 BasicStringPiece<Str> trim_chars, in TrimStringT() 290 BasicStringPiece<Str> input_piece(input); in TrimStringT() 330 BasicStringPiece<Str> TrimStringPieceT(BasicStringPiece<Str> input, in TrimStringPieceT() [all …]
|
D | string_split.cc | 24 OutputType PieceToOutputType(BasicStringPiece<Str> piece) { in PieceToOutputType() 37 template<typename Str> BasicStringPiece<Str> WhitespaceForType(); 74 BasicStringPiece<Str> str, in SplitStringT() 86 BasicStringPiece<Str> piece; in SplitStringT() 134 void SplitStringUsingSubstrT(BasicStringPiece<Str> input, in SplitStringUsingSubstrT() 135 BasicStringPiece<Str> delimiter, in SplitStringUsingSubstrT() 139 using Piece = BasicStringPiece<Str>; in SplitStringUsingSubstrT()
|
D | string_tokenizer.h | 148 BasicStringPiece<str> token_piece() const { in token_piece() 149 return BasicStringPiece<str>(&*token_begin_, in token_piece()
|
/external/clang/test/CXX/temp/temp.spec/temp.explicit/ |
D | p3.cpp | 77 …template <typename STRING_TYPE> class BasicStringPiece; // expected-note {{template is declared h… 79 …extern template class BasicStringPiece<int>; // expected-error{{explicit instantiation of undefin… 80 template class BasicStringPiece<int>; variable
|
/external/libchrome/base/files/ |
D | file_path.h | 156 typedef BasicStringPiece<StringType> StringPieceType;
|