Home
last modified time | relevance | path

Searched refs:found (Results 1 – 25 of 25) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DCollection8Test.java53 final ArrayList found = new ArrayList(); in testForEach() local
54 Consumer<Object> spy = (o) -> { found.add(o); }; in testForEach()
56 assertTrue(found.isEmpty()); in testForEach()
60 assertEquals(Collections.singletonList(x), found); in testForEach() local
61 found.clear(); in testForEach()
65 assertEquals(2, found.size()); in testForEach()
66 assertTrue(found.contains(x)); in testForEach()
67 assertTrue(found.contains(y)); in testForEach()
68 found.clear(); in testForEach()
72 assertTrue(found.isEmpty()); in testForEach()
/libcore/ojluni/src/main/java/javax/crypto/spec/
DDESKeySpec.java228 boolean found = true; in isWeak()
229 for (int j = 0; j < DES_KEY_LEN && found == true; j++) { in isWeak()
231 found = false; in isWeak()
234 if (found == true) { in isWeak()
235 return found; in isWeak()
/libcore/ojluni/src/main/java/sun/util/locale/
DLanguageTag.java233 boolean found = false; in parseLanguage()
237 found = true; in parseLanguage()
243 return found; in parseLanguage()
251 boolean found = false; in parseExtlangs()
258 found = true; in parseExtlangs()
272 return found; in parseExtlangs()
280 boolean found = false; in parseScript()
284 found = true; in parseScript()
290 return found; in parseScript()
298 boolean found = false; in parseRegion()
[all …]
/libcore/
Dcheck-ojluni-files33 echo 'No differences found'
35 echo 'Differences found'
DAndroid.bp21 // 'apply every license found to every target'. While this makes sure we respect
DJavaLibrary.bp21 // found in libcore/ and other parts that can be found in various external/
DLICENSE273 pointer to where the full notice is found.
/libcore/support/src/test/java/libcore/java/security/
DTestKeyStore.java831 PrivateKeyEntry found = null; in privateKey() local
845 if (found != null) { in privateKey()
849 + "\nfirst: " + found.getPrivateKey() in privateKey()
852 found = privateKey; in privateKey()
854 if (found == null) { in privateKey()
859 return found; in privateKey()
887 Certificate found = null; in issuer() local
902 if (found != null) { in issuer()
905 + "\nfirst: " + found in issuer()
908 found = certificate; in issuer()
[all …]
/libcore/ojluni/src/test/java/util/concurrent/tck/
DCollection8Test.java655 final ArrayList found = new ArrayList();
656 Consumer<Object> spy = o -> found.add(o);
658 assertTrue(found.isEmpty());
662 assertEquals(Collections.singletonList(x), found);
663 found.clear();
667 assertEquals(2, found.size());
668 assertTrue(found.contains(x));
669 assertTrue(found.contains(y));
670 found.clear();
674 assertTrue(found.isEmpty());
[all …]
/libcore/ojluni/src/main/java/sun/misc/
DRegexpTarget.java40 Object found(String remainder); in found() method
DRegexpPool.java226 o = ((RegexpTarget) o).found(s.substring(bst, bend)); in matchAfter()
/libcore/luni/src/test/java/libcore/java/text/
DBreakIteratorTest.java37 boolean found = false; in testGetAvailableLocales()
41 found = true; in testGetAvailableLocales()
44 assertTrue("At least locale " + Locale.US + " must be presented", found); in testGetAvailableLocales()
/libcore/luni/src/test/java/libcore/java/security/
DREADME1 Most tests for java.security can be found in external/conscrypt. They
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DREADME1 Most tests for javax.net.ssl can be found in external/conscrypt. They
/libcore/support/src/test/java/libcore/javax/net/ssl/
DTestSSLContext.java333 boolean found = false; in assertCertificateInKeyStore()
340 found = true; in assertCertificateInKeyStore()
344 assertTrue(found); in assertCertificateInKeyStore()
349 boolean found = false; in assertCertificateInKeyStore()
356 found = true; in assertCertificateInKeyStore()
360 assertTrue(found); in assertCertificateInKeyStore()
/libcore/ojluni/src/main/java/java/security/cert/
DX509CRLSelector.java606 boolean found = false; in match()
607 while (!found && i.hasNext()) { in match()
609 found = true; in match()
612 if (!found) { in match()
DX509CertSelector.java2332 boolean found = false; in matchSubjectAlternativeNames()
2334 t.hasNext() && !found; ) { in matchSubjectAlternativeNames()
2336 found = certName.equals(matchName); in matchSubjectAlternativeNames()
2338 if (!found && (matchAllSubjectAltNames || !i.hasNext())) { in matchSubjectAlternativeNames()
2344 } else if (found && !matchAllSubjectAltNames) { in matchSubjectAlternativeNames()
/libcore/ojluni/src/main/java/java/nio/file/spi/
DFileSystemProvider.java124 boolean found = false; in loadInstalledProviders()
127 found = true; in loadInstalledProviders()
131 if (!found) { in loadInstalledProviders()
/libcore/metrictests/memory/apps/src/libcore/heapdumper/
DActions.java77 boolean found = m.find(); in run()
/libcore/luni/src/test/java/libcore/java/util/zip/
DAbstractZipFileTest.java73 boolean found; in replaceBytes()
75 found = false; in replaceBytes()
77 found = true; in replaceBytes()
80 found = false; in replaceBytes()
85 if (found) { in replaceBytes()
/libcore/ojluni/src/main/java/java/net/
DNetworkInterface.java713 boolean found = false; in equals()
716 found = true; in equals()
720 if (!found) { in equals()
/libcore/ojluni/src/main/java/sun/net/www/
DMessageHeader.java152 boolean found = false; in filterNTLMResponses()
157 found = true; in filterNTLMResponses()
161 if (found) { in filterNTLMResponses()
/libcore/luni/src/main/native/
Dorg_apache_harmony_xml_ExpatParser.cpp381 jstring found = findInternedString(bucket, s, hash); in internString() local
382 if (found) { in internString()
384 return found; in internString()
1178 int found = -1; in ExpatAttributes_getIndexForQName() local
1181 found = index; in ExpatAttributes_getIndexForQName()
1186 return found; in ExpatAttributes_getIndexForQName()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DHashMapTest.java431 boolean found = false; in test_putLjava_lang_ObjectLjava_lang_Object()
434 if (found = key == myKey) { in test_putLjava_lang_ObjectLjava_lang_Object()
438 assertFalse("Should not find new key instance in hashmap", found); in test_putLjava_lang_ObjectLjava_lang_Object()
447 if (found = key == myKey) { in test_putLjava_lang_ObjectLjava_lang_Object()
451 assertTrue("Did not find new key instance in hashmap", found); in test_putLjava_lang_ObjectLjava_lang_Object()
/libcore/ojluni/src/main/java/sun/security/util/
DSignatureFileVerifier.java646 boolean found = in matches()
649 if (!found) in matches()