Home
last modified time | relevance | path

Searched refs:outSize (Results 1 – 12 of 12) 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/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/
DLzmaCompress.c103 size_t outSize; in Encode() local
123 outSize = (size_t)fileSize / 20 * 21 + (1 << 16); in Encode()
124 outBuffer = (Byte *)MyAlloc(outSize); in Encode()
155 size_t outSizeProcessed = outSize - LZMA_HEADER_SIZE; in Encode()
166 outSize = LZMA_HEADER_SIZE + outSizeProcessed; in Encode()
169 if (outStream->Write(outStream, outBuffer, outSize) != outSize) in Encode()
186 size_t outSize = 0; in Decode() local
208 outSize = (size_t)outSize64; in Decode()
209 if (outSize != 0) { in Decode()
210 outBuffer = (Byte *)MyAlloc(outSize); in Decode()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/
DLzmaDec.c940 SizeT outSize = *destLen; in LzmaDec_DecodeToBuf() local
951 if (outSize > p->dicBufSize - dicPos) in LzmaDec_DecodeToBuf()
958 outSizeCur = dicPos + outSize; in LzmaDec_DecodeToBuf()
969 outSize -= outSizeCur; in LzmaDec_DecodeToBuf()
973 if (outSizeCur == 0 || outSize == 0) in LzmaDec_DecodeToBuf()
1083 SizeT outSize = *destLen, inSize = *srcLen; in LzmaDecode() local
1091 p.dicBufSize = outSize; in LzmaDecode()
1094 res = LzmaDec_DecodeToDic(&p, outSize, src, srcLen, finishMode, status); in LzmaDecode()
D7zTypes.h224 SRes (*Progress)(void *p, UInt64 inSize, UInt64 outSize);
/device/linaro/bootloader/edk2/MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
DLzmaDec.c942 SizeT outSize = *destLen; in LzmaDec_DecodeToBuf() local
953 if (outSize > p->dicBufSize - dicPos) in LzmaDec_DecodeToBuf()
960 outSizeCur = dicPos + outSize; in LzmaDec_DecodeToBuf()
971 outSize -= outSizeCur; in LzmaDec_DecodeToBuf()
975 if (outSizeCur == 0 || outSize == 0) in LzmaDec_DecodeToBuf()
1085 SizeT outSize = *destLen, inSize = *srcLen; in LzmaDecode() local
1093 p.dicBufSize = outSize; in LzmaDecode()
1096 res = LzmaDec_DecodeToDic(&p, outSize, src, srcLen, finishMode, status); in LzmaDecode()
D7zTypes.h228 SRes (*Progress)(void *p, UInt64 inSize, UInt64 outSize);
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
DLzmaDec.c942 SizeT outSize = *destLen; in LzmaDec_DecodeToBuf() local
953 if (outSize > p->dicBufSize - dicPos) in LzmaDec_DecodeToBuf()
960 outSizeCur = dicPos + outSize; in LzmaDec_DecodeToBuf()
971 outSize -= outSizeCur; in LzmaDec_DecodeToBuf()
975 if (outSizeCur == 0 || outSize == 0) in LzmaDec_DecodeToBuf()
1085 SizeT outSize = *destLen, inSize = *srcLen; in LzmaDecode() local
1093 p.dicBufSize = outSize; in LzmaDecode()
1096 res = LzmaDec_DecodeToDic(&p, outSize, src, srcLen, finishMode, status); in LzmaDecode()
D7zTypes.h228 SRes (*Progress)(void *p, UInt64 inSize, UInt64 outSize);
/device/generic/goldfish-opengl/system/hwc2/
DEmuHWC2.h91 void dump(uint32_t* outSize, char* outBuffer);
92 static void dumpHook(hwc2_device_t* device, uint32_t* outSize, in dumpHook() argument
94 getHWC2(device)->dump(outSize, outBuffer); in dumpHook()
208 HWC2::Error getName(uint32_t* outSize, char* outName);
DEmuHWC2.cpp606 Error EmuHWC2::Display::getName(uint32_t* outSize, char* outName) { in getName() argument
611 *outSize = mName.size(); in getName()
614 auto numCopied = mName.copy(outName, *outSize); in getName()
615 *outSize = numCopied; in getName()