Home
last modified time | relevance | path

Searched refs:targetBytes (Results 1 – 20 of 20) sorted by relevance

/external/okio/okio/src/nonJvmMain/kotlin/okio/
DRealBufferedSource.kt94 override fun indexOfElement(targetBytes: ByteString): Long = indexOfElement(targetBytes, 0L)
95 override fun indexOfElement(targetBytes: ByteString, fromIndex: Long): Long =
96 commonIndexOfElement(targetBytes, fromIndex)
DBufferedSource.kt89 actual fun indexOfElement(targetBytes: ByteString): Long
91 actual fun indexOfElement(targetBytes: ByteString, fromIndex: Long): Long
DBuffer.kt223 override fun indexOfElement(targetBytes: ByteString): Long = indexOfElement(targetBytes, 0L) in <lambda>()
225 override fun indexOfElement(targetBytes: ByteString, fromIndex: Long): Long = in <lambda>()
226 commonIndexOfElement(targetBytes, fromIndex) in <lambda>()
/external/okio/okio/src/jvmMain/kotlin/okio/
DRealBufferedSource.kt124 override fun indexOfElement(targetBytes: ByteString): Long = indexOfElement(targetBytes, 0L) in readUtf8Line()
125 override fun indexOfElement(targetBytes: ByteString, fromIndex: Long): Long = in readUtf8Line()
126 commonIndexOfElement(targetBytes, fromIndex) in readUtf8Line()
DBufferedSource.kt148 actual fun indexOfElement(targetBytes: ByteString): Long
151 actual fun indexOfElement(targetBytes: ByteString, fromIndex: Long): Long
DBuffer.kt483 override fun indexOfElement(targetBytes: ByteString) = indexOfElement(targetBytes, 0L) in <lambda>()
485 override fun indexOfElement(targetBytes: ByteString, fromIndex: Long): Long = in <lambda>()
486 commonIndexOfElement(targetBytes, fromIndex) in <lambda>()
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/
DBufferedSource.java240 long indexOfElement(ByteString targetBytes) throws IOException; in indexOfElement() argument
249 long indexOfElement(ByteString targetBytes, long fromIndex) throws IOException; in indexOfElement() argument
DRealBufferedSource.java335 @Override public long indexOfElement(ByteString targetBytes) throws IOException { in indexOfElement() argument
336 return indexOfElement(targetBytes, 0); in indexOfElement()
339 @Override public long indexOfElement(ByteString targetBytes, long fromIndex) throws IOException { in indexOfElement() argument
345 while ((index = buffer.indexOfElement(targetBytes, fromIndex)) == -1) { in indexOfElement()
DBuffer.java1276 @Override public long indexOfElement(ByteString targetBytes) {
1277 return indexOfElement(targetBytes, 0);
1280 @Override public long indexOfElement(ByteString targetBytes, long fromIndex) {
1286 byte[] toFind = targetBytes.toByteArray();
/external/okhttp/okio/okio/src/main/java/okio/
DBufferedSource.java238 long indexOfElement(ByteString targetBytes) throws IOException; in indexOfElement() argument
247 long indexOfElement(ByteString targetBytes, long fromIndex) throws IOException; in indexOfElement() argument
DRealBufferedSource.java334 @Override public long indexOfElement(ByteString targetBytes) throws IOException { in indexOfElement() argument
335 return indexOfElement(targetBytes, 0); in indexOfElement()
338 @Override public long indexOfElement(ByteString targetBytes, long fromIndex) throws IOException { in indexOfElement() argument
344 while ((index = buffer.indexOfElement(targetBytes, fromIndex)) == -1) { in indexOfElement()
DBuffer.java1274 @Override public long indexOfElement(ByteString targetBytes) {
1275 return indexOfElement(targetBytes, 0);
1278 @Override public long indexOfElement(ByteString targetBytes, long fromIndex) {
1284 byte[] toFind = targetBytes.toByteArray();
/external/okio/okio/src/commonMain/kotlin/okio/
DBufferedSource.kt472 fun indexOfElement(targetBytes: ByteString): Long
489 fun indexOfElement(targetBytes: ByteString, fromIndex: Long): Long
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetCompoundText.java349 byte[] targetBytes = new byte[10]; in encodeLoop()
449 targetBytes[i] = escSeqCompoundText[currentState][i]; in encodeLoop()
455 targetBytes[i+targetLength] = tmpTargetBuffer.get(i); in encodeLoop()
461 target.put(targetBytes[i]); in encodeLoop()
476 this.errorBuffer[m++] = targetBytes[n]; in encodeLoop()
/external/dng_sdk/source/
Ddng_xmp_sdk.cpp1316 uint32 targetBytes, in Serialize() argument
1338 if (asPacket && targetBytes) in Serialize()
1346 targetBytes, in Serialize()
1387 if (forJPEG && asPacket && padBytes > 0 && targetBytes <= kJPEG_XMP_Limit && in Serialize()
Ddng_xmp_sdk.h191 uint32 targetBytes,
Ddng_xmp.h63 uint32 targetBytes = 0,
Ddng_xmp.cpp561 uint32 targetBytes, in Serialize() argument
569 targetBytes, in Serialize()
/external/okio/okio/src/commonMain/kotlin/okio/internal/
DRealBufferedSource.kt346 internal inline fun RealBufferedSource.commonIndexOfElement(targetBytes: ByteString, fromIndex: Lon… in commonIndexOfElement()
351 val result = buffer.indexOfElement(targetBytes, fromIndex) in commonIndexOfElement()
DBuffer.kt1314 internal inline fun Buffer.commonIndexOfElement(targetBytes: ByteString, fromIndex: Long): Long { in commonIndexOfElement()
1325 if (targetBytes.size == 2) { in commonIndexOfElement()
1327 val b0 = targetBytes[0] in commonIndexOfElement()
1328 val b1 = targetBytes[1] in commonIndexOfElement()
1348 val targetByteArray = targetBytes.internalArray() in commonIndexOfElement()