Home | History | Annotate | Download | only in common

Lines Matching defs:CHUNK_SIZE

34     private static final int CHUNK_SIZE = ByteArrayPool.CHUNK16K;
70 int chunks = mPos / CHUNK_SIZE;
73 int removedBytes = chunks * CHUNK_SIZE;
149 if (mPos == mBufs.size() * CHUNK_SIZE) {
152 int currentBuf = mPos / CHUNK_SIZE;
153 int indexInBuf = mPos - currentBuf * CHUNK_SIZE;
155 int end = (currentBuf + 1) * CHUNK_SIZE;
186 int currentBuf = mPos / CHUNK_SIZE;
187 int indexInBuf = mPos - currentBuf * CHUNK_SIZE;
189 int end = (currentBuf + 1) * CHUNK_SIZE;
228 if (mPos == mBufs.size() * CHUNK_SIZE) {
231 int currentBuf = mPos / CHUNK_SIZE;
232 int indexInBuf = mPos - currentBuf * CHUNK_SIZE;
234 int end = (currentBuf + 1) * CHUNK_SIZE;