Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetUTF8.java83 int sourceIndex = source.arrayOffset() + source.position(); in decodeLoop()
84 int sourceLimit = source.arrayOffset() + source.limit(); in decodeLoop()
86 int targetIndex = target.arrayOffset() + target.position(); in decodeLoop()
87 int targetLimit = target.arrayOffset() + target.limit(); in decodeLoop()
198 source.position(sourceIndex - source.arrayOffset()); in decodeLoop()
199 target.position(targetIndex - target.arrayOffset()); in decodeLoop()
370 int srcIdx = source.arrayOffset() + source.position(); in encodeLoop()
371 int sourceLimit = source.arrayOffset() + source.limit(); in encodeLoop()
373 int tgtIdx = target.arrayOffset() + target.position(); in encodeLoop()
374 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()
DDefaultMp4Builder.java560 …nuSamples.get(lastIndex).arrayOffset() + nuSamples.get(lastIndex).limit() == buffer.arrayOffset())… in unifyAdjacentBuffers()
562 …ByteBuffer nu = ByteBuffer.wrap(buffer.array(), oldBuffer.arrayOffset(), oldBuffer.limit() + buffe… in unifyAdjacentBuffers()
/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/libmojo/mojo/public/js/
Dvalidator.js189 var arrayOffset = this.decodePointer(offset);
190 if (arrayOffset === null)
193 if (arrayOffset === NULL_MOJO_POINTER)
197 return this.validateArray(arrayOffset, elementSize, elementType,
242 var arrayOffset = this.decodePointer(arrayPointerOffset);
243 return this.message.buffer.getUint32(arrayOffset + 4);
/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/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()
DCodedOutputStream.java1209 write(value.array(), value.arrayOffset(), value.capacity()); in writeRawBytes()
1462 super(byteBuffer.array(), byteBuffer.arrayOffset() + byteBuffer.position(), in NioHeapEncoder()
1618 write(value.array(), value.arrayOffset(), value.capacity()); in writeRawBytes()
2058 write(value.array(), value.arrayOffset(), value.capacity()); in writeRawBytes()
2361 write(value.array(), value.arrayOffset(), value.capacity()); in writeRawBytes()
DInternal.java365 int h = partialHash(bytes.capacity(), bytes.array(), bytes.arrayOffset(), bytes.capacity()); in hashCodeByteBuffer()
DUtf8.java432 final int offset = buffer.arrayOffset(); in partialIsValidUtf8()
667 final int offset = out.arrayOffset(); in encodeUtf8()
DCodedInputStream.java121 return newInstance(buf.array(), buf.arrayOffset() + buf.position(), in newInstance()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/
DRelay.java123 offset = byteBuffer.arrayOffset() + byteBuffer.limit(); in run()
/external/webrtc/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/
DWebRtcAudioTrack.java129 return audioTrack.write(byteBuffer.array(), byteBuffer.arrayOffset(), sizeInBytes); in writePreLollipop()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DNioByteStringTest.java390 Arrays.fill(value.array(), value.arrayOffset(), value.arrayOffset() + value.limit(), in testWriteToShouldExposeInternalBufferToByteOutput()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DBytesTrieTest.java506 BytesTrie.iterator(trieBytes.array(), trieBytes.arrayOffset()+trieBytes.position(), 0), in Test59IteratorFromBytes()
566 return new BytesTrie(trieBytes.array(), trieBytes.arrayOffset()+trieBytes.position()); in buildTrie()
/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/
DCodedOutputByteBufferNano.java422 byteBuffer.arrayOffset() + byteBuffer.position(), in encode()
424 byteBuffer.position(encoded - byteBuffer.arrayOffset()); in encode()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DBytesTrieTest.java507 BytesTrie.iterator(trieBytes.array(), trieBytes.arrayOffset()+trieBytes.position(), 0), in Test59IteratorFromBytes()
567 return new BytesTrie(trieBytes.array(), trieBytes.arrayOffset()+trieBytes.position()); in buildTrie()
/external/caliper/caliper/src/test/resources/com/google/caliper/bridge/
Djdk7-compilation.txt227 17519 204 b java.nio.ByteBuffer::arrayOffset (35 bytes)
228 17520 205 b java.nio.CharBuffer::arrayOffset (35 bytes)
/external/icu/icu4c/source/i18n/
Ddtfmtsym.cpp1890 …eld, int32_t& length, CalendarDataSink &sink, CharString &key, int32_t arrayOffset, UErrorCode &st… in initField() argument
1897 length = arrayLength + arrayOffset; in initField()
1903 uprv_arrayCopy(array, 0, *field, arrayOffset, arrayLength); in initField()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
DBaseBlockCipher.java1060 int offset = bytebuffer.arrayOffset() + bytebuffer.position(); in engineUpdateAAD()