Home
last modified time | relevance | path

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

1234567

/external/grpc-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 int 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 int 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()
/external/rust/crates/grpcio-sys/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()
/external/python/cpython3/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
/external/python/cpython2/Lib/
Dheapq.py140 def heappush(heap, item): argument
145 def heappop(heap): argument
156 def heapreplace(heap, item): argument
172 def heappushpop(heap, item): argument
190 def _heappushpop_max(heap, item): argument
242 def _siftdown(heap, startpos, pos): argument
295 def _siftup(heap, pos): argument
315 def _siftdown_max(heap, startpos, pos): argument
330 def _siftup_max(heap, pos): argument
475 heap = [] variable
/external/python/cpython3/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 …]
/external/libchrome/base/task/sequence_manager/
Dintrusive_heap_unittest.cc42 IntrusiveHeap<TestElement> heap; in TEST_F() local
49 IntrusiveHeap<TestElement> heap; in TEST_F() local
65 IntrusiveHeap<TestElement> heap; in TEST_F() local
76 IntrusiveHeap<TestElement> heap; in TEST_F() local
93 IntrusiveHeap<TestElement> heap; in TEST_F() local
104 IntrusiveHeap<TestElement> heap; in TEST_F() local
119 IntrusiveHeap<TestElement> heap; in TEST_F() local
143 IntrusiveHeap<TestElement> heap; in TEST_F() local
165 IntrusiveHeap<TestElement> heap; in TEST_F() local
180 IntrusiveHeap<TestElement> heap; in TEST_F() local
[all …]
/external/mesa3d/src/util/
Dvma.c46 util_vma_heap_init(struct util_vma_heap *heap, in util_vma_heap_init()
57 util_vma_heap_finish(struct util_vma_heap *heap) in util_vma_heap_finish()
65 util_vma_heap_validate(struct util_vma_heap *heap) in util_vma_heap_validate()
91 #define util_vma_heap_validate(heap) argument
142 util_vma_heap_alloc(struct util_vma_heap *heap, in util_vma_heap_alloc()
204 util_vma_heap_alloc_addr(struct util_vma_heap *heap, in util_vma_heap_alloc_addr()
242 util_vma_heap_free(struct util_vma_heap *heap, in util_vma_heap_free()
310 util_vma_heap_print(struct util_vma_heap *heap, FILE *fp, in util_vma_heap_print()
Du_mm.c34 u_mmDumpMemInfo(const struct mem_block *heap) in u_mmDumpMemInfo()
72 struct mem_block *heap, *block; in u_mmInit() local
177 u_mmAllocMem(struct mem_block *heap, int size, int align2, int startSearch) in u_mmAllocMem()
217 u_mmFindBlock(struct mem_block *heap, int start) in u_mmFindBlock()
285 u_mmDestroy(struct mem_block *heap) in u_mmDestroy()
/external/python/cpython2/Modules/
D_heapqmodule.c36 _siftdown(PyListObject *heap, Py_ssize_t startpos, Py_ssize_t pos) in _siftdown()
75 _siftup(PyListObject *heap, Py_ssize_t pos) in _siftup()
123 PyObject *heap, *item; in heappush() local
146 heappop(PyObject *self, PyObject *heap) in heappop()
185 PyObject *heap, *item, *returnitem; in heapreplace() local
223 PyObject *heap, *item, *returnitem; in heappushpop() local
268 heapify(PyObject *self, PyObject *heap) in heapify()
298 PyObject *heap=NULL, *elem, *iterable, *sol, *it, *oldelem; in nlargest() local
379 _siftdownmax(PyListObject *heap, Py_ssize_t startpos, Py_ssize_t pos) in _siftdownmax()
416 _siftupmax(PyListObject *heap, Py_ssize_t pos) in _siftupmax()
[all …]
/external/skia/src/gpu/d3d/
DGrD3DDescriptorTableManager.cpp45 void GrD3DDescriptorTableManager::recycle(Heap* heap) { in recycle()
66 std::unique_ptr<GrD3DDescriptorHeap> heap = in Make() local
95 sk_sp<Heap> heap = Heap::Make(gpu, fHeapType, fCurrentHeapDescriptorCount); in HeapPool() local
115 sk_sp<GrD3DDescriptorTableManager::Heap> heap = in allocateTable() local
135 sk_sp<GrD3DDescriptorTableManager::Heap> heap = in prepForSubmit() local
141 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()
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
/external/llvm-project/compiler-rt/test/tsan/
Djava_finalizer2.cpp20 Heap* heap = (Heap*)p; in Thread1() local
29 Heap* heap = (Heap*)p; in Thread2() local
37 Heap* heap = (Heap*)p; in Thread3() local
48 Heap* heap = (Heap*)p; in Ballast() local
54 Heap* heap = (Heap*)calloc(sizeof(Heap), 2) + 1; in main() local
/external/jemalloc_new/test/unit/
Dph.c65 heap_print(const heap_t *heap) { in heap_print()
116 heap_validate(const heap_t *heap) { in heap_validate()
142 heap_t heap; in TEST_BEGIN() local
152 node_remove(heap_t *heap, node_t *node) { in node_remove()
159 node_remove_first(heap_t *heap) { in node_remove_first()
166 node_remove_any(heap_t *heap) { in node_remove_any()
178 heap_t heap; in TEST_BEGIN() local
/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_heap.c29 nouveau_heap_init(struct nouveau_heap **heap, in nouveau_heap_init()
45 nouveau_heap_destroy(struct nouveau_heap **heap) in nouveau_heap_destroy()
54 nouveau_heap_alloc(struct nouveau_heap *heap, unsigned size, void *priv, in nouveau_heap_alloc()
/external/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()
/external/python/cpython3/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
/external/libevent/test/
Dregress_minheap.c44 check_heap(struct min_heap *heap) in check_heap()
57 struct min_heap heap; in test_heap_randomized() local
/external/python/pyopenssl/tests/
Dmemdbg.py88 heap = {} variable
91 heap = None variable
/external/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
/external/perfetto/src/profiling/memory/
Dparse_smaps_unittest.cc56 SmapsEntry heap; in TEST() local
83 SmapsEntry heap; in TEST() local
Dclient_api.cc183 AHeapInfo& heap = GetHeap(heap_id); in MaybeToggleHeap() local
363 AHeapInfo& heap = GetHeap(heap_id); in AHeapProfile_reportAllocation() local
415 const AHeapInfo& heap = GetHeap(heap_id); in AHeapProfile_reportSample() local
448 const AHeapInfo& heap = GetHeap(heap_id); in AHeapProfile_reportFree() local
542 AHeapInfo& heap = GetHeap(i); in AHeapProfile_initSession() local
/external/llvm-project/compiler-rt/test/asan/TestCases/Windows/
Dheapalloc_zero_size.cpp12 HANDLE heap = HeapCreate(0, 0, 0); in main() local
Dheaprealloc_zero_size.cpp12 HANDLE heap = HeapCreate(0, 0, 0); in main() local
/external/llvm-project/compiler-rt/test/dfsan/
Dflush.c11 int *heap = (int*)malloc(sizeof(int)); in main() local

1234567