Home
last modified time | relevance | path

Searched refs:bucket_ptr (Results 1 – 9 of 9) sorted by relevance

/third_party/libuv/src/win/
Dfs-fd-hash-inl.h97 struct uv__fd_hash_bucket_s* bucket_ptr = &uv__fd_hash[bucket];
111 size_t first_group_size = bucket_ptr->size % UV__FD_HASH_GROUP_SIZE; \
112 if (bucket_ptr->size != 0 && first_group_size == 0) \
114 group_ptr = bucket_ptr->data; \
145 i = bucket_ptr->size % UV__FD_HASH_GROUP_SIZE; in uv__fd_hash_add()
147 if (bucket_ptr->size != 0 && i == 0) { in uv__fd_hash_add()
153 new_group_ptr->next = bucket_ptr->data; in uv__fd_hash_add()
154 bucket_ptr->data = new_group_ptr; in uv__fd_hash_add()
157 bucket_ptr->size += 1; in uv__fd_hash_add()
158 entry_ptr = &bucket_ptr->data->entries[i]; in uv__fd_hash_add()
[all …]
/third_party/boost/boost/interprocess/indexes/
Diunordered_set_index.hpp160 typedef typename index_type::bucket_ptr bucket_ptr; typedef in boost::interprocess::iunordered_set_index
172 static bucket_ptr create_buckets(allocator_type &alloc, size_type num) in create_buckets()
175 bucket_ptr buckets = alloc.allocate(num); in create_buckets()
176 bucket_ptr buckets_init = buckets; in create_buckets()
184 ( bucket_ptr buckets, size_type old_size in shrink_buckets()
202 bucket_ptr shunk_p = alloc.allocation_command in shrink_buckets()
206 bucket_ptr buckets_init = buckets + received_size; in shrink_buckets()
213 static bucket_ptr expand_or_create_buckets in expand_or_create_buckets()
214 ( bucket_ptr old_buckets, const size_type old_num in expand_or_create_buckets()
218 bucket_ptr reuse(old_buckets); in expand_or_create_buckets()
[all …]
/third_party/boost/libs/intrusive/test/
Dunordered_test.hpp54 typedef typename unordered_type::bucket_ptr bucket_ptr; in test_all() typedef
58 (bucket_traits(pointer_traits<bucket_ptr>::pointer_to(buckets[0]), BucketSize)); in test_all()
79 pointer_traits<bucket_ptr>::pointer_to(buckets[0]), BucketSize)); in test_all()
99 typedef typename unordered_type::bucket_ptr bucket_ptr; in test_impl() typedef
107 pointer_traits<bucket_ptr>::pointer_to(buckets[0]), BucketSize)); in test_impl()
127 typedef typename unordered_type::bucket_ptr bucket_ptr; in test_sort() typedef
132 (pointer_traits<bucket_ptr>::pointer_to(buckets[0]), BucketSize)); in test_sort()
158 pointer_traits<typename unordered_set_type::bucket_ptr>:: in test_insert()
211 typedef typename unordered_type::bucket_ptr bucket_ptr; in test_insert() typedef
217 pointer_traits<bucket_ptr>::pointer_to(buckets[0]), BucketSize)); in test_insert()
[all …]
Ddefault_hook_test.cpp87 … USet my_uset(USet::bucket_traits(pointer_traits<USet::bucket_ptr>::pointer_to(*buckets), 100)); in main()
Dmake_functions_test.cpp110 (pointer_traits<USet::bucket_ptr>::pointer_to(buckets[0]), 100)); in main()
/third_party/boost/boost/intrusive/detail/
Dhashtable_node.hpp73 < bucket_impl<Slist> >::type bucket_ptr; typedef
78 BOOST_INTRUSIVE_FORCEINLINE bucket_traits_impl(bucket_ptr buckets, size_type len) in bucket_traits_impl()
88 { x.buckets_ = bucket_ptr(); x.buckets_len_ = 0; } in bucket_traits_impl()
93 x.buckets_ = bucket_ptr(); x.buckets_len_ = 0; return *this; in operator =()
101 BOOST_INTRUSIVE_FORCEINLINE const bucket_ptr &bucket_begin() const in bucket_begin()
108 bucket_ptr buckets_;
/third_party/boost/boost/intrusive/
Dhashtable.hpp694 <value_traits>::type bucket_ptr; typedef
735 BOOST_INTRUSIVE_FORCEINLINE bucket_ptr priv_bucket_pointer() const in priv_bucket_pointer()
741 BOOST_INTRUSIVE_FORCEINLINE bucket_ptr priv_invalid_bucket() const in priv_invalid_bucket()
915 const bucket_ptr f(this->priv_bucket_pointer()), l(f + this->priv_bucket_count() - 1); in priv_get_bucket_num_no_hash_store()
929 bucket_ptr f(this->priv_bucket_pointer()), l(f + this->priv_bucket_count() - 1); in priv_get_bucket_num_no_hash_store()
964 void priv_clear_buckets(const bucket_ptr buckets_ptr, const std::size_t bucket_cnt) in priv_clear_buckets()
966 bucket_ptr buckets_it = buckets_ptr; in priv_clear_buckets()
1139 typedef typename detail::unordered_bucket_ptr_impl<value_traits>::type bucket_ptr; typedef
1147 BOOST_INTRUSIVE_FORCEINLINE bucket_ptr priv_get_cache() in priv_get_cache()
1150 BOOST_INTRUSIVE_FORCEINLINE void priv_set_cache(const bucket_ptr &) in priv_set_cache()
[all …]
Dunordered_set.hpp108 typedef typename implementation_defined::bucket_ptr bucket_ptr; typedef in boost::intrusive::unordered_set_impl
340 bucket_ptr bucket_pointer() const;
496 typedef typename Base::bucket_ptr bucket_ptr; typedef in boost::intrusive::unordered_set
606 typedef typename implementation_defined::bucket_ptr bucket_ptr; typedef in boost::intrusive::unordered_multiset_impl
821 bucket_ptr bucket_pointer() const;
947 typedef typename Base::bucket_ptr bucket_ptr; typedef in boost::intrusive::unordered_multiset
/third_party/boost/libs/intrusive/doc/
Dintrusive.qbk1373 bucket_ptr bucket_begin();