Searched refs:BasicStringPiece (Results 1 – 9 of 9) 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 58 void CopyToStringT(const BasicStringPiece<STR>& self, STR* target) { in CopyToStringT() 74 void AppendToStringT(const BasicStringPiece<STR>& self, STR* target) { in AppendToStringT() 88 size_t copyT(const BasicStringPiece<STR>& self, in copyT() 106 size_t findT(const BasicStringPiece<STR>& self, in findT() 107 const BasicStringPiece<STR>& s, in findT() 110 return BasicStringPiece<STR>::npos; in findT() 112 typename BasicStringPiece<STR>::const_iterator result = in findT() 116 return xpos + s.size() <= self.size() ? xpos : BasicStringPiece<STR>::npos; in findT() [all …]
|
D | string_piece.h | 36 template <typename STRING_TYPE> class BasicStringPiece; variable 37 typedef BasicStringPiece<std::string> StringPiece; 38 typedef BasicStringPiece<string16> StringPiece16; 163 template <typename STRING_TYPE> class BasicStringPiece { 181 BasicStringPiece() : ptr_(NULL), length_(0) {} in BasicStringPiece() function 182 BasicStringPiece(const value_type* str) in BasicStringPiece() function 185 BasicStringPiece(const STRING_TYPE& str) in BasicStringPiece() function 187 BasicStringPiece(const value_type* offset, size_type len) in BasicStringPiece() function 189 BasicStringPiece(const typename STRING_TYPE::const_iterator& begin, in BasicStringPiece() function 238 int compare(const BasicStringPiece<STRING_TYPE>& x) const { in compare() [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_util.cc | 143 StringType ToLowerASCIIImpl(BasicStringPiece<StringType> str) { in ToLowerASCIIImpl() 152 StringType ToUpperASCIIImpl(BasicStringPiece<StringType> str) { in ToUpperASCIIImpl() 179 int CompareCaseInsensitiveASCIIT(BasicStringPiece<StringType> a, in CompareCaseInsensitiveASCIIT() 180 BasicStringPiece<StringType> b) { in CompareCaseInsensitiveASCIIT() 281 BasicStringPiece<Str> trim_chars, in TrimStringT() 288 BasicStringPiece<Str> input_piece(input); in TrimStringT() 328 BasicStringPiece<Str> TrimStringPieceT(BasicStringPiece<Str> input, in TrimStringPieceT() 329 BasicStringPiece<Str> trim_chars, in TrimStringPieceT() 548 static inline bool DoLowerCaseEqualsASCII(BasicStringPiece<Str> str, in DoLowerCaseEqualsASCII() 574 bool StartsWithT(BasicStringPiece<Str> str, in StartsWithT() [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()
|
/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 | 158 typedef BasicStringPiece<StringType> StringPieceType;
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/testing/ |
D | perf_report_output.txt | 1325 … ^[.] net::HttpResponseHeaders::FindHeader(unsigned long, base::BasicStringPiece<std::string> … 1327 …--- net::HttpResponseHeaders::FindHeader(unsigned long, base::BasicStringPiece<std::string> const&… 2056 … ^[.] net::HttpResponseHeaders::EnumerateHeader(void**, base::BasicStringPiece<std::string> … 2058 …--- net::HttpResponseHeaders::EnumerateHeader(void**, base::BasicStringPiece<std::string> const&, …
|