Home
last modified time | relevance | path

Searched refs:checkOffsetAndCount (Results 1 – 14 of 14) sorted by relevance

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DRetryableSink.java25 import static com.squareup.okhttp.internal.Util.checkOffsetAndCount;
56 checkOffsetAndCount(source.size(), 0, byteCount); in write()
DHttp1xStream.java38 import static com.squareup.okhttp.internal.Util.checkOffsetAndCount;
283 checkOffsetAndCount(source.size(), 0, byteCount); in write()
/external/okhttp/okio/okio/src/main/java/okio/
DDeflaterSink.java21 import static okio.Util.checkOffsetAndCount;
60 checkOffsetAndCount(source.size, 0, byteCount); in write()
DBuffer.java29 import static okio.Util.checkOffsetAndCount;
144 checkOffsetAndCount(size, offset, byteCount);
168 checkOffsetAndCount(size, offset, byteCount);
204 checkOffsetAndCount(size, 0, byteCount);
295 checkOffsetAndCount(size, pos, 1);
569 checkOffsetAndCount(size, 0, byteCount);
714 checkOffsetAndCount(size, 0, byteCount);
738 checkOffsetAndCount(sink.length, offset, byteCount);
936 checkOffsetAndCount(source.length, offset, byteCount);
1178 checkOffsetAndCount(source.size, 0, byteCount);
DSegmentedByteString.java23 import static okio.Util.checkOffsetAndCount;
56 checkOffsetAndCount(buffer.size, 0, byteCount); in SegmentedByteString()
125 checkOffsetAndCount(directory[segments.length - 1], pos, 1); in getByte()
DOkio.java31 import static okio.Util.checkOffsetAndCount;
71 checkOffsetAndCount(source.size, 0, byteCount); in sink()
DRealBufferedSource.java23 import static okio.Util.checkOffsetAndCount;
122 checkOffsetAndCount(sink.length, offset, byteCount); in read()
368 checkOffsetAndCount(data.length, offset, byteCount); in inputStream()
DUtil.java27 public static void checkOffsetAndCount(long size, long offset, long byteCount) { in checkOffsetAndCount() method in Util
DByteString.java31 import static okio.Util.checkOffsetAndCount;
76 checkOffsetAndCount(data.length, offset, byteCount); in of()
/external/conscrypt/common/src/main/java/org/conscrypt/
DArrayUtils.java29 static void checkOffsetAndCount(int arrayLength, int offset, int count) { in checkOffsetAndCount() method in ArrayUtils
DConscryptFileDescriptorSocket.java525 ArrayUtils.checkOffsetAndCount(buf.length, offset, byteCount); in read()
602 ArrayUtils.checkOffsetAndCount(buf.length, offset, byteCount); in write()
DOpenSSLCipher.java1097 ArrayUtils.checkOffsetAndCount(input.length, inputOffset, inputLen); in updateInternal()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DRequestBody.java85 Util.checkOffsetAndCount(content.length, offset, byteCount);
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DUtil.java53 public static void checkOffsetAndCount(long arrayLength, long offset, long count) { in checkOffsetAndCount() method in Util