Searched refs:rangeEquals (Results 1 - 4 of 4) sorted by relevance

/external/okhttp/okio/okio/src/main/java/okio/
H A DSegmentedByteString.java184 @Override public boolean rangeEquals( method in class:SegmentedByteString
187 // Go segment-by-segment through this, passing arrays to other's rangeEquals().
194 if (!other.rangeEquals(otherOffset, segments[s], arrayOffset, stepSize)) return false;
202 @Override public boolean rangeEquals(int offset, byte[] other, int otherOffset, int byteCount) { method in class:SegmentedByteString
228 && rangeEquals(0, ((ByteString) o), 0, size());
H A DByteString.java309 public boolean rangeEquals(int offset, ByteString other, int otherOffset, int byteCount) { method in class:ByteString
310 return other.rangeEquals(otherOffset, this.data, offset, byteCount);
318 public boolean rangeEquals(int offset, byte[] other, int otherOffset, int byteCount) { method in class:ByteString
328 && ((ByteString) o).rangeEquals(0, data, 0, data.length);
H A DRealBufferedSource.java327 if (rangeEquals(fromIndex, bytes)) {
351 private boolean rangeEquals(long offset, ByteString bytes) throws IOException { method in class:RealBufferedSource
352 return request(offset + bytes.size()) && buffer.rangeEquals(offset, bytes);
H A DBuffer.java1267 if (rangeEquals(fromIndex, bytes)) {
1305 boolean rangeEquals(long offset, ByteString bytes) { method in class:Buffer

Completed in 473 milliseconds