Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__string/
H A Dchar_traits.h80 using char_type = char;
86 …static inline _LIBCPP_HIDE_FROM_ABI void assign(char_type& __c1, const char_type& __c2) _NOEXCEPT …
89 …static inline _LIBCPP_HIDDEN bool eq(char_type __c1, char_type __c2) _NOEXCEPT { return __c1 == __…
90 static inline _LIBCPP_HIDE_FROM_ABI bool lt(char_type __c1, char_type __c2) _NOEXCEPT {
96 …static _LIBCPP_HIDE_FROM_ABI int compare(const char_type* __lhs, const char_type* __rhs, size_t __…
107 __count -= sizeof(char_type);
118 static inline _LIBCPP_HIDE_FROM_ABI size_t length(const char_type* __s) _NOEXCEPT {
122 …static _LIBCPP_HIDE_FROM_ABI const char_type* find(const char_type* __s, size_t __n, const char_ty…
128 …static inline _LIBCPP_HIDE_FROM_ABI char_type* move(char_type* __s1, const char_type* __s2, size_t…
132 …static inline _LIBCPP_HIDE_FROM_ABI char_type* copy(char_type* __s1, const char_type* __s2, size_t…
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__string/
H A Dchar_traits.h82 using char_type = char;
92 assign(char_type& __c1, const char_type& __c2) _NOEXCEPT {
97 static inline _LIBCPP_HIDDEN _LIBCPP_CONSTEXPR bool eq(char_type __c1, char_type __c2) _NOEXCEPT {
100 …static inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR bool lt(char_type __c1, char_type __c2) _NOE…
107 compare(const char_type* __lhs, const char_type* __rhs, size_t __count) _NOEXCEPT {
118 __count -= sizeof(char_type);
129 …static inline _LIBCPP_HIDE_FROM_ABI size_t _LIBCPP_CONSTEXPR_SINCE_CXX17 length(const char_type* _…
133 static _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 const char_type*
134 find(const char_type* __s, size_t __n, const char_type& __a) _NOEXCEPT {
138 static inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 char_type*
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__locale_dir/
H A Dmoney.h53 typedef _CharT char_type; typedef
54 typedef basic_string<char_type> string_type;
58 _LIBCPP_HIDE_FROM_ABI char_type decimal_point() const { return do_decimal_point(); } in decimal_point()
59 _LIBCPP_HIDE_FROM_ABI char_type thousands_sep() const { return do_thousands_sep(); } in thousands_sep()
74 virtual char_type do_decimal_point() const { return numeric_limits<char_type>::max(); } in do_decimal_point()
75 virtual char_type do_thousands_sep() const { return numeric_limits<char_type>::max(); } in do_thousands_sep()
110 typedef _CharT char_type; typedef
111 typedef basic_string<char_type> string_type;
126 char_type do_decimal_point() const override { return __decimal_point_; } in do_decimal_point()
127 char_type do_thousands_sep() const override { return __thousands_sep_; } in do_thousands_sep()
[all …]
H A Dtime.h109 typedef _CharT char_type; typedef
112 typedef basic_string<char_type> string_type;
155 const char_type* __fmtb,
156 const char_type* __fmte) const;
178 …space(iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_type>& __ct) const;
179 …void __get_percent(iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_type>…
182 …int& __m, iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_type>& __ct) c…
184 …int& __m, iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_type>& __ct) c…
185 … __d, iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_type>& __ct) const;
187 … __m, iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_type>& __ct) const;
[all …]
H A Dnum.h337 typedef _CharT char_type;
407 char_type __atoms[__num_get_base::__fp_chr_cnt];
408 char_type __decimal_point;
409 char_type __thousands_sep;
477 char_type __thousands_sep;
479 char_type __atoms1[__atoms_size];
480 const char_type* __atoms = this->__do_widen(__iob, __atoms1);
507 const_cast<char_type*>(__atoms)))
528 char_type __thousands_sep;
530 char_type __atoms1[__atoms_size];
[all …]
H A Dwbuffer_convert.h35 typedef _Elem char_type; typedef
48 char_type* __intbuf_;
86 …_LIBCPP_HIDE_FROM_ABI_VIRTUAL virtual basic_streambuf<char_type, traits_type>* setbuf(char_type* _…
134 char_type __1buf; in underflow()
140 std::memmove(this->eback(), this->egptr() - __unget_sz, __unget_sz * sizeof(char_type)); in underflow()
164 char_type* __inext; in underflow()
168 …this->setg((char_type*)__extbuf_, (char_type*)__extbuf_, (char_type*)const_cast<char*>(__extbufend… in underflow()
209 char_type __1buf; in overflow()
210 char_type* __pb_save = this->pbase(); in overflow()
211 char_type* __epb_save = this->epptr(); in overflow()
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
H A D__locale174 typedef _CharT char_type;
175 typedef basic_string<char_type> string_type;
180 …compare(const char_type* __lo1, const char_type* __hi1, const char_type* __lo2, const char_type* _…
187 transform(const char_type* __lo, const char_type* __hi) const {
191 …_LIBCPP_HIDE_FROM_ABI long hash(const char_type* __lo, const char_type* __hi) const { return do_ha…
198 …do_compare(const char_type* __lo1, const char_type* __hi1, const char_type* __lo2, const char_type
199 virtual string_type do_transform(const char_type* __lo, const char_type* __hi) const {
202 virtual long do_hash(const char_type* __lo, const char_type* __hi) const;
213 …const char_type* __lo1, const char_type* __hi1, const char_type* __lo2, const char_type* __hi2) co…
224 long collate<_CharT>::do_hash(const char_type* __lo, const char_type* __hi) const {
[all …]
H A Dstreambuf24 typedef charT char_type;
37 basic_streambuf* pubsetbuf(char_type* s, streamsize n);
50 streamsize sgetn(char_type* s, streamsize n);
53 int_type sputbackc(char_type c);
57 int_type sputc(char_type c);
58 streamsize sputn(const char_type* s, streamsize n);
67 char_type* eback() const;
68 char_type* gptr() const;
69 char_type* egptr() const;
71 void setg(char_type* gbeg, char_type* gnext, char_type* gend);
[all …]
H A Dsstream24 typedef charT char_type;
35 explicit basic_stringbuf(const basic_string<char_type, traits_type, allocator_type>& s,
40 explicit basic_stringbuf(basic_string<char_type, traits_type, allocator_type>&& s,
43 basic_stringbuf(const basic_string<char_type, traits_type, SAlloc>& s, const allocator_type& a)
46 basic_stringbuf(const basic_string<char_type, traits_type, SAlloc>& s,
49 explicit basic_stringbuf(const basic_string<char_type, traits_type, SAlloc>& s,
69 … basic_string<char_type, traits_type, allocator_type> str() const; // before C++20
70 basic_string<char_type, traits_type, allocator_type> str() const &; // C++20
72 basic_string<char_type, traits_type, SAlloc> str(const SAlloc& sa) const; // C++20
73 basic_string<char_type, traits_type, allocator_type> str() &&; // C++20
[all …]
H A Dlocale596 typedef _CharT char_type;
859 char_type __thousands_sep;
862 char_type __atoms1[__atoms_size];
863 const char_type* __atoms = this->__do_widen(__iob, __atoms1);
866 char_type __atoms[__atoms_size];
908 char_type __thousands_sep;
911 char_type __atoms1[__atoms_size];
912 const char_type* __atoms = this->__do_widen(__iob, __atoms1);
915 char_type __atoms[__atoms_size];
956 char_type __atoms[__num_get_base::__fp_chr_cnt];
[all …]
H A Dfstream21 typedef charT char_type;
50 virtual basic_streambuf<char_type, traits_type>* setbuf(char_type* s, streamsize n);
71 typedef charT char_type;
88 basic_filebuf<char_type, traits_type>* rdbuf() const;
110 typedef charT char_type;
127 basic_filebuf<char_type, traits_type>* rdbuf() const;
151 typedef charT char_type;
168 basic_filebuf<char_type, traits_type>* rdbuf() const;
223 typedef _CharT char_type;
260 basic_streambuf<char_type, traits_type>* setbuf(char_type* __s, streamsize __n) override;
[all …]
H A Distream22 typedef charT char_type;
29 explicit basic_istream(basic_streambuf<char_type, traits_type>* sb);
42 basic_istream& operator>>(basic_ios<char_type, traits_type>&
43 (*pf)(basic_ios<char_type, traits_type>&));
45 basic_istream& operator>>(basic_streambuf<char_type, traits_type>* sb);
63 basic_istream& get(char_type& c);
64 basic_istream& get(char_type* s, streamsize n);
65 basic_istream& get(char_type* s, streamsize n, char_type delim);
66 basic_istream& get(basic_streambuf<char_type,traits_type>& sb);
67 basic_istream& get(basic_streambuf<char_type,traits_type>& sb, char_type delim);
[all …]
H A 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;
551 typedef _CharT char_type;
558 static_assert(is_same<_CharT, typename traits_type::char_type>::value,
559 "traits_type::char_type must be the same type as CharT");
578 _LIBCPP_HIDE_FROM_ABI explicit basic_ios(basic_streambuf<char_type, traits_type>* __sb);
582 _LIBCPP_HIDE_FROM_ABI basic_ostream<char_type, traits_type>* tie() const;
[all …]
/freebsd/contrib/llvm-project/libcxx/include/
H A D__locale186 typedef _CharT char_type;
187 typedef basic_string<char_type> string_type;
192 …compare(const char_type* __lo1, const char_type* __hi1, const char_type* __lo2, const char_type* _…
199 transform(const char_type* __lo, const char_type* __hi) const {
203 …_LIBCPP_HIDE_FROM_ABI long hash(const char_type* __lo, const char_type* __hi) const { return do_ha…
210 …do_compare(const char_type* __lo1, const char_type* __hi1, const char_type* __lo2, const char_type
211 virtual string_type do_transform(const char_type* __lo, const char_type* __hi) const {
214 virtual long do_hash(const char_type* __lo, const char_type* __hi) const;
225 …const char_type* __lo1, const char_type* __hi1, const char_type* __lo2, const char_type* __hi2) co…
236 long collate<_CharT>::do_hash(const char_type* __lo, const char_type* __hi) const {
[all …]
H A Dstreambuf24 typedef charT char_type;
37 basic_streambuf* pubsetbuf(char_type* s, streamsize n);
50 streamsize sgetn(char_type* s, streamsize n);
53 int_type sputbackc(char_type c);
57 int_type sputc(char_type c);
58 streamsize sputn(const char_type* s, streamsize n);
67 char_type* eback() const;
68 char_type* gptr() const;
69 char_type* egptr() const;
71 void setg(char_type* gbeg, char_type* gnext, char_type* gend);
[all …]
H A Dsstream24 typedef charT char_type;
35 explicit basic_stringbuf(const basic_string<char_type, traits_type, allocator_type>& s,
40 explicit basic_stringbuf(basic_string<char_type, traits_type, allocator_type>&& s,
43 basic_stringbuf(const basic_string<char_type, traits_type, SAlloc>& s, const allocator_type& a)
46 basic_stringbuf(const basic_string<char_type, traits_type, SAlloc>& s,
49 explicit basic_stringbuf(const basic_string<char_type, traits_type, SAlloc>& s,
69 … basic_string<char_type, traits_type, allocator_type> str() const; // before C++20
70 basic_string<char_type, traits_type, allocator_type> str() const &; // C++20
72 basic_string<char_type, traits_type, SAlloc> str(const SAlloc& sa) const; // C++20
73 basic_string<char_type, traits_type, allocator_type> str() &&; // C++20
[all …]
H A Dfstream21 typedef charT char_type;
50 virtual basic_streambuf<char_type, traits_type>* setbuf(char_type* s, streamsize n);
71 typedef charT char_type;
88 basic_filebuf<char_type, traits_type>* rdbuf() const;
110 typedef charT char_type;
127 basic_filebuf<char_type, traits_type>* rdbuf() const;
151 typedef charT char_type;
168 basic_filebuf<char_type, traits_type>* rdbuf() const;
231 typedef _CharT char_type;
295 basic_streambuf<char_type, traits_type>* setbuf(char_type* __s, streamsize __n) override;
[all …]
H A Distream22 typedef charT char_type;
29 explicit basic_istream(basic_streambuf<char_type, traits_type>* sb);
42 basic_istream& operator>>(basic_ios<char_type, traits_type>&
43 (*pf)(basic_ios<char_type, traits_type>&));
45 basic_istream& operator>>(basic_streambuf<char_type, traits_type>* sb);
63 basic_istream& get(char_type& c);
64 basic_istream& get(char_type* s, streamsize n);
65 basic_istream& get(char_type* s, streamsize n, char_type delim);
66 basic_istream& get(basic_streambuf<char_type,traits_type>& sb);
67 basic_istream& get(basic_streambuf<char_type,traits_type>& sb, char_type delim);
[all …]
H A 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;
565 typedef _CharT char_type;
572 static_assert(is_same<_CharT, typename traits_type::char_type>::value,
573 "traits_type::char_type must be the same type as CharT");
596 _LIBCPP_HIDE_FROM_ABI explicit basic_ios(basic_streambuf<char_type, traits_type>* __sb);
600 _LIBCPP_HIDE_FROM_ABI basic_ostream<char_type, traits_type>* tie() const;
[all …]
/freebsd/contrib/llvm-project/libcxx/src/
H A Dstd_stream.h35 typedef _CharT char_type; typedef
36 typedef char_traits<char_type> traits_type;
52 const codecvt<char_type, char, state_type>* __cv_;
85 __cv_ = &use_facet<codecvt<char_type, char, state_type> >(__loc); in imbue()
143 char_type __1buf; in __getchar()
162 char_type __1buf; in __getchar()
164 char_type* __inxt; in __getchar()
187 __1buf = static_cast<char_type>(__extbuf[0]); in __getchar()
216 const char_type __ci = traits_type::to_char_type(__last_consumed_); in pbackfail()
217 const char_type* __inxt; in pbackfail()
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__ostream/
H A Dbasic_ostream.h43 typedef _CharT char_type; typedef
50 …inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 explicit basic_ostream(basic_streambuf<char_type, traits_typ… in basic_ostream() argument
65 basic_ios<char_type, traits_type>::swap(__rhs); in swap()
78 operator<<(basic_ios<char_type, traits_type>& (*__pf)(basic_ios<char_type, traits_type>&)) {
102 basic_ostream& operator<<(basic_streambuf<char_type, traits_type>* __sb);
105 basic_ostream& put(char_type __c);
106 basic_ostream& write(const char_type* __s, streamsize __n);
172 basic_ostream<_CharT, _Traits>::operator<<(basic_streambuf<char_type, traits_type>* __sb) {
218 typedef num_put<char_type, ostreambuf_iterator<char_type, traits_type> > _Fp;
239 typedef num_put<char_type, ostreambuf_iterator<char_type, traits_type> > _Fp;
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__iterator/
H A Distreambuf_iterator.h37 typedef _CharT char_type; typedef
47 char_type __keep_;
49 …_LIBCPP_HIDE_FROM_ABI explicit __proxy(char_type __c, streambuf_type* __s) : __keep_(__c), __sbuf_… in __proxy()
53 _LIBCPP_HIDE_FROM_ABI char_type operator*() const { return __keep_; }
68 …_LIBCPP_HIDE_FROM_ABI char_type operator*() const { return static_cast<char_type>(__sbuf_->sgetc()…
/freebsd/contrib/llvm-project/libcxx/include/__iterator/
H A Distreambuf_iterator.h43 typedef _CharT char_type; typedef
53 char_type __keep_;
55 …_LIBCPP_HIDE_FROM_ABI explicit __proxy(char_type __c, streambuf_type* __s) : __keep_(__c), __sbuf_… in __proxy()
59 _LIBCPP_HIDE_FROM_ABI char_type operator*() const { return __keep_; }
77 …_LIBCPP_HIDE_FROM_ABI char_type operator*() const { return static_cast<char_type>(__sbuf_->sgetc()…
/freebsd/usr.bin/gzip/
H A Dzuncompress.c45 #define tab_suffixof(i) ((char_type *)(zs->zs_htab))[i]
46 #define de_stack ((char_type *)&tab_suffixof(1 << BITS))
73 typedef u_char char_type; typedef
75 static char_type magic_header[] =
78 static char_type rmask[9] =
111 char_type zs_buf[BITS];
120 char_type *zs_stackp;
124 char_type zs_gbuf[BITS];
258 tab_suffixof(zs->u.r.zs_code) = (char_type) zs->u.r.zs_code; in zread()
337 char_type *bp; in getcode()
/freebsd/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_interceptors.cpp452 #define INTERCEPTOR_STRTO(ret_type, func, char_type) \ argument
453 INTERCEPTOR(ret_type, func, const char_type *nptr, char_type **endptr) { \
457 #define INTERCEPTOR_STRTO_SRET(ret_type, func, char_type) \ argument
458 INTERCEPTOR(void, func, ret_type *sret, const char_type *nptr, \
459 char_type **endptr) { \
463 #define INTERCEPTOR_STRTO_BASE(ret_type, func, char_type) \ argument
464 INTERCEPTOR(ret_type, func, const char_type *nptr, char_type **endptr, \
469 #define INTERCEPTOR_STRTO_LOC(ret_type, func, char_type) \ argument
470 INTERCEPTOR(ret_type, func, const char_type *nptr, char_type **endptr, \
475 #define INTERCEPTOR_STRTO_SRET_LOC(ret_type, func, char_type) \ argument
[all …]

123