Searched refs:check (Results 1 - 22 of 22) sorted by relevance

/libcore/luni/src/main/java/java/util/zip/
H A DCheckedOutputStream.java31 private final Checksum check; field in class:CheckedOutputStream
45 check = cs;
54 return check;
69 check.update(val);
89 check.update(buf, off, nbytes);
H A DCheckedInputStream.java32 private final Checksum check; field in class:CheckedInputStream
49 check = csum;
65 check.update(x);
84 check.update(buffer, byteOffset, bytesRead);
93 return check;
/libcore/luni/src/main/java/java/security/cert/
H A DPKIXCertPathChecker.java33 * {@link #check(Certificate, Collection) check} method will be called for each
107 * if check(s) fail on the specified certificate.
109 public abstract void check(Certificate cert, Collection<String> unresolvedCritExts) method in class:PKIXCertPathChecker
/libcore/luni/src/test/java/libcore/javax/crypto/spec/
H A DKeyFactoryTestDH.java30 @Override protected void check(KeyPair keyPair) { method in class:KeyFactoryTestDH
H A DKeyFactoryTestDSA.java31 @Override protected void check(KeyPair keyPair) { method in class:KeyFactoryTestDSA
H A DKeyFactoryTestRSA.java32 @Override protected void check(KeyPair keyPair) { method in class:KeyFactoryTestRSA
/libcore/luni/src/test/java/tests/security/cert/
H A DPKIXCertPathCheckerTest.java79 pc.check(new MyCertificate("", null), new HashSet<String>());
89 public void check(Certificate cert, method in class:PKIXCertPathCheckerTest.MyPKIXCertPathChecker
/libcore/support/src/test/java/tests/security/
H A DKeyFactoryTest.java60 check(new KeyPair(publicKey, privateKey));
63 protected void check(KeyPair keyPair) {} method in class:KeyFactoryTest
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
H A DSelectionKeyTest.java101 Object check = mockSelectionKey.attach(o);
102 assertNull(check);
105 check = mockSelectionKey.attach(null);
106 assertSame(o, check);
108 check = mockSelectionKey.attach(o);
109 assertNull(check);
/libcore/xml/src/main/java/org/kxml2/io/
H A DKXmlSerializer.java55 private final void check(boolean close) throws IOException { method in class:KXmlSerializer
173 check(false);
278 check(false);
372 check(false);
476 check(false);
481 check();
501 check(true);
538 check(false);
551 check(false);
591 check(fals
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DFileTest.java1230 boolean[] check = new boolean[flist.length];
1231 for (int i = 0; i < check.length; i++) {
1232 check[i] = false;
1237 check[i] = true;
1243 for (int i = 0; i < check.length; i++) {
1244 if (check[i] == false) {
1343 boolean[] check = new boolean[flist.length];
1344 for (int i = 0; i < check.length; i++) {
1345 check[i] = false;
1350 check[
[all...]
/libcore/jsr166-tests/src/test/java/jsr166/
H A DConcurrentSkipListSetTest.java677 check(set, 0, setSize - 1, true, bs);
678 check(set.descendingSet(), 0, setSize - 1, false, bs);
681 check(set, 0, setSize - 1, true, bs);
682 check(set.descendingSet(), 0, setSize - 1, false, bs);
783 check(set, min, max, ascending, bs);
784 check(set.descendingSet(), min, max, !ascending, bs);
787 check(set, min, max, ascending, bs);
788 check(set.descendingSet(), min, max, !ascending, bs);
862 void check(NavigableSet<Integer> set, method in class:ConcurrentSkipListSetTest
H A DTreeSetTest.java681 check(set, 0, setSize - 1, true);
682 check(set.descendingSet(), 0, setSize - 1, false);
685 check(set, 0, setSize - 1, true);
686 check(set.descendingSet(), 0, setSize - 1, false);
785 check(set, min, max, ascending);
786 check(set.descendingSet(), min, max, !ascending);
789 check(set, min, max, ascending);
790 check(set.descendingSet(), min, max, !ascending);
864 void check(NavigableSet<Integer> set, method in class:TreeSetTest
H A DConcurrentSkipListMapTest.java992 check(map, 0, mapSize - 1, true);
993 check(map.descendingMap(), 0, mapSize - 1, false);
996 check(map, 0, mapSize - 1, true);
997 check(map.descendingMap(), 0, mapSize - 1, false);
1086 check(map, min, max, ascending);
1087 check(map.descendingMap(), min, max, !ascending);
1090 check(map, min, max, ascending);
1091 check(map.descendingMap(), min, max, !ascending);
1165 void check(NavigableMap<Integer, Integer> map, method in class:ConcurrentSkipListMapTest
H A DTreeMapTest.java797 check(map, 0, mapSize - 1, true);
798 check(map.descendingMap(), 0, mapSize - 1, false);
801 check(map, 0, mapSize - 1, true);
802 check(map.descendingMap(), 0, mapSize - 1, false);
891 check(map, min, max, ascending);
892 check(map.descendingMap(), min, max, !ascending);
895 check(map, min, max, ascending);
896 check(map.descendingMap(), min, max, !ascending);
970 void check(NavigableMap<Integer, Integer> map, method in class:TreeMapTest
/libcore/luni/src/test/java/libcore/java/lang/
H A DOldAndroidMonitorTest.java435 int check;
444 if ((check = CompareAndExchange.toggle) != test) {
447 // " != toggle " + check);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
H A DConstructorTest.java82 public int check() { method in class:ConstructorTest.ConstructorTestHelper
386 assertEquals("improper instance created", 99, test.check());
/libcore/
H A DNativeCode.mk24 # These two definitions are used to help sanity check what's put in
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
H A DTestUtils.java209 public void check(Certificate arg0, Collection arg1)
223 // just to check this checker state
/libcore/luni/src/main/java/java/text/
H A DSimpleDateFormat.java1310 private static String convertPattern(String template, String fromChars, String toChars, boolean check) { argument
1311 if (!check && fromChars.equals(toChars)) {
1325 } else if (check && !quote && ((next >= 'a' && next <= 'z') || (next >= 'A' && next <= 'Z'))) {
/libcore/luni/src/main/java/java/util/concurrent/
H A DConcurrentHashMap.java278 * is around 13%, meaning that only about 1 in 8 puts check
579 * equivalent check), thus ensuring that any index argument taking
1613 * @param check if <0, don't check resize, if <= 1 only check if uncontended
1615 private final void addCount(long x, int check) { argument
1629 if (check <= 1)
1633 if (check >= 0) {
2483 * Recursive invariant check
/libcore/benchmarks/libs/
H A Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ...

Completed in 700 milliseconds