Home
last modified time | relevance | path

Searched refs:setSize (Results 1 – 21 of 21) sorted by relevance

/libcore/ojluni/src/test/java/util/concurrent/tck/
DVectorTest.java73 v.setSize(n); in testSetSize()
79 new Runnable() { public void run() { v.setSize(-1); }}); in testSetSize()
DConcurrentSkipListSetTest.java699 int setSize = expensiveTests ? 1000 : 100; in testRecursiveSubSets() local
703 BitSet bs = new BitSet(setSize); in testRecursiveSubSets()
705 populate(set, setSize, bs); in testRecursiveSubSets()
706 check(set, 0, setSize - 1, true, bs); in testRecursiveSubSets()
707 check(set.descendingSet(), 0, setSize - 1, false, bs); in testRecursiveSubSets()
709 mutateSet(set, 0, setSize - 1, bs); in testRecursiveSubSets()
710 check(set, 0, setSize - 1, true, bs); in testRecursiveSubSets()
711 check(set.descendingSet(), 0, setSize - 1, false, bs); in testRecursiveSubSets()
713 bashSubSet(set.subSet(0, true, setSize, false), in testRecursiveSubSets()
714 0, setSize - 1, true, bs); in testRecursiveSubSets()
/libcore/luni/src/test/java/libcore/java/util/zip/
DAbstractZipFileTest.java149 outEntry.setSize(buffer.length); in testStoredEntrySize()
232 ze.setSize(entrySize); in writeEntries()
278 ze.setSize(0); in testSTORED()
288 ze.setSize(0); in testSTORED()
334 ze.setSize(0); in testSTORED()
351 ze.setSize(0); in testSTORED()
361 ze.setSize(0); in testSTORED()
462 ze.setSize(4); in testCrc()
DZipEntryTest.java156 ze.setSize(0); in testMaxLengthExtra()
193 ze.setSize(0); in checkSetTime()
264 ze.setSize(0); in testCommentAndExtraInSameOrder()
DOldAndroidZipStreamTest.java125 newEntry.setSize(128 * 1024); in createUncompressedZip()
/libcore/jsr166-tests/src/test/java/jsr166/
DTreeSetTest.java673 int setSize = expensiveTests ? 1000 : 100; in testRecursiveSubSets() local
677 bs = new BitSet(setSize); in testRecursiveSubSets()
679 populate(set, setSize); in testRecursiveSubSets()
680 check(set, 0, setSize - 1, true); in testRecursiveSubSets()
681 check(set.descendingSet(), 0, setSize - 1, false); in testRecursiveSubSets()
683 mutateSet(set, 0, setSize - 1); in testRecursiveSubSets()
684 check(set, 0, setSize - 1, true); in testRecursiveSubSets()
685 check(set.descendingSet(), 0, setSize - 1, false); in testRecursiveSubSets()
687 bashSubSet(set.subSet(0, true, setSize, false), in testRecursiveSubSets()
688 0, setSize - 1, true); in testRecursiveSubSets()
DConcurrentSkipListSetTest.java669 int setSize = expensiveTests ? 1000 : 100; in testRecursiveSubSets() local
673 BitSet bs = new BitSet(setSize); in testRecursiveSubSets()
675 populate(set, setSize, bs); in testRecursiveSubSets()
676 check(set, 0, setSize - 1, true, bs); in testRecursiveSubSets()
677 check(set.descendingSet(), 0, setSize - 1, false, bs); in testRecursiveSubSets()
679 mutateSet(set, 0, setSize - 1, bs); in testRecursiveSubSets()
680 check(set, 0, setSize - 1, true, bs); in testRecursiveSubSets()
681 check(set.descendingSet(), 0, setSize - 1, false, bs); in testRecursiveSubSets()
683 bashSubSet(set.subSet(0, true, setSize, false), in testRecursiveSubSets()
684 0, setSize - 1, true, bs); in testRecursiveSubSets()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DZipEntryTest.java339 zentry.setSize(orgSize + 10); in test_setSizeJ()
341 zentry.setSize(0); in test_setSizeJ()
344 zentry.setSize(-25); in test_setSizeJ()
451 zentry.setSize(2); in test_ConstructorLjava_util_zip_ZipEntry()
DZipOutputStreamTest.java171 ze.setSize(new String(data).length()); in test_setMethodI()
/libcore/benchmarks/src/benchmarks/
DZipFileBenchmark.java65 ze.setSize(entrySize); in writeEntries()
DZipFileReadBenchmark.java58 ze.setSize(entrySize); in writeEntries()
/libcore/ojluni/src/main/java/sun/net/ftp/
DFtpDirEntry.java153 public FtpDirEntry setSize(long size) { in setSize() method in FtpDirEntry
/libcore/ojluni/annotations/hiddenapi/java/util/zip/
DZipEntry.java100 public void setSize(long size) { in setSize() method in ZipEntry
/libcore/ojluni/annotations/mmodule/java/util/zip/
DZipEntry.annotated.java63 public void setSize(long size) { throw new RuntimeException("Stub!"); } in setSize() method in ZipEntry
/libcore/ojluni/src/main/java/java/util/zip/
DZipEntry.java365 public void setSize(long size) { in setSize() method in ZipEntry
/libcore/luni/src/test/java/tests/java/sql/
DDatabaseMetaDataTest.java233 int setSize = 0; in test_getColumnsArbitrary() local
238 setSize = crossCheckGetColumnsAndResultSetMetaData(allArbitrary, false); in test_getColumnsArbitrary()
239 assertEquals(6, setSize); in test_getColumnsArbitrary()
244 setSize = crossCheckGetColumnsAndResultSetMetaData(setMixed, false); in test_getColumnsArbitrary()
245 assertEquals(6, setSize); in test_getColumnsArbitrary()
/libcore/ojluni/annotations/hiddenapi/java/util/
DVector.java77 public synchronized void setSize(int newSize) { in setSize() method in Vector
/libcore/ojluni/annotations/sdk/nullability/java/util/
DVector.annotated.java47 public synchronized void setSize(int newSize) { throw new RuntimeException("Stub!"); } in setSize() method in Vector
/libcore/ojluni/src/main/java/java/text/
DAttributedString.java543 runAttributes[i].setSize(oldSize); in addAttributeRunData()
544 runAttributeValues[i].setSize(oldSize); in addAttributeRunData()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DVectorTest.java1193 v.setSize(10); in test_setSizeI()
1205 v.setSize(20); in test_setSizeI()
1212 v.setSize(-1); in test_setSizeI()
/libcore/ojluni/src/main/java/java/util/
DVector.java286 public synchronized void setSize(int newSize) { in setSize() method in Vector