Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/lang/reflect/
DArrayTest.java57 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/
DNativeObject.java175 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()
DUtil.java272 return unsafe.getByte(a);
/libcore/ojluni/src/main/java/sun/nio/fs/
DLinuxUserDefinedFileAttributeView.java70 if (unsafe.getByte(address + pos) == 0) { in asList()
78 value[i] = unsafe.getByte(address + start + i); in asList()
195 dst.put(unsafe.getByte(address + i)); in read()
330 if (unsafe.getByte(address + pos) == 0) { in copyExtendedAttributes()
340 name[i] = unsafe.getByte(address + start + i); in copyExtendedAttributes()
DLinuxDosFileAttributeView.java221 if (unsafe.getByte(buffer.address()+len-1) == 0)
230 buf[i] = unsafe.getByte(buffer.address() + i);
DLinuxWatchService.java382 if (unsafe.getByte(last) != 0) in run()
394 buf[i] = unsafe.getByte(event + OFFSETOF_NAME + i); in run()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DArrayTest.java149 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()
DFieldTest.java260 res = new Byte(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/java/nio/
DMappedByteBuffer.java176 x ^= unsafe.getByte(a); in load()
DBits.java597 return unsafe.getByte(a); in _get()
/libcore/ojluni/src/main/java/sun/misc/
DUnsafe.java319 public native byte getByte(Object obj, long offset); in getByte() method in Unsafe
400 public native byte getByte(long address); in getByte() method in Unsafe
/libcore/ojluni/src/main/java/java/sql/
DCallableStatement.java205 byte getByte(int parameterIndex) throws SQLException; in getByte() method
1388 byte getByte(String parameterName) throws SQLException; in getByte() method
DResultSet.java274 byte getByte(int columnIndex) throws SQLException; in getByte() method
562 byte getByte(String columnLabel) throws SQLException; in getByte() method
/libcore/ojluni/src/main/java/java/lang/reflect/
DField.java375 public native byte getByte(Object obj) in getByte() method in Field
DArray.java245 …public static byte getByte(Object array, int index) throws IllegalArgumentException, ArrayIndexOut… in getByte() method in Array
/libcore/luni/src/test/java/libcore/java/lang/invoke/
DMethodHandleAccessorsTest.java95 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/src/main/java/sun/security/util/
DDerInputStream.java586 int getByte() throws IOException { in getByte() method in DerInputStream
DObjectIdentifier.java251 type_id = (byte) in.getByte (); in ObjectIdentifier()
/libcore/ojluni/src/main/java/java/io/
DObjectStreamClass.java1945 buf[off] = unsafe.getByte(obj, key); in getPrimFieldValues()