Home
last modified time | relevance | path

Searched refs:totalInSize (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/module/codecs/mp3dec/fuzzer/
Dmp3_dec_fuzzer.cpp136 size_t totalInSize = 0; in checkHeader() local
139 while (totalInSize + 4 < inSize) { in checkHeader()
141 uint32_t val = U32_AT(header + totalInSize); in checkHeader()
145 totalInSize += frameSize; in checkHeader()
/frameworks/av/media/module/codecs/mp3dec/src/
Dpvmp3_framedecoder.cpp324 size_t totalInSize = 0; in validate_input() local
326 while (totalInSize <= (inSize - 4)) { in validate_input()
327 if (!parseHeader(U32_AT(buf + totalInSize), &frameSize)) { in validate_input()
331 if ((frameSize > inSize) || (totalInSize > (inSize - frameSize))) { in validate_input()
334 totalInSize += frameSize; in validate_input()
/frameworks/av/media/codec2/components/mp3/
DC2SoftMp3Dec.cpp287 size_t totalInSize = 0; in calculateOutSize() local
289 while (totalInSize + 4 < inSize) { in calculateOutSize()
290 if (!parseMp3Header(U32_AT(header + totalInSize), &frameSize, in calculateOutSize()
295 totalInSize += frameSize; in calculateOutSize()