Home
last modified time | relevance | path

Searched refs:heap_index (Results 1 – 10 of 10) sorted by relevance

/external/grpc-grpc/src/core/lib/iomgr/
Dtimer_heap.cc41 first[i]->heap_index = i; in adjust_upwards()
45 t->heap_index = i; in adjust_upwards()
63 first[i]->heap_index = i; in adjust_downwards()
67 t->heap_index = i; in adjust_downwards()
83 uint32_t i = timer->heap_index; in note_changed_priority()
105 timer->heap_index = heap->timer_count; in grpc_timer_heap_add()
108 return timer->heap_index == 0; in grpc_timer_heap_add()
112 uint32_t i = timer->heap_index; in grpc_timer_heap_remove()
119 heap->timers[i]->heap_index = i; in grpc_timer_heap_remove()
Dtimer_generic.h29 uint32_t heap_index; /* INVALID_HEAP_INDEX if not in heap */ member
Dtimer.h32 uint32_t heap_index; /* INVALID_HEAP_INDEX if not in heap */ member
Dtimer_generic.cc397 timer->heap_index = INVALID_HEAP_INDEX; in timer_init()
476 if (timer->heap_index == INVALID_HEAP_INDEX) { in timer_cancel()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dtimer_heap.cc41 first[i]->heap_index = i; in adjust_upwards()
45 t->heap_index = i; in adjust_upwards()
63 first[i]->heap_index = i; in adjust_downwards()
67 t->heap_index = i; in adjust_downwards()
83 uint32_t i = timer->heap_index; in note_changed_priority()
105 timer->heap_index = heap->timer_count; in grpc_timer_heap_add()
108 return timer->heap_index == 0; in grpc_timer_heap_add()
112 uint32_t i = timer->heap_index; in grpc_timer_heap_remove()
119 heap->timers[i]->heap_index = i; in grpc_timer_heap_remove()
Dtimer_generic.h29 uint32_t heap_index; /* INVALID_HEAP_INDEX if not in heap */ member
Dtimer.h33 uint32_t heap_index; member
Dtimer_generic.cc400 timer->heap_index = INVALID_HEAP_INDEX; in timer_init()
480 if (timer->heap_index == INVALID_HEAP_INDEX) { in timer_cancel()
/external/mesa3d/src/amd/vulkan/
Dradv_device.c5189 device->allocated_memory_size[mem->heap_index] -= mem->alloc_size; in radv_free_memory()
5327 uint32_t heap_index; in radv_alloc_memory() local
5329heap_index = device->physical_device->memory_properties.memoryTypes[pAllocateInfo->memoryTypeIndex… in radv_alloc_memory()
5342 device->physical_device->memory_properties.memoryHeaps[heap_index].size; in radv_alloc_memory()
5345 if (device->allocated_memory_size[heap_index] + alloc_size > total_size) { in radv_alloc_memory()
5350 device->allocated_memory_size[heap_index] += alloc_size; in radv_alloc_memory()
5360 device->allocated_memory_size[heap_index] -= alloc_size; in radv_alloc_memory()
5367 mem->heap_index = heap_index; in radv_alloc_memory()
Dradv_private.h885 uint32_t heap_index; member