Home
last modified time | relevance | path

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

12

/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
/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/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/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/sun/misc/
DRegexpTarget.java40 Object found(String remainder); in found() method
/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/luni/src/test/java/libcore/javax/crypto/
DREADME1 Most tests for javax.crypto can be found in external/conscrypt. They
/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/luni/src/test/java/libcore/javax/crypto/spec/
DREADME1 Most tests for javax.crypto.spec can be found in external/conscrypt.
/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/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/metrictests/memory/apps/src/libcore/heapdumper/
DActions.java77 boolean found = m.find(); in run()
/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/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/
DPattern2Test.java1045 boolean found = matcher.find(); in testCompile4()
1046 assertTrue(found); in testCompile4()
1048 if (found) { in testCompile4()
1055 found = matcher.find(); in testCompile4()
1056 assertFalse(found); in testCompile4()
/libcore/ojluni/
DAndroid.bp20 // 'apply every license found to every target'. While this makes sure we respect

12