Home
last modified time | relevance | path

Searched refs:ARRAY_BASE_OFFSET (Results 1 – 2 of 2) sorted by relevance

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DUtf8.java997 private static final int ARRAY_BASE_OFFSET = byteArrayBaseOffset(); field in Utf8.UnsafeProcessor
1004 BUFFER_ADDRESS_OFFSET != -1 && ARRAY_BASE_OFFSET % 8 == 0;
1019 long offset = ARRAY_BASE_OFFSET + index; in partialIsValidUtf8()
1020 final long offsetLimit = ARRAY_BASE_OFFSET + limit; in partialIsValidUtf8()
1205 long outIx = ARRAY_BASE_OFFSET + offset; in encodeUtf8()
1222 return (int) (outIx - ARRAY_BASE_OFFSET); in encodeUtf8()
1261 return (int) (outIx - ARRAY_BASE_OFFSET); in encodeUtf8()
DCodedOutputStream.java64 private static final long ARRAY_BASE_OFFSET = byteArrayBaseOffset(); field in CodedOutputStream
1271 long pos = ARRAY_BASE_OFFSET + position; in writeUInt32NoTag()
1319 long pos = ARRAY_BASE_OFFSET + position; in writeUInt64NoTag()
1854 final long originalPos = ARRAY_BASE_OFFSET + position; in bufferUInt32NoTag()
1889 final long originalPos = ARRAY_BASE_OFFSET + position; in bufferUInt64NoTag()