Home
last modified time | relevance | path

Searched refs:alloc (Results 1 – 25 of 28) sorted by relevance

12

/device/linaro/dragonboard/gralloc/
Dgralloc.cpp169 struct alloc_device_t *alloc = (struct alloc_device_t *) dev; in gbm_mod_close_gpu0() local
172 delete alloc; in gbm_mod_close_gpu0()
210 struct alloc_device_t *alloc; in gbm_mod_open_gpu0() local
217 alloc = new alloc_device_t(); in gbm_mod_open_gpu0()
218 if (!alloc) in gbm_mod_open_gpu0()
221 alloc->common.tag = HARDWARE_DEVICE_TAG; in gbm_mod_open_gpu0()
222 alloc->common.version = 0; in gbm_mod_open_gpu0()
223 alloc->common.module = &dmod->base.common; in gbm_mod_open_gpu0()
224 alloc->common.close = gbm_mod_close_gpu0; in gbm_mod_open_gpu0()
226 alloc->alloc = gbm_mod_alloc_gpu0; in gbm_mod_open_gpu0()
[all …]
/device/generic/goldfish-opengl/system/vulkan_enc/
Dgoldfish_vk_deepcopy_guest.cpp51 to->pNext = (const void*)pool->alloc(pNext_size); in deepcopy_VkApplicationInfo()
77 to->pNext = (const void*)pool->alloc(pNext_size); in deepcopy_VkInstanceCreateInfo()
83 to->pApplicationInfo = (VkApplicationInfo*)pool->alloc(sizeof(const VkApplicationInfo)); in deepcopy_VkInstanceCreateInfo()
242 to->pNext = (const void*)pool->alloc(pNext_size); in deepcopy_VkDeviceQueueCreateInfo()
263 to->pNext = (const void*)pool->alloc(pNext_size); in deepcopy_VkDeviceCreateInfo()
269 …to->pQueueCreateInfos = (VkDeviceQueueCreateInfo*)pool->alloc(from->queueCreateInfoCount * sizeof(… in deepcopy_VkDeviceCreateInfo()
289 …to->pEnabledFeatures = (VkPhysicalDeviceFeatures*)pool->alloc(sizeof(const VkPhysicalDeviceFeature… in deepcopy_VkDeviceCreateInfo()
326 to->pNext = (const void*)pool->alloc(pNext_size); in deepcopy_VkSubmitInfo()
362 to->pNext = (const void*)pool->alloc(pNext_size); in deepcopy_VkMemoryAllocateInfo()
378 to->pNext = (const void*)pool->alloc(pNext_size); in deepcopy_VkMappedMemoryRange()
[all …]
DHostVisibleMemoryVirtualization.cpp271 HostMemAlloc* alloc, in subAllocHostMemory() argument
276 alloc->nonCoherentAtomSize * ( in subAllocHostMemory()
278 alloc->nonCoherentAtomSize - 1) / in subAllocHostMemory()
279 alloc->nonCoherentAtomSize); in subAllocHostMemory()
284 (unsigned int)alloc->nonCoherentAtomSize); in subAllocHostMemory()
286 void* subMapped = alloc->subAlloc->alloc(mappedSize); in subAllocHostMemory()
292 out->baseMemory = alloc->memory; in subAllocHostMemory()
293 out->baseOffset = alloc->subAlloc->getOffset(subMapped); in subAllocHostMemory()
296 out->subAlloc = alloc->subAlloc; in subAllocHostMemory()
306 auto ptr = subAlloc->alloc(size); in canSubAlloc()
DVulkanStreamGuest.cpp40 void alloc(void **ptrAddr, size_t bytes) { in alloc() function in goldfish_vk::VulkanStreamGuest::Impl
46 *ptrAddr = mPool.alloc(bytes); in alloc()
50 uint8_t* streamBuf = (uint8_t*)mStream->alloc(size); in write()
129 void VulkanStreamGuest::alloc(void** ptrAddr, size_t bytes) { in alloc() function in goldfish_vk::VulkanStreamGuest
130 mImpl->alloc(ptrAddr, bytes); in alloc()
136 alloc((void**)forOutput, len + 1); in loadStringInPlace()
151 alloc((void**)forOutput, count * sizeof(char*)); in loadStringArrayInPlace()
DVkEncoder.cpp189 local_pCreateInfo = (VkInstanceCreateInfo*)pool->alloc(sizeof(const VkInstanceCreateInfo)); in vkCreateInstance()
195 local_pAllocator = (VkAllocationCallbacks*)pool->alloc(sizeof(const VkAllocationCallbacks)); in vkCreateInstance()
274 local_pAllocator = (VkAllocationCallbacks*)pool->alloc(sizeof(const VkAllocationCallbacks)); in vkDestroyInstance()
354 countingStream->alloc((void**)&cgen_var_12, (*(pPhysicalDeviceCount)) * 8); in vkEnumeratePhysicalDevices()
384 stream->alloc((void**)&cgen_var_16, (*(pPhysicalDeviceCount)) * 8); in vkEnumeratePhysicalDevices()
415 stream->alloc((void**)&cgen_var_19, (*(pPhysicalDeviceCount)) * 8); in vkEnumeratePhysicalDevices()
899 local_pCreateInfo = (VkDeviceCreateInfo*)pool->alloc(sizeof(const VkDeviceCreateInfo)); in vkCreateDevice()
905 local_pAllocator = (VkAllocationCallbacks*)pool->alloc(sizeof(const VkAllocationCallbacks)); in vkCreateDevice()
991 local_pAllocator = (VkAllocationCallbacks*)pool->alloc(sizeof(const VkAllocationCallbacks)); in vkDestroyDevice()
1595 local_pSubmits = (VkSubmitInfo*)pool->alloc(((submitCount)) * sizeof(const VkSubmitInfo)); in vkQueueSubmit()
[all …]
DVulkanStreamGuest.h38 void alloc(void** ptrAddr, size_t bytes);
DHostVisibleMemoryVirtualization.h116 HostMemAlloc* alloc,
Dgoldfish_vk_marshaling_guest.cpp883 vkStream->alloc((void**)&cgen_var_22, forMarshaling->waitSemaphoreCount * 8); in marshal_VkSubmitInfo()
892 vkStream->alloc((void**)&cgen_var_23, forMarshaling->commandBufferCount * 8); in marshal_VkSubmitInfo()
900 vkStream->alloc((void**)&cgen_var_24, forMarshaling->signalSemaphoreCount * 8); in marshal_VkSubmitInfo()
916 vkStream->alloc((void**)&cgen_var_25, forUnmarshaling->waitSemaphoreCount * 8); in unmarshal_VkSubmitInfo()
925 vkStream->alloc((void**)&cgen_var_26, forUnmarshaling->commandBufferCount * 8); in unmarshal_VkSubmitInfo()
933 vkStream->alloc((void**)&cgen_var_27, forUnmarshaling->signalSemaphoreCount * 8); in unmarshal_VkSubmitInfo()
1227 vkStream->alloc((void**)&cgen_var_40, forMarshaling->waitSemaphoreCount * 8); in marshal_VkBindSparseInfo()
1250 vkStream->alloc((void**)&cgen_var_41, forMarshaling->signalSemaphoreCount * 8); in marshal_VkBindSparseInfo()
1266 vkStream->alloc((void**)&cgen_var_42, forUnmarshaling->waitSemaphoreCount * 8); in unmarshal_VkBindSparseInfo()
1289 vkStream->alloc((void**)&cgen_var_43, forUnmarshaling->signalSemaphoreCount * 8); in unmarshal_VkBindSparseInfo()
[all …]
/device/generic/goldfish-opengl/android-emu/android/base/
DPool.h48 void* alloc(size_t wantedSize);
59 void* res = alloc(bytes); in allocArray()
65 void* res = alloc(bytes); in strDup()
82 void* res = alloc(bytes); in dupArray()
DAndroidSubAllocator.h55 void* alloc(size_t wantedSize);
68 void* res = alloc(bytes); in allocArray()
74 void* res = alloc(bytes); in strDup()
91 void* res = alloc(bytes); in dupArray()
DPool.cpp140 void* alloc() { in alloc() function
237 void* alloc() { in alloc() function in android::base::Heap
238 return mBlock.alloc(); in alloc()
307 void* alloc(size_t wantedSize) { in alloc() function in android::base::Pool::Impl
329 return heap->alloc(); in alloc()
400 void* Pool::alloc(size_t wantedSize) { in alloc() function in android::base::Pool
401 void* ptr = mImpl->alloc(wantedSize); in alloc()
DAndroidSubAllocator.cpp159 void* alloc(size_t wantedSize) { in alloc() function in android::base::guest::SubAllocator::Impl
218 void* SubAllocator::alloc(size_t wantedSize) { in alloc() function in android::base::guest::SubAllocator
219 return mImpl->alloc(wantedSize); in alloc()
/device/generic/goldfish-opengl/system/GLESv1_enc/
Dgl_enc.cpp35 buf = stream->alloc(totalSize); in glAlphaFunc_enc()
61 buf = stream->alloc(totalSize); in glClearColor_enc()
89 buf = stream->alloc(totalSize); in glClearDepthf_enc()
115 buf = stream->alloc(totalSize); in glClipPlanef_enc()
142 buf = stream->alloc(totalSize); in glColor4f_enc()
170 buf = stream->alloc(totalSize); in glDepthRangef_enc()
196 buf = stream->alloc(totalSize); in glFogf_enc()
223 buf = stream->alloc(totalSize); in glFogfv_enc()
250 buf = stream->alloc(totalSize); in glFrustumf_enc()
281 buf = stream->alloc(totalSize); in glGetClipPlanef_enc()
[all …]
/device/generic/goldfish-opengl/system/GLESv2_enc/
Dgl2_enc.cpp35 buf = stream->alloc(totalSize); in glActiveTexture_enc()
60 buf = stream->alloc(totalSize); in glAttachShader_enc()
87 buf = stream->alloc(totalSize); in glBindAttribLocation_enc()
115 buf = stream->alloc(totalSize); in glBindBuffer_enc()
141 buf = stream->alloc(totalSize); in glBindFramebuffer_enc()
167 buf = stream->alloc(totalSize); in glBindRenderbuffer_enc()
193 buf = stream->alloc(totalSize); in glBindTexture_enc()
219 buf = stream->alloc(totalSize); in glBlendColor_enc()
247 buf = stream->alloc(totalSize); in glBlendEquation_enc()
272 buf = stream->alloc(totalSize); in glBlendEquationSeparate_enc()
[all …]
/device/generic/goldfish-opengl/system/renderControl_enc/
DrenderControl_enc.cpp35 buf = stream->alloc(totalSize); in rcGetRendererVersion_enc()
76 buf = stream->alloc(totalSize); in rcGetEGLVersion_enc()
122 buf = stream->alloc(totalSize); in rcQueryEGLString_enc()
167 buf = stream->alloc(totalSize); in rcGetGLString_enc()
212 buf = stream->alloc(totalSize); in rcGetNumConfigs_enc()
255 buf = stream->alloc(totalSize); in rcGetConfigs_enc()
300 buf = stream->alloc(totalSize); in rcChooseConfig_enc()
348 buf = stream->alloc(totalSize); in rcGetFBParam_enc()
388 buf = stream->alloc(totalSize); in rcCreateContext_enc()
430 buf = stream->alloc(totalSize); in rcDestroyContext_enc()
[all …]
/device/generic/opengl-transport/host/commands/emugen/tests/t.001/expected/encoder/
Dfoo_enc.cpp35 buf = stream->alloc(totalSize); in fooAlphaFunc_enc()
62 buf = stream->alloc(totalSize); in fooIsBuffer_enc()
103 buf = stream->alloc(totalSize); in fooDoEncoderFlush_enc()
130 buf = stream->alloc(totalSize); in fooTakeConstVoidPtrConstPtr_enc()
157 buf = stream->alloc(totalSize); in fooSetComplexStruct_enc()
184 buf = stream->alloc(totalSize); in fooGetComplexStruct_enc()
222 buf = stream->alloc(totalSize); in fooInout_enc()
/device/generic/opengl-transport/host/commands/emugen/tests/t.001/expected/decoder/
Dfoo_dec.cpp67 unsigned char *tmpBuf = stream->alloc(totalTmpSize); in decode()
134 unsigned char *tmpBuf = stream->alloc(totalTmpSize); in decode()
159 unsigned char *tmpBuf = stream->alloc(totalTmpSize); in decode()
/device/generic/opengl-transport/host/libs/virglrenderer/OpenglRender/
DIOStream.h28 unsigned char* alloc(size_t len) { in alloc() function
/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DVirtioGpuStream.h46 virtual unsigned char *alloc(size_t len) in alloc() function
/device/generic/goldfish-opengl/host/include/libOpenglRender/
DIOStream.h49 virtual unsigned char *alloc(size_t len) { in alloc() function
/device/amlogic/yukawa/hal/gralloc/legacy/
Dalloc_device.cpp179 dev->alloc = alloc_device_alloc; in alloc_device_open()
/device/linaro/hikey/gralloc960/legacy/
Dalloc_device.cpp178 dev->alloc = alloc_device_alloc; in alloc_device_open()
/device/google/cuttlefish/guest/hals/gralloc/legacy/
Dgralloc.cpp157 dev->device.alloc = gralloc_alloc; in gralloc_device_open()
/device/linaro/dragonboard/db845c/firmware/
Dadsp.b071alloc error in prgtab .data %d���pd_dump.c:ADSP:PD dump no user allocation for qurt_debug_thread_i…
/device/linaro/hikey/gralloc/
Dalloc_device.cpp856 dev->alloc = alloc_device_alloc; in alloc_device_open()

12