Home
last modified time | relevance | path

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

/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.java136 ze.setSize(0); in testMaxLengthExtra()
208 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()
/libcore/ojluni/src/main/java/sun/net/ftp/
DFtpDirEntry.java153 public FtpDirEntry setSize(long size) { in setSize() method in FtpDirEntry
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
DJarFileTest.java505 entry.setSize(0); in test_getManifest()
508 entry.setSize(manBytes.length); in test_getManifest()
512 entry.setSize(1); in test_getManifest()
586 entry.setSize(1076); in test_getInputStreamLjava_util_jar_JarEntry_subtest0()
800 zipEntry.setSize(zipEntry.getSize() + 1); in testJarVerificationModifiedEntry()
805 zipEntry.setSize(zipEntry.getSize() - 1); in testJarVerificationModifiedEntry()
/libcore/tzdata/tools2/src/main/libcore/tzdata/update2/tools/
DTimeZoneDistroBuilder.java146 zipEntry.setSize(content.length); in addZipEntry()
/libcore/ojluni/src/main/java/java/util/zip/
DZipEntry.java361 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/src/main/java/sun/net/ftp/impl/
DFtpClient.java284 file.setSize(Long.parseLong(fsize)).setLastModified(d); in parseLine()
327 file.setSize(Long.parseLong(s)); in parseLine()
419 serverResponse.setSize(0); in readServerResponse()
989 serverResponse.setSize(0); in disconnect()
/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