Home
last modified time | relevance | path

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

/ndk/sources/cxx-stl/stlport/src/
D_stdio_file.h72 inline int _FILE_fd(const FILE *__f) { return fileno(__CONST_CAST(FILE*, __f)); }
91 inline int _FILE_fd(const FILE *__f) { return ::fileno(__CONST_CAST(FILE*, __f)); }
93 inline int _FILE_fd(const FILE *__f) { return ::_fileno(__CONST_CAST(FILE*, __f)); }
Dstrstream.cpp82 _M_setup(__CONST_CAST(char*,get), 0, 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()
317 return __CONST_CAST(strstreambuf*,&_M_buf); in rdbuf()
339 return __CONST_CAST(strstreambuf*,&_M_buf); in rdbuf()
372 return __CONST_CAST(strstreambuf*,&_M_buf); in rdbuf()
Dallocators.cpp108 # define _STLP_ATOMIC_ADD(__dst, __val) InterlockedExchangeAdd(__CONST_CAST(__add_atomic_t*, _…
478 …memset(__REINTERPRET_CAST(char*, __CONST_CAST(_Obj**, &_S_free_list[0])), 0, _STLP_NFREELISTS * si… in _S_chunk_dealloc()
775 …{ memset((void *)__CONST_CAST(_Pthread_alloc_obj**, __free_list), 0, (size_t)_S_NFREELISTS * sizeo… in _Pthread_alloc_per_thread_state()
Dtime_facets.cpp386 time_t __t = mktime(__CONST_CAST(tm*, t)); in __write_formatted_timeT()
Dctype.cpp324 delete[] __CONST_CAST(ctype_base::mask *, _M_ctype_table); in ~ctype()
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_vector.c189 pointer __tmp = _M_allocate_and_copy(__len, __CONST_CAST(const_pointer, __x._M_start) + 0,
190 __CONST_CAST(const_pointer, __x._M_finish) + 0);
195 pointer __i = _STLP_PRIV __copy_ptrs(__CONST_CAST(const_pointer, __x._M_start) + 0,
196__CONST_CAST(const_pointer, __x._M_finish) + 0, this->_M_start, _TrivialCopy());
199 _STLP_PRIV __copy_ptrs(__CONST_CAST(const_pointer, __x._M_start),
200__CONST_CAST(const_pointer, __x._M_start) + size(), this->_M_start, _TrivialCopy());
201 _STLP_PRIV __ucopy_ptrs(__CONST_CAST(const_pointer, __x._M_start) + size(),
202__CONST_CAST(const_pointer, __x._M_finish) + 0, this->_M_finish, _TrivialUCopy());
D_sstream.h98 static _CharT* _S_start(const _String& __str) { return __CONST_CAST(_CharT*, __str.data()); } in _S_start()
99 …static _CharT* _S_finish(const _String& __str) { return __CONST_CAST(_CharT*, __str.data()) + __st… in _S_finish()
139 { return __CONST_CAST(_Buf*,&_M_buf); } in rdbuf()
182 { return __CONST_CAST(_Buf*,&_M_buf); } in rdbuf()
228 { return __CONST_CAST(_Buf*,&_M_buf); } in rdbuf()
D_slist_base.h68 return _Sl_global<_Dummy>::__previous(__CONST_CAST(_Slist_node_base*, __head), __node); in __previous()
D_tree.h424 …const_iterator end() const { return const_iterator(__CONST_CAST(_Base_ptr, &this->_M_header._M_dat…
549 …_Base_ptr __y = __CONST_CAST(_Base_ptr, &this->_M_header._M_data); // Last node which is not …
560 __y = __CONST_CAST(_Base_ptr, &this->_M_header._M_data);
568 …_Base_ptr __y = __CONST_CAST(_Base_ptr, &this->_M_header._M_data); /* Last node which is not less …
582 …_Base_ptr __y = __CONST_CAST(_Base_ptr, &this->_M_header._M_data); /* Last node which is greater t…
D_threads.h134 # define _STLP_ATOMIC_INCREMENT(__x) InterlockedIncrement(__CONST_CAST(long*, __x))
135 # define _STLP_ATOMIC_DECREMENT(__x) InterlockedDecrement(__CONST_CAST(long*, __x))
136 # define _STLP_ATOMIC_EXCHANGE(__x, __y) InterlockedExchange(__CONST_CAST(long*, __x),…
D_auto_ptr.h27 void __set(const volatile void* p) { _M_p = __CONST_CAST(void*,p); } in __set()
D_fstream.h499 { return __CONST_CAST(_Buf*,&_M_buf); } in rdbuf()
578 { return __CONST_CAST(_Buf*,&_M_buf); } in rdbuf()
659 { return __CONST_CAST(_Buf*,&_M_buf); } in rdbuf()
D_hashtable.h381 const_iterator begin() const { return __CONST_CAST(_ElemsCont&, _M_elems).begin(); }
382 const_iterator end() const { return __CONST_CAST(_ElemsCont&, _M_elems).end(); }
506 return __CONST_CAST(_ElemsCont&, _M_elems).end();
D_slist.c84 _M_insert_after_range(__p1, const_iterator(__CONST_CAST(_Node_base*, __n2)),
D_ios_base.h169 operator void*() const { return !fail() ? (void*) __CONST_CAST(ios_base*,this) : (void*) 0; }
D_slist.h414 { return const_iterator(__CONST_CAST(_Node_base*, &this->_M_head._M_data)); }
462 return const_iterator(__CONST_CAST(_Node_base*,
D_hashtable.c158 _ElemsCont &__mutable_elems = __CONST_CAST(_ElemsCont&, __elems); in _S_before_begin()
D_list.h371 …const_iterator end() const { return const_iterator(__CONST_CAST(_Node_base*, &this->_M_…
D_rope.h882 _Rope_iterator_base<_CharT,_Alloc>(__CONST_CAST(_RopeRep*,__root), __pos)
/ndk/sources/cxx-stl/stlport/stlport/stl/pointers/
D_tools.h237 { return __CONST_CAST(void_type*, __ptr); }
239 { return __CONST_CAST(void_type const*, __ptr); }
241 { return __CONST_CAST(void_type**, __ptr); }
243 { return __CONST_CAST(void_type&, __ref); }
245 { return __CONST_CAST(void_type const&, __ptr); }
248 { return __CONST_CAST(void_cv_type *, __ptr); }
250 { return __CONST_CAST(void_cv_type const*, __ptr); }
252 { return __CONST_CAST(void_cv_type**, __ptr); }
254 { return __CONST_CAST(void_cv_type &, __ref); }
256 { return __CONST_CAST(void_cv_type const&, __ref); }
/ndk/sources/cxx-stl/stlport/stlport/stl/debug/
D_debug.c126 _L_type* __prev = __CONST_CAST(_L_type*, &__base->_M_node); in __invalidate_range()
150 _L_type* __prev = __CONST_CAST(_L_type*, &__base->_M_node); in __invalidate_iterator()
177 __owned_list *__base = __CONST_CAST(__owned_list*, __first._Owner()); in __change_range_owner()
180 _L_type* __dst_prev = __CONST_CAST(_L_type*, &__dst->_M_node); in __change_range_owner()
187 __pos->_M_owner = __CONST_CAST(__owned_list*, __dst); in __change_range_owner()
207 __pos = __CONST_CAST(_Iterator*, &__first); in __change_range_owner()
208 __pos->_M_owner = __CONST_CAST(__owned_list*, __dst); in __change_range_owner()
222 __owned_list *__base = __CONST_CAST(__owned_list*, __it._Owner()); in __change_ite_owner()
225 _L_type* __dst_prev = __CONST_CAST(_L_type*, &__dst->_M_node); in __change_ite_owner()
231 __pos->_M_owner = __CONST_CAST(__owned_list*, __dst); in __change_ite_owner()
[all …]
D_debug.h288 { __stl_debugger::_M_attach(__CONST_CAST(__owned_list*,__c), this); } in __owned_link()
290 { __stl_debugger::_M_attach(__CONST_CAST(__owned_list*,__rhs._M_owner), this); } in __owned_link()
294 { __stl_debugger::_M_attach(__CONST_CAST(__owned_list*,__c), this); }
296 { __stl_debugger::_M_attach(__CONST_CAST(__owned_list*,__rhs._M_owner), this); }
299 __owned_list* __new_owner = __CONST_CAST(__owned_list*,__rhs._M_owner);
321 void _Set_owner(const __owned_list* __o) { _M_owner= __CONST_CAST(__owned_list*,__o); } in _Set_owner()
/ndk/sources/cxx-stl/stlport/stlport/stl/config/
Dfeatures.h582 # define __CONST_CAST(__x,__y) const_cast<__x>(__y) macro
587 # define __CONST_CAST(__x,__y) __C_CAST(__x, __y) macro
634 # define _STLP_MUTABLE(type, x) __CONST_CAST(type*, this)->x