Searched refs:outBuf (Results 1 - 5 of 5) sorted by relevance
/test/xts/hats/hdf/hdf_lite/display/ |
H A D | loadbmp_test.c | 115 uint8_t **outBuf, uint32_t *stride) in LoadPicToBuffer() 150 *outBuf = (uint8_t*)malloc(videoLogo->height * (*stride)); in LoadPicToBuffer() 151 if (*outBuf == NULL) { in LoadPicToBuffer() 161 free(*outBuf); in LoadPicToBuffer() 162 *outBuf = NULL; in LoadPicToBuffer() 165 if (fread((*outBuf), 1, byteNum, file) != byteNum) { in LoadPicToBuffer() 168 free(*outBuf); in LoadPicToBuffer() 169 *outBuf = NULL; in LoadPicToBuffer() 114 LoadPicToBuffer(const int8_t *fileName, OsdLogo *videoLogo, OsdColorFmt enFmt, uint8_t **outBuf, uint32_t *stride) LoadPicToBuffer() argument
|
/test/xts/device_attest_lite/services/core/network/ |
H A D | attest_coap.c | 337 static int32_t CoapCopyMessage(CoapPacket* pkt, CoapRWBuffer *buf, CoapRWBuffer *outBuf) in CoapCopyMessage() argument 340 if (pkt == NULL || buf == NULL || outBuf->rwBuffer == NULL) { in CoapCopyMessage() 356 outBuf->rwBuffer[index++] = (char)((uint8_t)(buf->rwBuffer[0] & 0x0F) | ((len & 0x0F) << COAP_BITS_HEADER_LEN)); in CoapCopyMessage() 361 if ((ret = CoapEncodeExtensionMsg(len, contentLen, &index, outBuf)) != 0) { in CoapCopyMessage() 365 ret = memcpy_s(outBuf->rwBuffer + index, pkt->len - LENTKL_LEN, in CoapCopyMessage() 373 outBuf->len = pkt->len; in CoapCopyMessage() 379 const CoapBuffer* payload, CoapRWBuffer* outBuf) in CoapEncode() 382 if (pkt == NULL || param == NULL || payload == NULL || outBuf == NULL) { in CoapEncode() 420 if ((ret = CoapCopyMessage(pkt, &buf, outBuf)) != 0) { // copy buf to outBuff in CoapEncode() 378 CoapEncode(CoapPacket* pkt, const CoapPacketParam* param, const CoapBuffer* token, const CoapBuffer* payload, CoapRWBuffer* outBuf) CoapEncode() argument
|
/test/xts/acts/kernel_lite/io_posix/src/ |
H A D | IoTestOther.cpp | 246 char outBuf[50] = {0}; in HWTEST_F() local 247 size_t outLen = sizeof(outBuf); in HWTEST_F() 249 char *outSrc = outBuf; in HWTEST_F() 257 EXPECT_STREQ(outBuf, "") << "iconv fail, errno = " << errno; in HWTEST_F()
|
/test/xts/acts/bundlemanager/zlib/actszlibndktest/entry/src/main/cpp/ |
H A D | zlibndk.cpp | 237 uint8_t *outBuf = nullptr;
in DeflateBound() local 247 defstream.next_out = reinterpret_cast<Bytef *>(outBuf);
in DeflateBound() 1860 uint8_t *outBuf = nullptr;
in DeflateInit() local 1870 defstream.next_out = reinterpret_cast<Bytef *>(outBuf);
in DeflateInit() 1976 uint8_t *outBuf = nullptr;
in DeflateCopy() local 1986 defstream.next_out = reinterpret_cast<Bytef *>(outBuf);
in DeflateCopy() 1990 outBuf = reinterpret_cast<uint8_t *>(malloc(estimateLen));
in DeflateCopy() 1997 free(outBuf);
in DeflateCopy()
|
/test/xts/acts/bundlemanager/zlib/actszlibtest/ |
H A D | ActsZlibTest.cpp | 709 uint8_t *outBuf = nullptr;
in HWTEST_F() local 719 defstream.next_out = reinterpret_cast<Bytef *>(outBuf);
in HWTEST_F() 725 outBuf = reinterpret_cast<uint8_t *>(malloc(estimateLen));
in HWTEST_F() 733 free(outBuf);
in HWTEST_F()
|
Completed in 8 milliseconds