Searched refs:newCacheBufferSize (Results 1 – 1 of 1) sorted by relevance
167 size_t newCacheBufferSize = mCacheBufferSize; in readAt() local170 if (newCacheBufferSize < kMaxCacheBufferSize) { in readAt()171 newCacheBufferSize = kMaxCacheBufferSize; in readAt()172 newCache.reset(new uint8_t[newCacheBufferSize]); in readAt()178 off64_t newCachedOffset = offset - (off64_t)(newCacheBufferSize / 2); in readAt()211 mCacheBufferSize = newCacheBufferSize; in readAt()220 size_t newCacheBufferSize = mCacheBufferSize; in readAt() local221 while (offset + size > mCachedOffset + newCacheBufferSize) { in readAt()222 newCacheBufferSize *= 2; in readAt()224 CHECK(newCacheBufferSize <= kMaxCacheBufferSize); in readAt()[all …]