Home
last modified time | relevance | path

Searched refs:ac (Results 1 – 6 of 6) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DAbstractCollectionTest.java32 AbstractCollection<Object> ac = new AbstractCollection<Object>() { in test_addLjava_lang_Object() local
48 ac.add(null); in test_addLjava_lang_Object()
58 AbstractCollection<String> ac = new AbstractCollection<String>() { in test_addAllLjava_util_Collection() local
79 assertTrue(ac.addAll(fixtures)); in test_addAllLjava_util_Collection()
87 AbstractCollection<String> ac = new AbstractCollection<String>() { in test_containsAllLjava_util_Collection() local
108 assertTrue(ac.containsAll(fixtures)); in test_containsAllLjava_util_Collection()
116 AbstractCollection<Object> ac = new AbstractCollection<Object>() { in test_isEmpty() local
129 assertTrue(ac.isEmpty()); in test_isEmpty()
138 AbstractCollection<String> ac = new AbstractCollection<String>() { in test_removeAllLjava_util_Collection() local
168 assertTrue(ac.removeAll(Arrays.asList("0", "1", "2"))); in test_removeAllLjava_util_Collection()
[all …]
/libcore/luni/src/test/java/libcore/libcore/icu/
DICUCurrencyTest.java41 android.icu.util.Currency ac = android.icu.util.Currency.getInstance("XXX"); in test_fallbackCurrencySymbolForUnknownLocale() local
42 assertNotNull(ac); in test_fallbackCurrencySymbolForUnknownLocale()
43 assertEquals(unknownCurrencySymbol, ac.getSymbol(android.icu.util.ULocale.ROOT)); in test_fallbackCurrencySymbolForUnknownLocale()
/libcore/ojluni/src/test/java/util/Arrays/
DArraysEqCmpTest.java707 Object ac = at.construct(s); in testPrimitiveFloatArray()
709 at.set(ac, x, nonCanonicalNan); in testPrimitiveFloatArray()
711 return ac; in testPrimitiveFloatArray()
716 Object ac = at.construct(s); in testPrimitiveFloatArray()
718 at.set(ac, x, nonCanonicalNan); in testPrimitiveFloatArray()
721 at.set(ac, x, 1); in testPrimitiveFloatArray()
723 return ac; in testPrimitiveFloatArray()
827 Object ac = sat.copyOf(a); in testSignedUnsignedArray() local
829 sat.set(ac, i, -1); in testSignedUnsignedArray()
831 int sc = sat.compare(ac, aFrom, aTo, a, aFrom, aTo); in testSignedUnsignedArray()
[all …]
/libcore/ojluni/src/test/java/lang/invoke/
DMethodHandlesGeneralTest.java103 for (Object[] ac : accessCases(defc, name)) { in testFindStatic()
104 testFindStatic((Boolean)ac[0], (Lookup)ac[1], defc, ret, name, params); in testFindStatic()
202 for (Object[] ac : accessCases(defc, name)) { in testFindVirtual()
203 testFindVirtual((Boolean)ac[0], (Lookup)ac[1], rcvc, defc, ret, name, params); in testFindVirtual()
421 for (Object[] ac : accessCases(defc, name)) { in testBind()
422 testBind((Boolean)ac[0], (Lookup)ac[1], defc, ret, name, params); in testBind()
492 for (Object[] ac : accessCases(defc, name)) { in testUnreflect()
493 …testUnreflectMaybeSpecial(null, (Boolean)ac[0], (Lookup)ac[1], defc, (isStatic ? null : defc), ret… in testUnreflect()
498 for (Object[] ac : accessCases(defc, name)) { in testUnreflect()
499 … testUnreflectMaybeSpecial(null, (Boolean)ac[0], (Lookup)ac[1], defc, rcvc, ret, name, params); in testUnreflect()
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/
DForkJoinPool.java1688 int ac = (int)(c >> RC_SHIFT), md;
1691 else if ((md & SMASK) + ac <= 0) {
3163 int ac = pc + (int)(c >> RC_SHIFT);
3164 if (ac < 0) // ignore transient negative
3165 ac = 0;
3174 ", active = " + ac +
/libcore/ojluni/src/test/java/util/regex/
DTestCases.txt123 z(a|ac)b
125 true zacb 1 ac
1010 ac