/ndk/sources/cxx-stl/stlport/stlport/stl/ |
D | _ios_base.h | 269 inline ios_base& _STLP_CALL boolalpha(ios_base& __s) in boolalpha() argument 270 { __s.setf(ios_base::boolalpha); return __s;} in boolalpha() 272 inline ios_base& _STLP_CALL noboolalpha(ios_base& __s) in noboolalpha() argument 273 { __s.unsetf(ios_base::boolalpha); return __s;} in noboolalpha() 275 inline ios_base& _STLP_CALL showbase(ios_base& __s) in showbase() argument 276 { __s.setf(ios_base::showbase); return __s;} in showbase() 278 inline ios_base& _STLP_CALL noshowbase(ios_base& __s) in noshowbase() argument 279 { __s.unsetf(ios_base::showbase); return __s;} in noshowbase() 281 inline ios_base& _STLP_CALL showpoint(ios_base& __s) in showpoint() argument 282 { __s.setf(ios_base::showpoint); return __s;} in showpoint() [all …]
|
D | _string_sum_methods.h | 24 …basic_string(_STLP_PRIV __bstr_sum<_CharT, _Traits, _Alloc, _Left, _Right, _StorageDir> const& __s) in basic_string() argument 25 : _STLP_STRING_SUM_BASE(_Reserve_t(), __s.size(), __s.get_allocator()) in basic_string() 26 { _M_append_sum(__s); } in basic_string() 29 …basic_string(_STLP_PRIV __bstr_sum<_CharT, _Traits, _Alloc, _Left, _Right, _StorageDir> const& __s, 32 …: _STLP_STRING_SUM_BASE(_Reserve_t(), (__pos <= __s.size()) ? ((min) (__n, __s.size() - __pos)) : … in _Reserve_t() 33 size_type __size = __s.size(); in _Reserve_t() 37 _M_append_sum_pos(__s, __pos, (min) (__n, __size - __pos)); in _Reserve_t() 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 [all …]
|
D | _string.h | 183 basic_string(const _Self& __s, size_type __pos, size_type __n = npos, 186 basic_string(const _Self& __s, size_type __pos) in basic_string() argument 188 if (__pos > __s.size()) in basic_string() 191 _M_range_initialize(__s._M_Start() + __pos, __s._M_Finish()); in basic_string() 193 basic_string(const _Self& __s, size_type __pos, size_type __n) in basic_string() argument 195 if (__pos > __s.size()) in basic_string() 198 _M_range_initialize(__s._M_Start() + __pos, in basic_string() 199 __s._M_Start() + __pos + (min) (__n, __s.size() - __pos)); in basic_string() 201 basic_string(const _Self& __s, size_type __pos, size_type __n, in basic_string() argument 205 if (__pos > __s.size()) in basic_string() [all …]
|
D | _monetary.c | 122 _InputIter __money_do_get(_InputIter __s, _InputIter __end, bool __intl, in __money_do_get() argument 125 if (__s == __end) { in __money_do_get() 127 return __s; in __money_do_get() 156 if (!__c_type.is(ctype_base::space, *__s)) { in __money_do_get() 158 return __s; in __money_do_get() 160 ++__s; in __money_do_get() 162 while (__s != __end && __c_type.is(ctype_base::space, *__s)) in __money_do_get() 163 ++__s; in __money_do_get() 169 __result = __get_string(__s, __end, __curs.begin(), __curs.end()); in __money_do_get() 172 __s = __result.first; in __money_do_get() [all …]
|
D | _string_sum.h | 67 __bstr_wrapper (_BString const& __s) : in __bstr_wrapper() 68 _BStr(__s) {} in __bstr_wrapper() 124 _BStrOnLeft operator += (const _BString& __s) { return append(__s); } 127 _CStrOnLeft operator += (const _CharT* __s) { return append(__s); } 133 _BStrOnLeft append (const _BString& __s) in append() argument 134 { return _BStrOnLeft(*this, __s); } in append() 135 _BString& append(const _BString& __s, size_type __pos, size_type __n) in append() argument 136 { return _M_get_storage().append(__s, __pos, __n); } in append() 137 _CStrOnLeft append(const _CharT* __s) { in append() argument 138 const size_type __n = _Traits::length(__s); in append() [all …]
|
D | _num_put.h | 60 iter_type put(iter_type __s, ios_base& __f, char_type __fill, in put() argument 62 return do_put(__s, __f, __fill, __val); in put() 65 iter_type put(iter_type __s, ios_base& __f, char_type __fill, in put() argument 67 return do_put(__s, __f, __fill, __val); in put() 70 iter_type put(iter_type __s, ios_base& __f, char_type __fill, in put() argument 72 return do_put(__s, __f, __fill, __val); in put() 76 iter_type put(iter_type __s, ios_base& __f, char_type __fill, in put() argument 78 return do_put(__s, __f, __fill, __val); in put() 81 iter_type put(iter_type __s, ios_base& __f, char_type __fill, in put() argument 83 return do_put(__s, __f, __fill, __val); in put() [all …]
|
D | _string_operators.h | 29 operator+(const basic_string<_CharT,_Traits,_Alloc>& __s, 35 _Str __result = _Str(_Reserve_t(), __s.size() + __y.size(), __s.get_allocator()); 37 _Str __result(_Reserve_t(), __s.size() + __y.size(), __s.get_allocator()); 39 __result.append(__s); 46 operator+(const _CharT* __s, 48 _STLP_FIX_LITERAL_BUG(__s) 51 const size_t __n = _Traits::length(__s); 57 __result.append(__s, __s + __n); 81 const _CharT* __s) { 82 _STLP_FIX_LITERAL_BUG(__s) [all …]
|
D | _string_base.h | 168 void _M_swap(_Self &__s) { argument 171 if (__s._M_using_static_buf()) { 172 _STLP_STD::swap(_M_buffers, __s._M_buffers); 174 _M_finish = _M_start_of_storage._M_data + (__s._M_finish - __s._M_start_of_storage._M_data); 175 __s._M_finish = __s._M_buffers._M_static_buf + (__tmp - _M_start_of_storage._M_data); 177 _M_start_of_storage.swap(__s._M_start_of_storage); 179 __s._M_start_of_storage._M_data = __s._M_buffers._M_static_buf; 181 __s._M_swap(*this); 185 else if (__s._M_using_static_buf()) { 189 _M_buffers = __s._M_buffers; [all …]
|
D | _string_hash.h | 34 __stl_string_hash(const basic_string<_CharT,_Traits,_Alloc>& __s) { in __stl_string_hash() argument 36 size_t __len = __s.size(); in __stl_string_hash() 37 const _CharT* __data = __s.data(); in __stl_string_hash() 47 size_t operator()(const basic_string<_CharT,_Traits,_Alloc>& __s) const 48 { return __stl_string_hash(__s); } 55 size_t operator()(const string& __s) const 56 { return __stl_string_hash(__s); } 62 size_t operator()(const wstring& __s) const 63 { return __stl_string_hash(__s); }
|
D | _string_workaround.h | 55 basic_string(const _Self& __s) in basic_string() argument 56 : _STLP_NO_MEM_T_STRING_BASE(__s) {} in basic_string() 58 basic_string(const _Self& __s, size_type __pos, size_type __n = npos, 60 : _STLP_NO_MEM_T_STRING_BASE(__s, __pos, __n, __a) {} in _STLP_NO_MEM_T_STRING_BASE() argument 62 basic_string(const _CharT* __s, size_type __n, 64 : _STLP_NO_MEM_T_STRING_BASE(__s, __n, __a) {} in _STLP_NO_MEM_T_STRING_BASE() argument 66 basic_string(const _CharT* __s, 68 : _STLP_NO_MEM_T_STRING_BASE(__s, __a) {} in _STLP_NO_MEM_T_STRING_BASE() argument 97 _Self& operator=(const _Self& __s) { 98 _Base::operator=(__s); [all …]
|
D | _hash_fun.h | 44 inline size_t __stl_hash_string(const char* __s) { in __stl_hash_string() argument 45 _STLP_FIX_LITERAL_BUG(__s) in __stl_hash_string() 47 for ( ; *__s; ++__s) in __stl_hash_string() 48 __h = 5*__h + *__s; in __stl_hash_string() 57 size_t operator()(const char* __s) const { 58 _STLP_FIX_LITERAL_BUG(__s) 59 return _STLP_PRIV __stl_hash_string(__s); 65 size_t operator()(const char* __s) const { 66 _STLP_FIX_LITERAL_BUG(__s) 67 return _STLP_PRIV __stl_hash_string(__s);
|
D | _time_facets.c | 152 const ios_base& __s, ios_base::iostate& __err, tm* __t) { in _STLP_WEAK() argument 153 const ctype<_Ch>& __ct = use_facet<ctype<_Ch> >(__s.getloc()); in _STLP_WEAK() 304 time_get<_Ch, _InIt>::do_get_date(_InIt __s, _InIt __end, in do_get_date() argument 313 = _STLP_PRIV __get_formatted_time(__s, __end, __format, __format_end, in do_get_date() 320 if (__s == __end) in do_get_date() 323 return __s; in do_get_date() 328 time_get<_Ch, _InIt>::do_get_time(_InIt __s, _InIt __end, in do_get_time() argument 336 = _STLP_PRIV __get_formatted_time(__s, __end, __format, __format_end, in do_get_time() 341 if (__s == __end) in do_get_time() 343 return __s; in do_get_time() [all …]
|
D | _string_io.c | 31 const basic_string<_CharT,_Traits,_Alloc>& __s) { 43 size_type __n = __s.size(); 55 __ok = __ok && (__buf->sputn(__s.data(), streamsize(__n)) == streamsize(__n)); 70 basic_string<_CharT,_Traits, _Alloc>& __s) { 85 __s.clear(); 89 __n = __s.max_size(); 95 (__width > __STATIC_CAST(streamsize, __s.max_size()))) 99 __s.reserve(__n); 117 __s.push_back(__c); 122 if (__s.empty()) [all …]
|
D | char_traits.h | 153 static size_t _STLP_CALL length(const char_type* __s) { in length() argument 156 for (; !eq(__s[__i], _NullChar); ++__i) {} in length() 160 static const char_type* _STLP_CALL find(const char_type* __s, size_t __n, const char_type& __c) { in find() argument 161 for ( ; __n > 0 ; ++__s, --__n) in find() 162 if (eq(*__s, __c)) in find() 163 return __s; 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() 178 return __s; in assign() 228 static size_t _STLP_CALL length(const char* __s) in length() argument [all …]
|
D | _time_facets.h | 140 iter_type get_time(iter_type __s, iter_type __end, ios_base& __str, in get_time() argument 142 { return do_get_time(__s, __end, __str, __err, __t); } in get_time() 143 iter_type get_date(iter_type __s, iter_type __end, ios_base& __str, in get_date() argument 145 { return do_get_date(__s, __end, __str, __err, __t); } in get_date() 146 iter_type get_weekday(iter_type __s, iter_type __end, ios_base& __str, in get_weekday() argument 148 { return do_get_weekday(__s, __end, __str, __err, __t); } in get_weekday() 149 iter_type get_monthname(iter_type __s, iter_type __end, ios_base& __str, in get_monthname() argument 151 { return do_get_monthname(__s, __end, __str, __err, __t); } in get_monthname() 152 iter_type get_year(iter_type __s, iter_type __end, ios_base& __str, in get_year() argument 154 { return do_get_year(__s, __end, __str, __err, __t); } in get_year() [all …]
|
D | _ostream.h | 91 void _M_put_nowiden(const _CharT* __s); 92 void _M_put_widen(const char* __s); 93 bool _M_put_widen_aux(const char* __s, streamsize __n); 97 _Self& write(const char_type* __s, streamsize __n); 195 sentry(const _Self& __s) : _M_str(__s._M_str) {} in sentry() argument 248 operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __s) { 249 __os._M_put_nowiden(__s); 275 operator<<(basic_ostream<char, char_traits<char> >& __os, const char* __s) { 276 __os._M_put_nowiden(__s); 281 operator<<(basic_ostream<char, char_traits<char> >& __os, const signed char* __s) { [all …]
|
D | _num_put.c | 115 __do_put_float(_OutputIter __s, ios_base& __f, in __do_put_float() argument 122 return __put_float(__buf, __s, __f, __fill, in __do_put_float() 192 __put_integer(char* __buf, char* __iend, _OutputIter __s, in __put_integer() argument 224 return __copy_integer_and_fill((wchar_t*)__wbuf, __len, __s, in __put_integer() 232 __put_integer(char* __buf, char* __iend, _OutputIter __s, in __put_integer() argument 260 return __copy_integer_and_fill(__buf, __len, __s, __flags, __f.width(0), __fill, '+', '-'); in __put_integer() 372 __do_put_integer(_OutputIter __s, ios_base& __f, _CharT __fill, _Integer __x) { in __do_put_integer() argument 381 return __put_integer(__ibeg, (char*)__buf + __buf_size, __s, __f, __flags, __fill); in __do_put_integer() 386 __do_put_bool(_OutputIter __s, ios_base& __f, _CharT __fill, bool __x) { in __do_put_bool() argument 393 return _STLP_STD::copy(__str.begin(), __str.end(), __s); in __do_put_bool() [all …]
|
/ndk/sources/cxx-stl/stlport/stlport/stl/debug/ |
D | _string_sum_methods.h | 23 …basic_string(_STLP_PRIV __bstr_sum<_CharT, _Traits, _Alloc, _Left, _Right, _StorageDir> const& __s) in basic_string() argument 24 : _M_non_dbg_impl(_Reserve_t(), __s.size(), __s.get_allocator()), in basic_string() 26 { _M_append_sum(__s, _M_non_dbg_impl); } in basic_string() 29 …basic_string(_STLP_PRIV __bstr_sum<_CharT, _Traits, _Alloc, _Left, _Right, _StorageDir> const& __s, 32 …: _M_non_dbg_impl(_Reserve_t(), (__pos <= __s.size()) ? ((min) (__n, __s.size() - __pos)) : 0, __a… in _Reserve_t() 34 size_type __size = __s.size(); in _Reserve_t() 39 _M_append_sum_pos(__s, __pos, (min) (__n, __size - __pos), _M_non_dbg_impl); in _Reserve_t() 45 _Base& _M_append_fast(_CharT const* __s, size_type __s_size, _Base &__str) in _M_append_fast() argument 46 { return __str.append(__s, __s_size); } in _M_append_fast() 47 _Base& _M_append_fast(_STLP_PRIV __cstr_wrapper<_CharT> const& __s, _Base &__str) in _M_append_fast() argument [all …]
|
D | _string.h | 97 basic_string(const _Self& __s) in basic_string() argument 98 : _ConstructCheck(__s), in basic_string() 99 _M_non_dbg_impl(__s._M_non_dbg_impl), _M_iter_list(&_M_non_dbg_impl) {} in basic_string() 101 basic_string(const _Self& __s, size_type __pos, size_type __n = npos, 103 : _M_non_dbg_impl(__s._M_non_dbg_impl, __pos, __n, __a), 106 basic_string(const _CharT* __s, size_type __n, 108 : _ConstructCheck(__s), _M_non_dbg_impl(__s, __n, __a), in _ConstructCheck() argument 111 basic_string(const _CharT* __s, 113 : _ConstructCheck(__s), in _ConstructCheck() argument 114 _M_non_dbg_impl(__s, __a), _M_iter_list(&_M_non_dbg_impl) {} in _ConstructCheck() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/ |
D | stdexcept | 102 _LIBCPP_INLINE_VISIBILITY explicit domain_error(const string& __s) : logic_error(__s) {} 103 _LIBCPP_INLINE_VISIBILITY explicit domain_error(const char* __s) : logic_error(__s) {} 112 _LIBCPP_INLINE_VISIBILITY explicit invalid_argument(const string& __s) : logic_error(__s) {} 113 _LIBCPP_INLINE_VISIBILITY explicit invalid_argument(const char* __s) : logic_error(__s) {} 122 _LIBCPP_INLINE_VISIBILITY explicit length_error(const string& __s) : logic_error(__s) {} 123 _LIBCPP_INLINE_VISIBILITY explicit length_error(const char* __s) : logic_error(__s) {} 132 _LIBCPP_INLINE_VISIBILITY explicit out_of_range(const string& __s) : logic_error(__s) {} 133 _LIBCPP_INLINE_VISIBILITY explicit out_of_range(const char* __s) : logic_error(__s) {} 142 _LIBCPP_INLINE_VISIBILITY explicit range_error(const string& __s) : runtime_error(__s) {} 143 _LIBCPP_INLINE_VISIBILITY explicit range_error(const char* __s) : runtime_error(__s) {} [all …]
|
D | regex | 1068 string_type __s(__f, __l); 1069 return __col_->transform(__s.data(), __s.data() + __s.size()); 1098 const string_type __s(__f, __l); 1099 string_type __d = __col_->transform(__s.data(), __s.data() + __s.size()); 1120 const string_type __s(__f, __l); 1121 string_type __d = __col_->transform(__s.data(), __s.data() + __s.size()); 1138 _LIBCPP_FUNC_VIS string __get_collation_name(const char* __s); 1146 string_type __s(__f, __l); 1148 if (!__s.empty()) 1150 __r = __get_collation_name(__s.c_str()); [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/ |
D | regex.cpp | 279 __match_any_but_newline<char>::__exec(__state& __s) const in __exec() 281 if (__s.__current_ != __s.__last_) in __exec() 283 switch (*__s.__current_) in __exec() 287 __s.__do_ = __state::__reject; in __exec() 288 __s.__node_ = nullptr; in __exec() 291 __s.__do_ = __state::__accept_and_consume; in __exec() 292 ++__s.__current_; in __exec() 293 __s.__node_ = this->first(); in __exec() 299 __s.__do_ = __state::__reject; in __exec() 300 __s.__node_ = nullptr; in __exec() [all …]
|
/ndk/sources/cxx-stl/stlport/stlport/ |
D | iostream.h | 58 istream_withassign& operator=(istream& __s) { 59 ios::init(__s.rdbuf()); 62 istream_withassign& operator=(streambuf* __s) { 63 ios::init(__s); 73 ostream_withassign& operator=(ostream& __s) { 74 ios::init(__s.rdbuf()); 77 ostream_withassign& operator=(streambuf* __s) { 78 ios::init(__s); 91 iostream_withassign & operator=(streambuf* __s) { 92 ios::init(__s);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/support/solaris/ |
D | xlocale.c | 44 size_t wcrtomb_l(char *__s, wchar_t __wc, mbstate_t *__ps, locale_t __l) { in wcrtomb_l() argument 47 __s, __wc, __ps); in wcrtomb_l() 50 size_t mbrtowc_l(wchar_t *__pwc, const char *__s, size_t __n, in mbrtowc_l() argument 54 __pwc, __s, __n, __ps); in mbrtowc_l() 63 size_t mbrlen_l(const char *__s, size_t __n, mbstate_t *__ps, locale_t __l) { in mbrlen_l() argument 65 return __l->lc_ctype->cmapp->core.user_api->mbrlen(__l->lc_ctype->cmapp, __s, in mbrlen_l() 98 size_t strftime_l(char *__s, size_t __size, const char *__fmt, const struct tm in strftime_l() argument 102 __s, __size, __fmt, __tm); in strftime_l() 161 #define vsnprintf_l(__s, __n, __l, __format, __va) \ argument 162 vsnprintf(__s, __n, __format, __va) [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/support/win32/ |
D | locale_win32.h | 103 #define sscanf_l( __s, __l, __f, ...) _sscanf_l( __s, __f, __l, __VA_ARGS__ ) argument 104 #define vsscanf_l( __s, __l, __f, ...) _sscanf_l( __s, __f, __l, __VA_ARGS__ ) argument 105 #define sprintf_l( __s, __l, __f, ... ) _sprintf_l( __s, __f, __l, __VA_ARGS__ ) argument 106 #define vsprintf_l( __s, __l, __f, ... ) _vsprintf_l( __s, __f, __l, __VA_ARGS__ ) argument 107 #define vsnprintf_l( __s, __n, __l, __f, ... ) _vsnprintf_l( __s, __n, __f, __l, __VA_ARGS__ ) argument
|