Searched refs:chunk_size (Results 1 – 2 of 2) sorted by relevance
301 size_t chunk_size = (std::min)(len, buffer_used); in skip() local302 if (chunk_size) { in skip()303 buffer_ptr = reinterpret_cast<char*>(buffer_ptr) + chunk_size; in skip()304 buffer_used -= chunk_size; in skip()305 len -= chunk_size; in skip()314 size_t chunk_size = (std::min)(len, buffer_used); in readBytes() local315 if (chunk_size) { in readBytes()316 memcpy(buf, buffer_ptr, chunk_size); in readBytes()317 buffer_ptr = reinterpret_cast<char*>(buffer_ptr) + chunk_size; in readBytes()318 buffer_used -= chunk_size; in readBytes()[all …]
111 public ChunkState(int chunk_size) { in ChunkState() argument112 chunk_size_ = chunk_size; in ChunkState()