Home
last modified time | relevance | path

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

/external/rust/crates/thread_local/src/
Dlib.rs147 let bucket_ptr = *bucket.get_mut(); in drop() localVariable
154 if bucket_ptr.is_null() { in drop()
158 unsafe { Box::from_raw(std::slice::from_raw_parts_mut(bucket_ptr, this_bucket_size)) }; in drop()
230 let bucket_ptr = in get_inner() localVariable
232 if bucket_ptr.is_null() { in get_inner()
236 let entry = &*bucket_ptr.add(thread.index); in get_inner()
253 let bucket_ptr: *const _ = bucket_atomic_ptr.load(Ordering::Acquire); in insert() localVariable
254 let bucket_ptr = if bucket_ptr.is_null() { in insert() localVariable
256 let bucket_ptr = allocate_bucket(thread.bucket_size); in insert() localVariable
257 bucket_atomic_ptr.store(bucket_ptr, Ordering::Release); in insert()
[all …]
/external/libchrome/base/sampling_heap_profiler/
Dlock_free_address_hash_set.cc36 subtle::AtomicWord* bucket_ptr = &buckets_[h & bucket_mask_]; in Insert() local
37 Node* node = reinterpret_cast<Node*>(subtle::NoBarrier_Load(bucket_ptr)); in Insert()
49 subtle::AtomicWord current_head = subtle::NoBarrier_Load(bucket_ptr); in Insert()
55 bucket_ptr, current_head, in Insert()
/external/pdfium/third_party/base/allocator/partition_allocator/
Dpartition_alloc.cc266 internal::PartitionBucket** bucket_ptr = &bucket_lookups[0]; in Init() local
271 *bucket_ptr++ = &buckets[0]; in Init()
273 *bucket_ptr++ = internal::PartitionBucket::get_sentinel_bucket(); in Init()
279 *bucket_ptr++ = valid_bucket; in Init()
285 DCHECK(bucket_ptr == &bucket_lookups[0] + in Init()
289 *bucket_ptr = internal::PartitionBucket::get_sentinel_bucket(); in Init()