/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | Identity2Test.java | 204 IdentitySubclass sub = new IdentitySubclass("test", scope); in test_getScope() local 205 IdentityScope returnedScope = sub.getScope(); in test_getScope() 213 IdentitySubclass sub = new IdentitySubclass("test", in test_getPublicKey() local 215 sub.setPublicKey(getPubKey()); in test_getPublicKey() 216 PublicKey returnedPubKey = sub.getPublicKey(); in test_getPublicKey() 225 IdentitySubclass sub = new IdentitySubclass(name, in test_getName() local 227 assertEquals("Wrong Name returned", name, sub.getName()); in test_getName() 235 IdentitySubclass sub = new IdentitySubclass("test", in test_getInfo() local 237 sub.setInfo(info); in test_getInfo() 238 assertEquals("Wrong Info returned", info, sub.getInfo()); in test_getInfo() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | ConcurrentModTest.java | 44 List sub = al.subList(1, 3); in testGet() local 45 assertEquals(2, sub.size()); in testGet() 47 assertTrue(((Double) sub.get(1)).doubleValue() <= 3.0); in testGet() 48 assertTrue(((Double) sub.get(1)).doubleValue() > 2.0); in testGet() 54 sub.get(1); in testGet() 88 List sub = al.subList(1, 3); in testSet() local 89 assertEquals(2, sub.size()); in testSet() 91 assertTrue(((Double) sub.get(1)).doubleValue() <= 3.0); in testSet() 92 assertTrue(((Double) sub.get(1)).doubleValue() > 2.0); in testSet() 98 sub.set(1, two); in testSet() [all …]
|
D | AbstractListTest.java | 418 List<Integer> sub = holder.subList(0, holder.size()); in test_subListII2() local 421 sub.size(); in test_subListII2() 426 sub.add(12); in test_subListII2() 431 sub.add(0, 11); in test_subListII2() 436 sub.clear(); in test_subListII2() 441 sub.contains(11); in test_subListII2() 446 sub.get(9); in test_subListII2() 451 sub.indexOf(10); in test_subListII2() 456 sub.isEmpty(); in test_subListII2() 461 sub.iterator(); in test_subListII2() [all …]
|
D | CollectionsTest.java | 1064 ArrayList sub = new ArrayList(); in test_indexOfSubList2() local 1065 sub.add(new Integer(1)); in test_indexOfSubList2() 1066 sub.add(new Integer(2)); in test_indexOfSubList2() 1067 sub.add(new Integer(3)); in test_indexOfSubList2() 1074 src.addAll(sub); in test_indexOfSubList2() 1075 src.addAll(sub); in test_indexOfSubList2() 1076 src.addAll(sub); in test_indexOfSubList2() 1083 sub = new ArrayList(src.subList(3, 11)); in test_indexOfSubList2() 1086 .indexOfSubList(src, sub)); in test_indexOfSubList2() 1088 sub = new ArrayList(src.subList(6, 11)); in test_indexOfSubList2() [all …]
|
D | TreeMapTest.java | 352 SortedMap<Integer, Integer> intMap, sub; in test_headMapLjava_lang_Object() local 358 sub = intMap.headMap(-1); in test_headMapLjava_lang_Object() 359 assertEquals("size should be zero", sub.size(), 0); in test_headMapLjava_lang_Object() 360 assertTrue("submap should be empty", sub.isEmpty()); in test_headMapLjava_lang_Object() 362 sub.firstKey(); in test_headMapLjava_lang_Object() 376 sub.lastKey(); in test_headMapLjava_lang_Object() 386 sub = intMap.headMap(-1); in test_headMapLjava_lang_Object() 387 assertEquals("size should be zero", sub.size(), 0); in test_headMapLjava_lang_Object() 388 assertTrue("submap should be empty", sub.isEmpty()); in test_headMapLjava_lang_Object() 390 sub.firstKey(); in test_headMapLjava_lang_Object() [all …]
|
/libcore/support/src/test/java/tests/support/ |
D | Support_StringWriter.java | 173 String sub = str.substring(offset, offset + count); in write() local 175 buf.append(sub); in write()
|
/libcore/tools/docs/crypto/ |
D | update_crypto_support.py | 113 name = re.sub('WITH', 'with', name, flags=re.I) 114 name = re.sub('DESEDE', 'DESede', name, flags=re.I) 115 name = re.sub('HMAC', 'Hmac', name, flags=re.I)
|
/libcore/ojluni/src/test/java/util/List/ |
D | ListFactories.java | 338 List<Integer> sub = orig.subList(0, 3); in copyOfSubList() local 339 List<Integer> copy = List.copyOf(sub); in copyOfSubList() 341 assertNotSame(sub, copy); in copyOfSubList() 347 List<Integer> sub = orig.subList(0, 3).subList(0, 2); in copyOfSubSubList() local 348 List<Integer> copy = List.copyOf(sub); in copyOfSubSubList() 350 assertNotSame(sub, copy); in copyOfSubSubList()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | OldTreeMapTest.java | 426 SortedMap<String, String> sub = map.subMap("1", "3"); in test_subMapLjava_lang_ObjectLjava_lang_Object() local 427 assertEquals("2", sub.lastKey()); in test_subMapLjava_lang_ObjectLjava_lang_Object()
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | LambdaTestHelpers.java | 435 private static <T> List<T> sub(List<T> l, int index) { 444 for (List<T> perm : perm(sub(l, i))) {
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | LambdaTestHelpers.java | 434 private static <T> List<T> sub(List<T> l, int index) { 443 for (List<T> perm : perm(sub(l, i))) {
|
/libcore/ |
D | JavaLibrary.bp | 24 // libcore has some sub-directories that follow a common structure: 957 // dist and which end up in one of the sub-directories of prebuilts/sdk.
|