Searched refs:getByte (Results 1 - 19 of 19) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/reflect/
H A DArrayTest.java57 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 DNativeObject.java175 final byte getByte(int offset) { method in class:NativeObject
176 return unsafe.getByte(offset + address);
378 byte b = unsafe.getByte(a);
H A DUtil.java272 return unsafe.getByte(a);
/libcore/ojluni/src/main/java/sun/nio/fs/
H A DLinuxUserDefinedFileAttributeView.java70 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 DLinuxDosFileAttributeView.java221 if (unsafe.getByte(buffer.address()+len-1) == 0)
230 buf[i] = unsafe.getByte(buffer.address() + i);
H A DLinuxWatchService.java385 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 DMappedByteBuffer.java179 x ^= unsafe.getByte(a);
H A DBits.java553 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 DArrayTest.java140 * 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 DFieldTest.java260 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 DUnsafe.java319 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 DCallableStatement.java205 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 DResultSet.java274 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 DField.java391 public native byte getByte(Object obj) method in class:Field
H A DArray.java254 // 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 DMethodHandleAccessorsTest.java95 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 DDerInputStream.java593 int getByte() throws IOException { method in class:DerInputStream
H A DObjectIdentifier.java251 type_id = (byte) in.getByte ();
/libcore/ojluni/src/main/java/java/io/
H A DObjectStreamClass.java2014 buf[off] = unsafe.getByte(obj, key);

Completed in 357 milliseconds