Lines Matching refs:mBuffer
32 : mBuffer(NULL),
37 mBuffer = (uint8_t *)malloc(bufferSize);
38 if (!mBuffer) {
45 if (mBuffer)
46 free(mBuffer);
52 memset(mBuffer, 0, mBufferSize);
58 mBuffer = (uint8_t *)realloc(mBuffer, newLength);
59 if (!mBuffer) {
73 sprintf(bufptr, "%02X ", mBuffer[i]);
91 memcpy(mBuffer, src.mBuffer, length);
95 return ((uint16_t)mBuffer[offset + 1] << 8) | (uint16_t)mBuffer[offset];
99 return ((uint32_t)mBuffer[offset + 3] << 24) | ((uint32_t)mBuffer[offset + 2] << 16) |
100 ((uint32_t)mBuffer[offset + 1] << 8) | (uint32_t)mBuffer[offset];
104 mBuffer[offset++] = (uint8_t)(value & 0xFF);
105 mBuffer[offset++] = (uint8_t)((value >> 8) & 0xFF);
109 mBuffer[offset++] = (uint8_t)(value & 0xFF);
110 mBuffer[offset++] = (uint8_t)((value >> 8) & 0xFF);
111 mBuffer[offset++] = (uint8_t)((value >> 16) & 0xFF);
112 mBuffer[offset++] = (uint8_t)((value >> 24) & 0xFF);