Searched refs:validData (Results 1 – 2 of 2) sorted by relevance
/hardware/google/gfxstream/host/ |
D | RenderThread.cpp | 366 if (readBuf.validData() >= 8) { in main() 383 packetSize = std::max(packetSize, static_cast<uint32_t>(readBuf.validData() + 1)); in main() 386 if (packetSize > readBuf.validData()) { in main() 409 readBuf.validData(), *(uint32_t*)readBuf.buf(), in main() 416 stats_totalBytes += readBuf.validData(); in main() 434 int skip = readBuf.validData() - stat; in main() 435 fwrite(readBuf.buf() + skip, 1, readBuf.validData() - skip, dumpFP); in main() 457 if (readBuf.validData() >= 4) { in main() 460 {"buffer_length", std::to_string(readBuf.validData())}}); in main() 493 last = tInfo.m_vkInfo->m_vkDec.decode(readBuf.buf(), readBuf.validData(), ioStream, in main() [all …]
|
D | ReadBuffer.h | 30 size_t validData() const { return m_validData; } // return the amount of valid data in readptr in validData() function
|