Home
last modified time | relevance | path

Searched refs:__buf (Results 1 – 25 of 29) sorted by relevance

12

/ndk/sources/cxx-stl/stlport/stlport/stl/
D_string_sum_methods.h41 _CharT* _M_append_fast(_STLP_PRIV __char_wrapper<_CharT> __c, _CharT *__buf) { in _M_append_fast() argument
42 _STLP_STD::_Copy_Construct(__buf, __c.getValue()); in _M_append_fast()
43 return __buf + 1; in _M_append_fast()
45 _CharT* _M_append_fast(_CharT const* __s, size_type __s_size, _CharT *__buf) in _M_append_fast() argument
46 { return uninitialized_copy(__s, __s + __s_size, __buf); } in _M_append_fast()
47 _CharT* _M_append_fast(_STLP_PRIV __cstr_wrapper<_CharT> const& __s, _CharT *__buf) in _M_append_fast() argument
48 { return _M_append_fast(__s.c_str(), __s.size(), __buf); } in _M_append_fast()
49 _CharT* _M_append_fast(_STLP_PRIV __bstr_wrapper<_CharT, _Traits, _Alloc> __s, _CharT *__buf) in _M_append_fast() argument
50 { return _M_append_fast(__s.b_str(), __buf); } in _M_append_fast()
51 _CharT* _M_append_fast(_Self const& __s, _CharT *__buf) in _M_append_fast() argument
[all …]
D_istream.c168 __pushback(basic_streambuf<_CharT, _Traits>* __buf, _CharT __c) { in __pushback() argument
172 ret = !_Traits::eq_int_type(__buf->sputbackc(__c), __eof); in __pushback()
428 basic_streambuf<_CharT, _Traits>* __buf = this->rdbuf(); in putback() local
430 if (__buf) { in putback()
432 __tmp = __buf->sputbackc(__c); in putback()
454 basic_streambuf<_CharT, _Traits>* __buf = this->rdbuf(); in unget() local
456 if (__buf) { in unget()
458 if (this->_S_eof(__buf->sungetc())) in unget()
479 basic_streambuf<_CharT, _Traits>* __buf = this->rdbuf(); in sync() local
480 if (__buf) { in sync()
[all …]
D_num_put.c117 __iostring __buf; in __do_put_float() local
119 size_t __group_pos = __write_float(__buf, __f.flags(), (int)__f.precision(), __x); in __do_put_float()
122 return __put_float(__buf, __s, __f, __fill, in __do_put_float()
127 inline void __get_money_digits_aux (__iostring &__buf, ios_base &, _STLP_LONGEST_FLOAT_TYPE __x) in __get_money_digits_aux() argument
128 { __get_floor_digits(__buf, __x); } in __get_money_digits_aux()
132 __iostring __buf; in __get_money_digits_aux() local
133 __get_floor_digits(__buf, __x); in __get_money_digits_aux()
136 __convert_float_buffer(__buf, __wbuf, __ct, wchar_t(0), false); in __get_money_digits_aux()
141 void _STLP_CALL __get_money_digits(_STLP_BASIC_IOSTRING(_CharT) &__buf, ios_base& __f, _STLP_LONGES… in __get_money_digits() argument
142 { __get_money_digits_aux(__buf, __f, __x); } in __get_money_digits()
[all …]
D_string_io.c17 basic_streambuf<_CharT, _Traits>* __buf, in __stlp_string_fill() argument
21 if (_Traits::eq_int_type(__buf->sputc(__f), _Traits::eof())) in __stlp_string_fill()
46 basic_streambuf<_CharT, _Traits>* __buf = __os.rdbuf();
53 __ok = __stlp_string_fill(__os, __buf, __pad_len);
55 __ok = __ok && (__buf->sputn(__s.data(), streamsize(__n)) == streamsize(__n));
58 __ok = __ok && __stlp_string_fill(__os, __buf, __pad_len);
80 basic_streambuf<_CharT, _Traits>* __buf = __is.rdbuf();
103 typename _Traits::int_type __c1 = __buf->sbumpc();
112 if (_Traits::eq_int_type(__buf->sputbackc(__c), _Traits::eof()))
141 basic_streambuf<_CharT, _Traits>* __buf = __is.rdbuf(); in getline() local
[all …]
D_ostreambuf_iterator.h57 ostreambuf_iterator(streambuf_type* __buf) _STLP_NOTHROW : _M_buf(__buf), _M_ok(__buf!=0) {} in ostreambuf_iterator() argument
D_istream.h86 explicit basic_istream(basic_streambuf<_CharT, _Traits>* __buf) : in basic_istream() argument
88 this->init(__buf); in basic_istream()
138 _Self& get(basic_streambuf<_CharT, _Traits>& __buf,
140 _Self& get(basic_streambuf<_CharT, _Traits>& __buf) in get() argument
141 { return get(__buf, this->widen('\n')); } in get()
333 explicit basic_iostream(basic_streambuf<_CharT, _Traits>* __buf);
D_num_get.c368 __read_float(__iostring& __buf, _InputIter& __in_ite, _InputIter& __end, in __read_float() argument
393 __in_ite = __copy_sign(__in_ite, __end, __buf, __xplus, __xminus); in __read_float()
397 __digits_before_dot = __copy_grouped_digits(__in_ite, __end, __buf, __digits, in __read_float()
400 __digits_before_dot = __copy_digits(__in_ite, __end, __buf, __digits); in __read_float()
404 __buf.push_back('.'); in __read_float()
406 __digits_after_dot = __copy_digits(__in_ite, __end, __buf, __digits); in __read_float()
414 __buf.push_back('e'); in __read_float()
416 __in_ite = __copy_sign(__in_ite, __end, __buf, __xplus, __xminus); in __read_float()
417 __ok = __copy_digits(__in_ite, __end, __buf, __digits); in __read_float()
433 __iostring __buf ; in __do_get_float() local
[all …]
D_fstream.c268 basic_filebuf<_CharT, _Traits>::setbuf(_CharT* __buf, streamsize __n) { in setbuf() argument
271 if (__buf == 0 && __n == 0) in setbuf()
273 else if (__buf != 0 && __n > 0) in setbuf()
274 _M_allocate_buffers(__buf, __n); in setbuf()
351 _Filebuf_Tmp_Buf<_CharT> __buf(__ipos); in seekoff()
352 _CharT* __ibegin = __buf._M_ptr; in seekoff()
630 bool basic_filebuf<_CharT, _Traits>::_M_allocate_buffers(_CharT* __buf, streamsize __n) { in _M_allocate_buffers() argument
637 if (__buf == 0) { in _M_allocate_buffers()
650 _M_int_buf = __buf; in _M_allocate_buffers()
D_monetary.c150 string_type __buf; in __money_do_get() local
151 back_insert_iterator<string_type> __out_ite(__buf); in __money_do_get()
253 __digits = __buf; in __money_do_get()
265 __digits += __buf; in __money_do_get()
282 string_type __buf; in do_get() local
284 …__s = _STLP_PRIV __money_do_get(__s, __end, __intl, __str, __err, __buf, __is_positive, (_CharT*)0… in do_get()
287 typename string_type::iterator __b = __buf.begin(), __e = __buf.end(); in do_get()
D_fstream.h68 ptrdiff_t _M_read(char* __buf, ptrdiff_t __n);
71 bool _M_write(char* __buf, ptrdiff_t __n);
234 bool _M_allocate_buffers(_CharT* __buf, streamsize __n);
322 bool _M_write(char* __buf, ptrdiff_t __n) {return _M_base._M_write(__buf, __n); } in _M_write() argument
357 _M_doit(basic_filebuf<char, char_traits<char> >* __buf, in _M_doit() argument
360 return (__buf->_M_write(__first, __n)); in _M_doit()
390 _M_doit(basic_filebuf<char, char_traits<char> >* __buf) { in _M_doit() argument
391 return __buf->_M_do_noconv_input(); in _M_doit()
D_ios.c48 basic_ios<_CharT, _Traits>::rdbuf(basic_streambuf<_CharT, _Traits>* __buf) { in rdbuf() argument
50 _M_streambuf = __buf; in rdbuf()
D_bitset.c186 basic_streambuf<_CharT, _Traits>* __buf = __is.rdbuf();
190 typename _Traits::int_type __c1 = __buf->sbumpc();
201 else if (_Traits::eq_int_type(__buf->sputbackc(__c2), __eof)) {
D_time_facets.c429 _STLP_BASIC_IOSTRING(_Ch) __buf; in do_put()
430 _STLP_PRIV __write_formatted_time(__buf, __ct, __format, __modifier, this->_M_timeinfo, __tmb); in do_put()
431 return copy(__buf.begin(), __buf.end(), __s); in do_put()
D_ostream.c37 basic_ostream<_CharT, _Traits>::basic_ostream(basic_streambuf<_CharT, _Traits>* __buf) in basic_ostream() argument
39 this->init(__buf); in basic_ostream()
397 basic_streambuf<_CharT, _Traits>* __buf = this->rdbuf(); in _M_put_widen_aux() local
400 if (this->_S_eof(__buf->sputc(this->widen(*__s++)))) in _M_put_widen_aux()
D_bitset.h769 streambuf* __buf = __is.rdbuf();
773 typename _Traits::int_type __c1 = __buf->sbumpc();
784 else if (_Traits::eq_int_type(__buf->sputbackc(__c2), __eof)) {
820 wstreambuf* __buf = __is.rdbuf();
824 typename _Traits::int_type __c1 = __buf->sbumpc();
835 else if (_Traits::eq_int_type(__buf->sputbackc(__c2), __eof)) {
D_strstream.h77 virtual _Base* setbuf(char* __buf, streamsize __n);
D_ostream.h71 explicit basic_ostream(basic_streambuf<_CharT, _Traits>* __buf);
101 _Self& operator<<(basic_streambuf<_CharT, _Traits>* __buf);
D_num_put.h139 __write_integer_backward(char* __buf, ios_base::fmtflags __flags, _Integer __x);
D_algo.c812 _Temporary_buffer<_ForwardIter, _Tp> __buf(__first, __last); in __stable_partition_aux_aux()
814 return (__buf.size() > 0) ? in __stable_partition_aux_aux()
816 _Distance(__buf.requested_size()), in __stable_partition_aux_aux()
817 __buf.begin(), __buf.size(), in __stable_partition_aux_aux()
820 _Distance(__buf.requested_size()), in __stable_partition_aux_aux()
1541 _Temporary_buffer<_BidirectionalIter, _Tp> __buf(__first, __last); in __inplace_merge_aux()
1542 if (__buf.begin() == 0) in __inplace_merge_aux()
1546 __buf.begin(), _Distance(__buf.size()), in __inplace_merge_aux()
D_rope.h1235 …_CharT* __buf = _STLP_CREATE_ALLOCATOR(allocator_type,__a, _CharT).allocate(_S_rounded_up_size(_p_…
1237 _STLP_PRIV __ucopy_n(__s, _p_size, __buf);
1238 _S_construct_null(__buf + _p_size);
1241 return _S_new_RopeLeaf(__buf, _p_size, __a);
1243 _STLP_UNWIND(_RopeRep::_S_free_string(__buf, _p_size, __a))
1396 _CharT* __buf = _M_tree_ptr.allocate(_S_rounded_up_size(1));
1398 _Copy_Construct(__buf, __c);
1399 _S_construct_null(__buf + 1);
1402 _M_tree_ptr._M_data = _S_new_RopeLeaf(__buf, 1, __a);
1404 _STLP_UNWIND(_RopeRep::_S_free_string(__buf, 1, __a))
/ndk/sources/cxx-stl/stlport/src/
Dc_locale.h123 const char * _Locale_ctype_default(char * __buf);
124 const char * _Locale_numeric_default(char * __buf);
125 const char * _Locale_time_default(char * __buf);
126 const char * _Locale_collate_default(char * __buf);
127 const char * _Locale_monetary_default(char * __buf);
128 const char * _Locale_messages_default(char * __buf);
136 char const* _Locale_ctype_name(const struct _Locale_ctype *, char* __buf);
137 char const* _Locale_codecvt_name(const struct _Locale_codecvt *, char* __buf);
138 char const* _Locale_numeric_name(const struct _Locale_numeric *, char* __buf);
139 char const* _Locale_time_name(const struct _Locale_time *, char* __buf);
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Ddeque2103 __split_buffer<value_type, allocator_type&> __buf(__base::__alloc());
2104 __buf.__construct_at_end(__f, __l);
2106 return insert(__p, move_iterator<__bi>(__buf.begin()), move_iterator<__bi>(__buf.end()));
2270 __buf(max<size_type>(2 * __base::__map_.capacity(), 1),
2276 __buf.push_back(__alloc_traits::allocate(__a, __base::__block_size));
2281 __alloc_traits::deallocate(__a, __buf.front(), __base::__block_size);
2287 __buf.push_back(*__i);
2288 _VSTD::swap(__base::__map_.__first_, __buf.__first_);
2289 _VSTD::swap(__base::__map_.__begin_, __buf.__begin_);
2290 _VSTD::swap(__base::__map_.__end_, __buf.__end_);
[all …]
D__locale1224 char __buf[__sz];
1228 __buf, __buf+__sz, __bn);
1231 for (const char* __p = __buf; __p < __bn; ++__p, ++__s)
1258 char __buf[__sz];
1262 __buf, __buf+__sz, __bn);
1265 for (const char* __p = __buf; __p < __bn; ++__p, ++__s)
1314 char16_t __buf[__sz];
1318 __buf, __buf+__sz, __bn);
1321 for (const char16_t* __p = __buf; __p < __bn; ++__p, ++__s)
1348 char32_t __buf[__sz];
[all …]
Dlocale1006 string __buf;
1007 __buf.resize(__buf.capacity());
1008 char* __a = &__buf[0];
1015 if (__a_end == __a + __buf.size())
1017 size_t __tmp = __buf.size();
1018 __buf.resize(2*__buf.size());
1019 __buf.resize(__buf.capacity());
1020 __a = &__buf[0];
1056 string __buf;
1057 __buf.resize(__buf.capacity());
[all …]
D__split_buffer259 __split_buffer __buf(__new_cap, 0, __a);
260 for (pointer __p = __begin_; __p != __end_; ++__p, ++__buf.__end_)
261 __alloc_traits::construct(__buf.__alloc(),
262 _VSTD::__to_raw_pointer(__buf.__end_), _VSTD::move(*__p));
263 swap(__buf);

12