Home
last modified time | relevance | path

Searched refs:new_head (Results 1 – 13 of 13) sorted by relevance

/external/mesa3d/src/util/
Dsparse_array.c255 uint64_t new_head = free_list_head(current_head, items[0]); in util_sparse_array_free_list_push() local
256 old_head = p_atomic_cmpxchg(&fl->head, current_head, new_head); in util_sparse_array_free_list_push()
273 uint64_t new_head = free_list_head(current_head, p_atomic_read(head_next)); in util_sparse_array_free_list_pop_idx() local
274 uint64_t old_head = p_atomic_cmpxchg(&fl->head, current_head, new_head); in util_sparse_array_free_list_pop_idx()
294 uint64_t new_head = free_list_head(current_head, p_atomic_read(head_next)); in util_sparse_array_free_list_pop_elem() local
295 uint64_t old_head = p_atomic_cmpxchg(&fl->head, current_head, new_head); in util_sparse_array_free_list_pop_elem()
/external/grpc-grpc/test/core/util/
Dreconnect_server.cc116 timestamp_list* new_head = server->head; in reconnect_server_clear_timestamps() local
118 new_head = server->head->next; in reconnect_server_clear_timestamps()
120 server->head = new_head; in reconnect_server_clear_timestamps()
/external/rust/crates/crossbeam-deque/src/
Ddeque.rs1323 let mut new_head = head + (1 << SHIFT); in steal() localVariable
1325 if new_head & HAS_NEXT == 0 { in steal()
1336 new_head |= HAS_NEXT; in steal()
1344 .compare_exchange_weak(head, new_head, Ordering::SeqCst, Ordering::Acquire) in steal()
1354 let mut next_index = (new_head & !HAS_NEXT).wrapping_add(1 << SHIFT); in steal()
1420 let mut new_head = head; in steal_batch() localVariable
1423 if new_head & HAS_NEXT == 0 { in steal_batch()
1435 new_head |= HAS_NEXT; in steal_batch()
1448 new_head += advance << SHIFT; in steal_batch()
1455 .compare_exchange_weak(head, new_head, Ordering::SeqCst, Ordering::Acquire) in steal_batch()
[all …]
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dstream_lists.cc58 grpc_chttp2_stream* new_head = s->links[id].next; in stream_list_pop() local
60 if (new_head) { in stream_list_pop()
61 t->lists[id].head = new_head; in stream_list_pop()
62 new_head->links[id].prev = nullptr; in stream_list_pop()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/transport/
Dstream_lists.cc58 grpc_chttp2_stream* new_head = s->links[id].next; in stream_list_pop() local
60 if (new_head) { in stream_list_pop()
61 t->lists[id].head = new_head; in stream_list_pop()
62 new_head->links[id].prev = nullptr; in stream_list_pop()
/external/pdfium/third_party/base/allocator/partition_allocator/
Dpartition_root_base.h109 internal::PartitionFreelistEntry* new_head = in AllocFromBucket() local
112 page->freelist_head = new_head; in AllocFromBucket()
Dpartition_bucket.cc556 PartitionFreelistEntry* new_head = in SlowPathAlloc() local
558 new_page->freelist_head = new_head; in SlowPathAlloc()
/external/rust/crates/crossbeam-channel/src/flavors/
Dlist.rs315 let mut new_head = head + (1 << SHIFT); in start_recv() localVariable
317 if new_head & MARK_BIT == 0 { in start_recv()
336 new_head |= MARK_BIT; in start_recv()
352 new_head, in start_recv()
360 let mut next_index = (new_head & !MARK_BIT).wrapping_add(1 << SHIFT); in start_recv()
/external/llvm-project/openmp/runtime/src/
Dkmp_taskdeps.cpp192 kmp_depnode_list_t *new_head; in __kmp_add_node() local
195 new_head = (kmp_depnode_list_t *)__kmp_fast_allocate( in __kmp_add_node()
198 new_head = (kmp_depnode_list_t *)__kmp_thread_malloc( in __kmp_add_node()
202 new_head->node = __kmp_node_ref(node); in __kmp_add_node()
203 new_head->next = list; in __kmp_add_node()
205 return new_head; in __kmp_add_node()
/external/libchrome/libchrome_tools/uprev/
Dgenerate_filtered_tree.py233 new_head = process_commits(
253 print('New HEAD should be', new_head.decode('ascii'))
/external/python/cpython2/Lib/test/
Dtest_marshal.py261 new_head = marshal.loads(data)
263 self.assertEqual(len(new_head), len(head))
264 self.assertEqual(len(new_head[0]), len(head[0]))
265 self.assertEqual(len(new_head[-1]), len(head[-1]))
/external/python/cpython3/Lib/test/
Dtest_marshal.py250 new_head = marshal.loads(data)
252 self.assertEqual(len(new_head), len(head))
253 self.assertEqual(len(new_head[0]), len(head[0]))
254 self.assertEqual(len(new_head[-1]), len(head[-1]))
/external/crosvm/io_uring/src/
During.rs777 let new_head = head.wrapping_add(1); in pop_front() localVariable
778 self.pointers.set_head(new_head); in pop_front()