Home
last modified time | relevance | path

Searched refs:numPageFrames (Results 1 – 2 of 2) sorted by relevance

/external/tremolo/fuzzer/
Dvorbis_dec_fuzzer.cpp131 int32_t numPageFrames = 0; in decodeFrames() local
132 if (size < sizeof(numPageFrames)) { in decodeFrames()
135 memcpy(&numPageFrames, data + size - sizeof(numPageFrames), sizeof(numPageFrames)); in decodeFrames()
136 size -= sizeof(numPageFrames); in decodeFrames()
137 if (numPageFrames >= 0) { in decodeFrames()
138 mNumFramesLeftOnPage = numPageFrames; in decodeFrames()
/external/tremolo/tests/
DVorbisDecoderTest.cpp203 int32_t numPageFrames = 0; in processVorbisDecoder() local
204 ASSERT_GE(size, sizeof(numPageFrames)) in processVorbisDecoder()
205 << "input header has size: " << size << " expected: " << sizeof(numPageFrames); in processVorbisDecoder()
206 memcpy(&numPageFrames, mInputBuffer + size - sizeof(numPageFrames), sizeof(numPageFrames)); in processVorbisDecoder()
207 size -= sizeof(numPageFrames); in processVorbisDecoder()
208 if (numPageFrames >= 0) { in processVorbisDecoder()
209 mNumFramesLeftOnPage = numPageFrames; in processVorbisDecoder()