Lines Matching refs:mInputBuffer
54 mInputBuffer(nullptr), in VorbisDecoderTest()
60 if (mInputBuffer) free(mInputBuffer); in ~VorbisDecoderTest()
86 char* mInputBuffer; member in VorbisDecoderTest
152 if (!mInputBuffer) { in processVorbisDecoder()
153 mInputBuffer = (char*)malloc(size); in processVorbisDecoder()
154 ASSERT_NE(mInputBuffer, nullptr) << "Insufficient memory to read frame"; in processVorbisDecoder()
157 mEleStream.read(mInputBuffer, size); in processVorbisDecoder()
163 if (size > 7 && !memcmp(&mInputBuffer[1], "vorbis", 6) && in processVorbisDecoder()
165 ASSERT_TRUE((mInputBuffer[0] == 1) || (mInputBuffer[0] == 5)) in processVorbisDecoder()
166 << "unexpected type received " << mInputBuffer[0]; in processVorbisDecoder()
172 makeBitReader((const uint8_t*)mInputBuffer + 7, size - 7, &buf, &ref, &bits); in processVorbisDecoder()
173 if (mInputBuffer[0] == 1) { in processVorbisDecoder()
194 free(mInputBuffer); in processVorbisDecoder()
195 mInputBuffer = nullptr; in processVorbisDecoder()
206 memcpy(&numPageFrames, mInputBuffer + size - sizeof(numPageFrames), sizeof(numPageFrames)); in processVorbisDecoder()
213 buf.data = reinterpret_cast<unsigned char*>(mInputBuffer); in processVorbisDecoder()
262 free(mInputBuffer); in processVorbisDecoder()
263 mInputBuffer = nullptr; in processVorbisDecoder()