Home
last modified time | relevance | path

Searched refs:found (Results 1 – 25 of 28) 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'
/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/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
DRegexpPool.java226 o = ((RegexpTarget) o).found(s.substring(bst, bend)); in matchAfter()
/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/crypto/spec/
DREADME1 Most tests for javax.crypto.spec can be found in external/conscrypt.
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DREADME1 Most tests for javax.net.ssl can be found in external/conscrypt. They
/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/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.java670 boolean found = false; in equals()
673 found = true; in equals()
677 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.cpp379 jstring found = findInternedString(bucket, s, hash); in internString() local
380 if (found) { in internString()
382 return found; in internString()
1165 int found = -1; in ExpatAttributes_getIndexForQName() local
1168 found = index; in ExpatAttributes_getIndexForQName()
1173 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/src/main/java/sun/security/util/
DSignatureFileVerifier.java646 boolean found = in matches()
649 if (!found) in matches()
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatterBuilder.java4150 String found = c.match(text, off, end); in match() local
4151 if (found != null) { in match()
4152 return found; in match()
4183 String found = c.match(text, pos); in match() local
4184 if (found != null) { in match()
4185 return found; in match()
4336 String found = c.match(text, pos); in match() local
4337 if (found != null) { in match()
4338 return found; in match()
/libcore/ojluni/src/main/java/java/util/concurrent/
DForkJoinPool.java3293 boolean found = true; in awaitQuiescence()
3296 if (!found) { in awaitQuiescence()
3301 found = false; in awaitQuiescence()
3306 found = true; in awaitQuiescence()

12