Lines Matching refs:decoderBuf
65 ERROR_CODE Mp3DecoderTest::DecodeFrames(void *decoderBuf, SNDFILE *outFileHandle, SF_INFO sfInfo, in DecodeFrames() argument
82 decoderErr = pvmp3_framedecoder(mConfig, decoderBuf); in DecodeFrames()
102 void *decoderBuf = malloc(memRequirements); in TEST_F() local
103 ASSERT_NE(decoderBuf, nullptr) in TEST_F()
106 pvmp3_InitDecoder(mConfig, decoderBuf); in TEST_F()
109 if (decoderBuf) { in TEST_F()
110 free(decoderBuf); in TEST_F()
111 decoderBuf = nullptr; in TEST_F()
118 void *decoderBuf = malloc(memRequirements); in TEST_P() local
119 ASSERT_NE(decoderBuf, nullptr) in TEST_P()
122 pvmp3_InitDecoder(mConfig, decoderBuf); in TEST_P()
133 ERROR_CODE decoderErr = DecodeFrames(decoderBuf, outFileHandle, sfInfo); in TEST_P()
140 if (decoderBuf) { in TEST_P()
141 free(decoderBuf); in TEST_P()
142 decoderBuf = nullptr; in TEST_P()
149 void *decoderBuf = malloc(memRequirements); in TEST_P() local
150 ASSERT_NE(decoderBuf, nullptr) in TEST_P()
153 pvmp3_InitDecoder(mConfig, decoderBuf); in TEST_P()
165 decoderErr = DecodeFrames(decoderBuf, outFileHandle, sfInfo, kNumFrameReset); in TEST_P()
170 pvmp3_resetDecoder(decoderBuf); in TEST_P()
172 decoderErr = DecodeFrames(decoderBuf, outFileHandle, sfInfo); in TEST_P()
179 if (decoderBuf) { in TEST_P()
180 free(decoderBuf); in TEST_P()
181 decoderBuf = nullptr; in TEST_P()