Home
last modified time | relevance | path

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

12345678

/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/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/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/python/cpython3/Modules/
D_heapqmodule.c12 siftdown(PyListObject *heap, Py_ssize_t startpos, Py_ssize_t pos) in siftdown()
53 siftup(PyListObject *heap, Py_ssize_t pos) in siftup()
102 PyObject *heap, *item; in heappush() local
124 heappop_internal(PyObject *heap, int siftup_func(PyListObject *, Py_ssize_t)) in heappop_internal()
161 heappop(PyObject *self, PyObject *heap) in heappop()
172 PyObject *heap, *item, *returnitem; in heapreplace_internal() local
216 PyObject *heap, *item, *returnitem; in heappushpop() local
293 cache_friendly_heapify(PyObject *heap, int siftup_func(PyListObject *, Py_ssize_t)) in cache_friendly_heapify()
326 heapify_internal(PyObject *heap, int siftup_func(PyListObject *, Py_ssize_t)) in heapify_internal()
357 heapify(PyObject *self, PyObject *heap) in heapify()
[all …]
/external/v8/src/heap/
Dincremental-marking-job.cc18 void IncrementalMarkingJob::Start(Heap* heap) { in Start()
23 void IncrementalMarkingJob::ScheduleTask(Heap* heap) { in ScheduleTask()
32 void IncrementalMarkingJob::Task::Step(Heap* heap) { in Step()
47 Heap* heap = isolate()->heap(); in RunInternal() local
Dscavenge-job.cc24 Heap* heap = isolate()->heap(); in RunInternal() local
84 void ScavengeJob::RescheduleIdleTask(Heap* heap) { in RescheduleIdleTask()
94 void ScavengeJob::ScheduleIdleTaskIfNeeded(Heap* heap, int bytes_allocated) { in ScheduleIdleTaskIfNeeded()
105 void ScavengeJob::ScheduleIdleTask(Heap* heap) { in ScheduleIdleTask()
Dobject-stats.h85 explicit ObjectStats(Heap* heap) : heap_(heap) { ClearObjectStats(); } in ObjectStats()
122 Heap* heap() { return heap_; } in heap() function
164 ObjectStatsCollector(Heap* heap, ObjectStats* live, ObjectStats* dead) in ObjectStatsCollector()
Dremembered-set.h106 static void Iterate(Heap* heap, RememberedSetIterationMode mode, in Iterate()
118 static void IterateMemoryChunks(Heap* heap, Callback callback) { in IterateMemoryChunks()
229 static void IterateTyped(Heap* heap, RememberedSetIterationMode mode, in IterateTyped()
253 static void ClearAll(Heap* heap) { in ClearAll()
313 static SlotCallbackResult UpdateEmbeddedPointer(Heap* heap, RelocInfo* rinfo, in UpdateEmbeddedPointer()
330 static SlotCallbackResult UpdateTypedSlot(Heap* heap, SlotType slot_type, in UpdateTypedSlot()
Dheap-controller.h18 MemoryController(Heap* heap, double min_growing_factor, in MemoryController()
65 explicit HeapController(Heap* heap) in HeapController()
Darray-buffer-tracker-inl.h18 void ArrayBufferTracker::RegisterNew(Heap* heap, JSArrayBuffer* buffer) { in RegisterNew()
41 void ArrayBufferTracker::Unregister(Heap* heap, JSArrayBuffer* buffer) { in Unregister()
Dobjects-visiting.cc18 static bool MustRecordSlots(Heap* heap) { in MustRecordSlots()
29 Object* VisitWeakList(Heap* heap, Object* list, WeakObjectRetainer* retainer) { in VisitWeakList()
80 static void ClearWeakList(Heap* heap, Object* list) { in ClearWeakList()
Dmemory-reducer.cc23 MemoryReducer::MemoryReducer(Heap* heap) in MemoryReducer()
37 Heap* heap = memory_reducer_->heap(); in RunInternal() local
/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/mesa3d/src/mesa/main/
Dmm.c33 mmDumpMemInfo(const struct mem_block *heap) in mmDumpMemInfo()
62 struct mem_block *heap, *block; in mmInit() local
167 mmAllocMem(struct mem_block *heap, unsigned size, unsigned align2, unsigned startSearch) in mmAllocMem()
200 mmFindBlock(struct mem_block *heap, unsigned start) in mmFindBlock()
268 mmDestroy(struct mem_block *heap) in mmDestroy()
/external/mesa3d/src/gallium/auxiliary/util/
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/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/jemalloc/test/unit/
Dph.c63 heap_print(const heap_t *heap) in heap_print()
114 heap_validate(const heap_t *heap) in heap_validate()
140 heap_t heap; in TEST_BEGIN() local
149 node_remove(heap_t *heap, node_t *node) in node_remove()
158 node_remove_first(heap_t *heap) in node_remove_first()
172 heap_t heap; in TEST_BEGIN() local
/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/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/u-boot/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
/external/tensorflow/tensorflow/compiler/xla/service/
Dheap_simulator_test.cc816 NoFragmentationStatsHeap heap; in TEST_F() local
821 NoFragmentationStatsHeap heap; in TEST_F() local
834 NoFragmentationStatsHeap heap; in TEST_F() local
854 DecreasingSizeRunsHeap heap( in TEST_F() local
864 DecreasingSizeRunsHeap heap( in TEST_F() local
892 DecreasingSizeRunsHeap heap( in TEST_F() local
924 LazyBestFitHeap heap(/*alignment=*/1); in TEST_F() local
931 LazyBestFitHeap heap(/*alignment=*/1); in TEST_F() local
955 LazyBestFitHeap heap(/*alignment=*/1); in TEST_F() local
983 LazyBestFitHeap heap(/*alignment=*/1); in TEST_F() local
[all …]
/external/compiler-rt/test/asan/TestCases/
Ddescribe_address.cc9 int *heap = new int[100]; in main() local
/external/v8/src/
Dsetup-isolate-deserialize.cc33 bool SetupIsolateDelegate::SetupHeap(Heap* heap) { in SetupHeap()

12345678