Home
last modified time | relevance | path

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

1234

/external/libcxx/test/support/
Dconstexpr_char_traits.hpp22 typedef _CharT char_type; typedef
28 static TEST_CONSTEXPR_CXX14 void assign(char_type& __c1, const char_type& __c2) TEST_NOEXCEPT in assign()
31 static TEST_CONSTEXPR bool eq(char_type __c1, char_type __c2) TEST_NOEXCEPT in eq()
34 static TEST_CONSTEXPR bool lt(char_type __c1, char_type __c2) TEST_NOEXCEPT in lt()
37 …static TEST_CONSTEXPR_CXX14 int compare(const char_type* __s1, const char_type* __s2,…
38 static TEST_CONSTEXPR_CXX14 size_t length(const char_type* __s);
39 …static TEST_CONSTEXPR_CXX14 const char_type* find(const char_type* __s, size_t __n, const char_typ…
40 …static TEST_CONSTEXPR_CXX14 char_type* move(char_type* __s1, const char_type* __s2, size_t _…
41 …static TEST_CONSTEXPR_CXX14 char_type* copy(char_type* __s1, const char_type* __s2, size_t _…
42 static TEST_CONSTEXPR_CXX14 char_type* assign(char_type* __s, size_t __n, char_type __a);
[all …]
/external/libcxx/include/
D__string23 typedef charT char_type;
29 static constexpr void assign(char_type& c1, const char_type& c2) noexcept;
30 static constexpr bool eq(char_type c1, char_type c2) noexcept;
31 static constexpr bool lt(char_type c1, char_type c2) noexcept;
33 static constexpr int compare(const char_type* s1, const char_type* s2, size_t n);
34 static constexpr size_t length(const char_type* s);
35 static constexpr const char_type*
36 find(const char_type* s, size_t n, const char_type& a);
37 static char_type* move(char_type* s1, const char_type* s2, size_t n);
38 static char_type* copy(char_type* s1, const char_type* s2, size_t n);
[all …]
D__locale244 typedef _CharT char_type;
245 typedef basic_string<char_type> string_type;
252 int compare(const char_type* __lo1, const char_type* __hi1,
253 const char_type* __lo2, const char_type* __hi2) const
259 string_type transform(const char_type* __lo, const char_type* __hi) const
265 long hash(const char_type* __lo, const char_type* __hi) const
274 virtual int do_compare(const char_type* __lo1, const char_type* __hi1,
275 const char_type* __lo2, const char_type* __hi2) const;
276 virtual string_type do_transform(const char_type* __lo, const char_type* __hi) const
278 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 …]
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 …]
D__std_stream39 typedef _CharT char_type;
40 typedef char_traits<char_type> traits_type;
57 const codecvt<char_type, char, state_type>* __cv_;
84 __cv_ = &use_facet<codecvt<char_type, char, state_type> >(__loc);
128 char_type __1buf;
130 __1buf = static_cast<char_type>(__extbuf[0]);
134 char_type* __inxt;
160 __1buf = static_cast<char_type>(__extbuf[0]);
196 const char_type __ci = traits_type::to_char_type(__last_consumed_);
197 const char_type* __inxt;
[all …]
Dlocale574 typedef _CharT char_type;
900 char_type __thousands_sep;
903 char_type __atoms1[__atoms_size];
904 const char_type *__atoms = this->__do_widen(__iob, __atoms1);
907 char_type __atoms[__atoms_size];
957 char_type __thousands_sep;
960 char_type __atoms1[__atoms_size];
961 const char_type *__atoms = this->__do_widen(__iob, __atoms1);
964 char_type __atoms[__atoms_size];
1013 char_type __atoms[32];
[all …]
Dfstream22 typedef charT char_type;
51 virtual basic_streambuf<char_type, traits_type>* setbuf(char_type* s, streamsize n);
72 typedef charT char_type;
88 basic_filebuf<char_type, traits_type>* rdbuf() const;
109 typedef charT char_type;
125 basic_filebuf<char_type, traits_type>* rdbuf() const;
147 typedef charT char_type;
163 basic_filebuf<char_type, traits_type>* rdbuf() const;
206 typedef _CharT char_type;
258 virtual basic_streambuf<char_type, traits_type>* setbuf(char_type* __s, streamsize __n);
[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 …]
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);
157 typedef _CharT char_type;
165 explicit basic_ostream(basic_streambuf<char_type, traits_type>* __sb)
179 { basic_ios<char_type, traits_type>::swap(__rhs); }
199 basic_ostream& operator<<(basic_ios<char_type, traits_type>&
200 (*__pf)(basic_ios<char_type,traits_type>&))
[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;
588 typedef _CharT char_type;
595 static_assert((is_same<_CharT, typename traits_type::char_type>::value),
596 "traits_type::char_type must be the same type as CharT");
625 explicit basic_ios(basic_streambuf<char_type,traits_type>* __sb);
630 basic_ostream<char_type, traits_type>* tie() const;
[all …]
/external/libchrome/base/strings/
Dstring16.h72 typedef char16 char_type; typedef
77 static_assert(sizeof(int_type) > sizeof(char_type),
84 static void assign(char_type& c1, const char_type& c2) { in assign()
88 static bool eq(const char_type& c1, const char_type& c2) { in eq()
91 static bool lt(const char_type& c1, const char_type& c2) { in lt()
95 static int compare(const char_type* s1, const char_type* s2, size_t n) { in compare()
99 static size_t length(const char_type* s) { in length()
103 static const char_type* find(const char_type* s, size_t n, in find()
104 const char_type& a) { in find()
108 static char_type* move(char_type* s1, const char_type* s2, size_t n) { in move()
[all …]
Dstring_tokenizer.h86 typedef typename str::value_type char_type; typedef
207 bool IsDelim(char_type c) const { in IsDelim()
211 bool IsQuote(char_type c) const { in IsQuote()
218 char_type quote_char;
223 bool AdvanceOne(AdvanceState* state, char_type c) { in AdvanceOne()
/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/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.cpp29 typedef typename base::char_type char_type; typedef
32 char_type* eback() const {return base::eback();} in eback()
33 char_type* gptr() const {return base::gptr();} in gptr()
34 char_type* egptr() const {return base::egptr();} in egptr()
Doverflow.pass.cpp28 typedef typename base::char_type char_type; typedef
32 char_type* pbase() const {return base::pbase();} in pbase()
33 char_type* pptr() const {return base::pptr();} in pptr()
34 char_type* epptr() const {return base::epptr();} in epptr()
/external/libcxx/test/std/strings/string.view/string.view.hash/
Dstring_view.pass.cpp38 typedef typename SV::value_type char_type; in test() typedef
39 typedef std::basic_string<char_type> String; in test()
43 char_type g1 [ 10 ]; in test()
44 char_type g2 [ 10 ]; in test()
46 g1[i] = g2[9-i] = static_cast<char_type>('0' + i); in test()
/external/libcxx/test/std/re/re.traits/
Dlookup_classname.pass.cpp24 template <class char_type>
26 test(const char_type* A, in test()
27 typename std::regex_traits<char_type>::char_class_type expected, in test()
30 typedef typename std::regex_traits<char_type>::char_class_type char_class_type; in test()
31 std::regex_traits<char_type> t; in test()
32 typedef forward_iterator<const char_type*> F; in test()
37 template <class char_type>
39 test_w(const char_type* A, in test_w()
40 typename std::regex_traits<char_type>::char_class_type expected, in test_w()
43 typedef typename std::regex_traits<char_type>::char_class_type char_class_type; in test_w()
[all …]
Dlookup_collatename.pass.cpp34 template <class char_type>
36 test(const char_type* A, const std::basic_string<char_type>& expected) in test()
38 std::regex_traits<char_type> t; in test()
39 typedef forward_iterator<const char_type*> F; in test()
/external/libcxx/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/
Dfailed.pass.cpp23 typedef typename std::basic_streambuf<Char,Traits>::char_type char_type; typedef
26 int_type sputc(char_type) { return Traits::eof(); } in sputc()
/external/compiler-rt/lib/msan/
Dmsan_interceptors.cc412 #define INTERCEPTOR_STRTO(ret_type, func, char_type) \ argument
413 INTERCEPTOR(ret_type, func, const char_type *nptr, char_type **endptr) { \
417 #define INTERCEPTOR_STRTO_BASE(ret_type, func, char_type) \ argument
418 INTERCEPTOR(ret_type, func, const char_type *nptr, char_type **endptr, \
423 #define INTERCEPTOR_STRTO_LOC(ret_type, func, char_type) \ argument
424 INTERCEPTOR(ret_type, func, const char_type *nptr, char_type **endptr, \
429 #define INTERCEPTOR_STRTO_BASE_LOC(ret_type, func, char_type) \ argument
430 INTERCEPTOR(ret_type, func, const char_type *nptr, char_type **endptr, \
435 #define INTERCEPTORS_STRTO(ret_type, func, char_type) \ argument
436 INTERCEPTOR_STRTO(ret_type, func, char_type) \
[all …]
/external/clang/test/SemaCXX/
Dcrashes.cpp217 typedef _CharT char_type; typedef
218 typedef basic_string<char_type, _Traits, _Alloc> __string_type;
219 __string_type str() const {__string_type((char_type*)0,(char_type*)0);} in str()

1234