/external/libchrome/base/strings/ |
D | char_traits_unittest.cc | 12 static_assert(CharTraits<char>::compare("abc", "def", 3) == -1, ""); in TEST() 13 static_assert(CharTraits<char>::compare("def", "def", 3) == 0, ""); in TEST() 14 static_assert(CharTraits<char>::compare("ghi", "def", 3) == 1, ""); in TEST() 18 static_assert(CharTraits<char>::length("") == 0, ""); in TEST() 19 static_assert(CharTraits<char>::length("abc") == 3, ""); in TEST() 23 static_assert(CharTraits<char16_t>::compare(u"abc", u"def", 3) == -1, ""); in TEST() 24 static_assert(CharTraits<char16_t>::compare(u"def", u"def", 3) == 0, ""); in TEST() 25 static_assert(CharTraits<char16_t>::compare(u"ghi", u"def", 3) == 1, ""); in TEST() 29 static_assert(CharTraits<char16_t>::length(u"abc") == 3, ""); in TEST()
|
D | char_traits.h | 21 struct CharTraits { struct 33 constexpr int CharTraits<T>::compare(const T* s1, in compare() 46 constexpr size_t CharTraits<T>::length(const T* s) noexcept { in length() 56 struct CharTraits<char> { 63 constexpr int CharTraits<char>::compare(const char* s1, 79 constexpr size_t CharTraits<char>::length(const char* s) noexcept {
|
D | string_piece.h | 185 : ptr_(str), length_(!str ? 0 : CharTraits<value_type>::length(str)) {} in BasicStringPiece() 253 int r = CharTraits<value_type>::compare( in compare() 300 (CharTraits<value_type>::compare(this->ptr_, x.ptr_, x.length_) == 0)); in starts_with() 306 (CharTraits<value_type>::compare( in ends_with() 398 const int r = CharTraits<StringPiece::value_type>::compare( 421 return CharTraits<StringPiece16::value_type>::compare(x.data(), y.data(), 430 const int r = CharTraits<StringPiece16::value_type>::compare(
|
D | string_util.cc | 731 using CharTraits = typename StringType::traits_type; in DoReplaceMatchesAfterOffset() typedef 756 CharTraits::copy(buffer + offset, replace_with.data(), replace_length); in DoReplaceMatchesAfterOffset() 846 CharTraits::copy(buffer + write_offset, replace_with.data(), in DoReplaceMatchesAfterOffset() 857 CharTraits::move(buffer + write_offset, buffer + read_offset, length); in DoReplaceMatchesAfterOffset()
|
D | string_piece.cc | 47 return CharTraits<StringPiece::value_type>::compare(x.data(), y.data(), in operator ==()
|
/external/protobuf/src/google/protobuf/io/ |
D | io_win32.cc | 80 struct CharTraits { struct 85 struct CharTraits<char> { struct 90 struct CharTraits<wchar_t> { struct 105 return CharTraits<char_type>::is_alpha(ch[0]) && ch[1] == ':'; in has_drive_letter()
|
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/test/ |
D | googletest-printers-test.cc | 711 template <typename Char, typename CharTraits> 712 std::basic_ostream<Char, CharTraits>& operator<<( in operator <<() 713 std::basic_ostream<Char, CharTraits>& os, in operator <<() 728 template <typename Char, typename CharTraits, typename T> 729 std::basic_ostream<Char, CharTraits>& operator<<( in operator <<() 730 std::basic_ostream<Char, CharTraits>& os, in operator <<() 749 template <typename Char, typename CharTraits, typename T> 750 std::basic_ostream<Char, CharTraits>& operator<<( in operator <<() 751 std::basic_ostream<Char, CharTraits>& os, in operator <<()
|
/external/googletest/googletest/test/ |
D | googletest-printers-test.cc | 943 template <typename Char, typename CharTraits> 944 std::basic_ostream<Char, CharTraits>& operator<<( 945 std::basic_ostream<Char, CharTraits>& os, 960 template <typename Char, typename CharTraits, typename T> 961 std::basic_ostream<Char, CharTraits>& operator<<( 962 std::basic_ostream<Char, CharTraits>& os, 981 template <typename Char, typename CharTraits, typename T> 982 std::basic_ostream<Char, CharTraits>& operator<<( 983 std::basic_ostream<Char, CharTraits>& os,
|
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/include/gtest/ |
D | gtest-printers.h | 230 template <typename Char, typename CharTraits, typename T> 231 ::std::basic_ostream<Char, CharTraits>& operator<<( 232 ::std::basic_ostream<Char, CharTraits>& os, const T& x) {
|
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/ |
D | gtest-printers.h | 230 template <typename Char, typename CharTraits, typename T> 231 ::std::basic_ostream<Char, CharTraits> &operator<<( 232 ::std::basic_ostream<Char, CharTraits> &os, const T &x) {
|
/external/mesa3d/src/gtest/include/gtest/ |
D | gtest-printers.h | 231 template <typename Char, typename CharTraits, typename T> 232 ::std::basic_ostream<Char, CharTraits>& operator<<( 233 ::std::basic_ostream<Char, CharTraits>& os, const T& x) {
|
/external/llvm/utils/unittest/googletest/include/gtest/ |
D | gtest-printers.h | 198 template <typename Char, typename CharTraits, typename T> 199 ::std::basic_ostream<Char, CharTraits>& operator<<( 200 ::std::basic_ostream<Char, CharTraits>& os, const T& x) {
|
/external/llvm-project/llvm/utils/unittest/googletest/include/gtest/ |
D | gtest-printers.h | 203 template <typename Char, typename CharTraits, typename T> 204 ::std::basic_ostream<Char, CharTraits>& operator<<( 205 ::std::basic_ostream<Char, CharTraits>& os, const T& x) {
|
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/ |
D | gtest-printers.h | 231 template <typename Char, typename CharTraits, typename T> 232 ::std::basic_ostream<Char, CharTraits>& operator<<( 233 ::std::basic_ostream<Char, CharTraits>& os, const T& x) {
|
/external/fmtlib/test/gtest/ |
D | gtest.h | 9393 template <typename Char, typename CharTraits, typename T> 9394 ::std::basic_ostream<Char, CharTraits>& operator<<( 9395 ::std::basic_ostream<Char, CharTraits>& os, const T& x) {
|
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/gmock-1.8.0/gtest/ |
D | gtest.h | 10261 template <typename Char, typename CharTraits, typename T> 10262 ::std::basic_ostream<Char, CharTraits>& operator<<( 10263 ::std::basic_ostream<Char, CharTraits>& os, const T& x) {
|