Home
last modified time | relevance | path

Searched refs:to_raw_pointer (Results 1 – 25 of 46) sorted by relevance

12

/third_party/boost/boost/interprocess/smart_ptr/
Dshared_ptr.hpp143 …rom_this<T, VoidAllocator, Deleter>( m_pn, ipcdetail::to_raw_pointer(p), ipcdetail::to_raw_pointer in shared_ptr()
183 : m_pn( pointer(static_cast<T*>(ipcdetail::to_raw_pointer(r.m_pn.to_raw_pointer()))) in shared_ptr()
189 : m_pn( pointer(const_cast<T*>(ipcdetail::to_raw_pointer(r.m_pn.to_raw_pointer()))) in shared_ptr()
195 : m_pn( pointer(dynamic_cast<T*>(ipcdetail::to_raw_pointer(r.m_pn.to_raw_pointer()))) in shared_ptr()
198 if(!m_pn.to_raw_pointer()){ // need to allocate new counter -- the cast failed in shared_ptr()
260 { BOOST_ASSERT(m_pn.to_raw_pointer() != 0); return *m_pn.to_raw_pointer(); } in operator *()
265 { BOOST_ASSERT(m_pn.to_raw_pointer() != 0); return m_pn.to_raw_pointer(); } in operator ->()
270 { return m_pn.to_raw_pointer(); } in get()
278 { return !m_pn.to_raw_pointer() ? 0 : &this_type::unspecified_bool_type_func; } in operator unspecified_bool_type()
284 { return !m_pn.to_raw_pointer(); } in operator !()
[all …]
Dintrusive_ptr.hpp91 if(m_ptr != 0 && add_ref) intrusive_ptr_add_ref(ipcdetail::to_raw_pointer(m_ptr)); in intrusive_ptr()
99 if(m_ptr != 0) intrusive_ptr_add_ref(ipcdetail::to_raw_pointer(m_ptr)); in intrusive_ptr()
114 if(m_ptr != 0) intrusive_ptr_add_ref(ipcdetail::to_raw_pointer(m_ptr)); in intrusive_ptr()
162 intrusive_ptr_release(ipcdetail::to_raw_pointer(ptr)); in reset()
281 to_raw_pointer(intrusive_ptr<T, VP> p) BOOST_NOEXCEPT in to_raw_pointer() function
323 inline T *to_raw_pointer(boost::interprocess::intrusive_ptr<T, VP> p) BOOST_NOEXCEPT in to_raw_pointer() function
Denable_shared_from_this.hpp64 BOOST_ASSERT(ipcdetail::to_raw_pointer(p.get()) == this); in shared_from_this()
71 BOOST_ASSERT(ipcdetail::to_raw_pointer(p.get()) == this); in shared_from_this()
Dscoped_ptr.hpp157 typename scoped_ptr<T, D>::pointer to_raw_pointer(scoped_ptr<T, D> const & p) in to_raw_pointer() function
166 T *to_raw_pointer(boost::interprocess::scoped_ptr<T, D> const & p) in to_raw_pointer() function
Ddeleter.hpp60 { mp_mngr->destroy_ptr(ipcdetail::to_raw_pointer(p)); } in operator ()()
/third_party/boost/boost/move/detail/
Dto_raw_pointer.hpp32 BOOST_MOVE_FORCEINLINE T* to_raw_pointer(T* p) in to_raw_pointer() function
37 to_raw_pointer(const Pointer &p) in to_raw_pointer() function
38 { return ::boost::movelib::to_raw_pointer(p.operator->()); } in to_raw_pointer()
/third_party/boost/boost/interprocess/mem_algo/detail/
Dsimple_seq_fit_impl.hpp334 algo_impl_t::assert_alignment(ipcdetail::to_raw_pointer(m_header.m_root.m_next)); in simple_seq_fit_impl()
379 block_ctrl *block = ipcdetail::to_raw_pointer(last->m_next); in shrink_to_fit()
389 block = ipcdetail::to_raw_pointer(block->m_next); in shrink_to_fit()
408 last = ipcdetail::to_raw_pointer(m_header.m_root.m_next); in shrink_to_fit()
502 ipcdetail::to_raw_pointer(m_header.m_root.m_next->m_next) == &m_header.m_root; in all_memory_deallocated()
511 block_ctrl *block = ipcdetail::to_raw_pointer(m_header.m_root.m_next); in zero_free_memory()
519 block = ipcdetail::to_raw_pointer(block->m_next); in zero_free_memory()
531 block_ctrl *block = ipcdetail::to_raw_pointer(m_header.m_root.m_next); in check_sanity()
541 block_ctrl *next = ipcdetail::to_raw_pointer(block->m_next); in check_sanity()
747 this->priv_deallocate(to_raw_pointer(chain.pop_front())); in deallocate_many()
[all …]
/third_party/boost/boost/interprocess/indexes/
Diunordered_set_index.hpp98 const char_type *beg = ipcdetail::to_raw_pointer(val.name()), in operator ()()
178 ::new(to_raw_pointer(buckets_init++), boost_container_new_t())bucket_type(); in create_buckets()
195 for( bucket_type *p = ipcdetail::to_raw_pointer(buckets) + received_size in shrink_buckets()
196 , *pend = ipcdetail::to_raw_pointer(buckets) + old_size in shrink_buckets()
208 to_raw_pointer(buckets_init++)->~bucket_type(); in shrink_buckets()
224 ::new(to_raw_pointer(buckets_init++), boost_container_new_t())bucket_type(); in expand_or_create_buckets()
230 ::new(to_raw_pointer(buckets_init++), boost_container_new_t())bucket_type(); in expand_or_create_buckets()
241 to_raw_pointer(buckets_destroy++)->~bucket_type(); in destroy_buckets()
/third_party/boost/boost/interprocess/detail/
Dintersegment_ptr.hpp233 void *to_raw_pointer() const in to_raw_pointer() function
266 …{ return static_cast<char*>(this->to_raw_pointer()) - static_cast<char*>(other.to_raw_pointer());… in diff()
271 { return this->to_raw_pointer() == y.to_raw_pointer(); } in equal()
277 { return this->to_raw_pointer() < y.to_raw_pointer(); } in less()
281 void *ptr_this = this->to_raw_pointer(); in swap()
282 void *ptr_other = other.to_raw_pointer(); in swap()
351 this->set_from_pointer(other.to_raw_pointer()); in set_from_other()
358 this->set_from_pointer(static_cast<char*>(this->to_raw_pointer()) + bytes); in inc_offset()
365 this->set_from_pointer(static_cast<char*>(this->to_raw_pointer()) - bytes); in dec_offset()
666 { return static_cast<pointer>(base_t::to_raw_pointer()); } in get()
[all …]
Dsegment_manager_helper.hpp371 (to_raw_pointer(mp_str),to_raw_pointer(right.mp_str), m_len) < 0); in operator <()
379 (to_raw_pointer(mp_str), to_raw_pointer(right.mp_str), m_len) == 0; in operator ==()
389 { return to_raw_pointer(mp_str); } in name()
405 { return static_cast<void*>(to_raw_pointer(m_ptr)); } in value()
476 (to_raw_pointer(m_val->second.m_ptr))->value(); in value()
Dutilities.hpp44 inline T* to_raw_pointer(T* p) in to_raw_pointer() function
49 to_raw_pointer(const Pointer &p) in to_raw_pointer() function
50 { return boost::interprocess::ipcdetail::to_raw_pointer(p.operator->()); } in to_raw_pointer()
/third_party/boost/boost/interprocess/allocators/detail/
Dallocator_common.hpp183 ipcdetail::destroy_node_pool_if_last_link(ipcdetail::to_raw_pointer(mp_node_pool)); in ~cache_impl()
187 { return ipcdetail::to_raw_pointer(mp_node_pool); } in get_node_pool()
201 void *ret = ipcdetail::to_raw_pointer(m_cached_nodes.pop_front()); in cached_allocation()
211 void *ret = ipcdetail::to_raw_pointer(m_cached_nodes.pop_front()); in cached_allocation()
341 …return (size_type)this->derived()->get_segment_manager()->size(ipcdetail::to_raw_pointer(p))/sizeo… in size()
347 value_type *reuse_raw = ipcdetail::to_raw_pointer(reuse); in allocation_command()
405 …{ ::new((void*)ipcdetail::to_raw_pointer(ptr), boost_container_new_t()) value_type(::boost::forwa… in construct()
485 pool->deallocate_node(ipcdetail::to_raw_pointer(ptr)); in deallocate()
487 pool->get_segment_manager()->deallocate((void*)ipcdetail::to_raw_pointer(ptr)); in deallocate()
520 pool->deallocate_node(ipcdetail::to_raw_pointer(p)); in deallocate_one()
[all …]
/third_party/boost/boost/interprocess/allocators/
Dallocator.hpp127 { return ipcdetail::to_raw_pointer(mp_mngr); } in get_segment_manager()
159 { mp_mngr->deallocate((void*)ipcdetail::to_raw_pointer(ptr)); } in deallocate()
176 return (size_type)mp_mngr->size(ipcdetail::to_raw_pointer(p))/sizeof(T); in size()
182 value_type *reuse_raw = ipcdetail::to_raw_pointer(reuse); in allocation_command()
264 …{ ::new((void*)ipcdetail::to_raw_pointer(ptr), boost_container_new_t()) value_type(::boost::forwa… in construct()
Dnode_allocator.hpp136 node_pool<0>::get(ipcdetail::to_raw_pointer(mp_node_pool))->inc_ref_count(); in node_allocator_base()
158 …{ ipcdetail::destroy_node_pool_if_last_link(node_pool<0>::get(ipcdetail::to_raw_pointer(mp_node_p… in ~node_allocator_base()
163 { return ipcdetail::to_raw_pointer(mp_node_pool); } in get_node_pool()
168 { return node_pool<0>::get(ipcdetail::to_raw_pointer(mp_node_pool))->get_segment_manager(); } in get_segment_manager()
Dadaptive_pool.hpp137 node_pool<0>::get(ipcdetail::to_raw_pointer(mp_node_pool))->inc_ref_count(); in adaptive_pool_base()
159 …{ ipcdetail::destroy_node_pool_if_last_link(node_pool<0>::get(ipcdetail::to_raw_pointer(mp_node_p… in ~adaptive_pool_base()
164 { return ipcdetail::to_raw_pointer(mp_node_pool); } in get_node_pool()
169 { return node_pool<0>::get(ipcdetail::to_raw_pointer(mp_node_pool))->get_segment_manager(); } in get_segment_manager()
/third_party/boost/libs/interprocess/test/
Dallocator_v1.hpp92 { return ipcdetail::to_raw_pointer(mp_mngr); } in get_segment_manager()
127 { mp_mngr->deallocate((void*)ipcdetail::to_raw_pointer(ptr)); } in deallocate()
132 { new((void*)ipcdetail::to_raw_pointer(ptr)) value_type(value); } in construct()
Dheap_allocator_v1.hpp89 { return ipcdetail::to_raw_pointer(mp_mngr); } in get_segment_manager()
124 char *ptr_raw = (char*)ipcdetail::to_raw_pointer(ptr); in deallocate()
131 { new((void*)ipcdetail::to_raw_pointer(ptr)) value_type(value); } in construct()
/third_party/boost/boost/intrusive/detail/
Dhook_traits.hpp139 (static_cast<Hook*>(boost::movelib::to_raw_pointer(n)), P)); in to_value_ptr()
146 (static_cast<const Hook*>(boost::movelib::to_raw_pointer(n)), P)); in to_value_ptr()
172 { return static_cast<node*>(boost::movelib::to_raw_pointer(Functor::to_hook_ptr(value))); } in to_node_ptr()
175 …{ return static_cast<const node*>(boost::movelib::to_raw_pointer(Functor::to_hook_ptr(value))); } in to_node_ptr()
/third_party/boost/boost/container/
Dstring.hpp345 , boost::movelib::to_raw_pointer(p) in construct()
352 value_type *raw_p = boost::movelib::to_raw_pointer(p); in destroy()
362 , boost::movelib::to_raw_pointer(p) in destroy()
1202 Traits::copy( boost::movelib::to_raw_pointer(this->priv_short_addr()) in shrink_to_fit()
1203 , boost::movelib::to_raw_pointer(long_addr) in shrink_to_fit()
1538 CharT* ptr = boost::movelib::to_raw_pointer(this->priv_addr()); in assign()
1557 CharT *ptr = boost::movelib::to_raw_pointer(addr); in assign()
1616 const CharT *beg_ptr = boost::movelib::to_raw_pointer(s.begin()) + pos2; in insert()
1776 Traits::move(const_cast<CharT*>(boost::movelib::to_raw_pointer(p + n)), in insert()
1777 boost::movelib::to_raw_pointer(p), in insert()
[all …]
Dvector.hpp593 …(this->alloc(), boost::movelib::to_raw_pointer(holder.start()), m_size, boost::movelib::to_raw_poi… in vector_alloc_holder()
595 (this->alloc(), boost::movelib::to_raw_pointer(holder.start()), m_size); in vector_alloc_holder()
608 …(this->alloc(), boost::movelib::to_raw_pointer(holder.start()), n, boost::movelib::to_raw_pointer(… in vector_alloc_holder()
670 value_type *const first_this = boost::movelib::to_raw_pointer(this->start()); in priv_deep_swap()
671 value_type *const first_x = boost::movelib::to_raw_pointer(x.start()); in priv_deep_swap()
2031 T *const pos_ptr = boost::movelib::to_raw_pointer(p); in erase()
2052 T* const first_ptr = boost::movelib::to_raw_pointer(vector_iterator_get_ptr(first)); in erase()
2053 T* const last_ptr = boost::movelib::to_raw_pointer(vector_iterator_get_ptr(last)); in erase()
2054 …T* const ptr = boost::movelib::to_raw_pointer(boost::container::move(last_ptr, old_end_ptr, first_… in erase()
2321 T* d_first = boost::movelib::to_raw_pointer(new_storage); in priv_merge_in_new_buffer()
[all …]
/third_party/boost/boost/intrusive/
Dpointer_traits.hpp204 BOOST_INTRUSIVE_FORCEINLINE static T* to_raw_pointer(T* p) in to_raw_pointer() function
209 to_raw_pointer(const Pointer &p) in to_raw_pointer() function
210 { return pointer_traits::to_raw_pointer(p.operator->()); } in to_raw_pointer()
226 { return uptr ? pointer_to(*static_cast<element_type*>(to_raw_pointer(uptr))) : pointer(); } in priv_static_cast_from()
Dmember_value_traits.hpp69 (boost::movelib::to_raw_pointer(n), PtrToMember)); in to_value_ptr()
75 (boost::movelib::to_raw_pointer(n), PtrToMember)); in to_value_ptr()
/third_party/boost/boost/container/detail/
Ddestroyers.hpp155 AllocTraits::destroy(m_alloc, boost::movelib::to_raw_pointer(m_ptr)); in ~scoped_destroy_deallocator()
205 value_type *raw_ptr = boost::movelib::to_raw_pointer(m_p); in ~scoped_destructor_n()
320 AllocTraits::destroy(a_, boost::movelib::to_raw_pointer(p)); in operator ()()
342 allocator_traits<Allocator>::destroy(a_, boost::movelib::to_raw_pointer(p)); in operator ()()
/third_party/boost/libs/intrusive/test/
Dnonhook_node.hpp107 (static_cast<NonHook_Member*>(boost::movelib::to_raw_pointer(n)), P)); in to_value_ptr()
114 (static_cast<const NonHook_Member*>(boost::movelib::to_raw_pointer(n)), P)); in to_value_ptr()
/third_party/boost/boost/interprocess/smart_ptr/detail/
Dshared_count.hpp111 ::new(ipcdetail::to_raw_pointer(m_pi), boost_container_new_t())counted_impl(p, a, d); in shared_count()
164 const pointer &to_raw_pointer() const in to_raw_pointer() function in boost::interprocess::ipcdetail::shared_count
167 pointer &to_raw_pointer() in to_raw_pointer() function in boost::interprocess::ipcdetail::shared_count

12