Home
last modified time | relevance | path

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

/external/okio/okio/src/commonMain/kotlin/okio/internal/
DSegmentedByteString.kt169 otherOffset: Int, in commonRangeEquals()
174 var otherOffset = otherOffset in commonRangeEquals() variable
176 if (!other.rangeEquals(otherOffset, data, offset, byteCount)) return false in commonRangeEquals()
177 otherOffset += byteCount in commonRangeEquals()
185 otherOffset: Int, in commonRangeEquals()
189 otherOffset < 0 || otherOffset > other.size - byteCount in commonRangeEquals()
194 var otherOffset = otherOffset in commonRangeEquals() variable
196 if (!arrayRangeEquals(data, offset, other, otherOffset, byteCount)) return false in commonRangeEquals()
197 otherOffset += byteCount in commonRangeEquals()
DByteString.kt154 otherOffset: Int, in commonGetByte()
156 ): Boolean = other.rangeEquals(otherOffset, this.data, offset, byteCount) in commonGetByte()
162 otherOffset: Int, in commonGetByte()
167 otherOffset >= 0 && otherOffset <= other.size - byteCount && in commonGetByte()
168 arrayRangeEquals(data, offset, other, otherOffset, byteCount) in commonGetByte()
/external/okio/okio/src/nonJvmMain/kotlin/okio/
DSegmentedByteString.kt59 otherOffset: Int, in <lambda>()
61 ): Boolean = commonRangeEquals(offset, other, otherOffset, byteCount) in <lambda>()
66 otherOffset: Int, in <lambda>()
68 ): Boolean = commonRangeEquals(offset, other, otherOffset, byteCount) in <lambda>()
DByteString.kt127 otherOffset: Int, in get()
129 ): Boolean = commonRangeEquals(offset, other, otherOffset, byteCount) in get()
134 otherOffset: Int, in get()
136 ): Boolean = commonRangeEquals(offset, other, otherOffset, byteCount) in get()
/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/okio/okio/src/jvmMain/kotlin/okio/
DSegmentedByteString.kt100 otherOffset: Int, in <lambda>()
102 ): Boolean = commonRangeEquals(offset, other, otherOffset, byteCount) in <lambda>()
107 otherOffset: Int, in <lambda>()
109 ): Boolean = commonRangeEquals(offset, other, otherOffset, byteCount) in <lambda>()
DByteString.kt148 otherOffset: Int, in write()
150 ): Boolean = commonRangeEquals(offset, other, otherOffset, byteCount) in write()
155 otherOffset: Int, in write()
157 ): Boolean = commonRangeEquals(offset, other, otherOffset, byteCount) in write()
/external/okio/okio/src/commonMain/kotlin/okio/
DByteString.kt128 fun rangeEquals(offset: Int, other: ByteString, otherOffset: Int, byteCount: Int): Boolean in utf8()
134 fun rangeEquals(offset: Int, other: ByteArray, otherOffset: Int, byteCount: Int): Boolean in utf8()
/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()
/external/llvm-project/lld/lib/ReaderWriter/MachO/
DMachONormalizedFile.h209 Hex32 otherOffset; member
DMachONormalizedFileBinaryWriter.cpp1297 assert(entry.otherOffset != 0); in addSymbol()
1300 assert(entry.otherOffset != 0); in addSymbol()
1312 newNode->_other = entry.otherOffset; in addSymbol()
DMachONormalizedFileBinaryReader.cpp520 normExport.otherOffset = trieExport.other(); in readBinary()
DMachONormalizedFileYAML.cpp662 io.mapOptional("other", exp.otherOffset, Hex32(0)); in mapping()
DMachONormalizedFileFromAtoms.cpp1554 exprt.otherOffset = 0; in addExportInfo()