Home
last modified time | relevance | path

Searched refs:oa (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/src/main/java/sun/misc/
DLRUCache.java35 private V[] oa = null; field in LRUCache
46 public static void moveToFront(Object[] oa, int i) { in moveToFront() argument
47 Object ob = oa[i]; in moveToFront()
49 oa[j] = oa[j - 1]; in moveToFront()
50 oa[0] = ob; in moveToFront()
54 if (oa == null) { in forName()
57 oa = temp; in forName()
59 for (int i = 0; i < oa.length; i++) { in forName()
60 V ob = oa[i]; in forName()
65 moveToFront(oa, i); in forName()
[all …]
/libcore/ojluni/src/main/java/sun/nio/cs/
DThreadLocalCoders.java52 private void moveToFront(Object[] oa, int i) { in moveToFront() argument
53 Object ob = oa[i]; in moveToFront()
55 oa[j] = oa[j - 1]; in moveToFront()
56 oa[0] = ob; in moveToFront()
62 Object[] oa = cache.get(); in forName() local
63 if (oa == null) { in forName()
64 oa = new Object[size]; in forName()
65 cache.set(oa); in forName()
67 for (int i = 0; i < oa.length; i++) { in forName()
68 Object ob = oa[i]; in forName()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DObjectOutputStreamTest.java1149 Object[] oa = new Object[3]; in test_writeUnshared() local
1150 for (int i = 0; i < oa.length; i++) { in test_writeUnshared()
1151 oa[i] = ois.readObject(); in test_writeUnshared()
1158 assertNotSame("oa[0] != oa[1]", oa[0], oa[1]); in test_writeUnshared()
1159 assertNotSame("oa[1] != oa[2]", oa[1], oa[2]); in test_writeUnshared()
1160 assertSame("oa[0] == oa[2]", oa[0], oa[2]); in test_writeUnshared()
1180 Object[] oa = new Object[3]; in test_writeUnshared2() local
1181 for (int i = 0; i < oa.length; i++) { in test_writeUnshared2()
1182 oa[i] = ois.readObject(); in test_writeUnshared2()
1189 assertNotSame("oa[0] != oa[1]", oa[0], oa[1]); in test_writeUnshared2()
[all …]
/libcore/ojluni/annotations/hiddenapi/sun/nio/cs/
DThreadLocalCoders.java59 private void moveToFront(java.lang.Object[] oa, int i) { in moveToFront() argument
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DProxyTest.java426 InvocationHandler handler = (o, m, oa) -> invocationHandlerReturnValue; in testProxyDefault()