/ndk/sources/cxx-stl/stlport/src/ |
D | fstream.cpp | 78 __this->setg(__STATIC_CAST(char*, __this->_M_mmap_base), in _M_doit() 79 … __STATIC_CAST(char*, __this->_M_mmap_base) + __STATIC_CAST(ptrdiff_t, __remainder), in _M_doit() 80 … __STATIC_CAST(char*, __this->_M_mmap_base) + __STATIC_CAST(ptrdiff_t, __this->_M_mmap_len)); in _M_doit()
|
D | strstream.cpp | 37 …size_t n = (sizeof(streamsize) > sizeof(size_t)) ? __STATIC_CAST(size_t, (min)(__STATIC_CAST(strea… in strstreambuf() 39 … : __STATIC_CAST(size_t, (max)(initial_capacity, streamsize(16))); in strstreambuf() 234 if (seeklow + __STATIC_CAST(ptrdiff_t, off) < pbase()) { in seekoff() 245 setg(seeklow, seeklow + __STATIC_CAST(ptrdiff_t, off), egptr()); in seekoff() 247 setg(seeklow, seeklow + __STATIC_CAST(ptrdiff_t, off), pptr()); in seekoff() 249 setg(seeklow, seeklow + __STATIC_CAST(ptrdiff_t, off), epptr()); in seekoff() 263 return __STATIC_CAST(char*,_M_alloc_fun(n)); in _M_alloc()
|
D | allocators.cpp | 62 return __STATIC_CAST(char*, __chunk); in __stlp_new_chunk() 74 return __STATIC_CAST(char*, __chunk); in __stlp_new_chunk() 79 { return __STATIC_CAST(char*, _STLP_STD::__stl_new(__bytes)); } in __stlp_new_chunk() 125 static __oom_handler_type __oom_handler = __STATIC_CAST(__oom_handler_type, 0); 342 _Obj * __pobj = __STATIC_CAST(_Obj*, __p); in _M_deallocate() 497 _S_free_list[_S_FREELIST_INDEX(__n)].push(__STATIC_CAST(_Obj*, __p)); in _M_deallocate() 542 __add_atomic_t __total_bytes = __STATIC_CAST(__add_atomic_t, _p_size) * __nobjs; in _S_chunk_alloc() 544 _FreeBlockHeader* __block = __STATIC_CAST(_FreeBlockHeader*, _S_free_mem_blocks.pop()); in _S_chunk_alloc() 551 … if ((__bytes_left < __total_bytes) && (__bytes_left >= __STATIC_CAST(__add_atomic_t, _p_size))) { in _S_chunk_alloc() 555 __total_bytes = __STATIC_CAST(__add_atomic_t, _p_size) * __nobjs; in _S_chunk_alloc() [all …]
|
D | ios.cpp | 100 = __STATIC_CAST(PODType*,realloc(__array, new_N * sizeof(PODType))); in _Stl_expand_array() 106 return pair<PODType*, size_t>(__STATIC_CAST(PODType*,0), 0); in _Stl_expand_array() 118 PODType* result = __STATIC_CAST(PODType*,malloc(N * sizeof(PODType))); in _Stl_copy_array() 215 …ptr = __write_integer(buffer+strlen(buffer), ios_base::hex, __STATIC_CAST(unsigned long,_M_iostate… in _M_throw_failure() 217 …ptr = __write_integer(buffer+strlen(buffer), ios_base::hex, __STATIC_CAST(unsigned long,_M_excepti… in _M_throw_failure()
|
D | stdio_streambuf.cpp | 68 …_t __n_size_t = (sizeof(streamsize) > sizeof(size_t)) ? __STATIC_CAST(size_t, (min)(__STATIC_CAST(… in setbuf() 69 : __STATIC_CAST(size_t, n); in setbuf()
|
D | num_put.cpp | 54 groupsize = __STATIC_CAST(int, grouping[n++] ); in __insert_grouping_aux() 99 groupsize = __STATIC_CAST( int, grouping[n++] ); in __insert_grouping_aux()
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
D | _bitset.c | 52 fill(_M_w + 0, _M_w + __wshift, __STATIC_CAST(_WordT,0)); in _M_do_left_shift() 75 fill(_M_w + __limit + 1, _M_w + _Nw, __STATIC_CAST(_WordT,0)); in _M_do_right_shift() 91 if ( __thisword != __STATIC_CAST(_WordT,0) ) { in _M_do_find_first() 95 = __STATIC_CAST(unsigned char,(__thisword & (~(unsigned char)0))); in _M_do_find_first() 124 __thisword &= (~__STATIC_CAST(_WordT,0)) << _S_whichbit(__prev); in _M_do_find_next() 126 if ( __thisword != __STATIC_CAST(_WordT,0) ) { in _M_do_find_next() 132 = __STATIC_CAST(unsigned char,(__thisword & (~(unsigned char)0))); in _M_do_find_next() 145 if ( __thisword != __STATIC_CAST(_WordT,0) ) { in _M_do_find_next() 149 = __STATIC_CAST(unsigned char,(__thisword & (~(unsigned char)0))); in _M_do_find_next() 211 __x._M_copy_from_string(__tmp, __STATIC_CAST(size_t,0), _Nb);
|
D | _time_facets.c | 174 __t->tm_wday = __STATIC_CAST(int, __index); in _STLP_WEAK() 185 __t->tm_mon = __STATIC_CAST(int, __index); in _STLP_WEAK() 190 bool __pr = __get_decimal_integer(__first, __last, __t->tm_mday, __STATIC_CAST(_Ch*, 0)); in _STLP_WEAK() 199 bool __pr = __get_decimal_integer(__first, __last, __t->tm_hour, __STATIC_CAST(_Ch*, 0)); in _STLP_WEAK() 206 bool __pr = __get_decimal_integer(__first, __last, __t->tm_yday, __STATIC_CAST(_Ch*, 0)); in _STLP_WEAK() 213 bool __pr = __get_decimal_integer(__first, __last, __t->tm_mon, __STATIC_CAST(_Ch*, 0)); in _STLP_WEAK() 223 bool __pr = __get_decimal_integer(__first, __last, __t->tm_min, __STATIC_CAST(_Ch*, 0)); in _STLP_WEAK() 243 bool __pr = __get_decimal_integer(__first, __last, __t->tm_sec, __STATIC_CAST(_Ch*, 0)); in _STLP_WEAK() 250 bool __pr = __get_decimal_integer(__first, __last, __t->tm_year, __STATIC_CAST(_Ch*, 0)); in _STLP_WEAK() 257 bool __pr = __get_decimal_integer(__first, __last, __t->tm_year, __STATIC_CAST(_Ch*, 0)); in _STLP_WEAK() [all …]
|
D | _slist.c | 48 _Node* __tmp = __STATIC_CAST(_Node*, __cur); in _M_erase_after() 76 __STATIC_CAST(_Node*, __n1)->_M_data = __STATIC_CAST(const _Node*, __n2)->_M_data; 95 __STATIC_CAST(_Node*, __node)->_M_data = __val; in _M_fill_assign() 122 if (__STATIC_CAST(_Node*, __cur->_M_next)->_M_data == __val) in remove() 139 if (__pred(*__ite, __STATIC_CAST(_Node*, __ite._M_node->_M_next)->_M_data)) in _Slist_unique() 154 if (__comp(__x.front(), __STATIC_CAST(_Node*, __ite._M_node->_M_next)->_M_data)) { in _Slist_merge() 155 … _STLP_VERBOSE_ASSERT(!__comp(__STATIC_CAST(_Node*, __ite._M_node->_M_next)->_M_data, __x.front()), in _Slist_merge() 168 if (__comp(__STATIC_CAST(_Node*, __i1._M_node->_M_next)->_M_data, *__i2)) { in _Slist_merge() 169 _STLP_VERBOSE_ASSERT(!__comp(*__i2, __STATIC_CAST(_Node*, __i1._M_node->_M_next)->_M_data), in _Slist_merge()
|
D | _iterator_base.h | 224 { return __STATIC_CAST(ptrdiff_t*, 0); } 230 return __STATIC_CAST(_diff_type*,0); 236 { return __STATIC_CAST(_Tp*, 0); } 242 return __STATIC_CAST(_value_type*,0); 251 …pe(const iterator<_Category,_Tp,_Distance,_Pointer,_Reference>&) { return __STATIC_CAST(_Tp*, 0); } 253 …onst iterator<_Category,_Tp,_Distance,_Pointer,_Reference>&) { return __STATIC_CAST(_Distance*, 0)… 257 inline _Tp* _STLP_CALL value_type(const _Tp*) { return __STATIC_CAST(_Tp*, 0); } 259 inline ptrdiff_t* _STLP_CALL distance_type(const _Tp*) { return __STATIC_CAST(ptrdiff_t*, 0); } 293 inline _Tp* _STLP_CALL value_type(const input_iterator<_Tp, _Distance>&) { return __STATIC_CAST(_T… 295 inline _Tp* _STLP_CALL value_type(const forward_iterator<_Tp, _Distance>&) { return __STATIC_CAST(_… [all …]
|
D | _string_io.c | 36 _STLP_STATIC_ASSERT(__STATIC_CAST(size_type, -1) > 0) 48 …const bool __need_pad = (((sizeof(streamsize) > sizeof(size_t)) && (__STATIC_CAST(streamsize, __n)… 49 … ((sizeof(streamsize) <= sizeof(size_t)) && (__n < __STATIC_CAST(size_t, __w)))); 75 _STLP_STATIC_ASSERT(__STATIC_CAST(size_type, -1) > 0) 95 (__width > __STATIC_CAST(streamsize, __s.max_size()))) 98 __n = __STATIC_CAST(size_type, __width);
|
D | _rope.c | 99 __x._M_buf_start = __STATIC_CAST(const _RopeLeaf*, __leaf)->_M_data; in _S_setbuf() 110 char_producer<_CharT>* __fn = __STATIC_CAST(const _RopeFunction*, __leaf)->_M_fn; in _S_setbuf() 173 const _RopeConcat* __c = __STATIC_CAST(const _RopeConcat*, __curr_rope); in _S_setcache() 229 __c = __STATIC_CAST(const _RopeConcat*, __current_node); in _S_setcache_for_incr() 241 __c = __STATIC_CAST(const _RopeConcat*, __current_node); in _S_setcache_for_incr() 258 __current_node = __STATIC_CAST(const _RopeConcat*, __current_node)->_M_left; in _S_setcache_for_incr() 321 _RopeLeaf* __l = __STATIC_CAST(_RopeLeaf*, this); in _M_free_tree() 330 _RopeConcatenation* __c = __STATIC_CAST(_RopeConcatenation*, this); in _M_free_tree() 339 _RopeFunction* __f = __STATIC_CAST(_RopeFunction*, this); in _M_free_tree() 348 _RopeSubstring* __rss = __STATIC_CAST(_RopeSubstring*, this); in _M_free_tree() [all …]
|
D | _cmath.h | 190 { return __STATIC_CAST(__type, _STLP_CMATH_FUNC_NAMESPACE::cfunc((double)x)); } 193 { return __STATIC_CAST(__type1, _STLP_CMATH_FUNC_NAMESPACE::cfunc((double)x, y)); } 197 tmp1 = _STLP_CMATH_FUNC_NAMESPACE::cfunc(__STATIC_CAST(double, x), &tmp2); \ 198 *y = __STATIC_CAST(__type, tmp2); \ 199 return __STATIC_CAST(__type, tmp1); \ 203 { return __STATIC_CAST(__type, _STLP_CMATH_FUNC_NAMESPACE::cfunc((double)x, (double)y)); } 458 inline float pow(float __x, int __y) { return _STLP_CMATH_FUNC_NAMESPACE::powf(__x, __STATIC_CAST(f… 460 inline float pow(float __x, int __y) { return ::__powf(__x, __STATIC_CAST(float,__y)); } 463 …e float pow(float __x, int __y) { return __STATIC_CAST(float, _STLP_CMATH_FUNC_NAMESPACE::pow(__x,… 465 inline double pow(double __x, int __y) { return _STLP_CMATH_FUNC_NAMESPACE::pow(__x, __STATIC_CAST(… in pow() [all …]
|
D | _sstream.c | 180 _Traits::copy(this->pptr(), __s, __STATIC_CAST(size_t, __n)); in xsputn() 195 _M_str.append(__s, __s + __STATIC_CAST(ptrdiff_t, __n)); in xsputn() 199 _M_str.append(__s, __s + __STATIC_CAST(ptrdiff_t, __n)); in xsputn() 223 _Traits::assign(this->pptr(), __STATIC_CAST(size_t, __n), __c); in _M_xsputnc() 224 this->pbump(__STATIC_CAST(int, __n)); in _M_xsputnc() 235 …t __app_size = sizeof(streamsize) > sizeof(size_t) ? __STATIC_CAST(size_t, (min)(__n, __STATIC_CAS… in _M_xsputnc() 236 : __STATIC_CAST(size_t, __n); in _M_xsputnc() 279 …_M_str.reserve(sizeof(streamsize) > sizeof(size_t) ? __STATIC_CAST(size_t, (min)(__n, __STATIC_CAS… in setbuf() 280 : __STATIC_CAST(size_t, __n)); in setbuf() 339 this->setg(this->eback(), this->eback() + __STATIC_CAST(ptrdiff_t, __off), in seekoff() [all …]
|
D | _stdexcept_base.c | 22 _M_name = __STATIC_CAST(char*, malloc(__size * sizeof(char))); in __Named_exception() 45 _M_name = __STATIC_CAST(char*, malloc(__size * sizeof(char))); in __Named_exception() 71 _M_name = __STATIC_CAST(char*, malloc(__size * sizeof(char)));
|
D | _streambuf.c | 60 size_t __chunk = (min) (__STATIC_CAST(size_t,_M_gend - _M_gnext), in xsgetn() 61 __STATIC_CAST(size_t,__n - __result)); in xsgetn() 91 size_t __chunk = (min) (__STATIC_CAST(size_t,_M_pend - _M_pnext), in xsputn() 92 __STATIC_CAST(size_t,__n - __result)); in xsputn() 119 size_t __chunk = (min) (__STATIC_CAST(size_t,_M_pend - _M_pnext), in _M_xsputnc() 120 __STATIC_CAST(size_t,__n - __result)); in _M_xsputnc()
|
D | _fstream.c | 177 _CharT* __pback_end = _M_pback_buf + __STATIC_CAST(int,_S_pback_buf_size); in pbackfail() 333 …streamoff __eadj = _M_base._M_get_offset(_M_ext_buf + __STATIC_CAST(ptrdiff_t, __iadj), _M_ext_bu… in seekoff() 642 (__bufsize > __STATIC_CAST(streamsize, (numeric_limits<size_t>::max)()))) in _M_allocate_buffers() 644 _M_int_buf = __STATIC_CAST(_CharT*, malloc(__STATIC_CAST(size_t, __bufsize))); in _M_allocate_buffers() 654 streamsize __ebufsiz = (max)(__n * __STATIC_CAST(streamsize, _M_width), in _M_allocate_buffers() 655 __STATIC_CAST(streamsize, _M_codecvt->max_length())); in _M_allocate_buffers() 660 (__ebufsiz <= __STATIC_CAST(streamsize, (numeric_limits<size_t>::max)()))) { in _M_allocate_buffers() 661 _M_ext_buf = __STATIC_CAST(char*, malloc(__STATIC_CAST(size_t, __ebufsiz))); in _M_allocate_buffers() 669 _M_int_buf_EOS = _M_int_buf + __STATIC_CAST(ptrdiff_t, __n); in _M_allocate_buffers() 670 _M_ext_buf_EOS = _M_ext_buf + __STATIC_CAST(ptrdiff_t, __ebufsiz); in _M_allocate_buffers()
|
D | _bitset.h | 129 return __STATIC_CAST(_WordT,1) << _S_whichbit(__pos); in _S_maskbit() 168 _M_w[__i] = ~__STATIC_CAST(_WordT,0); in _M_do_set() 184 if ( _M_w[__i] != __STATIC_CAST(_WordT,0) ) in _M_is_any() 229 return (__STATIC_CAST(_WordT,1)) << _S_whichbit(__pos); 244 void _M_do_set() { _M_w = ~__STATIC_CAST(_WordT,0); } 279 if ( __thisword != __STATIC_CAST(_WordT,0) ) { 283 = __STATIC_CAST(unsigned char,(__thisword & (~(unsigned char)0))); 308 __thisword &= (~__STATIC_CAST(_WordT,0)) << _S_whichbit(__prev); 310 if ( __thisword != __STATIC_CAST(_WordT,0) ) { 316 = __STATIC_CAST(unsigned char,(__thisword & (~(unsigned char)0))); [all …]
|
D | _ostream.c | 225 __STATIC_CAST(long, __STATIC_CAST(unsigned short, __x)): __x; 232 return _STLP_PRIV __put_num(*this, __STATIC_CAST(unsigned long,__x)); 239 __STATIC_CAST(long, __STATIC_CAST(unsigned int, __x)): __x; 254 return _STLP_PRIV __put_num(*this, __STATIC_CAST(unsigned long,__x)); 277 { return _STLP_PRIV __put_num(*this, __STATIC_CAST(double,__x)); }
|
D | _alloc.h | 539 …{ return __stl_alloc_rebind(__STATIC_CAST(_Base&, *this), __STATIC_CAST(_Tp*, 0)).allocate(__n, 0)… 541 { __stl_alloc_rebind(__STATIC_CAST(_Base&, *this), __STATIC_CAST(_Tp*, 0)).deallocate(__p, __n); } 544 …{ return __stl_alloc_rebind(__STATIC_CAST(_Base&, *this), __STATIC_CAST(_Tp*, 0))._M_allocate(__n,…
|
D | _cwchar.h | 310 { return __STATIC_CAST(wchar_t*, _STLP_VENDOR_CSTD::wmemcpy(__wdst, __wsrc, __n)); } in _STLP_wmemcpy() 312 { return __STATIC_CAST(wchar_t*, _STLP_VENDOR_CSTD::memset(__wdst, __wc, __n)); } in _STLP_wmemset() 321 { return __STATIC_CAST(wchar_t*, memcpy(__wdst, __wsrc, __n * sizeof(wchar_t))); } in wmemcpy() 323 { return __STATIC_CAST(wchar_t*, memmove(__wdst, __wc, __n * sizeof(wchar_t))); } in wmemmove()
|
D | _auto_ptr.h | 39 _Tp* release() const { _M_r.__set(__STATIC_CAST(void*, 0)); return _M_p; } in release() 68 { return __STATIC_CAST(_Tp*, _M_p); } in get()
|
D | _string.c | 198 size_type __n = __STATIC_CAST(size_type, __last - __first); in _M_append() 244 if (__STATIC_CAST(size_type, __n) <= size()) { in _M_assign() 489 __STATIC_CAST(_Traits*, 0)); in find_first_of() 507 __STATIC_CAST(_Traits*, 0)); in find_last_of() 520 … __STATIC_CAST(const _CharType*, __s), in find_first_not_of() 521 … __STATIC_CAST(const _CharType*, __s) + __n, in find_first_not_of() 522 __STATIC_CAST(_Traits*, 0)); in find_first_not_of() 551 __STATIC_CAST(const _CharType*, __s), in find_last_not_of() 552 __STATIC_CAST(const _CharType*, __s) + __n, in find_last_not_of() 553 __STATIC_CAST(_Traits*, 0)); in find_last_not_of()
|
/ndk/sources/cxx-stl/stlport/stlport/stl/debug/ |
D | _debug.c | 130 …if (!(&__first == __STATIC_CAST(_Iterator*, __pos) || &__last == __STATIC_CAST(_Iterator*, __pos))… in __invalidate_range() 131 stlp_in_range_aux(__STATIC_CAST(_Iterator*, __pos)->_M_iterator, in __invalidate_range() 154 if ((__pos != __STATIC_CAST(const _L_type*, &__it)) && in __invalidate_iterator() 155 (__STATIC_CAST(_Iterator*, __pos)->_M_iterator == __it._M_iterator)) { in __invalidate_iterator() 183 …if (!(&__first == __STATIC_CAST(_Iterator*, __pos) || &__last == __STATIC_CAST(_Iterator*, __pos))… in __change_range_owner() 184 stlp_in_range_aux(__STATIC_CAST(_Iterator*, __pos)->_M_iterator, in __change_range_owner() 229 if ((__pos != __STATIC_CAST(const _L_type*, &__it)) && in __change_ite_owner() 230 (__STATIC_CAST(_Iterator*, __pos)->_M_iterator == __it._M_iterator)) { in __change_ite_owner()
|
/ndk/sources/cxx-stl/stlport/src/details/ |
D | fstream_win32io.cpp | 392 size_t chunkSize = (min)(size_t(0xffffffff), __STATIC_CAST(size_t, n)); in _M_read() 396 while (__STATIC_CAST(size_t, (n - readen)) >= chunkSize) { in _M_read() 398 ReadFile(_M_file_id, buf + readen, __STATIC_CAST(DWORD, chunkSize), &numberOfBytesRead, 0); in _M_read() 484 __STATIC_CAST(DWORD, (min)(size_t(0xffffffff), bytes_to_write)), in _M_write() 524 __STATIC_CAST(DWORD, (min)(size_t(0xffffffff), NumberOfBytesToWrite)), in _M_write() 603 __STATIC_CAST(SIZE_T, len)); in _M_mmap() 605 __STATIC_CAST(DWORD, len)); in _M_mmap()
|