Home
last modified time | relevance | path

Searched refs:allocateMemory (Results 1 – 25 of 40) sorted by relevance

12

/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/tensorbuffer/
DTensorBuffer.java339 allocateMemory(shape); in TensorBuffer()
346 allocateMemory(new int[] {0}); in TensorBuffer()
365 allocateMemory(shape); in resize()
380 private void allocateMemory(@NonNull int[] shape) { in allocateMemory() method in TensorBuffer
/external/skia/tests/
DGrMemoryPoolTest.cpp255 auto allocateMemory = [](GrMemoryPool& pool, AutoPoolReleaser& r) { in DEF_TEST() local
273 allocateMemory(*pool, r); in DEF_TEST()
291 allocateMemory(*pool, r); in DEF_TEST()
294 allocateMemory(*pool, r); in DEF_TEST()
/external/skqp/tests/
DGrMemoryPoolTest.cpp252 auto allocateMemory = [](GrMemoryPool& pool, AutoPoolReleaser& r) { in DEF_TEST() local
277 allocateMemory(pool, r); in DEF_TEST()
294 allocateMemory(pool, r); in DEF_TEST()
297 allocateMemory(pool, r); in DEF_TEST()
/external/swiftshader/tests/VulkanWrapper/
DBuffer.cpp34 bufferMemory = device.allocateMemory(allocInfo); in Buffer()
DImage.cpp40 imageMemory = device.allocateMemory(allocateInfo); in Image()
DDrawTester.cpp421 vertices.memory = device.allocateMemory(memoryAllocateInfo); in addVertexBuffer()
/external/deqp/external/vulkancts/framework/vulkan/
DvkMemUtil.cpp210 Move<VkDeviceMemory> mem = allocateMemory(m_vk, m_device, &allocInfo); in allocate()
244 Move<VkDeviceMemory> mem = allocateMemory(m_vk, m_device, &allocInfo); in allocate()
273 Move<VkDeviceMemory> mem = allocateMemory(vkd, device, &allocInfo); in allocateExtended()
DvkDeviceFunctionPointers.inl10 AllocateMemoryFunc allocateMemory; variable
DvkRefUtil.inl6 Move<VkDeviceMemory> allocateMemory (const DeviceInterface& vk, VkDevice device, const VkMe…
DvkRefUtilImpl.inl203 Move<VkDeviceMemory> allocateMemory (const DeviceInterface& vk, VkDevice device, const VkMemoryAllo… function
206 VK_CHECK(vk.allocateMemory(device, pAllocateInfo, pAllocator, &object));
/external/deqp/external/vulkancts/modules/vulkan/util/
DvktExternalMemoryUtil.cpp965 return vk::allocateMemory(vkd, device, &info); in allocateExportableMemory()
996 return vk::allocateMemory(vkd, device, &info); in allocateExportableMemory()
1036 vk::Move<vk::VkDeviceMemory> memory (vk::allocateMemory(vkd, device, &info)); in importMemory()
1067 vk::Move<vk::VkDeviceMemory> memory (vk::allocateMemory(vkd, device, &info)); in importMemory()
1117 vk::Move<vk::VkDeviceMemory> memory (vk::allocateMemory(vkd, device, &info)); in importMemory()
1146 vk::Move<vk::VkDeviceMemory> memory (vk::allocateMemory(vkd, device, &info)); in importMemory()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiBufferViewCreateTests.cpp193 memory = allocateMemory(vk, vkDevice, &memAlloc, (const VkAllocationCallbacks*)DE_NULL); in createTestBuffer()
311 …result = vk.allocateMemory(vkDevice, &memoryAllocateInfo, (VkAllocationCallbacks*)DE_NULL, &rawMem… in createTestBuffer()
DvktApiGetMemoryCommitment.cpp413 …Move<VkDeviceMemory> memory = allocateMemory(vkd, device, &memAllocInfo, (const VkAllocationCallba… in iterate()
489 …Move<VkDeviceMemory> memory = allocateMemory(vkd, device, &memAllocInfo, (const VkAllocationCa… in isDeviceMemoryCommitmentOk()
DvktApiBufferTests.cpp300 result = vk.allocateMemory(vkDevice, &memAlloc, (VkAllocationCallbacks*)DE_NULL, &rawMemory); in bufferCreateAndAllocTest()
525 …result = vk.allocateMemory(vkDevice, &memoryAllocateInfo, (VkAllocationCallbacks*)DE_NULL, &rawMem… in bufferCreateAndAllocTest()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryBindingTests.cpp499 vk.allocateMemory(vkDevice, &memAlloc, (VkAllocationCallbacks*)DE_NULL, &rawMemory); in createMemory()
525 vk.allocateMemory(vkDevice, &memAlloc, (VkAllocationCallbacks*)DE_NULL, &rawMemory); in createMemory()
553 vk.allocateMemory(vkDevice, &memAlloc, static_cast<VkAllocationCallbacks*>(DE_NULL), &rawMemory); in createMemory()
580 vk.allocateMemory(vkDevice, &memAlloc, static_cast<VkAllocationCallbacks*>(DE_NULL), &rawMemory); in createMemory()
790 vk.allocateMemory(vkDevice, &memAlloc, static_cast<VkAllocationCallbacks*>(DE_NULL), &rawMemory); in createBuffer()
DvktMemoryAllocationTests.cpp423 …result = vkd.allocateMemory(device, &alloc, (const VkAllocationCallbacks*)DE_NULL, &memoryObjects[… in iterate()
472 …VK_CHECK(vkd.allocateMemory(device, &alloc, (const VkAllocationCallbacks*)DE_NULL, &memoryObjects[… in iterate()
525 …const Unique<VkDeviceMemory> memory (allocateMemory(vk, device, &allocInfo, callbackRecorder.g… in iterate()
741 …VK_CHECK(vkd.allocateMemory(device, &alloc, (const VkAllocationCallbacks*)DE_NULL, &heap.objects.b… in iterate()
DvktMemoryMappingTests.cpp295 …const Unique<VkDeviceMemory> memory (allocateMemory(vk, device, &allocInfo, callbackRecorder.g… in computeDeviceMemorySystemMemFootprint()
438 return allocateMemory(vk, device, &pAllocInfo); in allocMemory()
457 VkResult result = vk.allocateMemory(device, &allocInfo, NULL, &memory); in findLargeAllocationSize()
489 return allocateMemory(vk, device, &pAllocInfo, allocator); in allocMemory()
DvktMemoryDeviceMemoryReportTests.cpp267 return allocateMemory(env.vkd, env.device, &memoryAllocateInfo); in create()
1771 …result = vkd.allocateMemory(*device, &memoryAllocateInfo, (const VkAllocationCallbacks*)DE_NULL, &… in vkDeviceMemoryAllocateAndFreeTest()
1851 …result = vkd.allocateMemory(*device, &memoryAllocateInfo, (const VkAllocationCallbacks*)DE_NULL, &… in vkDeviceMemoryAllocationFailedTest()
/external/swiftshader/tests/VulkanBenchmarks/
DClearImageBenchmarks.cpp48 memory = device.allocateMemory(allocateInfo); in initialize()
/external/deqp/external/vulkancts/modules/vulkan/device_group/
DvktDeviceGroupRendering.cpp499 vertexBufferMemory = allocateMemory(vk, *m_deviceGroup, &allocInfo); in iterate()
571 indexBufferMemory = allocateMemory(vk, *m_deviceGroup, &allocInfo); in iterate()
643 uniformBufferMemory = allocateMemory(vk, *m_deviceGroup, &allocInfo); in iterate()
714 sboBufferMemory = allocateMemory(vk, *m_deviceGroup, &allocInfo); in iterate()
794 imageMemory = allocateMemory(vk, *m_deviceGroup, &allocInfo); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesBufferSparseBinding.cpp203 sparseMemoryAllocation = allocateMemory(deviceInterface, getDevice(), &allocateInfo); in iterate()
DvktSparseResourcesTestsUtil.cpp874 VK_CHECK(vk.allocateMemory(device, &allocInfo, DE_NULL, &deviceMemory)); in makeSparseImageMemoryBind()
904 VK_CHECK(vk.allocateMemory(device, &allocInfo, DE_NULL, &deviceMemory)); in makeSparseMemoryBind()
/external/deqp/external/vulkancts/modules/vulkan/modifiers/
DvktModifiersTests.cpp487 vk::Move<vk::VkDeviceMemory> srcMemory (vk::allocateMemory(vkd, device, &allocationInfo)); in exportImportMemoryExplicitModifiersCase()
611 vk::Move<vk::VkDeviceMemory> outMemory (vk::allocateMemory(vkd, device, &outAllocationInfo)); in exportImportMemoryExplicitModifiersCase()
/external/icu/icu4c/source/i18n/
Dusearch.cpp186 inline void * allocateMemory(uint32_t size, UErrorCode *status) in allocateMemory() function
222 int32_t *temp = (int32_t *)allocateMemory( in addTouint32_tArray()
262 int64_t *temp = (int64_t *)allocateMemory( in addTouint64_tArray()
858 norm = (UChar *)allocateMemory((size + 1) * sizeof(UChar), in checkExtraMatchAccents()
1373 destination = (UChar *)allocateMemory( in addToUCharArray()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawAhbTests.cpp368 const Unique<VkDeviceMemory> colorImageMemory (allocateMemory(vk, device, &allocateInfo)); in iterate()

12