Home
last modified time | relevance | path

Searched refs:char_type (Results 1 – 25 of 90) sorted by relevance

1234

/external/libcxx/test/support/
Dconstexpr_char_traits.hpp21 typedef _CharT char_type; typedef
27 … static _LIBCPP_CONSTEXPR_AFTER_CXX11 void assign(char_type& __c1, const char_type& __c2) _NOEXCEPT in assign()
30 static _LIBCPP_CONSTEXPR bool eq(char_type __c1, char_type __c2) _NOEXCEPT in eq()
33 static _LIBCPP_CONSTEXPR bool lt(char_type __c1, char_type __c2) _NOEXCEPT in lt()
36 …LIBCPP_CONSTEXPR_AFTER_CXX11 int compare(const char_type* __s1, const char_type* __s2…
37 static _LIBCPP_CONSTEXPR_AFTER_CXX11 size_t length(const char_type* __s);
38 …static _LIBCPP_CONSTEXPR_AFTER_CXX11 const char_type* find(const char_type* __s, size_t __n, const…
39 …static _LIBCPP_CONSTEXPR_AFTER_CXX11 char_type* move(char_type* __s1, const char_type* __s2,…
40 …static _LIBCPP_CONSTEXPR_AFTER_CXX11 char_type* copy(char_type* __s1, const char_type* __s2,…
41 …static _LIBCPP_CONSTEXPR_AFTER_CXX11 char_type* assign(char_type* __s, size_t __n, char_type
[all …]
/external/libcxx/include/
D__locale196 typedef _CharT char_type;
197 typedef basic_string<char_type> string_type;
204 int compare(const char_type* __lo1, const char_type* __hi1,
205 const char_type* __lo2, const char_type* __hi2) const
211 string_type transform(const char_type* __lo, const char_type* __hi) const
217 long hash(const char_type* __lo, const char_type* __hi) const
226 virtual int do_compare(const char_type* __lo1, const char_type* __hi1,
227 const char_type* __lo2, const char_type* __hi2) const;
228 virtual string_type do_transform(const char_type* __lo, const char_type* __hi) const
230 virtual long do_hash(const char_type* __lo, const char_type* __hi) const;
[all …]
Dstreambuf25 typedef charT char_type;
38 basic_streambuf* pubsetbuf(char_type* s, streamsize n);
51 streamsize sgetn(char_type* s, streamsize n);
54 int_type sputbackc(char_type c);
58 int_type sputc(char_type c);
59 streamsize sputn(const char_type* s, streamsize n);
68 char_type* eback() const;
69 char_type* gptr() const;
70 char_type* egptr() const;
72 void setg(char_type* gbeg, char_type* gnext, char_type* gend);
[all …]
D__std_stream37 typedef _CharT char_type;
38 typedef char_traits<char_type> traits_type;
55 const codecvt<char_type, char, state_type>* __cv_;
82 __cv_ = &use_facet<codecvt<char_type, char, state_type> >(__loc);
126 char_type __1buf;
128 __1buf = static_cast<char_type>(__extbuf[0]);
132 char_type* __inxt;
158 __1buf = static_cast<char_type>(__extbuf[0]);
194 const char_type __ci = traits_type::to_char_type(__last_consumed_);
195 const char_type* __inxt;
[all …]
Dsstream22 typedef charT char_type;
31 explicit basic_stringbuf(const basic_string<char_type, traits_type, allocator_type>& str,
40 basic_string<char_type, traits_type, allocator_type> str() const;
41 void str(const basic_string<char_type, traits_type, allocator_type>& s);
48 virtual basic_streambuf<char_type, traits_type>* setbuf(char_type*, streamsize);
67 typedef charT char_type;
76 explicit basic_istringstream(const basic_string<char_type, traits_type,allocator_type>& str,
85 basic_stringbuf<char_type, traits_type, allocator_type>* rdbuf() const;
86 basic_string<char_type, traits_type, allocator_type> str() const;
87 void str(const basic_string<char_type, traits_type, allocator_type>& s);
[all …]
Distream23 typedef charT char_type;
30 explicit basic_istream(basic_streambuf<char_type, traits_type>* sb);
43 basic_istream& operator>>(basic_ios<char_type, traits_type>&
44 (*pf)(basic_ios<char_type, traits_type>&));
46 basic_istream& operator>>(basic_streambuf<char_type, traits_type>* sb);
64 basic_istream& get(char_type& c);
65 basic_istream& get(char_type* s, streamsize n);
66 basic_istream& get(char_type* s, streamsize n, char_type delim);
67 basic_istream& get(basic_streambuf<char_type,traits_type>& sb);
68 basic_istream& get(basic_streambuf<char_type,traits_type>& sb, char_type delim);
[all …]
Dfstream22 typedef charT char_type;
50 virtual basic_streambuf<char_type, traits_type>* setbuf(char_type* s, streamsize n);
71 typedef charT char_type;
85 basic_filebuf<char_type, traits_type>* rdbuf() const;
104 typedef charT char_type;
118 basic_filebuf<char_type, traits_type>* rdbuf() const;
137 typedef charT char_type;
151 basic_filebuf<char_type, traits_type>* rdbuf() const;
187 typedef _CharT char_type;
218 virtual basic_streambuf<char_type, traits_type>* setbuf(char_type* __s, streamsize __n);
[all …]
Dlocale710 typedef _CharT char_type;
1009 char_type __atoms[26];
1010 char_type __thousands_sep;
1059 char_type __atoms[26];
1060 char_type __thousands_sep;
1108 char_type __atoms[32];
1109 char_type __decimal_point;
1110 char_type __thousands_sep;
1161 char_type __atoms[26];
1162 char_type __thousands_sep = 0;
[all …]
Dostream23 typedef charT char_type;
30 explicit basic_ostream(basic_streambuf<char_type,traits>* sb);
59 basic_ostream& operator<<(basic_streambuf<char_type,traits>* sb);
62 basic_ostream& put(char_type c);
63 basic_ostream& write(const char_type* s, streamsize n);
156 typedef _CharT char_type;
163 explicit basic_ostream(basic_streambuf<char_type, traits_type>* __sb);
192 basic_ostream& operator<<(basic_ios<char_type, traits_type>&
193 (*__pf)(basic_ios<char_type,traits_type>&));
208 basic_ostream& operator<<(basic_streambuf<char_type, traits_type>* __sb);
[all …]
Dstring47 typedef charT char_type;
53 static void assign(char_type& c1, const char_type& c2) noexcept;
54 static constexpr bool eq(char_type c1, char_type c2) noexcept;
55 static constexpr bool lt(char_type c1, char_type c2) noexcept;
57 static int compare(const char_type* s1, const char_type* s2, size_t n);
58 static size_t length(const char_type* s);
59 static const char_type* find(const char_type* s, size_t n, const char_type& a);
60 static char_type* move(char_type* s1, const char_type* s2, size_t n);
61 static char_type* copy(char_type* s1, const char_type* s2, size_t n);
62 static char_type* assign(char_type* s, size_t n, char_type a);
[all …]
Dios116 typedef charT char_type;
148 char_type fill() const;
149 char_type fill(char_type ch);
153 char narrow(char_type c, char dfault) const;
154 char_type widen(char c) const;
576 typedef _CharT char_type;
600 explicit basic_ios(basic_streambuf<char_type,traits_type>* __sb);
605 basic_ostream<char_type, traits_type>* tie() const;
607 basic_ostream<char_type, traits_type>* tie(basic_ostream<char_type, traits_type>* __tiestr);
610 basic_streambuf<char_type, traits_type>* rdbuf() const;
[all …]
/external/libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/
Dpbackfail.pass.cpp24 typedef typename base::char_type char_type; typedef
28 char_type* eback() const {return base::eback();} in eback()
29 char_type* gptr() const {return base::gptr();} in gptr()
30 char_type* egptr() const {return base::egptr();} in egptr()
Dunderflow.pass.cpp26 typedef typename base::char_type char_type; typedef
29 char_type* eback() const {return base::eback();} in eback()
30 char_type* gptr() const {return base::gptr();} in gptr()
31 char_type* egptr() const {return base::egptr();} in egptr()
Doverflow.pass.cpp26 typedef typename base::char_type char_type; typedef
30 char_type* pbase() const {return base::pbase();} in pbase()
31 char_type* pptr() const {return base::pptr();} in pptr()
32 char_type* epptr() const {return base::epptr();} in epptr()
/external/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/
Dpbackfail.pass.cpp27 typedef base::char_type char_type; typedef
33 char_type* eback() const {return base::eback();} in eback()
34 char_type* gptr() const {return base::gptr();} in gptr()
35 char_type* egptr() const {return base::egptr();} in egptr()
Dunderflow.pass.cpp27 typedef base::char_type char_type; typedef
33 char_type* eback() const {return base::eback();} in eback()
34 char_type* gptr() const {return base::gptr();} in gptr()
35 char_type* egptr() const {return base::egptr();} in egptr()
Doverflow.pass.cpp27 typedef base::char_type char_type; typedef
33 char_type* pbase() const {return base::pbase();} in pbase()
34 char_type* pptr() const {return base::pptr();} in pptr()
35 char_type* epptr() const {return base::epptr();} in epptr()
/external/libcxx/test/std/experimental/string.view/string.view.hash/
Dstring_view.pass.cpp37 typedef typename T::value_type char_type; in test() typedef
38 char_type g1 [ 10 ]; in test()
39 char_type g2 [ 10 ]; in test()
/external/clang/test/SemaCXX/
Dcrashes.cpp212 typedef _CharT char_type; typedef
213 typedef basic_string<char_type, _Traits, _Alloc> __string_type;
214 __string_type str() const {__string_type((char_type*)0,(char_type*)0);} in str()
/external/compiler-rt/lib/msan/
Dmsan_interceptors.cc420 #define INTERCEPTOR_STRTO(ret_type, func, char_type) \ argument
421 INTERCEPTOR(ret_type, func, const char_type *nptr, char_type **endptr) { \
425 #define INTERCEPTOR_STRTO_BASE(ret_type, func, char_type) \ argument
426 INTERCEPTOR(ret_type, func, const char_type *nptr, char_type **endptr, \
431 #define INTERCEPTOR_STRTO_LOC(ret_type, func, char_type) \ argument
432 INTERCEPTOR(ret_type, func, const char_type *nptr, char_type **endptr, \
437 #define INTERCEPTOR_STRTO_BASE_LOC(ret_type, func, char_type) \ argument
438 INTERCEPTOR(ret_type, func, const char_type *nptr, char_type **endptr, \
443 #define INTERCEPTORS_STRTO(ret_type, func, char_type) \ argument
444 INTERCEPTOR_STRTO(ret_type, func, char_type) \
[all …]
/external/libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/
Dtypes.pass.cpp28 static_assert((std::is_same<std::num_get<char>::char_type, char>::value), ""); in main()
29 static_assert((std::is_same<std::num_get<wchar_t>::char_type, wchar_t>::value), ""); in main()
/external/libcxx/test/std/re/re.traits/
Dtypes.pass.cpp26 static_assert((std::is_same<std::regex_traits<char>::char_type, char>::value), ""); in main()
29 static_assert((std::is_same<std::regex_traits<wchar_t>::char_type, wchar_t>::value), ""); in main()
/external/libcxx/test/std/localization/locale.categories/category.time/locale.time.put/
Dtypes.pass.cpp28 static_assert((std::is_same<std::time_put<char>::char_type, char>::value), ""); in main()
29 static_assert((std::is_same<std::time_put<wchar_t>::char_type, wchar_t>::value), ""); in main()
/external/libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/
Dtypes.pass.cpp28 static_assert((std::is_same<std::num_put<char>::char_type, char>::value), ""); in main()
29 static_assert((std::is_same<std::num_put<wchar_t>::char_type, wchar_t>::value), ""); in main()
/external/libcxx/test/std/localization/locale.categories/category.time/locale.time.get/
Dtypes.pass.cpp37 static_assert((std::is_same<std::time_get<char>::char_type, char>::value), ""); in main()
38 static_assert((std::is_same<std::time_get<wchar_t>::char_type, wchar_t>::value), ""); in main()

1234