Home
last modified time | relevance | path

Searched refs:otherOffset (Results 1 – 6 of 6) sorted by relevance

/external/okhttp/okio/okio/src/main/java/okio/
DSegmentedByteString.java185 int offset, ByteString other, int otherOffset, int byteCount) { in rangeEquals() argument
194 if (!other.rangeEquals(otherOffset, segments[s], arrayOffset, stepSize)) return false; in rangeEquals()
196 otherOffset += stepSize; in rangeEquals()
202 @Override public boolean rangeEquals(int offset, byte[] other, int otherOffset, int byteCount) { in rangeEquals() argument
203 if (offset > size() - byteCount || otherOffset > other.length - byteCount) return false; in rangeEquals()
211 if (!arrayRangeEquals(segments[s], arrayOffset, other, otherOffset, stepSize)) return false; in rangeEquals()
213 otherOffset += stepSize; in rangeEquals()
DByteString.java309 public boolean rangeEquals(int offset, ByteString other, int otherOffset, int byteCount) { in rangeEquals() argument
310 return other.rangeEquals(otherOffset, this.data, offset, byteCount); in rangeEquals()
318 public boolean rangeEquals(int offset, byte[] other, int otherOffset, int byteCount) { in rangeEquals() argument
320 && otherOffset <= other.length - byteCount in rangeEquals()
321 && arrayRangeEquals(data, offset, other, otherOffset, byteCount); in rangeEquals()
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/
DSegmentedByteString.java186 int offset, ByteString other, int otherOffset, int byteCount) { in rangeEquals() argument
195 if (!other.rangeEquals(otherOffset, segments[s], arrayOffset, stepSize)) return false; in rangeEquals()
197 otherOffset += stepSize; in rangeEquals()
203 @Override public boolean rangeEquals(int offset, byte[] other, int otherOffset, int byteCount) { in rangeEquals() argument
204 if (offset > size() - byteCount || otherOffset > other.length - byteCount) return false; in rangeEquals()
212 if (!arrayRangeEquals(segments[s], arrayOffset, other, otherOffset, stepSize)) return false; in rangeEquals()
214 otherOffset += stepSize; in rangeEquals()
DByteString.java311 public boolean rangeEquals(int offset, ByteString other, int otherOffset, int byteCount) { in rangeEquals() argument
312 return other.rangeEquals(otherOffset, this.data, offset, byteCount); in rangeEquals()
320 public boolean rangeEquals(int offset, byte[] other, int otherOffset, int byteCount) { in rangeEquals() argument
322 && otherOffset <= other.length - byteCount in rangeEquals()
323 && arrayRangeEquals(data, offset, other, otherOffset, byteCount); in rangeEquals()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUResource.java181 private boolean regionMatches(byte[] otherBytes, int otherOffset, int n) { in regionMatches() argument
183 if (bytes[offset + i] != otherBytes[otherOffset + i]) { in regionMatches()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUResource.java178 private boolean regionMatches(byte[] otherBytes, int otherOffset, int n) { in regionMatches() argument
180 if (bytes[offset + i] != otherBytes[otherOffset + i]) { in regionMatches()