Home
last modified time | relevance | path

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

123

/NextBSD/contrib/libstdc++/include/bits/
Dchar_traits.h89 typedef _CharT char_type; typedef
96 assign(char_type& __c1, const char_type& __c2) in assign()
100 eq(const char_type& __c1, const char_type& __c2) in eq()
104 lt(const char_type& __c1, const char_type& __c2) in lt()
108 compare(const char_type* __s1, const char_type* __s2, std::size_t __n);
111 length(const char_type* __s);
113 static const char_type*
114 find(const char_type* __s, std::size_t __n, const char_type& __a);
116 static char_type*
117 move(char_type* __s1, const char_type* __s2, std::size_t __n);
[all …]
Dlocale_facets.h151 typedef _CharT char_type; typedef
164 is(mask __m, char_type __c) const in is()
180 const char_type*
181 is(const char_type *__lo, const char_type *__hi, mask *__vec) const in is()
196 const char_type*
197 scan_is(mask __m, const char_type* __lo, const char_type* __hi) const in scan_is()
212 const char_type*
213 scan_not(mask __m, const char_type* __lo, const char_type* __hi) const in scan_not()
226 char_type
227 toupper(char_type __c) const in toupper()
[all …]
Dbasic_ios.h65 typedef _CharT char_type; in _GLIBCXX_BEGIN_NAMESPACE() typedef
88 mutable char_type _M_fill; in _GLIBCXX_BEGIN_NAMESPACE()
355 char_type in _GLIBCXX_BEGIN_NAMESPACE()
375 char_type in _GLIBCXX_BEGIN_NAMESPACE()
376 fill(char_type __ch) in _GLIBCXX_BEGIN_NAMESPACE()
378 char_type __old = this->fill(); in _GLIBCXX_BEGIN_NAMESPACE()
416 narrow(char_type __c, char __dfault) const; in _GLIBCXX_BEGIN_NAMESPACE()
433 char_type in _GLIBCXX_BEGIN_NAMESPACE()
445 : ios_base(), _M_tie(0), _M_fill(char_type()), _M_fill_init(false), in _GLIBCXX_BEGIN_NAMESPACE()
Dlocale_facets.tcc292 char_type __c = char_type(); in _M_extract_float()
346 const char_type* __lit_zero = __lit + __num_base::_S_izero; in _M_extract_float()
440 const char_type* __q = in _M_extract_float()
526 char_type __c = char_type(); in _M_extract_int()
616 const char_type* __lit_zero = __lit + __num_base::_S_izero; in _M_extract_int()
665 const char_type* __q = in _M_extract_int()
748 const char_type __c = *__beg; in do_get()
1224 do_put(iter_type __s, ios_base& __io, char_type __fill, bool __v) const in do_put()
1262 do_put(iter_type __s, ios_base& __io, char_type __fill, long __v) const in do_put()
1268 do_put(iter_type __s, ios_base& __io, char_type __fill, in do_put()
[all …]
Dsstream.tcc104 const char_type __conv = traits_type::to_char_type(__c); in overflow()
125 _M_sync(const_cast<char_type*>(_M_string.data()), in overflow()
166 const char_type* __beg = __testin ? this->eback() : this->pbase(); in seekoff()
208 const char_type* __beg = __testin ? this->eback() : this->pbase(); in seekpos()
231 _M_sync(char_type* __base, __size_type __i, __size_type __o) in _M_sync()
235 char_type* __endg = __base + _M_string.size(); in _M_sync()
236 char_type* __endp = __base + _M_string.capacity(); in _M_sync()
Distream.tcc213 get(char_type& __c) in get()
245 get(char_type* __s, streamsize __n, char_type __delim) in get()
276 *__s = char_type(); in get()
287 get(__streambuf_type& __sb, char_type __delim) in get()
300 char_type __c2 = traits_type::to_char_type(__c); in get()
326 getline(char_type* __s, streamsize __n, char_type __delim) in getline()
367 *__s = char_type(); in getline()
548 read(char_type* __s, streamsize __n) in read()
572 readsome(char_type* __s, streamsize __n) in readsome()
599 putback(char_type __c) in putback()
[all …]
/NextBSD/contrib/libstdc++/include/ext/
Dpod_char_traits.h55 typedef character<V, I, S> char_type; typedef
60 static char_type
63 char_type ret = { static_cast<value_type>(v) }; in from()
69 to(const char_type& c) in to()
95 typedef __gnu_cxx::character<V, I, S> char_type;
96 typedef typename char_type::int_type int_type;
97 typedef typename char_type::state_type state_type;
102 assign(char_type& __c1, const char_type& __c2)
106 eq(const char_type& __c1, const char_type& __c2)
110 lt(const char_type& __c1, const char_type& __c2)
[all …]
/NextBSD/contrib/libc++/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;
220 virtual basic_streambuf<char_type, traits_type>* setbuf(char_type* __s, streamsize __n);
[all …]
Dlocale711 typedef _CharT char_type;
1010 char_type __atoms[26];
1011 char_type __thousands_sep;
1060 char_type __atoms[26];
1061 char_type __thousands_sep;
1109 char_type __atoms[32];
1110 char_type __decimal_point;
1111 char_type __thousands_sep;
1162 char_type __atoms[26];
1163 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 …]
/NextBSD/contrib/libstdc++/include/std/
Dstd_streambuf.h133 typedef _CharT char_type; typedef
146 typedef basic_streambuf<char_type, traits_type> __streambuf_type;
149 friend class basic_ios<char_type, traits_type>;
150 friend class basic_istream<char_type, traits_type>;
151 friend class basic_ostream<char_type, traits_type>;
152 friend class istreambuf_iterator<char_type, traits_type>;
153 friend class ostreambuf_iterator<char_type, traits_type>;
195 char_type* _M_in_beg; // Start of get area.
196 char_type* _M_in_cur; // Current read area.
197 char_type* _M_in_end; // End of get area.
[all …]
Dstd_fstream.h73 typedef _CharT char_type; in _GLIBCXX_BEGIN_NAMESPACE() typedef
79 typedef basic_streambuf<char_type, traits_type> __streambuf_type; in _GLIBCXX_BEGIN_NAMESPACE()
80 typedef basic_filebuf<char_type, traits_type> __filebuf_type; in _GLIBCXX_BEGIN_NAMESPACE()
83 typedef codecvt<char_type, char, __state_type> __codecvt_type; in _GLIBCXX_BEGIN_NAMESPACE()
119 char_type* _M_buf; in _GLIBCXX_BEGIN_NAMESPACE()
153 char_type _M_pback; in _GLIBCXX_BEGIN_NAMESPACE()
154 char_type* _M_pback_cur_save; in _GLIBCXX_BEGIN_NAMESPACE()
155 char_type* _M_pback_end_save; in _GLIBCXX_BEGIN_NAMESPACE()
337 _M_convert_to_external(char_type*, streamsize); in _GLIBCXX_BEGIN_NAMESPACE()
352 setbuf(char_type* __s, streamsize __n); in _GLIBCXX_BEGIN_NAMESPACE()
[all …]
Dstd_istream.h62 typedef _CharT char_type; in _GLIBCXX_BEGIN_NAMESPACE() typedef
306 get(char_type& __c); in _GLIBCXX_BEGIN_NAMESPACE()
333 get(char_type* __s, streamsize __n, char_type __delim); in _GLIBCXX_BEGIN_NAMESPACE()
344 get(char_type* __s, streamsize __n) in _GLIBCXX_BEGIN_NAMESPACE()
367 get(__streambuf_type& __sb, char_type __delim); in _GLIBCXX_BEGIN_NAMESPACE()
406 getline(char_type* __s, streamsize __n, char_type __delim); in _GLIBCXX_BEGIN_NAMESPACE()
417 getline(char_type* __s, streamsize __n) in _GLIBCXX_BEGIN_NAMESPACE()
476 read(char_type* __s, streamsize __n); in _GLIBCXX_BEGIN_NAMESPACE()
495 readsome(char_type* __s, streamsize __n); in _GLIBCXX_BEGIN_NAMESPACE()
511 putback(char_type __c); in _GLIBCXX_BEGIN_NAMESPACE()
[all …]
Dstd_sstream.h66 typedef _CharT char_type; in _GLIBCXX_BEGIN_NAMESPACE() typedef
75 typedef basic_streambuf<char_type, traits_type> __streambuf_type; in _GLIBCXX_BEGIN_NAMESPACE()
76 typedef basic_string<char_type, _Traits, _Alloc> __string_type; in _GLIBCXX_BEGIN_NAMESPACE()
168 _M_sync(const_cast<char_type*>(_M_string.data()), 0, __len); in _GLIBCXX_BEGIN_NAMESPACE()
204 setbuf(char_type* __s, streamsize __n) in _GLIBCXX_BEGIN_NAMESPACE()
234 _M_sync(char_type* __base, __size_type __i, __size_type __o); in _GLIBCXX_BEGIN_NAMESPACE()
267 typedef _CharT char_type; typedef
279 typedef basic_istream<char_type, traits_type> __istream_type;
380 typedef _CharT char_type; typedef
392 typedef basic_ostream<char_type, traits_type> __ostream_type;
[all …]
/NextBSD/contrib/libstdc++/src/
Distream.cc41 getline(char_type* __s, streamsize __n, char_type __delim) in _GLIBCXX_BEGIN_NAMESPACE()
65 const char_type* __p = traits_type::find(__sb->gptr(), in _GLIBCXX_BEGIN_NAMESPACE()
100 *__s = char_type(); in _GLIBCXX_BEGIN_NAMESPACE()
123 const char_type __cdelim = traits_type::to_char_type(__delim); in ignore()
140 const char_type* __p = traits_type::find(__sb->gptr(), in ignore()
192 typedef __istream_type::char_type __char_type; in operator >>()
268 typedef __istream_type::char_type __char_type; in operator >>()
344 typedef __istream_type::char_type __char_type; in getline()
421 getline(char_type* __s, streamsize __n, char_type __delim) in getline()
445 const char_type* __p = traits_type::find(__sb->gptr(), in getline()
[all …]
/NextBSD/usr.bin/gzip/
HDzuncompress.c44 #define tab_suffixof(i) ((char_type *)(zs->zs_htab))[i]
45 #define de_stack ((char_type *)&tab_suffixof(1 << BITS))
72 typedef u_char char_type; typedef
74 static char_type magic_header[] =
77 static char_type rmask[9] =
110 char_type zs_buf[BITS];
119 char_type *zs_stackp;
123 char_type zs_gbuf[BITS];
257 tab_suffixof(zs->u.r.zs_code) = (char_type) zs->u.r.zs_code; in zread()
336 char_type *bp; in getcode()
/NextBSD/usr.bin/compress/
HDzopen.c82 typedef u_char char_type; typedef
83 static char_type magic_header[] =
123 char_type zs_buf[BITS];
132 char_type *zs_stackp;
136 char_type zs_gbuf[BITS];
188 #define tab_suffixof(i) ((char_type *)(htab))[i]
189 #define de_stack ((char_type *)&tab_suffixof(1 << BITS))
362 static char_type lmask[9] =
364 static char_type rmask[9] =
372 char_type *bp; in output()
[all …]
/NextBSD/contrib/compiler-rt/lib/msan/
HDmsan_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 …]

123