/libcore/ojluni/src/main/java/jdk/internal/misc/ |
D | Unsafe.java | 215 public native byte getByte(Object o, long offset); in getByte() method in Unsafe 358 public native byte getByte(long address); in getByte() method in Unsafe 3860 return makeLong(getByte(o, offset), in getLongUnaligned() 3861 getByte(o, offset + 1), in getLongUnaligned() 3862 getByte(o, offset + 2), in getLongUnaligned() 3863 getByte(o, offset + 3), in getLongUnaligned() 3864 getByte(o, offset + 4), in getLongUnaligned() 3865 getByte(o, offset + 5), in getLongUnaligned() 3866 getByte(o, offset + 6), in getLongUnaligned() 3867 getByte(o, offset + 7)); in getLongUnaligned() [all …]
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | ArrayTest.java | 57 try { Array.getByte(booleans, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetByte() 58 assertEquals(bytes[0], Array.getByte(bytes, 0)); in testGetByte() 59 try { Array.getByte(chars, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetByte() 60 try { Array.getByte(doubles, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetByte() 61 try { Array.getByte(floats, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetByte() 62 try { Array.getByte(ints, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetByte() 63 try { Array.getByte(longs, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetByte() 64 try { Array.getByte(shorts, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetByte() 65 try { Array.getByte(null, 0); fail(); } catch (NullPointerException expected) {} in testGetByte()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | NativeObject.java | 175 final byte getByte(int offset) { in getByte() method in NativeObject 176 return unsafe.getByte(offset + address); in getByte() 378 byte b = unsafe.getByte(a); in byteOrder()
|
D | Util.java | 356 return unsafe.getByte(a);
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | LinuxUserDefinedFileAttributeView.java | 70 if (unsafe.getByte(address + pos) == 0) { in asList() 77 value[i] = unsafe.getByte(address + start + i); in asList() 194 dst.put(unsafe.getByte(address + i)); in read() 329 if (unsafe.getByte(address + pos) == 0) { in copyExtendedAttributes() 339 name[i] = unsafe.getByte(address + start + i); in copyExtendedAttributes()
|
D | LinuxDosFileAttributeView.java | 221 if (unsafe.getByte(buffer.address()+len-1) == 0) 230 buf[i] = unsafe.getByte(buffer.address() + i);
|
D | LinuxWatchService.java | 378 if (unsafe.getByte(last) != 0) in run() 388 buf[i] = unsafe.getByte(event + OFFSETOF_NAME + i); in run()
|
/libcore/luni/src/test/java/libcore/sun/misc/ |
D | UnsafeTest.java | 99 byte srcByte = unsafe.getByte(srcPtr++); in test_copyMemory() 100 byte dstByte = unsafe.getByte(dstPtr++); in test_copyMemory() 135 byte byteValue = unsafe.getByte(tf, byteFieldOffset); in test_getByte_Relative() 259 byte byteValue2 = unsafe.getByte(buffer); in test_putByte_getByte_Absolute()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | ArrayTest.java | 149 ret = Array.getByte(x, 0); in test_getByteLjava_lang_ObjectI() 155 ret = Array.getByte(new Object(), 0); in test_getByteLjava_lang_ObjectI() 165 ret = Array.getByte(x, 4); in test_getByteLjava_lang_ObjectI() 175 ret = Array.getByte(null, 0); in test_getByteLjava_lang_ObjectI() 679 assertEquals("Get returned incorrect value", 1, Array.getByte(x, 0)); in test_setByteLjava_lang_ObjectIB()
|
D | FieldTest.java | 260 res = Byte.valueOf(f.getByte(o)); in getField() 617 val = f.getByte(x); in test_getByteLjava_lang_Object() 626 f.getByte(x); in test_getByteLjava_lang_Object() 639 f.getByte(null); in test_getByteLjava_lang_Object() 652 byte staticValue = f.getByte(null); in test_getByteLjava_lang_Object() 1171 val = f.getByte(x); in test_setByteLjava_lang_ObjectB() 1204 val = f.getByte(x); in test_setByteLjava_lang_ObjectB()
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | Unsafe.java | 356 public native byte getByte(Object obj, long offset); in getByte() method in Unsafe 532 public native byte getByte(long address); in getByte() method in Unsafe
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | CRC32C.java | 300 ^ byteTable[(crc ^ UNSAFE.getByte(address + off)) & 0xFF]; in updateDirectByteBuffer() 343 ^ byteTable[(crc ^ UNSAFE.getByte(address + off)) & 0xFF]; in updateDirectByteBuffer()
|
/libcore/ojluni/annotations/hiddenapi/sun/misc/ |
D | Unsafe.java | 134 public native byte getByte(java.lang.Object obj, long offset); in getByte() method in Unsafe 192 public native byte getByte(long address); in getByte() method in Unsafe
|
/libcore/ojluni/src/main/java/java/sql/ |
D | CallableStatement.java | 205 byte getByte(int parameterIndex) throws SQLException; in getByte() method 1389 byte getByte(String parameterName) throws SQLException; in getByte() method
|
D | ResultSet.java | 274 byte getByte(int columnIndex) throws SQLException; in getByte() method 565 byte getByte(String columnLabel) throws SQLException; in getByte() method
|
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
D | MethodHandleAccessorsTest.java | 95 static void getByte(MethodHandle m, ValueHolder v, byte value, boolean expectFailure) in getByte() method in MethodHandleAccessorsTest 113 static void getByte(MethodHandle m, byte value, boolean expectFailure) throws Throwable { in getByte() method in MethodHandleAccessorsTest 114 getByte(m, null, value, expectFailure); in getByte() 460 getByte(methodHandle, valueHolder, byteValue, in tryAccessor() 462 getByte(methodHandle, byteValue, in tryAccessor()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/reflect/ |
D | Field.java | 97 public native byte getByte(java.lang.Object obj) in getByte() method in Field
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | Field.java | 396 public native byte getByte(Object obj) in getByte() method in Field
|
D | Array.java | 256 public static byte getByte(Object array, int index) in getByte() method in Array
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/reflect/ |
D | Array.annotated.java | 46 public static byte getByte(@libcore.util.NonNull java.lang.Object array, int index) throws java.lan… in getByte() method in Array
|
D | Field.annotated.java | 62 public native byte getByte(@libcore.util.Nullable java.lang.Object obj) throws java.lang.IllegalAcc… in getByte() method in Field
|
/libcore/ojluni/src/main/java/java/nio/ |
D | MappedByteBuffer.java | 295 x ^= unsafe.getByte(a); in load()
|
/libcore/ojluni/annotations/mmodule/sun/misc/ |
D | Unsafe.annotated.java | 123 public native byte getByte(java.lang.Object obj, long offset); in getByte() method in Unsafe 183 public native byte getByte(long address); in getByte() method in Unsafe
|
/libcore/ojluni/annotations/hiddenapi/sun/security/util/ |
D | DerInputStream.java | 191 int getByte() throws java.io.IOException { in getByte() method in DerInputStream
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | DerInputStream.java | 593 int getByte() throws IOException { in getByte() method in DerInputStream
|