Home
last modified time | relevance | path

Searched defs:char_traits (Results 1 – 24 of 24) sorted by relevance

/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/c++/v1/__string/
Dchar_traits.h83 …for a temporary period. It will be removed in LLVM 19, so please migrate off of it.") char_traits { struct
84 using char_type = _CharT;
85 using int_type = int;
86 using off_type = streamoff;
87 using pos_type = streampos;
88 using state_type = mbstate_t;
91 assign(char_type& __c1, const char_type& __c2) _NOEXCEPT { in assign()
94 … inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR bool eq(char_type __c1, char_type __c2) _NOEXCEPT { in eq()
97 … inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR bool lt(char_type __c1, char_type __c2) _NOEXCEPT { in lt()
102 compare(const char_type* __s1, const char_type* __s2, size_t __n) { in compare()
[all …]
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/strings/string.view/string.view.comparison/
H A Dcomparison.pass.cpp39 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 …]
H A Dcommon_type_specialization.pass.cpp30 struct std::char_traits<char_wrapper> { struct in std
41 return std::char_traits<char>::compare( in compare()
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/strings/basic.string/string.modifiers/string_insert/
H A Diter_iter_iter.infinite_recursion.pass.cpp29 struct std::char_traits<char_ascii> { struct in std
31 using int_type = typename std::char_traits<char>::int_type;
32 using off_type = typename std::char_traits<char>::off_type;
33 using pos_type = typename std::char_traits<char>::pos_type;
34 using state_type = typename std::char_traits<char>::state_type;
36 static void assign(char_type& r, char_type const& a) TEST_NOEXCEPT { r = a; } in assign()
38 static char_type* assign(char_type* p, std::size_t count, char_type a) { in assign()
43 static bool eq(char_type a, char_type b) TEST_NOEXCEPT { return a.char_ == b.char_; } in eq()
45 static bool lt(char_type a, char_type b) TEST_NOEXCEPT { return a.char_ < b.char_; } in lt()
47 static std::size_t length(char_type const* s) { in length()
[all …]
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/localization/locale.categories/category.numeric/locale.num.get/
H A Duser_defined_char_type.pass.cpp31 struct char_traits<Char> { struct
32 using char_type = Char;
33 using int_type = int;
34 using off_type = streamoff;
35 using pos_type = streampos;
36 using state_type = mbstate_t;
38 static void assign(char_type& a, const char_type& b) { a = b; } in assign()
39 static bool eq(char_type a, char_type b) { return a.underlying_ == b.underlying_; } in eq()
40 static bool lt(char_type a, char_type b) { return a.underlying_ < b.underlying_; } in lt()
42 static int compare(const char_type* s1, const char_type* s2, std::size_t n) { in compare()
[all …]
/aosp_15_r20/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/x86_64-linux/include/c++/4.8.3/bits/
Dchar_traits.h83 struct char_traits in _GLIBCXX_VISIBILITY() struct
85 typedef _CharT char_type; in _GLIBCXX_VISIBILITY()
86 typedef typename _Char_types<_CharT>::int_type int_type; in _GLIBCXX_VISIBILITY()
87 typedef typename _Char_types<_CharT>::pos_type pos_type; in _GLIBCXX_VISIBILITY()
88 typedef typename _Char_types<_CharT>::off_type off_type; in _GLIBCXX_VISIBILITY()
89 typedef typename _Char_types<_CharT>::state_type state_type; in _GLIBCXX_VISIBILITY()
92 assign(char_type& __c1, const char_type& __c2) in _GLIBCXX_VISIBILITY()
96 eq(const char_type& __c1, const char_type& __c2) in _GLIBCXX_VISIBILITY()
100 lt(const char_type& __c1, const char_type& __c2) in _GLIBCXX_VISIBILITY()
122 to_char_type(const int_type& __c) in _GLIBCXX_VISIBILITY()
[all …]
/aosp_15_r20/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/bits/
Dchar_traits.h83 struct char_traits in _GLIBCXX_VISIBILITY() struct
85 typedef _CharT char_type; in _GLIBCXX_VISIBILITY()
86 typedef typename _Char_types<_CharT>::int_type int_type; in _GLIBCXX_VISIBILITY()
87 typedef typename _Char_types<_CharT>::pos_type pos_type; in _GLIBCXX_VISIBILITY()
88 typedef typename _Char_types<_CharT>::off_type off_type; in _GLIBCXX_VISIBILITY()
89 typedef typename _Char_types<_CharT>::state_type state_type; in _GLIBCXX_VISIBILITY()
92 assign(char_type& __c1, const char_type& __c2) in _GLIBCXX_VISIBILITY()
96 eq(const char_type& __c1, const char_type& __c2) in _GLIBCXX_VISIBILITY()
100 lt(const char_type& __c1, const char_type& __c2) in _GLIBCXX_VISIBILITY()
122 to_char_type(const int_type& __c) in _GLIBCXX_VISIBILITY()
[all …]
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/spirit/include/boost/spirit/home/support/detail/lexer/
Dchar_traits.hpp17 struct char_traits struct
19 typedef CharT char_type;
20 typedef CharT index_type;
22 static index_type call (CharT ch) in call()
29 struct char_traits<char> struct
31 typedef char char_type;
32 typedef unsigned char index_type;
34 static index_type call (char ch) in call()
41 struct char_traits<wchar_t> struct
43 typedef wchar_t char_type;
[all …]
/aosp_15_r20/external/pigweed/pw_string/public/pw_string/internal/
H A Dstring_impl.h43 struct char_traits { struct
62 char_traits<T>::copy(dest, source, count); in move() argument
73 char_traits<T>::assign(dest[i], source[i]); in copy() argument
91 // Use std::char_traits for character types when it fully supports constexpr. argument
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/strings/basic.string/string.modifiers/string_append/
H A Dpush_back.pass.cpp28 struct char_traits<VeryLarge> { struct
29 using char_type = VeryLarge;
30 using int_type = int;
31 using off_type = streamoff;
32 using pos_type = streampos;
33 using state_type = mbstate_t;
35 static TEST_CONSTEXPR_CXX20 void assign(char_type& c1, const char_type& c2) { c1 = c2; } in assign()
43 static TEST_CONSTEXPR_CXX20 char_type* copy(char_type* s1, const char_type* s2, std::size_t n) { in copy()
47 static TEST_CONSTEXPR_CXX20 char_type* assign(char_type* s, std::size_t n, char_type a) { in assign()
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/strings/basic.string.hash/
H A Denabled_hashes.pass.cpp28 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;
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/strings/string.view/string.view.hash/
H A Denabled_hashes.pass.cpp28 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;
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/re/re.submatch/re.submatch.op/
H A Dcompare.pass.cpp299 struct char_traits : public constexpr_char_traits<CharT> { struct
300 using comparison_category = Ordering;
/aosp_15_r20/prebuilts/clang/host/linux-x86/embedded-sysroots/pigweed_riscv32_sysroot/include/c++/v1/__fwd/
Dstring.h23 struct _LIBCPP_TEMPLATE_VIS char_traits; variable
/aosp_15_r20/external/cronet/third_party/libc++/src/include/__fwd/
H A Dstring.h24 struct _LIBCPP_TEMPLATE_VIS char_traits; variable
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/c++/v1/__fwd/
Dstring.h23 struct _LIBCPP_TEMPLATE_VIS char_traits; variable
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/c++/v1/__fwd/
Dstring.h24 struct _LIBCPP_TEMPLATE_VIS char_traits; variable
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/c++/v1/__fwd/
Dstring.h23 struct _LIBCPP_TEMPLATE_VIS char_traits; variable
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/c++/v1/__fwd/
Dstring.h23 struct _LIBCPP_TEMPLATE_VIS char_traits; variable
/aosp_15_r20/external/pigweed/pw_minimal_cpp_stdlib/public/pw_minimal_cpp_stdlib/internal/
H A Dstring_view.h27 class char_traits; variable
/aosp_15_r20/external/clang/test/CodeGenCXX/
H A Dmangle-subst-std.cpp39 template<typename> struct char_traits { }; struct
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/align/include/boost/align/
Daligned_allocator_adaptor.hpp40 typedef typename traits::template rebind_traits<char> char_traits; typedef in boost::alignment::aligned_allocator_adaptor
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/regex/include/boost/regex/
Dconcepts.hpp79 template<> struct char_traits<boost::char_architype> struct
84 typedef boost::char_architype char_type;
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/range/include/boost/range/detail/
Dcollection_traits_detail.hpp375 typedef ::std::char_traits<char_type> char_traits; typedef