• Home
  • Raw
  • Download

Lines Matching refs:_Obj

251   typedef _STLP_atomic_freelist::item   _Obj;  typedef in __node_alloc_impl
261 typedef _Node_alloc_obj _Obj; typedef in __node_alloc_impl
262 typedef _Obj* _STLP_VOLATILE _Freelist;
263 typedef _Obj* _ChunkList;
268 static _Obj* _S_refill(size_t __n);
320 _Obj * _STLP_VOLATILE * __my_free_list = _S_free_list + _S_FREELIST_INDEX(__n); in _M_allocate()
321 _Obj *__r; in _M_allocate()
341 _Obj * _STLP_VOLATILE * __my_free_list = _S_free_list + _S_FREELIST_INDEX(__n); in _M_deallocate()
342 _Obj * __pobj = __STATIC_CAST(_Obj*, __p); in _M_deallocate()
356 # define _STLP_OFFSET sizeof(_Obj)
386 _Obj* _STLP_VOLATILE* __my_free_list = _S_free_list + _S_FREELIST_INDEX(__bytes_left); in _S_chunk_alloc()
387 __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()
399 _Obj* _STLP_VOLATILE* __my_free_list; in _S_chunk_alloc()
400 _Obj* __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()
440 _Obj* _STLP_VOLATILE* __my_free_list = _S_free_list + _S_FREELIST_INDEX(__n); in _S_refill()
441 _Obj* __result; in _S_refill()
442 _Obj* __current_obj; in _S_refill()
443 _Obj* __next_obj; 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()
469 _Obj *__pcur = _S_chunks, *__pnext; in _S_chunk_dealloc()
478 …memset(__REINTERPRET_CAST(char*, __CONST_CAST(_Obj**, &_S_free_list[0])), 0, _STLP_NFREELISTS * si… in _S_chunk_dealloc()
486 _Obj* __r = _S_free_list[_S_FREELIST_INDEX(__n)].pop(); in _M_allocate()
497 _S_free_list[_S_FREELIST_INDEX(__n)].push(__STATIC_CAST(_Obj*, __p)); in _M_deallocate()
507 __node_alloc_impl::_Obj* __node_alloc_impl::_S_refill(size_t __n) { in _S_refill()
512 return __REINTERPRET_CAST(_Obj*, __chunk); in _S_refill()
515 _Obj* __result = __REINTERPRET_CAST(_Obj*, __chunk); in _S_refill()
516 _Obj* __cur_item = __result; in _S_refill()
519 __cur_item = __REINTERPRET_CAST(_Obj*, __REINTERPRET_CAST(char*, __cur_item) + __n); in _S_refill()
539 _STLP_STATIC_ASSERT(sizeof(_Obj) <= _ALIGN) in _S_chunk_alloc()
580 _S_free_list[_S_FREELIST_INDEX(__rounded_down)].push((_Obj*)__buf_start); in _S_chunk_alloc()
599 _Obj* __p = _S_free_list[_S_FREELIST_INDEX(__i)].pop(); in _S_chunk_alloc()
609 …_S_free_list[_S_FREELIST_INDEX(__rounded_down)].push(__REINTERPRET_CAST(_Obj*, __REINTERPRET_CAST(… in _S_chunk_alloc()
638 _S_chunks.push(__REINTERPRET_CAST(_Obj*, __result)); in _S_chunk_alloc()
681 _Obj* __chunk = _S_chunks.clear(); in _S_chunk_dealloc()
683 _Obj* __next = __chunk->_M_next; in _S_chunk_dealloc()