Home
last modified time | relevance | path

Searched refs:heap (Results 1 – 25 of 66) sorted by relevance

123

/device/generic/vulkan-cereal/third-party/astc-codec/src/base/test/
Dbottom_n_test.cpp26 static void pushAll(BottomN<T>& heap, const T (&arr)[N]) { in pushAll() argument
28 heap.Push(i); in pushAll()
34 BottomN<int> heap(10); in TEST() local
35 EXPECT_TRUE(heap.Empty()); in TEST()
37 pushAll(heap, list); in TEST()
39 EXPECT_EQ(heap.Size(), 2); in TEST()
40 EXPECT_FALSE(heap.Empty()); in TEST()
41 EXPECT_THAT(heap.Pop(), ElementsAre(1, 2)); in TEST()
45 BottomN<int> heap(6); in TEST() local
47 pushAll(heap, list); in TEST()
[all …]
/device/generic/goldfish-opengl/android-emu/android/base/
DPool.cpp303 delete info.heap; in ~Impl()
322 auto heap = mHeapInfos[index].heap; in alloc() local
324 if (heap->isFull()) { in alloc()
329 return heap->alloc(); in alloc()
349 info.heap->free(ptr); in free()
360 info.heap->freeAll(); in freeAll()
373 Heap* heap; member
/device/generic/vulkan-cereal/third-party/astc-codec/src/decoder/
Dpartition.cc213 ResultHeap heap(k); in Search() local
214 SearchNode(root_, part, &heap); in Search()
221 std::vector<ResultNode> search_results = heap.Pop(); in Search()
324 const Partition& p, ResultHeap* const heap) const { in SearchNode()
337 heap->Push(result); in SearchNode()
348 const int tau = heap->Top().distance; in SearchNode()
350 SearchNode(node->left, p, heap); in SearchNode()
354 SearchNode(node->right, p, heap); in SearchNode()
/device/generic/vulkan-cereal/protocols/vulkan/appendices/
DVK_EXT_memory_priority.txt20 the implementation may transparently move memory from one heap to another
21 when a heap becomes full (for example, when the total memory used across all
22 processes exceeds the size of the heap).
DVK_EXT_memory_budget.txt20 total memory budget for a memory heap.
25 can be used as a guideline for how much total memory from each heap the
32 display the **current process** estimated heap usage.
DVK_EXT_device_memory_report.txt96 3) Should the callback be reporting which heap is used?
102 correspond to an advertised heap, rather than having a magic value
103 indicating a non-advertised heap.
121 Take the shader heap as an example.
123 same shader heap.
145 like size and heap index reported?
DVK_EXT_external_memory_host.txt36 heap that is otherwise not usable for regular memory object allocation and
37 thus such a heap's size may be zero.
DVK_EXT_pageable_device_local_memory.txt26 application may not be the full size of the memory heap at all times.
36 In reality the memory heap might not have been full, it just appeared to be
DVK_AMD_memory_overallocation_behavior.txt22 device memory heap sizes (reported by
/device/linaro/hikey/gralloc960/
Dmali_gralloc_ion.cpp201 int heap; in alloc_ion_fd() local
213 heap = 1 << system_heap_id; in alloc_ion_fd()
215 heap = 1 << cma_heap_id; in alloc_ion_fd()
217 heap = heap_mask; in alloc_ion_fd()
219 return ion_alloc_fd(ion_fd, size, 0, heap, flags, shared_fd); in alloc_ion_fd()
/device/amlogic/yukawa/hal/gralloc/
Dmali_gralloc_ion.cpp201 int heap; in alloc_ion_fd() local
213 heap = 1 << system_heap_id; in alloc_ion_fd()
215 heap = 1 << cma_heap_id; in alloc_ion_fd()
217 heap = heap_mask; in alloc_ion_fd()
219 return ion_alloc_fd(ion_fd, size, 0, heap, flags, shared_fd); in alloc_ion_fd()
/device/linaro/hikey/gralloc/
Dalloc_device.cpp177 int heap; in alloc_ion_fd() local
189 heap = 1 << system_heap_id; in alloc_ion_fd()
191 heap = 1 << cma_heap_id; in alloc_ion_fd()
193 heap = heap_mask; in alloc_ion_fd()
195 return ion_alloc_fd(ion_fd, size, 0, heap, flags, shared_fd); in alloc_ion_fd()
/device/google/gs101-sepolicy/whitechapel/vendor/google/
Ddevice.te27 # sensor direct DMA-BUF heap
33 #vscaler-secure DMA-BUF heap
Duntrusted_app_all.te1 # Allows Exoplayer(and other applications) access to the vstream-secure DMA-BUF heap
/device/generic/vulkan-cereal/protocols/vulkan/chapters/
Dmemory.txt487 Each heap describes a memory resource of a particular size, and each memory
489 that can: be used with a given memory heap.
491 heap indicated by that memory type's heap index.
492 More than one memory type may: share each heap, and the heaps and memory
499 Each heap is described by an element of the pname:memoryHeaps array as a
507 At least one heap must: include ename:VK_MEMORY_HEAP_DEVICE_LOCAL_BIT in
513 memory heap which is considered to be equally "`local`" to the host and to
514 the device, and such an implementation must: advertise the heap as
616 belongs to a memory heap with greater performance (as determined in an
760 [open,refpage='VkMemoryHeap',desc='Structure specifying a memory heap',type='structs']
[all …]
/device/linaro/dragonboard/sm8450/
Ddevice.mk18 $(call inherit-product, frameworks/native/build/tablet-10in-xhdpi-2048-dalvik-heap.mk)
/device/google/cuttlefish/shared/pc/
Ddevice_vendor.mk25 $(call inherit-product, frameworks/native/build/tablet-7in-xhdpi-2048-dalvik-heap.mk)
/device/google/cuttlefish/shared/wear/
Dwearable-1024.prop19 dalvik.vm.foreground-heap-growth-multiplier=2.0
/device/google/cuttlefish/shared/go/
Ddevice_vendor.mk26 $(call inherit-product, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk)
/device/linaro/dragonboard/rb5/
Ddevice.mk18 $(call inherit-product, frameworks/native/build/tablet-10in-xhdpi-2048-dalvik-heap.mk)
/device/google/redbull-sepolicy/private/
Dgoogle_camera_app.te20 # Allow heap profiling if the app opts in by being marked
/device/google/sunfish-sepolicy/private/
Dgoogle_camera_app.te20 # Allow heap profiling if the app opts in by being marked
/device/google/coral-sepolicy/private/
Dgoogle_camera_app.te20 # Allow heap profiling if the app opts in by being marked
/device/linaro/dragonboard/db845c/
Ddevice.mk18 $(call inherit-product, frameworks/native/build/tablet-10in-xhdpi-2048-dalvik-heap.mk)
/device/google/cuttlefish/shared/tv/
Ddevice_vendor.mk22 $(call inherit-product, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk)

123