/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
H A D | ArrayTest.java | 57 try { Array.getByte(booleans, 0); fail(); } catch (IllegalArgumentException expected) {} 58 assertEquals(bytes[0], Array.getByte(bytes, 0)); 59 try { Array.getByte(chars, 0); fail(); } catch (IllegalArgumentException expected) {} 60 try { Array.getByte(doubles, 0); fail(); } catch (IllegalArgumentException expected) {} 61 try { Array.getByte(floats, 0); fail(); } catch (IllegalArgumentException expected) {} 62 try { Array.getByte(ints, 0); fail(); } catch (IllegalArgumentException expected) {} 63 try { Array.getByte(longs, 0); fail(); } catch (IllegalArgumentException expected) {} 64 try { Array.getByte(shorts, 0); fail(); } catch (IllegalArgumentException expected) {} 65 try { Array.getByte(null, 0); fail(); } catch (NullPointerException expected) {}
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
H A D | NativeObject.java | 175 final byte getByte(int offset) { method in class:NativeObject 176 return unsafe.getByte(offset + address); 378 byte b = unsafe.getByte(a);
|
H A D | Util.java | 272 return unsafe.getByte(a);
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
H A D | LinuxUserDefinedFileAttributeView.java | 70 if (unsafe.getByte(address + pos) == 0) { 76 // Android-changed: We don't have Unsafe.copyMemory yet, so we use getByte. 78 value[i] = unsafe.getByte(address + start + i); 191 // Android-changed: We don't have Unsafe.copyMemory yet, so we use getByte. 195 dst.put(unsafe.getByte(address + i)); 330 if (unsafe.getByte(address + pos) == 0) { 336 // Android-changed: We don't have Unsafe.copyMemory yet, so we use getByte. 340 name[i] = unsafe.getByte(address + start + i);
|
H A D | LinuxDosFileAttributeView.java | 221 if (unsafe.getByte(buffer.address()+len-1) == 0) 230 buf[i] = unsafe.getByte(buffer.address() + i);
|
H A D | LinuxWatchService.java | 385 if (unsafe.getByte(last) != 0) 395 // getByte. 397 buf[i] = unsafe.getByte(event + OFFSETOF_NAME + i);
|
/libcore/ojluni/src/main/java/java/nio/ |
H A D | MappedByteBuffer.java | 179 x ^= unsafe.getByte(a);
|
H A D | Bits.java | 553 return unsafe.getByte(a); 580 byte b = unsafe.getByte(a); 601 byte b = unsafe.getByte(a);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
H A D | ArrayTest.java | 140 * java.lang.reflect.Array#getByte(java.lang.Object, int) 144 // java.lang.reflect.Array.getByte(java.lang.Object, int) 149 ret = Array.getByte(x, 0); 155 ret = Array.getByte(new Object(), 0); 165 ret = Array.getByte(x, 4); 175 ret = Array.getByte(null, 0); 679 assertEquals("Get returned incorrect value", 1, Array.getByte(x, 0));
|
H A D | FieldTest.java | 260 res = new Byte(f.getByte(o)); 341 * java.lang.reflect.Field#getByte(java.lang.Object) 607 * java.lang.reflect.Field#getByte(java.lang.Object) 611 // java.lang.reflect.Field.getByte(java.lang.Object) 617 val = f.getByte(x); 626 f.getByte(x); 639 f.getByte(null); 652 byte staticValue = f.getByte(null); 1171 val = f.getByte(x); 1204 val = f.getByte( [all...] |
/libcore/ojluni/src/main/java/sun/misc/ |
H A D | Unsafe.java | 319 public native byte getByte(Object obj, long offset); method in class:Unsafe 400 public native byte getByte(long address); method in class:Unsafe
|
/libcore/ojluni/src/main/java/java/sql/ |
H A D | CallableStatement.java | 205 byte getByte(int parameterIndex) throws SQLException; method in interface:CallableStatement 827 * @see #getByte 1388 byte getByte(String parameterName) throws SQLException; method in interface:CallableStatement
|
H A D | ResultSet.java | 274 byte getByte(int columnIndex) throws SQLException; method in interface:ResultSet 562 byte getByte(String columnLabel) throws SQLException; method in interface:ResultSet
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
H A D | Field.java | 391 public native byte getByte(Object obj) method in class:Field
|
H A D | Array.java | 254 // Android-changed: Non-native implementation of getByte(Object, int) 255 public static byte getByte(Object array, int index) method in class:Array
|
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
H A D | MethodHandleAccessorsTest.java | 95 static void getByte(MethodHandle m, ValueHolder v, byte value, boolean expectFailure) method in class:MethodHandleAccessorsTest 113 static void getByte(MethodHandle m, byte value, boolean expectFailure) throws Throwable { method in class:MethodHandleAccessorsTest 114 getByte(m, null, value, expectFailure); 460 getByte(methodHandle, valueHolder, byteValue, 462 getByte(methodHandle, byteValue,
|
/libcore/ojluni/src/main/java/sun/security/util/ |
H A D | DerInputStream.java | 593 int getByte() throws IOException { method in class:DerInputStream
|
H A D | ObjectIdentifier.java | 251 type_id = (byte) in.getByte ();
|
/libcore/ojluni/src/main/java/java/io/ |
H A D | ObjectStreamClass.java | 2014 buf[off] = unsafe.getByte(obj, key);
|