Home
last modified time | relevance | path

Searched refs:outSize (Results 1 – 10 of 10) sorted by relevance

/device/linaro/hikey/gralloc960/
Dmali_gralloc_debug.cpp73 void mali_gralloc_dump_buffers(android::String8 &dumpStrings, uint32_t *outSize) in mali_gralloc_dump_buffers() argument
75 if (NULL == outSize) in mali_gralloc_dump_buffers()
108 *outSize = dumpStrings.size(); in mali_gralloc_dump_buffers()
111 void mali_gralloc_dump_internal(uint32_t *outSize, char *outBuffer) in mali_gralloc_dump_internal() argument
115 if (NULL == outSize) in mali_gralloc_dump_internal()
128 mali_gralloc_dump_buffers(dumpStrings, outSize); in mali_gralloc_dump_internal()
134 *outSize = 0; in mali_gralloc_dump_internal()
139 *outSize = (dumpSize < *outSize) ? dumpSize : *outSize; in mali_gralloc_dump_internal()
140 memcpy(outBuffer, dumpStrings.string(), *outSize); in mali_gralloc_dump_internal()
Dmali_gralloc_debug.h37 void mali_gralloc_dump_buffers(android::String8 &dumpBuffer, uint32_t *outSize);
38 void mali_gralloc_dump_internal(uint32_t *outSize, char *outBuffer);
Dmali_gralloc_public_interface.cpp40 static void mali_gralloc_dump(gralloc1_device_t *device, uint32_t *outSize, char *outBuffer) in mali_gralloc_dump() argument
42 if (NULL == outSize) in mali_gralloc_dump()
48 mali_gralloc_dump_internal(outSize, outBuffer); in mali_gralloc_dump()
/device/amlogic/yukawa/hal/gralloc/
Dmali_gralloc_debug.cpp73 void mali_gralloc_dump_buffers(android::String8 &dumpStrings, uint32_t *outSize) in mali_gralloc_dump_buffers() argument
75 if (NULL == outSize) in mali_gralloc_dump_buffers()
108 *outSize = dumpStrings.size(); in mali_gralloc_dump_buffers()
111 void mali_gralloc_dump_internal(uint32_t *outSize, char *outBuffer) in mali_gralloc_dump_internal() argument
115 if (NULL == outSize) in mali_gralloc_dump_internal()
128 mali_gralloc_dump_buffers(dumpStrings, outSize); in mali_gralloc_dump_internal()
134 *outSize = 0; in mali_gralloc_dump_internal()
139 *outSize = (dumpSize < *outSize) ? dumpSize : *outSize; in mali_gralloc_dump_internal()
140 memcpy(outBuffer, dumpStrings.string(), *outSize); in mali_gralloc_dump_internal()
Dmali_gralloc_debug.h37 void mali_gralloc_dump_buffers(android::String8 &dumpBuffer, uint32_t *outSize);
38 void mali_gralloc_dump_internal(uint32_t *outSize, char *outBuffer);
Dmali_gralloc_public_interface.cpp40 static void mali_gralloc_dump(gralloc1_device_t *device, uint32_t *outSize, char *outBuffer) in mali_gralloc_dump() argument
42 if (NULL == outSize) in mali_gralloc_dump()
48 mali_gralloc_dump_internal(outSize, outBuffer); in mali_gralloc_dump()
/device/generic/goldfish-opengl/system/hwc2/
DEmuHWC2.h96 void dump(uint32_t* outSize, char* outBuffer);
97 static void dumpHook(hwc2_device_t* device, uint32_t* outSize, in dumpHook() argument
99 getHWC2(device)->dump(outSize, outBuffer); in dumpHook()
228 HWC2::Error getName(uint32_t* outSize, char* outName);
DEmuHWC2.cpp652 Error EmuHWC2::Display::getName(uint32_t* outSize, char* outName) { in getName() argument
657 *outSize = mName.size(); in getName()
660 auto numCopied = mName.copy(outName, *outSize); in getName()
661 *outSize = numCopied; in getName()
/device/google/cuttlefish/guest/hals/hwcomposer/cutf_cvm/
DHWC2.h102 void dump(uint32_t* outSize, char* outBuffer);
103 static void dumpHook(hwc2_device_t* device, uint32_t* outSize, in dumpHook() argument
105 getAdapter(device)->dump(outSize, outBuffer); in dumpHook()
214 HWC2::Error getName(uint32_t* outSize, char* outName);
DHWC2.cpp374 void CfHWC2::dump(uint32_t* outSize, char* outBuffer) { in dump() argument
376 auto copiedBytes = mDumpString.copy(outBuffer, *outSize); in dump()
377 *outSize = static_cast<uint32_t>(copiedBytes); in dump()
424 *outSize = static_cast<uint32_t>(mDumpString.size()); in dump()
734 Error CfHWC2::Display::getName(uint32_t* outSize, char* outName) { in getName() argument
738 *outSize = mName.size(); in getName()
741 auto numCopied = mName.copy(outName, *outSize); in getName()
742 *outSize = numCopied; in getName()