Home
last modified time | relevance | path

Searched refs:__c (Results 1 – 25 of 50) sorted by relevance

12

/ndk/sources/host-tools/sed-4.2.1/lib/
Dc-ctype.h148 ({ int __c = (c); \
149 (__c >= 0x00 && __c <= 0x7f); \
157 ({ int __c = (c); \
158 ((__c >= '0' && __c <= '9') \
159 || ((__c & ~0x20) >= 'A' && (__c & ~0x20) <= 'Z')); \
164 ({ int __c = (c); \
165 ((__c >= '0' && __c <= '9') \
166 || (__c >= 'A' && __c <= 'Z') \
167 || (__c >= 'a' && __c <= 'z')); \
176 ({ int __c = (c); \
[all …]
/ndk/sources/cxx-stl/stlport/src/
Dcomplex_io.cpp52 char __c; in operator >>() local
54 __is >> __c; in operator >>()
55 if (__c == '(') { in operator >>()
56 __is >> __re >> __c; in operator >>()
57 if (__c == ',') in operator >>()
58 __is >> __im >> __c; in operator >>()
59 if (__c != ')') in operator >>()
63 __is.putback(__c); in operator >>()
78 char __c; in operator >>() local
80 __is >> __c; in operator >>()
[all …]
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_ctype.h78 bool is(mask __m, char __c) const in is() argument
79 { return ((*(_M_ctype_table+(unsigned char)__c)) & __m) != 0; } in is()
91 char (toupper)(char __c) const { return do_toupper(__c); }
96 char (tolower)(char __c) const { return do_tolower(__c); }
101 char widen(char __c) const { return do_widen(__c); } in widen() argument
106 char narrow(char __c, char __dfault) const { in narrow() argument
107 return do_narrow(__c, __dfault); in narrow()
123 virtual char do_toupper(char __c) const;
124 virtual char do_tolower(char __c) const;
127 virtual char do_widen(char __c) const;
[all …]
D_messages_facets.h65 string_type get(catalog __c, int __set, int __msgid, in get() argument
67 { return do_get(__c, __set, __msgid, __dfault); } in get()
68 inline void close(catalog __c) const in close() argument
69 { do_close(__c); } in close()
78 virtual string_type do_get(catalog __c, int __set, int __msgid, in do_get() argument
81 virtual void do_close(catalog __c) const in do_close() argument
98 inline string_type get(catalog __c, int __set, int __msgid, in get() argument
100 { return do_get(__c, __set, __msgid, __dfault); } in get()
101 inline void close(catalog __c) const in close() argument
102 { do_close(__c); } in close()
[all …]
Dchar_traits.h160 static const char_type* _STLP_CALL find(const char_type* __s, size_t __n, const char_type& __c) { in find() argument
162 if (eq(*__s, __c)) in find()
175 static char_type* _STLP_CALL assign(char_type* __s, size_t __n, char_type __c) { in assign() argument
177 __s[__i] = __c; in assign()
181 static int_type _STLP_CALL not_eof(const int_type& __c) in not_eof() argument
182 { return !eq_int_type(__c, eof()) ? __c : __STATIC_CAST(int_type, 0); } in not_eof()
184 static char_type _STLP_CALL to_char_type(const int_type& __c) in to_char_type() argument
185 { return (char_type)__c; } in to_char_type()
187 static int_type _STLP_CALL to_int_type(const char_type& __c) in to_int_type() argument
188 { return (int_type)__c; } in to_int_type()
[all …]
D_ios.h110 static bool _STLP_CALL _S_eof(int_type __c) { in _S_eof() argument
112 return _Traits::eq_int_type(__c, __eof); in _S_eof()
145 basic_ios<_CharT, _Traits>::narrow(_CharT __c, char __default) const in narrow() argument
146 { return _M_ctype_facet()->narrow(__c, __default); } in narrow()
150 basic_ios<_CharT, _Traits>::widen(char __c) const in widen() argument
151 { return _M_ctype_facet()->widen(__c); } in widen()
156 basic_ios<char, char_traits<char> >::narrow(char __c, char) const in narrow() argument
158 return __c; in narrow()
163 basic_ios<char, char_traits<char> >::widen(char __c) const in widen() argument
165 return __c; in widen()
D_ostream.h89 void _M_put_char(_CharT __c);
96 _Self& put(char_type __c);
241 operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c){
242 __os._M_put_char(__c);
257 operator<<(basic_ostream<char, char_traits<char> >& __os, char __c) {
258 __os._M_put_char(__c);
263 operator<<(basic_ostream<char, char_traits<char> >& __os, signed char __c) {
264 __os._M_put_char(__c);
269 operator<<(basic_ostream<char, char_traits<char> >& __os, unsigned char __c) {
270 __os._M_put_char(__c);
[all …]
D_num_get.c38 inline bool _STLP_CALL __get_fdigit(char __c, const char*) in __get_fdigit() argument
39 { return __c >= '0' && __c <= '9'; } in __get_fdigit()
41 inline bool _STLP_CALL __get_fdigit_or_sep(char& __c, char __sep, const char *__digits) { in __get_fdigit_or_sep() argument
42 if (__c == __sep) { in __get_fdigit_or_sep()
43 __c = ',' ; in __get_fdigit_or_sep()
47 return __get_fdigit(__c, __digits); in __get_fdigit_or_sep()
62 _CharT __c = *__in_ite; in __get_base_or_zero() local
64 if (__c == __atoms[1] /* __xminus_char */ ) { in __get_base_or_zero()
68 else if (__c == __atoms[0] /* __xplus_char */ ) in __get_base_or_zero()
132 const _CharT __c = *__first; in __get_integer() local
[all …]
D_valarray.h490 inline valarray<_Tp> _STLP_CALL operator*(const valarray<_Tp>& __x, const _Tp& __c) {
494 __tmp[__i] = __x[__i] * __c;
499 inline valarray<_Tp> _STLP_CALL operator*(const _Tp& __c, const valarray<_Tp>& __x) {
503 __tmp[__i] = __c * __x[__i];
508 inline valarray<_Tp> _STLP_CALL operator/(const valarray<_Tp>& __x, const _Tp& __c) {
512 __tmp[__i] = __x[__i] / __c;
517 inline valarray<_Tp> _STLP_CALL operator/(const _Tp& __c, const valarray<_Tp>& __x) {
521 __tmp[__i] = __c / __x[__i];
526 inline valarray<_Tp> _STLP_CALL operator%(const valarray<_Tp>& __x, const _Tp& __c) {
530 __tmp[__i] = __x[__i] % __c;
[all …]
D_complex.c117 _CharT __c; variable
119 __is >> __c;
120 if (_Traits::eq(__c, __wpunct[0])) { // Left paren
121 __is >> __re >> __c;
122 if (_Traits::eq(__c, __wpunct[1])) // Comma
123 __is >> __im >> __c;
124 if (!_Traits::eq(__c, __wpunct[2])) // Right paren
128 __is.putback(__c);
D_sstream.c107 int_type __c = _Traits::to_int_type(*this->gptr()); in uflow() local
109 return __c; in uflow()
117 basic_stringbuf<_CharT, _Traits, _Alloc>::pbackfail(int_type __c) { in pbackfail() argument
119 if (!_Traits::eq_int_type(__c, _Traits::eof())) { in pbackfail()
120 if (_Traits::eq(_Traits::to_char_type(__c), this->gptr()[-1])) { in pbackfail()
122 return __c; in pbackfail()
126 *this->gptr() = _Traits::to_char_type(__c); in pbackfail()
127 return __c; in pbackfail()
134 return _Traits::not_eof(__c); in pbackfail()
142 __BSB_int_type__ basic_stringbuf<_CharT, _Traits, _Alloc>::overflow(int_type __c) in overflow() argument
[all …]
D_ctraits_fns.h46 _Eq_char_bound(typename _Traits::char_type __c) : __val(__c) {} in _Eq_char_bound()
56 _Neq_char_bound(typename _Traits::char_type __c) : __val(__c) {} in _Neq_char_bound()
66 _Eq_int_bound(typename _Traits::int_type __c) : __val(__c) {} in _Eq_int_bound()
D_rope.c173 const _RopeConcat* __c = __STATIC_CAST(const _RopeConcat*, __curr_rope); in _S_setcache() local
174 _RopeRep* __left = __c->_M_left; in _S_setcache()
180 __curr_rope = __c->_M_right; in _S_setcache()
215 const _RopeConcat* __c; in _S_setcache_for_incr() local
229 __c = __STATIC_CAST(const _RopeConcat*, __current_node); in _S_setcache_for_incr()
232 __node_start_pos -= __c->_M_left->_M_size._M_data; in _S_setcache_for_incr()
241 __c = __STATIC_CAST(const _RopeConcat*, __current_node); in _S_setcache_for_incr()
245 __node_start_pos += __c->_M_left->_M_size._M_data; in _S_setcache_for_incr()
246 __current_node = __c->_M_right; in _S_setcache_for_incr()
330 _RopeConcatenation* __c = __STATIC_CAST(_RopeConcatenation*, this); in _M_free_tree() local
[all …]
D_streambuf.h190 virtual streamsize _M_xsputnc(char_type __c, streamsize __n);
198 int_type sputc(char_type __c) { in sputc() argument
199 return ((_M_pnext < _M_pend) ? _Traits::to_int_type(*_M_pnext++ = __c) in sputc()
200 : this->overflow(_Traits::to_int_type(__c))); in sputc()
208 streamsize _M_sputnc(char_type __c, streamsize __n) in _M_sputnc() argument
209 { return this->_M_xsputnc(__c, __n); } in _M_sputnc()
241 int_type sputbackc(char_type __c) { in sputbackc() argument
242 return ((_M_gbegin < _M_gnext) && _Traits::eq(__c, *(_M_gnext - 1))) in sputbackc()
244 : this->pbackfail(_Traits::to_int_type(__c)); in sputbackc()
D_istream.c59 bool operator()(argument_type __c) const in operator()
60 { return !_M_ctype->is(ctype_base::space, __c); } in operator()
71 bool operator()(argument_type __c) const { in operator()
72 return _Traits::eq(__c, argument_type()) || in operator()
73 _M_ctype->is(ctype_base::space, __c); in operator()
168 __pushback(basic_streambuf<_CharT, _Traits>* __buf, _CharT __c) { in __pushback() argument
172 ret = !_Traits::eq_int_type(__buf->sputbackc(__c), __eof); in __pushback()
364 basic_istream<_CharT, _Traits>::get(_CharT& __c) { in get() argument
379 __c = _Traits::to_char_type(__tmp); in get()
400 int_type __c; in ignore() local
[all …]
D_string.c180 basic_string<_CharT,_Traits,_Alloc>::append(size_type __n, _CharT __c) { in append() argument
186 _STLP_PRIV __uninitialized_fill_n(this->_M_finish + 1, __n - 1, __c); in append()
188 _Traits::assign(*end(), __c); in append()
222 basic_string<_CharT,_Traits,_Alloc>::assign(size_type __n, _CharT __c) { in assign() argument
224 _Traits::assign(this->_M_Start(), __n, __c); in assign()
229 _Traits::assign(this->_M_Start(), size(), __c); in assign()
230 append(__n - size(), __c); in assign()
233 _Self __str(__n, __c); in assign()
257 _CharT __c) { in _M_insert_aux() argument
262 _Traits::assign(*__p, __c); in _M_insert_aux()
[all …]
D_string_sum.h130 _CharOnLeft operator += (_CharT __c) { return _CharOnLeft(*this, __c); }
143 _BString& append(size_type __n, _CharT __c) in append() argument
144 {return _M_get_storage().append(__n, __c);} in append()
154 _BString& assign(size_type __n, _CharT __c) {return _M_get_storage().assign(__n, __c);} in assign() argument
162 …ng& insert(size_type __pos, size_type __n, _CharT __c) {return _M_get_storage().insert(__pos, __n,… in insert() argument
176 _BString& replace(size_type __pos, size_type __n1, size_type __n2, _CharT __c) in replace() argument
177 {return _M_get_storage().replace(__pos, __n1, __n2, __c);} in replace()
192 …size_type find(_CharT __c, size_type __pos = 0) const { return _M_get_storage().find(__c, __pos); }
197 …size_type rfind(_CharT __c, size_type __pos = _BString::npos) const { return _M_get_storage().rfin…
205 size_type find_first_of(_CharT __c, size_type __pos = 0) const
[all …]
D_ostream.c122 : __pfrom(pfrom), __c(0), __do_guard(false) {} in _SPutBackC()
125 __pfrom->sputbackc(_Traits::to_char_type(__c)); in ~_SPutBackC()
130 __c = c; in guard()
139 int_type __c; member
149 int_type __c; in _M_copy_unbuffered() local
155 __c = __from->sbumpc(); in _M_copy_unbuffered()
162 if (this->_S_eof(__c)) in _M_copy_unbuffered()
165 __cguard.guard(__c); in _M_copy_unbuffered()
169 if (this->_S_eof(__to->sputc(_Traits::to_char_type(__c)))) in _M_copy_unbuffered()
300 void basic_ostream<_CharT, _Traits>::_M_put_char(_CharT __c) { in _M_put_char() argument
[all …]
D_string_io.c109 _CharT __c = _Traits::to_char_type(__c1);
111 if (_Ctype.is(_C_type::space, __c)) {
112 if (_Traits::eq_int_type(__buf->sputbackc(__c), _Traits::eof()))
117 __s.push_back(__c);
152 _CharT __c = _Traits::to_char_type(__c1); in getline() local
153 if (!_Traits::eq(__c, __delim)) in getline()
154 __s.push_back(__c); in getline()
D_string_workaround.h70 basic_string(size_type __n, _CharT __c,
72 : _STLP_NO_MEM_T_STRING_BASE(__n, __c, __a) {} in _STLP_NO_MEM_T_STRING_BASE() argument
107 _Self& operator=(_CharT __c) {
108 _Base::operator=(__c);
157 _Self& operator+=(_CharT __c) {
158 _Base::operator+=(__c);
183 _Self& append(size_type __n, _CharT __c) { in append() argument
184 _Base::append(__n, __c); in append()
271 _Self& assign(size_type __n, _CharT __c) { in assign() argument
272 _Base::assign(__n, __c); in assign()
[all …]
D_time_facets.c161 char __c = *__format; in _STLP_WEAK() local
162 if (__c == '#') { //MS extension in _STLP_WEAK()
164 __c = *__format; in _STLP_WEAK()
167 switch (__c) { in _STLP_WEAK()
407 char __c = _Ct.narrow(*__pat, 0); in put() local
408 if (__c == '%') { in put()
411 __c = _Ct.narrow(*__pat++, 0); in put()
412 if (__c == '#') { // MS extension in put()
413 __mod = __c; in put()
414 __c = _Ct.narrow(*__pat++, 0); in put()
[all …]
D_string.h237 basic_string(size_type __n, _CharT __c,
240 basic_string(size_type __n, _CharT __c) in basic_string() argument
242 this->_M_finish = _STLP_PRIV __uninitialized_fill_n(this->_M_Start(), __n, __c); in basic_string()
245 basic_string(size_type __n, _CharT __c, const allocator_type& __a) in basic_string() argument
248 this->_M_finish = _STLP_PRIV __uninitialized_fill_n(this->_M_Start(), __n, __c); in basic_string()
358 _Self& operator=(_CharT __c)
359 { return assign(__STATIC_CAST(size_type,1), __c); }
404 void resize(size_type __n, _CharT __c) { in resize() argument
408 append(__n - size(), __c); in resize()
453 _Self& operator+=(_CharT __c) { push_back(__c); return *this; }
[all …]
D_istream.h130 _Self& get(char_type& __c);
157 _Self& putback(char_type __c);
168 void _M_formatted_get(_CharT& __c);
238 operator>>(basic_istream<_CharT, _Traits>& __in_str, _CharT& __c) {
239 __in_str._M_formatted_get(__c);
245 operator>>(basic_istream<char, _Traits>& __in_str, unsigned char& __c) {
246 __in_str._M_formatted_get(__REINTERPRET_CAST(char&,__c));
252 operator>>(basic_istream<char, _Traits>& __in_str, signed char& __c) {
253 __in_str._M_formatted_get(__REINTERPRET_CAST(char&,__c));
/ndk/sources/cxx-stl/stlport/stlport/stl/debug/
D_string.h116 basic_string(size_type __n, _CharT __c,
118 : _M_non_dbg_impl(__n, __c, __a), _M_iter_list(&_M_non_dbg_impl) {} in _M_non_dbg_impl() argument
178 _Self& operator=(_CharT __c) {
179 return assign(1, __c);
198 void resize(size_type __n, _CharT __c) { in resize() argument
203 _M_non_dbg_impl.resize(__n, __c); in resize()
240 _Self& operator+=(_CharT __c) { return append(1, __c); }
305 _Self& append(size_type __n, _CharT __c) { in append() argument
307 _M_non_dbg_impl.append(__n, __c); in append()
312 void push_back(_CharT __c) { in push_back() argument
[all …]
D_iterator.h103 __container_type* __c = __it._Get_container_ptr(); in _Incrementable() local
104 return (__c != 0) && ((__n == 1 && __it._M_iterator != __c->end() ) || in _Incrementable()
105 (__n == -1 && __it._M_iterator != __c->begin())); in _Incrementable()
111 __container_type* __c = __it._Get_container_ptr(); in _Incrementable() local
112 if (__c == 0) return false; in _Incrementable()
113 ptrdiff_t __new_pos = (__it._M_iterator - __c->begin()) + __n; in _Incrementable()
114 …__new_pos >= 0) && (__STATIC_CAST(typename __container_type::size_type, __new_pos) <= __c->size()); in _Incrementable()
138 _DBG_iter_base(const __owned_list* __c, const _Const_iterator& __it) : in _DBG_iter_base()
140 __owned_link(__c), _M_iterator(*__REINTERPRET_CAST(const _Nonconst_iterator *, &__it)) {} in _DBG_iter_base()
142 __owned_link(__c), _M_iterator(*(const _Nonconst_iterator*)&__it) {}
[all …]

12