Searched refs:totalInSize (Results 1 – 3 of 3) sorted by relevance
136 size_t totalInSize = 0; in checkHeader() local139 while (totalInSize + 4 < inSize) { in checkHeader()141 uint32_t val = U32_AT(header + totalInSize); in checkHeader()145 totalInSize += frameSize; in checkHeader()
324 size_t totalInSize = 0; in validate_input() local326 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()
287 size_t totalInSize = 0; in calculateOutSize() local289 while (totalInSize + 4 < inSize) { in calculateOutSize()290 if (!parseMp3Header(U32_AT(header + totalInSize), &frameSize, in calculateOutSize()295 totalInSize += frameSize; in calculateOutSize()