Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DUnsafeUtil.java49 private static final boolean HAS_UNSAFE_ARRAY_OPERATIONS = supportsUnsafeArrayOperations(); field in UnsafeUtil
57 return HAS_UNSAFE_ARRAY_OPERATIONS; in hasUnsafeArrayOperations()
184 return HAS_UNSAFE_ARRAY_OPERATIONS ? UNSAFE.arrayBaseOffset(byte[].class) : -1; in byteArrayBaseOffset()
DCodedOutputStream.java59 private static final boolean HAS_UNSAFE_ARRAY_OPERATIONS = UnsafeUtil.hasUnsafeArrayOperations(); field in CodedOutputStream
1308 if (HAS_UNSAFE_ARRAY_OPERATIONS && spaceLeft() >= MAX_VARINT_SIZE) { in writeUInt32NoTag()
1354 if (HAS_UNSAFE_ARRAY_OPERATIONS && spaceLeft() >= MAX_VARINT_SIZE) { in writeUInt64NoTag()
1885 if (HAS_UNSAFE_ARRAY_OPERATIONS) { in bufferUInt32NoTag()
1920 if (HAS_UNSAFE_ARRAY_OPERATIONS) { in bufferUInt64NoTag()