Home
last modified time | relevance | path

Searched refs:UnsafeUtil (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DUtf8.java33 import static com.google.protobuf.UnsafeUtil.addressOffset;
34 import static com.google.protobuf.UnsafeUtil.getArrayBaseOffset;
35 import static com.google.protobuf.UnsafeUtil.hasUnsafeArrayOperations;
36 import static com.google.protobuf.UnsafeUtil.hasUnsafeByteBufferOperations;
1026 || UnsafeUtil.getByte(bytes, offset++) > (byte) 0xBF) { in partialIsValidUtf8()
1035 byte2 = UnsafeUtil.getByte(bytes, offset++); in partialIsValidUtf8()
1046 || UnsafeUtil.getByte(bytes, offset++) > (byte) 0xBF) { in partialIsValidUtf8()
1056 byte2 = UnsafeUtil.getByte(bytes, offset++); in partialIsValidUtf8()
1064 byte3 = UnsafeUtil.getByte(bytes, offset++); in partialIsValidUtf8()
1083 || UnsafeUtil.getByte(bytes, offset++) > (byte) 0xBF) { in partialIsValidUtf8()
[all …]
DUnsafeUtil.java45 final class UnsafeUtil { class
53 private UnsafeUtil() { in UnsafeUtil() method in UnsafeUtil
DCodedOutputStream.java59 private static final boolean HAS_UNSAFE_ARRAY_OPERATIONS = UnsafeUtil.hasUnsafeArrayOperations();
60 private static final long ARRAY_BASE_OFFSET = UnsafeUtil.getArrayBaseOffset();
1312 UnsafeUtil.putByte(buffer, pos++, (byte) value); in writeUInt32NoTag()
1316 UnsafeUtil.putByte(buffer, pos++, (byte) ((value & 0x7F) | 0x80)); in writeUInt32NoTag()
1358 UnsafeUtil.putByte(buffer, pos++, (byte) value); in writeUInt64NoTag()
1362 UnsafeUtil.putByte(buffer, pos++, (byte) (((int) value & 0x7F) | 0x80)); in writeUInt64NoTag()
1890 UnsafeUtil.putByte(buffer, pos++, (byte) value); in bufferUInt32NoTag()
1893 UnsafeUtil.putByte(buffer, pos++, (byte) ((value & 0x7F) | 0x80)); in bufferUInt32NoTag()
1925 UnsafeUtil.putByte(buffer, pos++, (byte) value); in bufferUInt64NoTag()
1928 UnsafeUtil.putByte(buffer, pos++, (byte) (((int) value & 0x7F) | 0x80)); in bufferUInt64NoTag()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/
DMakefile.am265 java/core/src/main/java/com/google/protobuf/UnsafeUtil.java \