Searched defs:char_traits (Results 1 – 9 of 9) sorted by relevance
/external/cronet/buildtools/third_party/libc++/trunk/include/__string/ |
D | char_traits.h | 80 char_traits struct 82 using char_type = _CharT; 83 using int_type = int; 84 using off_type = streamoff; 85 using pos_type = streampos; 86 using state_type = mbstate_t; 89 assign(char_type& __c1, const char_type& __c2) _NOEXCEPT {__c1 = __c2;} in assign() 90 …ic inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR bool eq(char_type __c1, char_type __c2) _NOEXCEPT in eq() 92 …ic inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR bool lt(char_type __c1, char_type __c2) _NOEXCEPT in lt() 96 int compare(const char_type* __s1, const char_type* __s2, size_t __n) { in compare() [all …]
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/strings/string.view/string.view.comparison/ |
D | comparison.pass.cpp | 39 struct char_traits { struct 40 using char_type = CharT; 41 using int_type = int; 42 using off_type = std::streamoff; 43 using pos_type = std::streampos; 44 using state_type = std::mbstate_t; 45 using comparison_category = Ordering; 47 static constexpr void assign(char_type& __c1, const char_type& __c2) noexcept { __c1 = __c2; } in assign() 48 static constexpr bool eq(char_type __c1, char_type __c2) noexcept { return __c1 == __c2; } in eq() 49 static constexpr bool lt(char_type __c1, char_type __c2) noexcept { return __c1 < __c2; } in lt() [all …]
|
D | common_type_specialization.pass.cpp | 30 struct std::char_traits<char_wrapper> { struct in std 41 return std::char_traits<char>::compare( in compare()
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/strings/basic.string/string.modifiers/string_insert/ |
D | iter_iter_iter.infinite_recursion.pass.cpp | 30 struct std::char_traits<char_ascii> { struct in std 32 using int_type = typename std::char_traits<char>::int_type; 33 using off_type = typename std::char_traits<char>::off_type; 34 using pos_type = typename std::char_traits<char>::pos_type; 35 using state_type = typename std::char_traits<char>::state_type; 37 static void assign(char_type& r, char_type const& a) TEST_NOEXCEPT { in assign() 41 static char_type* assign(char_type* p, std::size_t count, char_type a) { in assign() 46 static bool eq(char_type a, char_type b) TEST_NOEXCEPT { in eq() 50 static bool lt(char_type a, char_type b) TEST_NOEXCEPT { in lt() 54 static std::size_t length(char_type const* s) { in length() [all …]
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/strings/basic.string/string.modifiers/string_append/ |
D | push_back.pass.cpp | 27 struct char_traits<VeryLarge> { struct 28 using char_type = VeryLarge; 29 using int_type = int; 30 using off_type = streamoff; 31 using pos_type = streampos; 32 using state_type = mbstate_t; 34 static TEST_CONSTEXPR_CXX20 void assign(char_type& c1, const char_type& c2) { c1 = c2; } in assign() 42 static TEST_CONSTEXPR_CXX20 char_type* copy(char_type* s1, const char_type* s2, std::size_t n) { in copy() 46 static TEST_CONSTEXPR_CXX20 char_type* assign(char_type* s, std::size_t n, char_type a) { in assign()
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/strings/basic.string.hash/ |
D | enabled_hashes.pass.cpp | 28 struct std::char_traits<MyChar> { struct in std 30 using int_type = std::char_traits<char>::int_type; 31 using off_type = std::char_traits<char>::off_type; 32 using pos_type = std::char_traits<char>::pos_type; 33 using state_type = std::char_traits<char>::state_type;
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/strings/string.view/string.view.hash/ |
D | enabled_hashes.pass.cpp | 28 struct std::char_traits<MyChar> { struct in std 30 using int_type = std::char_traits<char>::int_type; 31 using off_type = std::char_traits<char>::off_type; 32 using pos_type = std::char_traits<char>::pos_type; 33 using state_type = std::char_traits<char>::state_type;
|
/external/cronet/buildtools/third_party/libc++/trunk/include/__fwd/ |
D | string.h | 22 struct _LIBCPP_TEMPLATE_VIS char_traits; variable
|
/external/clang/test/CodeGenCXX/ |
D | mangle-subst-std.cpp | 39 template<typename> struct char_traits { }; struct
|