Home
last modified time | relevance | path

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

12

/external/rust/android-crates-io/crates/grpcio-sys/grpc/src/core/lib/event_engine/posix_engine/
Dtimer_heap.cc42 timers_[i]->heap_index = i; in AdjustUpwards()
46 t->heap_index = i; in AdjustUpwards()
64 timers_[i]->heap_index = i; in AdjustDownwards()
68 t->heap_index = i; in AdjustDownwards()
72 uint32_t i = timer->heap_index; in NoteChangedPriority()
82 timer->heap_index = timers_.size(); in Add()
84 AdjustUpwards(timer->heap_index, timer); in Add()
85 return timer->heap_index == 0; in Add()
89 uint32_t i = timer->heap_index; in Remove()
95 timers_[i]->heap_index = i; in Remove()
Dtimer.cc132 timer->heap_index = kInvalidHeapIndex; in TimerInit()
169 if (timer->heap_index == kInvalidHeapIndex) { in TimerCancel()
Dtimer.h47 size_t heap_index; member
/external/grpc-grpc/src/core/lib/event_engine/posix_engine/
Dtimer_heap.cc42 timers_[i]->heap_index = i; in AdjustUpwards()
46 t->heap_index = i; in AdjustUpwards()
64 timers_[i]->heap_index = i; in AdjustDownwards()
68 t->heap_index = i; in AdjustDownwards()
72 uint32_t i = timer->heap_index; in NoteChangedPriority()
82 timer->heap_index = timers_.size(); in Add()
84 AdjustUpwards(timer->heap_index, timer); in Add()
85 return timer->heap_index == 0; in Add()
89 uint32_t i = timer->heap_index; in Remove()
95 timers_[i]->heap_index = i; in Remove()
Dtimer.cc132 timer->heap_index = kInvalidHeapIndex; in TimerInit()
169 if (timer->heap_index == kInvalidHeapIndex) { in TimerCancel()
Dtimer.h47 size_t heap_index; member
/external/rust/android-crates-io/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dtimer_heap.cc40 first[i]->heap_index = i; in adjust_upwards()
44 t->heap_index = i; in adjust_upwards()
62 first[i]->heap_index = i; in adjust_downwards()
66 t->heap_index = i; in adjust_downwards()
82 uint32_t i = timer->heap_index; in note_changed_priority()
104 timer->heap_index = heap->timer_count; in grpc_timer_heap_add()
107 return timer->heap_index == 0; in grpc_timer_heap_add()
111 uint32_t i = timer->heap_index; in grpc_timer_heap_remove()
118 heap->timers[i]->heap_index = i; in grpc_timer_heap_remove()
Dtimer_generic.h30 uint32_t heap_index; // INVALID_HEAP_INDEX if not in heap member
Dtimer.h36 uint32_t heap_index; member
Dtimer_generic.cc373 timer->heap_index = INVALID_HEAP_INDEX; in timer_init()
452 if (timer->heap_index == INVALID_HEAP_INDEX) { in timer_cancel()
/external/grpc-grpc/src/core/lib/iomgr/
Dtimer_heap.cc40 first[i]->heap_index = i; in adjust_upwards()
44 t->heap_index = i; in adjust_upwards()
62 first[i]->heap_index = i; in adjust_downwards()
66 t->heap_index = i; in adjust_downwards()
82 uint32_t i = timer->heap_index; in note_changed_priority()
104 timer->heap_index = heap->timer_count; in grpc_timer_heap_add()
107 return timer->heap_index == 0; in grpc_timer_heap_add()
111 uint32_t i = timer->heap_index; in grpc_timer_heap_remove()
118 heap->timers[i]->heap_index = i; in grpc_timer_heap_remove()
Dtimer_generic.h30 uint32_t heap_index; // INVALID_HEAP_INDEX if not in heap member
Dtimer.h36 uint32_t heap_index; member
Dtimer_generic.cc373 timer->heap_index = INVALID_HEAP_INDEX; in timer_init()
452 if (timer->heap_index == INVALID_HEAP_INDEX) { in timer_cancel()
/external/mesa3d/src/amd/vulkan/
Dradv_device_memory.c49 device->allocated_memory_size[mem->heap_index] -= mem->alloc_size; in radv_free_memory()
190 uint32_t heap_index; in radv_alloc_memory() local
192 heap_index = pdev->memory_properties.memoryTypes[pAllocateInfo->memoryTypeIndex].heapIndex; in radv_alloc_memory()
220 uint64_t total_size = pdev->memory_properties.memoryHeaps[heap_index].size; in radv_alloc_memory()
223 if (device->allocated_memory_size[heap_index] + alloc_size > total_size) { in radv_alloc_memory()
228 device->allocated_memory_size[heap_index] += alloc_size; in radv_alloc_memory()
238 device->allocated_memory_size[heap_index] -= alloc_size; in radv_alloc_memory()
244 mem->heap_index = heap_index; in radv_alloc_memory()
Dradv_device_memory.h26 uint32_t heap_index; member
/external/mesa3d/src/virtio/vulkan/
Dvn_device.h68 uint32_t heap_index) in vn_device_emit_device_memory_report() argument
78 .heapIndex = heap_index, in vn_device_emit_device_memory_report()
/external/intel-media-driver/media_driver/linux/common/cp/ddi/
Dmedia_ddi_prot.cpp389 uint32_t heap_index = 0, prot_index = 0; in DdiMedia_GetContextFromProtectedSessionID() local
397 heap_index = vaID & DDI_MEDIA_MASK_VAPROTECTEDSESSION_ID; in DdiMedia_GetContextFromProtectedSessionID()
412 … return DdiMedia_GetVaContextFromHeap(mediaCtx->pProtCtxHeap, heap_index, &mediaCtx->ProtMutex); in DdiMedia_GetContextFromProtectedSessionID()
417 return DdiMedia_GetVaContextFromHeap(mediaCtx->pProtCtxHeap, heap_index, &mediaCtx->ProtMutex); in DdiMedia_GetContextFromProtectedSessionID()
/external/rust/android-crates-io/crates/ash/src/extensions/khr/
Ddevice_group.rs49 heap_index: u32, in get_device_group_peer_memory_features()
56 heap_index, in get_device_group_peer_memory_features()
/external/rust/android-crates-io/crates/vulkano/src/memory/
Dmod.rs136 heap_index: vk_memory_type.heap_index, in from()
158 pub heap_index: u32, field
/external/rust/android-crates-io/crates/vulkano/src/memory/allocator/
Dmod.rs681 heap_index: 0,
782 heap_index: memory_type.heap_index, in new_unchecked()
1020 let block_size = self.block_sizes[pool.memory_type.heap_index as usize]; in allocate_from_type_unchecked()
1259 let block_size = self.block_sizes[memory_type.heap_index as usize]; in allocate_unchecked()
/external/mesa3d/src/intel/vulkan/
Danv_rmv.c152 unsigned heap_index) in anv_heap_index_to_memory_location() argument
154 if (heap_index == 0) in anv_heap_index_to_memory_location()
158 else if (heap_index == 1) in anv_heap_index_to_memory_location()
316 .heap_index = anv_heap_index_to_memory_location(device, in anv_rmv_log_heap_create()
/external/mesa3d/src/vulkan/runtime/rmv/
Dvk_rmv_tokens.h200 uint32_t heap_index; member
/external/mesa3d/src/imagination/vulkan/winsys/pvrsrvkm/
Dpvr_srv_bridge.h312 uint32_t heap_index; member
910 uint32_t heap_index,
Dpvr_srv_bridge.c442 uint32_t heap_index, in pvr_srv_get_heap_details() argument
452 .heap_index = heap_index, in pvr_srv_get_heap_details()

12