Home
last modified time | relevance | path

Searched refs:__REINTERPRET_CAST (Results 1 – 23 of 23) sorted by relevance

/external/stlport/stlport/stl/pointers/
D_tools.h278 { return __REINTERPRET_CAST(value_type *, cv_traits::cv_ptr(__ptr)); }
280 { return __REINTERPRET_CAST(value_type const*, cv_traits::cv_cptr(__ptr)); }
282 { return __REINTERPRET_CAST(value_type **, cv_traits::cv_pptr(__ptr)); }
284 { return __REINTERPRET_CAST(value_type &, cv_traits::cv_ref(__ref)); }
286 { return __REINTERPRET_CAST(value_type const&, cv_traits::cv_cref(__ptr)); }
289 { return cv_traits::uncv_ptr(__REINTERPRET_CAST(void_cv_type *, __ptr)); }
291 { return cv_traits::uncv_cptr(__REINTERPRET_CAST(void_cv_type const*, __ptr)); }
293 { return cv_traits::uncv_pptr(__REINTERPRET_CAST(void_cv_type **, __ptr)); }
295 { return cv_traits::uncv_cref(__REINTERPRET_CAST(void_cv_type const&, __ref)); }
410 { return __REINTERPRET_CAST(value_type*, __ptr); }
[all …]
/external/stlport/stlport/stl/
D_carray.h39 _Copy_Construct(__REINTERPRET_CAST(_Tp*, _M_data + __i * sizeof(_Tp)), __val); in _CArray()
44 _Destroy_Range(__REINTERPRET_CAST(_Tp*, _M_data + 0), in ~_CArray()
45 __REINTERPRET_CAST(_Tp*, _M_data + _Nb * sizeof(_Tp))); in ~_CArray()
50 return *__REINTERPRET_CAST(_Tp*, _M_data + __i * sizeof(_Tp));
D_stdexcept_base.c28 *(__REINTERPRET_CAST(size_t*, &_M_static_name[0])) = __size * sizeof(char); in __Named_exception()
51 *(__REINTERPRET_CAST(size_t*, &_M_static_name[0])) = __size * sizeof(char); in __Named_exception()
67 …size_t __buf_size = _M_name != _M_static_name ? *(__REINTERPRET_CAST(size_t*, &_M_static_name[0]))…
77 *(__REINTERPRET_CAST(size_t*, &_M_static_name[0])) = __size * sizeof(char);
D_threads.h534 …return __REINTERPRET_CAST(void*, _STLP_ATOMIC_EXCHANGE(__REINTERPRET_CAST(volatile __stl_atomic_t*… in _S_swap_ptr()
535 __REINTERPRET_CAST(__stl_atomic_t, __q)) in _S_swap_ptr()
597 …return __REINTERPRET_CAST(void*, _STLP_ATOMIC_EXCHANGE(__REINTERPRET_CAST(volatile __stl_atomic_t*… in _S_swap_ptr()
598 __REINTERPRET_CAST(__stl_atomic_t, __q)) in _S_swap_ptr()
D_istream.h246 __in_str._M_formatted_get(__REINTERPRET_CAST(char&,__c));
253 __in_str._M_formatted_get(__REINTERPRET_CAST(char&,__c));
267 __in_str._M_formatted_get(__REINTERPRET_CAST(char*,__s));
274 __in_str._M_formatted_get(__REINTERPRET_CAST(char*,__s));
D_ostream.h282 __os._M_put_nowiden(__REINTERPRET_CAST(const char*,__s));
288 __os._M_put_nowiden(__REINTERPRET_CAST(const char*,__s));
340 __os._M_put_nowiden(__REINTERPRET_CAST(const char*,__s));
347 __os._M_put_nowiden(__REINTERPRET_CAST(const char*,__s));
D_pthread_alloc.h135 _Tp* __ret = __REINTERPRET_CAST(value_type*, _S_Alloc::allocate(__buf_size));
174 _Tp* __ret = __REINTERPRET_CAST(value_type*, _S_Alloc::allocate(__buf_size)); in allocate()
318 _Tp* __ret = __REINTERPRET_CAST(_Tp*, _S_Alloc::allocate(__buf_size, _M_state));
360 _Tp* __ret = __REINTERPRET_CAST(value_type*, _S_Alloc::allocate(__buf_size, _M_state));
D_auto_ptr.h70 { return __REINTERPRET_CAST(_Tp*, _M_p); }
D_alloc.h307 _Tp* __ret = __REINTERPRET_CAST(_Tp*, __sgi_alloc::allocate(__buf_size));
348 _Tp* __ret = __REINTERPRET_CAST(_Tp*, __sgi_alloc::allocate(__buf_size)); in _M_allocate()
D_construct.h67 memset(__REINTERPRET_CAST(char*, __pointer), _STLP_SHRED_BYTE, sizeof(_Tp)); in _Destroy()
D_num_put.c503 …_STLP_PRIV __do_put_integer(__s, __f, __c_type.widen('0'), __REINTERPRET_CAST(unsigned long,__val)) in do_put()
506 …_STLP_PRIV __do_put_integer(__s, __f, __c_type.widen('0'), __REINTERPRET_CAST(unsigned _STLP_LONG_… in do_put()
D_num_get.c597 __p = __REINTERPRET_CAST(void*, __val); in do_get()
D_rope.c1322 …__old_c_string = __STATIC_CAST(_CharT*, _Atomic_swap_ptr(__REINTERPRET_CAST(void* _STLP_VOLATILE*,… in c_str()
/external/stlport/src/
Dallocators.cpp387 __REINTERPRET_CAST(_Obj*, _S_start_free)->_M_next = *__my_free_list; in _S_chunk_alloc()
388 *__my_free_list = __REINTERPRET_CAST(_Obj*, _S_start_free); in _S_chunk_alloc()
409 _S_start_free = __REINTERPRET_CAST(char*, __p); in _S_chunk_alloc()
423 __REINTERPRET_CAST(_Obj*, _S_start_free)->_M_next = _S_chunks; in _S_chunk_alloc()
424 _S_chunks = __REINTERPRET_CAST(_Obj*, _S_start_free); in _S_chunk_alloc()
438 if (1 == __nobjs) return __REINTERPRET_CAST(_Obj*, __chunk); in _S_refill()
446 __result = __REINTERPRET_CAST(_Obj*, __chunk); in _S_refill()
447 *__my_free_list = __next_obj = __REINTERPRET_CAST(_Obj*, __chunk + __n); in _S_refill()
450 __next_obj = __REINTERPRET_CAST(_Obj*, __REINTERPRET_CAST(char*, __next_obj) + __n); in _S_refill()
478 …memset(__REINTERPRET_CAST(char*, __CONST_CAST(_Obj**, &_S_free_list[0])), 0, _STLP_NFREELISTS * si… in _S_chunk_dealloc()
[all …]
Daligned_buffer.h12 return __REINTERPRET_CAST(T*, this);
16 return __REINTERPRET_CAST(T const*, this);
Dlocale_catalog.cpp237 return __REINTERPRET_CAST(_Locale_ctype*, __acquire_category(name, buf, hint, in __acquire_ctype()
242 return __REINTERPRET_CAST(_Locale_codecvt*, __acquire_category(name, buf, hint, in __acquire_codecvt()
247 return __REINTERPRET_CAST(_Locale_numeric*, __acquire_category(name, buf, hint, in __acquire_numeric()
252 return __REINTERPRET_CAST(_Locale_time*, __acquire_category(name, buf, hint, in __acquire_time()
257 return __REINTERPRET_CAST(_Locale_collate*, __acquire_category(name, buf, hint, in __acquire_collate()
262 return __REINTERPRET_CAST(_Locale_monetary*, __acquire_category(name, buf, hint, in __acquire_monetary()
267 return __REINTERPRET_CAST(_Locale_messages*, __acquire_category(name, buf, hint, in __acquire_messages()
Dstrstream.cpp69 _M_setup(__REINTERPRET_CAST(char*,get), __REINTERPRET_CAST(char*,put), n); in strstreambuf()
76 _M_setup(__REINTERPRET_CAST(char*,get), __REINTERPRET_CAST(char*,put), n); in strstreambuf()
88 _M_setup(__REINTERPRET_CAST(char*, __CONST_CAST(signed char*,get)), 0, n); in strstreambuf()
94 _M_setup(__REINTERPRET_CAST(char*, __CONST_CAST(unsigned char*,get)), 0, n); in strstreambuf()
Dcodecvt.cpp106 copy(__REINTERPRET_CAST(const unsigned char*, from), in do_in()
107 __REINTERPRET_CAST(const unsigned char*, from) + len, to); in do_in()
/external/stlport/test/eh/
DPrefix.h146 …return __n != 0 ? __REINTERPRET_CAST(value_type*,EH_STD::__new_alloc::allocate(__n * sizeof(value_…
/external/stlport/stlport/stl/config/
Dfeatures.h590 # define __REINTERPRET_CAST(__x,__y) reinterpret_cast<__x>(__y) macro
594 # define __REINTERPRET_CAST(__x,__y) __C_CAST(__x, __y) macro
/external/stlport/stlport/stl/debug/
D_debug.h343 _M_node._M_owner = __REINTERPRET_CAST(__owned_list*,__o); in __owned_list()
D_iterator.h140 __owned_link(__c), _M_iterator(*__REINTERPRET_CAST(const _Nonconst_iterator *, &__it)) {} in _DBG_iter_base()
/external/stlport/etc/
DChangeLog-4.0399 _set.[hc], _hashtable.c, _set.h - added __REINTERPRET_CAST need by some compilers;