Home
last modified time | relevance | path

Searched refs:arrayOffset (Results 1 – 25 of 45) sorted by relevance

12

/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetUTF8.java64 int sourceIndex = source.arrayOffset() + source.position(); in decodeLoop()
65 int sourceLimit = source.arrayOffset() + source.limit(); in decodeLoop()
67 int targetIndex = target.arrayOffset() + target.position(); in decodeLoop()
68 int targetLimit = target.arrayOffset() + target.limit(); in decodeLoop()
181 source.position(sourceIndex - source.arrayOffset()); in decodeLoop()
182 target.position(targetIndex - target.arrayOffset()); in decodeLoop()
342 int srcIdx = source.arrayOffset() + source.position(); in encodeLoop()
343 int sourceLimit = source.arrayOffset() + source.limit(); in encodeLoop()
345 int tgtIdx = target.arrayOffset() + target.position(); in encodeLoop()
346 int targetLimit = target.arrayOffset() + target.limit(); in encodeLoop()
[all …]
DCharsetASCII.java63 int sourceOffset = source.arrayOffset(); in decodeLoop()
68 int targetOffset = target.arrayOffset(); in decodeLoop()
221 int sourceOffset = source.arrayOffset(); in encodeLoop()
226 int targetOffset = target.arrayOffset(); in encodeLoop()
289 source.position((i + 1) - source.arrayOffset()); in encodeLoopCoreOptimized()
DCharset88591.java94 source.position((i + 1) - source.arrayOffset()); in encodeLoopCoreOptimized()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/
DByteBufferHelper.java32 …nuSamples.get(lastIndex).arrayOffset() + nuSamples.get(lastIndex).limit() == buffer.arrayOffset())… in mergeAdjacentBuffers()
34 …ByteBuffer nu = ByteBuffer.wrap(buffer.array(), oldBuffer.arrayOffset(), oldBuffer.limit() + buffe… in mergeAdjacentBuffers()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUSerializedSet.java35 arrayOffset=bmpLength=length=0; in getSet()
130 int offset=arrayOffset+bmpLength; in getRange()
187 private int arrayOffset, bmpLength, length; field in USerializedSet
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUSerializedSet.java33 arrayOffset=bmpLength=length=0; in getSet()
128 int offset=arrayOffset+bmpLength; in getRange()
185 private int arrayOffset, bmpLength, length; field in USerializedSet
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DForwardingReadableBufferTest.java136 public void arrayOffset() { in arrayOffset() method in ForwardingReadableBufferTest
137 when(delegate.arrayOffset()).thenReturn(1); in arrayOffset()
139 assertEquals(1, buffer.arrayOffset()); in arrayOffset()
DReadableBuffersArrayTest.java39 assertEquals(1, buffer.arrayOffset()); in bufferShouldExposeArray()
43 assertEquals(2, buffer.arrayOffset()); in bufferShouldExposeArray()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DReadableBuffers.java203 public int arrayOffset() { in arrayOffset() method in ReadableBuffers.ByteArrayWrapper
260 dest.write(array(), arrayOffset(), length); in readBytes()
290 public int arrayOffset() { in arrayOffset() method in ReadableBuffers.ByteReadableBufferWrapper
291 return bytes.arrayOffset() + bytes.position(); in arrayOffset()
DForwardingReadableBuffer.java95 public int arrayOffset() { in arrayOffset() method in ForwardingReadableBuffer
96 return buf.arrayOffset(); in arrayOffset()
DAbstractReadableBuffer.java44 public int arrayOffset() { in arrayOffset() method in AbstractReadableBuffer
DReadableBuffer.java124 int arrayOffset(); in arrayOffset() method
/external/okhttp/okio/okio/src/main/java/okio/
DSegmentedByteString.java193 int arrayOffset = offset - segmentOffset + segmentPos; in rangeEquals() local
194 if (!other.rangeEquals(otherOffset, segments[s], arrayOffset, stepSize)) return false; in rangeEquals()
210 int arrayOffset = offset - segmentOffset + segmentPos; in rangeEquals() local
211 if (!arrayRangeEquals(segments[s], arrayOffset, other, otherOffset, stepSize)) return false; in rangeEquals()
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/
DSegmentedByteString.java194 int arrayOffset = offset - segmentOffset + segmentPos; in rangeEquals() local
195 if (!other.rangeEquals(otherOffset, segments[s], arrayOffset, stepSize)) return false; in rangeEquals()
211 int arrayOffset = offset - segmentOffset + segmentPos; in rangeEquals() local
212 if (!arrayRangeEquals(segments[s], arrayOffset, other, otherOffset, stepSize)) return false; in rangeEquals()
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DNettyReadableBuffer.java93 public int arrayOffset() { in arrayOffset() method in NettyReadableBuffer
94 return buffer.arrayOffset() + buffer.readerIndex(); in arrayOffset()
DGrpcHttp2HeadersUtils.java166 return equals(str0.array(), str0.arrayOffset(), str0.length(), str1, 0, str1.length); in equals()
170 return equals(str0.array(), str0.arrayOffset(), str0.length(), str1.array(), in equals()
171 str1.arrayOffset(), str1.length()); in equals()
205 int offset = str.arrayOffset(); in validateName()
/external/libchrome/mojo/public/js/lib/
Dvalidator.js385 var arrayOffset = this.decodePointer(offset);
386 if (arrayOffset === null)
389 if (arrayOffset === NULL_MOJO_POINTER)
393 return this.validateArray(arrayOffset, elementSize, elementType,
438 var arrayOffset = this.decodePointer(arrayPointerOffset);
439 return this.message.buffer.getUint32(arrayOffset + 4);
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/
DUTF8ZipFilesTest.java282 en.arrayOffset(), in createTestFile()
299 en.arrayOffset(), in createTestFile()
317 en.arrayOffset(), in createTestFile()
378 crc.update(ne.array(), ne.arrayOffset(), in assertUnicodeName()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DUnsafeByteOperations.java58 final int offset = buffer.arrayOffset(); in unsafeWrap()
DNioByteString.java134 int bufferOffset = buffer.arrayOffset() + buffer.position() + sourceOffset; in writeToInternal()
164 offset = buffer.arrayOffset() + buffer.position(); in toStringInternal()
DByteBufferWriter.java95 output.write(buffer.array(), buffer.arrayOffset() + buffer.position(), buffer.remaining()); in write()
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyWritableBufferTest.java54 int fromIdx = buffer.bytebuf().arrayOffset(); in writtenBytes()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/
DZipArchiveOutputStream.java1128 System.arraycopy( name.array(), name.arrayOffset(), buf, LFH_FILENAME_OFFSET, nameLen); in createLocalFileHeader()
1149 name.arrayOffset(), in addUnicodeExtraFields()
1164 commentB.arrayOffset(), in addUnicodeExtraFields()
1310 System.arraycopy(name.array(), name.arrayOffset(), buf, CFH_FILENAME_OFFSET, nameLen); in createCentralFileHeader()
1318 System.arraycopy(commentB.array(), commentB.arrayOffset(), buf, commentStart, commentLen); in createCentralFileHeader()
1386 streamCompressor.writeCounted(data.array(), data.arrayOffset(), dataLen); in writeCentralDirectoryEnd()
/external/flatbuffers/java/com/google/flatbuffers/
DUtf8Safe.java290 return decodeUtf8Array(buffer.array(), buffer.arrayOffset() + offset, length); in decodeUtf8()
434 int start = out.arrayOffset(); in encodeUtf8()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/cpio/
DCpioArchiveOutputStream.java552 return Arrays.copyOfRange(buf.array(), buf.arrayOffset(), buf.arrayOffset() + len); in encode()

12