Home
last modified time | relevance | path

Searched defs:heap (Results 1 – 25 of 98) sorted by relevance

1234

/third_party/grpc/src/core/lib/iomgr/
Dtimer_heap.cc73 static void maybe_shrink(grpc_timer_heap* heap) { in maybe_shrink()
82 static void note_changed_priority(grpc_timer_heap* heap, grpc_timer* timer) { in note_changed_priority()
92 void grpc_timer_heap_init(grpc_timer_heap* heap) { in grpc_timer_heap_init()
96 void grpc_timer_heap_destroy(grpc_timer_heap* heap) { gpr_free(heap->timers); } in grpc_timer_heap_destroy()
98 bool grpc_timer_heap_add(grpc_timer_heap* heap, grpc_timer* timer) { in grpc_timer_heap_add()
111 void grpc_timer_heap_remove(grpc_timer_heap* heap, grpc_timer* timer) { in grpc_timer_heap_remove()
125 bool grpc_timer_heap_is_empty(grpc_timer_heap* heap) { in grpc_timer_heap_is_empty()
129 grpc_timer* grpc_timer_heap_top(grpc_timer_heap* heap) { in grpc_timer_heap_top()
133 void grpc_timer_heap_pop(grpc_timer_heap* heap) { in grpc_timer_heap_pop()
/third_party/python/Lib/
Dheapq.py130 def heappush(heap, item): argument
135 def heappop(heap): argument
145 def heapreplace(heap, item): argument
161 def heappushpop(heap, item): argument
179 def _heappop_max(heap): argument
189 def _heapreplace_max(heap, item): argument
205 def _siftdown(heap, startpos, pos): argument
258 def _siftup(heap, pos): argument
278 def _siftdown_max(heap, startpos, pos): argument
293 def _siftup_max(heap, pos): argument
/third_party/libuv/src/
Dheap-inl.h40 struct heap { struct
41 struct heap_node* min; argument
50 HEAP_EXPORT(void heap_init(struct heap* heap)); argument
62 HEAP_EXPORT(void heap_init(struct heap* heap)) { in HEAP_EXPORT()
67 HEAP_EXPORT(struct heap_node* heap_min(const struct heap* heap)) { in HEAP_EXPORT()
72 static void heap_node_swap(struct heap* heap, in heap_node_swap()
106 HEAP_EXPORT(void heap_insert(struct heap* heap, in HEAP_EXPORT()
150 HEAP_EXPORT(void heap_remove(struct heap* heap, in HEAP_EXPORT()
239 HEAP_EXPORT(void heap_dequeue(struct heap* heap, heap_compare_fn less_than)) { in HEAP_EXPORT()
/third_party/python/Modules/
D_heapqmodule.c19 siftdown(PyListObject *heap, Py_ssize_t startpos, Py_ssize_t pos) in siftdown()
64 siftup(PyListObject *heap, Py_ssize_t pos) in siftup()
124 _heapq_heappush_impl(PyObject *module, PyObject *heap, PyObject *item) in _heapq_heappush_impl()
141 heappop_internal(PyObject *heap, int siftup_func(PyListObject *, Py_ssize_t)) in heappop_internal()
187 _heapq_heappop(PyObject *module, PyObject *heap) in _heapq_heappop()
194 heapreplace_internal(PyObject *heap, PyObject *item, int siftup_func(PyListObject *, Py_ssize_t)) in heapreplace_internal()
238 _heapq_heapreplace_impl(PyObject *module, PyObject *heap, PyObject *item) in _heapq_heapreplace_impl()
258 _heapq_heappushpop_impl(PyObject *module, PyObject *heap, PyObject *item) in _heapq_heappushpop_impl()
333 cache_friendly_heapify(PyObject *heap, int siftup_func(PyListObject *, Py_ssize_t)) in cache_friendly_heapify()
366 heapify_internal(PyObject *heap, int siftup_func(PyListObject *, Py_ssize_t)) in heapify_internal()
[all …]
/third_party/skia/src/gpu/d3d/
DGrD3DDescriptorTableManager.cpp33 void GrD3DDescriptorTableManager::recycle(Heap* heap) { in recycle()
54 std::unique_ptr<GrD3DDescriptorHeap> heap = in Make() local
84 sk_sp<Heap> heap = Heap::Make(gpu, fHeapType, fCurrentHeapDescriptorCount); in HeapPool() local
95 auto& heap = fDescriptorHeaps[fDescriptorHeaps.size() - 1]; in allocateTable() local
108 sk_sp<GrD3DDescriptorTableManager::Heap> heap = in allocateTable() local
129 sk_sp<GrD3DDescriptorTableManager::Heap> heap = in prepForSubmit() local
135 void GrD3DDescriptorTableManager::HeapPool::recycle(sk_sp<Heap> heap) { in recycle()
DGrD3DDescriptorHeap.cpp20 ID3D12DescriptorHeap* heap; in Make() local
28 GrD3DDescriptorHeap::GrD3DDescriptorHeap(const gr_cp<ID3D12DescriptorHeap>& heap, in GrD3DDescriptorHeap()
DGrD3DDescriptorTableManager.h21 ID3D12DescriptorHeap* heap, D3D12_DESCRIPTOR_HEAP_TYPE type) in GrD3DDescriptorTable()
35 ID3D12DescriptorHeap* heap() const { return fHeap; } in heap() function
74 Heap(GrD3DGpu* gpu, std::unique_ptr<GrD3DDescriptorHeap>& heap, in Heap()
DGrD3DCpuDescriptorManager.cpp124 std::unique_ptr<GrD3DDescriptorHeap> heap = in Make() local
153 std::unique_ptr<GrD3DCpuDescriptorManager::Heap> heap = in HeapPool() local
168 std::unique_ptr<GrD3DCpuDescriptorManager::Heap> heap = in allocateHandle() local
DGrD3DCpuDescriptorManager.h63 Heap(std::unique_ptr<GrD3DDescriptorHeap>& heap, unsigned int numDescriptors) in Heap()
/third_party/libdrm/intel/
Dmm.c32 drm_private void mmDumpMemInfo(const struct mem_block *heap) in mmDumpMemInfo()
60 struct mem_block *heap, *block; in mmInit() local
163 drm_private struct mem_block *mmAllocMem(struct mem_block *heap, int size, in mmAllocMem()
246 drm_private void mmDestroy(struct mem_block *heap) in mmDestroy()
Dmm.h37 struct mem_block *heap; member
/third_party/python/Modules/clinic/
D_heapqmodule.c.h21 PyObject *heap; in _heapq_heappush() local
68 PyObject *heap; in _heapq_heapreplace() local
101 PyObject *heap; in _heapq_heappushpop() local
150 PyObject *heap; in _heapq__heapreplace_max() local
/third_party/uboot/u-boot-2020.01/fs/ubifs/
Dlprops.c53 static void move_up_lpt_heap(struct ubifs_info *c, struct ubifs_lpt_heap *heap, in move_up_lpt_heap()
90 static void adjust_lpt_heap(struct ubifs_info *c, struct ubifs_lpt_heap *heap, in adjust_lpt_heap()
172 struct ubifs_lpt_heap *heap = &c->lpt_heap[cat - 1]; in add_to_lpt_heap() local
220 struct ubifs_lpt_heap *heap; in remove_from_lpt_heap() local
251 struct ubifs_lpt_heap *heap; in lpt_heap_replace() local
447 struct ubifs_lpt_heap *heap; in change_category() local
762 struct ubifs_lpt_heap *heap; in ubifs_fast_find_free() local
933 struct ubifs_lpt_heap *heap = &c->lpt_heap[cat - 1]; in dbg_check_cats() local
955 void dbg_check_heap(struct ubifs_info *c, struct ubifs_lpt_heap *heap, int cat, in dbg_check_heap()
1076 struct ubifs_lpt_heap *heap = &c->lpt_heap[cat - 1]; in scan_check_cb() local
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DDecodeUtf8Test.java216 ByteBuffer heap = ByteBuffer.allocate(bytes.length); in assertInvalid() local
263 ByteBuffer heap = ByteBuffer.allocate(bytes.length); in assertInvalidSlice() local
302 ByteBuffer heap = ByteBuffer.allocate(bytes.length); in assertRoundTrips() local
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DBufferD3D12.cpp201 Heap* heap = ToBackend(mResourceAllocation.GetResourceHeap()); in TrackUsageAndGetResourceBarrier() local
323 Heap* heap = ToBackend(mResourceAllocation.GetResourceHeap()); in MapInternal() local
371 Heap* heap = ToBackend(mResourceAllocation.GetResourceHeap()); in UnmapImpl() local
394 Heap* heap = ToBackend(mResourceAllocation.GetResourceHeap()); in CheckIsResidentForTesting() local
DResourceHeapAllocationD3D12.cpp26 Heap* heap) in ResourceHeapAllocation()
DHeapAllocatorD3D12.cpp67 void HeapAllocator::DeallocateResourceHeap(std::unique_ptr<ResourceHeapBase> heap) { in DeallocateResourceHeap()
DStagingDescriptorAllocatorD3D12.h61 ComPtr<ID3D12DescriptorHeap> heap; member
DShaderVisibleDescriptorAllocatorD3D12.h79 std::unique_ptr<ShaderVisibleDescriptorHeap> heap; member
DResourceAllocatorManagerD3D12.cpp315 Heap* heap = ToBackend(allocation.GetResourceHeap()); in CreatePlacedResource() local
390 Heap* heap = new Heap(committedResource, GetMemorySegment(mDevice, heapType), in CreateCommittedResource() local
/third_party/skia/third_party/externals/dawn/src/tests/white_box/
DD3D12DescriptorHeapTests.cpp239 ComPtr<ID3D12DescriptorHeap> heap = allocator->GetShaderVisibleHeap(); in TEST_P() local
253 ComPtr<ID3D12DescriptorHeap> heap = allocator->GetShaderVisibleHeap(); in TEST_P() local
284 ComPtr<ID3D12DescriptorHeap> heap = allocator->GetShaderVisibleHeap(); in TEST_P() local
315 ComPtr<ID3D12DescriptorHeap> heap = allocator->GetShaderVisibleHeap(); in TEST_P() local
332 ComPtr<ID3D12DescriptorHeap> heap = allocator->GetShaderVisibleHeap(); in TEST_P() local
357 ComPtr<ID3D12DescriptorHeap> heap = allocator->GetShaderVisibleHeap(); in TEST_P() local
383 ComPtr<ID3D12DescriptorHeap> heap = allocator->GetShaderVisibleHeap(); in TEST_P() local
408 ComPtr<ID3D12DescriptorHeap> heap = allocator->GetShaderVisibleHeap(); in TEST_P() local
423 ComPtr<ID3D12DescriptorHeap> heap = allocator->GetShaderVisibleHeap(); in TEST_P() local
/third_party/flutter/skia/src/pathops/
DSkPathOpsTSect.h91 SkTSpan(const SkTCurve& curve, SkArenaAlloc& heap) { in SkTSpan()
99 void debugInit(const SkTCurve& curve, SkArenaAlloc& heap) { in debugInit()
196 bool split(SkTSpan* work, SkArenaAlloc* heap) { in split()
/third_party/skia/src/pathops/
DSkPathOpsTSect.h90 SkTSpan(const SkTCurve& curve, SkArenaAlloc& heap) { in SkTSpan()
98 void debugInit(const SkTCurve& curve, SkArenaAlloc& heap) { in debugInit()
195 bool split(SkTSpan* work, SkArenaAlloc* heap) { in split()
/third_party/boost/boost/heap/detail/
Dilog2.hpp15 namespace heap { namespace
/third_party/libdrm/tests/amdgpu/
Damdgpu_test.h331 unsigned alignment, unsigned heap, uint64_t flags, in amdgpu_bo_alloc_wrap()
360 unsigned alignment, unsigned heap, uint64_t alloc_flags, in amdgpu_bo_alloc_and_map()

1234