Home
last modified time | relevance | path

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

12

/third_party/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()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DAllocatedBuffer.java92 public abstract int arrayOffset(); in arrayOffset() method in AllocatedBuffer
179 public int arrayOffset() { in wrap() method in AllocatedBuffer
180 return buffer.arrayOffset(); in wrap()
233 public int arrayOffset() {
DNioByteString.java136 int bufferOffset = buffer.arrayOffset() + buffer.position() + sourceOffset; in writeToInternal()
166 offset = buffer.arrayOffset() + buffer.position(); in toStringInternal()
DIterableByteBufferInputStream.java96 currentArrayOffset = currentByteBuffer.arrayOffset(); in getNextByteBuffer()
DByteBufferWriter.java97 output.write(buffer.array(), buffer.arrayOffset() + buffer.position(), buffer.remaining()); in write()
DBinaryWriter.java936 allocatedBuffer.position((pos - allocatedBuffer.arrayOffset()) + 1); in finishCurrentBuffer()
962 int arrayOffset = allocatedBuffer.arrayOffset(); in nextBuffer() local
963 this.limit = arrayOffset + allocatedBuffer.limit(); in nextBuffer()
964 this.offset = arrayOffset + allocatedBuffer.position(); in nextBuffer()
1470 allocatedBuffer.position((arrayPos() - allocatedBuffer.arrayOffset()) + 1); in finishCurrentBuffer()
1499 int arrayOffset = allocatedBuffer.arrayOffset(); in nextBuffer() local
1500 this.limit = arrayOffset + allocatedBuffer.limit(); in nextBuffer()
1501 this.offset = arrayOffset + allocatedBuffer.position(); in nextBuffer()
DCodedOutputStream.java1262 write(value.array(), value.arrayOffset(), value.capacity()); in writeRawBytes()
1537 byteBuffer.arrayOffset() + byteBuffer.position(), in HeapNioEncoder()
1705 write(value.array(), value.arrayOffset(), value.capacity()); in writeRawBytes()
2035 write(value.array(), value.arrayOffset(), value.capacity()); in writeRawBytes()
2499 write(value.array(), value.arrayOffset(), value.capacity()); in writeRawBytes()
2813 write(value.array(), value.arrayOffset(), value.capacity()); in writeRawBytes()
DUtf8.java429 final int offset = buffer.arrayOffset(); in partialIsValidUtf8()
627 final int offset = buffer.arrayOffset(); in decodeUtf8()
770 final int offset = out.arrayOffset(); in encodeUtf8()
DInternal.java342 int h = partialHash(bytes.capacity(), bytes.array(), bytes.arrayOffset(), bytes.capacity()); in hashCodeByteBuffer()
DBinaryReader.java103 initialPos = pos = bytebuf.arrayOffset() + bytebuf.position(); in SafeHeapReader()
104 limit = bytebuf.arrayOffset() + bytebuf.limit(); in SafeHeapReader()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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
/third_party/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
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DProgramVk.cpp86 uint32_t arrayOffset = arrayIndex * layoutInfo.arrayStride; in UpdateDefaultUniformBlock() local
87 uint8_t *writePtr = dst + arrayOffset; in UpdateDefaultUniformBlock()
98 const int arrayOffset = writeIndex * layoutInfo.arrayStride; in UpdateDefaultUniformBlock() local
99 uint8_t *writePtr = dst + arrayOffset; in UpdateDefaultUniformBlock()
127 const int arrayOffset = arrayIndex * layoutInfo.arrayStride; in ReadFromDefaultUniformBlock() local
128 const uint8_t *readPtr = source + arrayOffset; in ReadFromDefaultUniformBlock()
DProgramExecutableVk.cpp1449 uint32_t arrayOffset = 0; in updateImagesDescriptorSet() local
1452 arrayOffset = mappedImageNameToArrayOffset[mappedImageName]; in updateImagesDescriptorSet()
1489 writeInfos[arrayElement].dstArrayElement = arrayOffset + arrayElement; in updateImagesDescriptorSet()
1529 writeInfos[arrayElement].dstArrayElement = arrayOffset + arrayElement; in updateImagesDescriptorSet()
1790 uint32_t arrayOffset = 0; in updateTexturesDescriptorSet() local
1793 arrayOffset = mappedSamplerNameToArrayOffset[mappedSamplerName]; in updateTexturesDescriptorSet()
1815 writeInfos[arrayElement].dstArrayElement = arrayOffset + arrayElement; in updateTexturesDescriptorSet()
1864 writeInfos[arrayElement].dstArrayElement = arrayOffset + arrayElement; in updateTexturesDescriptorSet()
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/plugin/common/
DStringCodec.java46 offset = message.arrayOffset(); in decodeMessage()
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DExperimentalSerializationUtil.java65 buffer.array(), buffer.arrayOffset() + buffer.position(), out, outPos, length); in toByteArray()
DNioByteStringTest.java400 value.array(), value.arrayOffset(), value.arrayOffset() + value.limit(), (byte) 0); in testWriteToShouldExposeInternalBufferToByteOutput()
/third_party/flatbuffers/java/com/google/flatbuffers/
DUtf8Safe.java290 return decodeUtf8Array(buffer.array(), buffer.arrayOffset() + offset, length); in decodeUtf8()
434 int start = out.arrayOffset(); in encodeUtf8()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DProgramVk.cpp87 uint32_t arrayOffset = arrayIndex * layoutInfo.arrayStride; in UpdateDefaultUniformBlock() local
88 uint8_t *writePtr = dst + arrayOffset; in UpdateDefaultUniformBlock()
99 const int arrayOffset = writeIndex * layoutInfo.arrayStride; in UpdateDefaultUniformBlock() local
100 uint8_t *writePtr = dst + arrayOffset; in UpdateDefaultUniformBlock()
128 const int arrayOffset = arrayIndex * layoutInfo.arrayStride; in ReadFromDefaultUniformBlock() local
129 const uint8_t *readPtr = source + arrayOffset; in ReadFromDefaultUniformBlock()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
DProgramMtl.mm118 uint32_t arrayOffset = arrayIndex * layoutInfo.arrayStride;
119 uint8_t *writePtr = dst + arrayOffset;
130 const int arrayOffset = writeIndex * layoutInfo.arrayStride;
131 uint8_t *writePtr = dst + arrayOffset;
159 const int arrayOffset = arrayIndex * layoutInfo.arrayStride;
160 const uint8_t *readPtr = source + arrayOffset;
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
DBytesTrieTest.java512 BytesTrie.iterator(trieBytes.array(), trieBytes.arrayOffset()+trieBytes.position(), 0), in Test59IteratorFromBytes()
594 return new BytesTrie(trieBytes.array(), trieBytes.arrayOffset()+trieBytes.position()); in buildTrie()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DBytesTrieTest.java510 BytesTrie.iterator(trieBytes.array(), trieBytes.arrayOffset()+trieBytes.position(), 0), in Test59IteratorFromBytes()
628 return new BytesTrie(trieBytes.array(), trieBytes.arrayOffset()+trieBytes.position()); in buildTrie()
/third_party/flatbuffers/tests/
DJavaTest.java564 int arrayOffset = ArrayStruct.createArrayStruct(builder, in TestFixedLengthArrays() local
569 ArrayTable.addA(builder, arrayOffset); in TestFixedLengthArrays()
1179 TestEq(bb2.arrayOffset(), 512); in TestVectorOfBytes()

12