Home
last modified time | relevance | path

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

12

/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 …]
/external/cronet/tot/third_party/libc++/src/test/std/strings/string.view/string.view.comparison/
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 …]
Dcommon_type_specialization.pass.cpp30 struct std::char_traits<char_wrapper> { struct in std
41 return std::char_traits<char>::compare( in compare()
/external/cronet/stable/third_party/libc++/src/test/std/strings/string.view/string.view.comparison/
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 …]
Dcommon_type_specialization.pass.cpp30 struct std::char_traits<char_wrapper> { struct in std
41 return std::char_traits<char>::compare( in compare()
/external/cronet/tot/third_party/libc++/src/test/std/strings/basic.string/string.modifiers/string_insert/
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 …]
/external/cronet/stable/third_party/libc++/src/test/std/strings/basic.string/string.modifiers/string_insert/
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 …]
/external/pigweed/pw_string/public/pw_string/internal/
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
/external/cronet/stable/third_party/libc++/src/test/std/localization/locale.categories/category.numeric/locale.num.get/
Duser_defined_char_type.pass.cpp30 struct std::char_traits<Char> { struct in std
31 using char_type = Char;
32 using int_type = int;
33 using off_type = streamoff;
34 using pos_type = streampos;
35 using state_type = mbstate_t;
37 static void assign(char_type& a, const char_type& b) { a = b; } in assign()
38 static bool eq(char_type a, char_type b) { return a.underlying_ == b.underlying_; } in eq()
39 static bool lt(char_type a, char_type b) { return a.underlying_ < b.underlying_; } in lt()
41 static int compare(const char_type* s1, const char_type* s2, std::size_t n) { in compare()
[all …]
/external/cronet/tot/third_party/libc++/src/test/std/localization/locale.categories/category.numeric/locale.num.get/
Duser_defined_char_type.pass.cpp30 struct std::char_traits<Char> { struct in std
31 using char_type = Char;
32 using int_type = int;
33 using off_type = streamoff;
34 using pos_type = streampos;
35 using state_type = mbstate_t;
37 static void assign(char_type& a, const char_type& b) { a = b; } in assign()
38 static bool eq(char_type a, char_type b) { return a.underlying_ == b.underlying_; } in eq()
39 static bool lt(char_type a, char_type b) { return a.underlying_ < b.underlying_; } in lt()
41 static int compare(const char_type* s1, const char_type* s2, std::size_t n) { in compare()
[all …]
/external/cronet/stable/third_party/libc++/src/test/std/strings/basic.string/string.modifiers/string_append/
Dpush_back.pass.cpp27 struct std::char_traits<VeryLarge> { struct in std
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/tot/third_party/libc++/src/test/std/strings/basic.string/string.modifiers/string_append/
Dpush_back.pass.cpp27 struct std::char_traits<VeryLarge> { struct in std
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/tot/third_party/libc++/src/test/std/strings/string.view/string.view.hash/
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;
/external/cronet/stable/third_party/libc++/src/test/std/strings/basic.string.hash/
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;
/external/cronet/tot/third_party/libc++/src/test/std/strings/basic.string.hash/
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;
/external/cronet/stable/third_party/libc++/src/test/std/strings/string.view/string.view.hash/
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;
/external/cronet/stable/third_party/libc++/src/test/std/re/re.submatch/re.submatch.op/
Dcompare.pass.cpp299 struct char_traits : public constexpr_char_traits<CharT> { struct
300 using comparison_category = Ordering;
/external/cronet/tot/third_party/libc++/src/test/std/re/re.submatch/re.submatch.op/
Dcompare.pass.cpp299 struct char_traits : public constexpr_char_traits<CharT> { struct
300 using comparison_category = Ordering;
/external/cronet/stable/third_party/libc++/src/include/__fwd/
Dstring.h23 struct _LIBCPP_TEMPLATE_VIS char_traits; variable
/external/cronet/tot/third_party/libc++/src/include/__cxx03/__fwd/
Dstring.h23 struct _LIBCPP_TEMPLATE_VIS char_traits; variable
/external/cronet/stable/third_party/libc++/src/include/__cxx03/__fwd/
Dstring.h23 struct _LIBCPP_TEMPLATE_VIS char_traits; variable
/external/cronet/tot/third_party/libc++/src/include/__fwd/
Dstring.h23 struct _LIBCPP_TEMPLATE_VIS char_traits; variable
/external/pigweed/pw_minimal_cpp_stdlib/public/pw_minimal_cpp_stdlib/internal/
Dstring_view.h27 class char_traits; variable
/external/clang/test/CodeGenCXX/
Dmangle-subst-std.cpp39 template<typename> struct char_traits { }; struct
/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

12