Home
last modified time | relevance | path

Searched refs:getSize (Results 1 – 25 of 29) sorted by relevance

12

/libcore/metrictests/memory/host/src/libcore/heapmetrics/
DLibcoreHeapMetricsTest.java114 recordSizeMetric(metricPrefix, heap.getSize()); in recordHeapMetrics()
127 recordSizeMetric("beforeAppSize", beforeHeap.getSize()); in recordBeforeAndAfterAppHeapMetrics()
128 recordSizeDeltaMetric("deltaAppSize", beforeHeap.getSize(), afterHeap.getSize()); in recordBeforeAndAfterAppHeapMetrics()
144 recordBytesMetric(name, size.getSize()); in recordSizeMetric()
148 recordBytesMetric(name, after.getSize() - before.getSize()); in recordSizeDeltaMetric()
/libcore/ojluni/src/test/java/util/zip/ZipFile/
DZip64SizeTest.java89 System.out.printf("Entry: %s, size= %s%n", ze.getName(), ze.getSize()); in validateZipEntrySizes()
90 assertTrue(ze.getSize() == LARGE_FILE_SIZE); in validateZipEntrySizes()
92 System.out.printf("Entry: %s, size= %s%n", ze.getName(), ze.getSize()); in validateZipEntrySizes()
93 assertTrue(ze.getSize() == SMALL_FILE_SIZE); in validateZipEntrySizes()
/libcore/luni/src/test/java/libcore/java/util/zip/
DZip64FileTest.java48 assertEquals(2, ze.getSize()); in testZip64Support_largeNumberOfEntries()
75 assertEquals(1073741824L, ze.getSize()); in testZip64Support_totalLargerThan4G()
98 assertEquals(4294967410L, ze.getSize()); in testZip64Support_hugeEntry()
DAbstractZipFileTest.java309 assertEquals(-1, ze.getSize()); in testSTORED()
314 assertEquals(-1, ze.getSize()); in testSTORED()
319 assertEquals(0, ze.getSize()); in testSTORED()
329 assertEquals(-1, ze.getSize()); in testSTORED()
334 assertEquals(0, ze.getSize()); in testSTORED()
339 assertEquals(0, ze.getSize()); in testSTORED()
/libcore/dalvik/src/main/java/dalvik/system/
DEmulatedStackFrame.java139 stackFrameStart += getSize(cl); in of()
148 numBytes += getSize(cl); in of()
174 frameSize += getSize(ptype); in create()
182 frameSize += getSize(rtype); in create()
288 public static int getSize(Class<?> type) { in getSize() method in EmulatedStackFrame
407 frameBuf.position(frameBuf.capacity() - getSize(rtype)); in makeReturnValueAccessor()
587 frameOffset += getSize(ptype); in buildTables()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DZipInputStreamTest.java160 byte[] rbuf = new byte[(int) zentry.getSize()]; in test_read$BII()
191 byte[] rbuf = new byte[(int) zentry.getSize()]; in test_skipJ()
227 long entrySize = entry.getSize(); in test_available()
DZipEntryTest.java154 assertEquals("Incorrect size returned", orgSize, zentry.getSize()); in test_getSize()
340 assertEquals("Set size failed", (orgSize + 10), zentry.getSize()); in test_setSizeJ()
342 assertEquals("Set size failed", 0, zentry.getSize()); in test_setSizeJ()
456 2, zentry2.getSize()); in test_ConstructorLjava_util_zip_ZipEntry()
507 orgSize = zentry.getSize(); in setUp()
DZipOutputStreamTest.java80 ze.getSize() == 11 && ze.getCompressedSize() == 13); in test_closeEntry()
92 assertEquals("Finish failed to closeCurrentEntry", 11, ze.getSize()); in test_finish()
DZipFileTest.java266 is.read(rbuf, 0, r = (int) zentry.getSize()); in test_getInputStreamLjava_util_zip_ZipEntry()
/libcore/luni/src/test/java/libcore/java/util/jar/
DOldJarEntryTest.java80 .getSize()); in test_ConstructorLjava_util_zip_ZipEntry()
136 .getSize()); in test_ConstructorLjava_util_jar_JarEntry()
/libcore/ojluni/src/main/java/sun/net/ftp/
DFtpDirEntry.java142 public long getSize() { in getSize() method in FtpDirEntry
DFtpClient.java743 public abstract long getSize(String path) throws FtpProtocolException, IOException; in getSize() method in FtpClient
/libcore/ojluni/annotations/mmodule/java/util/zip/
DZipEntry.annotated.java64 public long getSize() { throw new RuntimeException("Stub!"); } in getSize() method in ZipEntry
/libcore/ojluni/annotations/hiddenapi/java/util/zip/
DZipEntry.java104 public long getSize() { in getSize() method in ZipEntry
/libcore/luni/src/main/java/libcore/io/
DClassPathURLStreamHandler.java202 return (int) getJarEntry().getSize(); in getContentLength()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
DJarFileTest.java316 entryName).getSize()); in test_getEntryLjava_lang_String()
353 entryName).getSize()); in test_getJarEntryLjava_lang_String()
618 is.skip(entry.getSize()); in getSignedJarCerts()
703 zipEntry.setSize(zipEntry.getSize() + 1); in testJarVerificationModifiedEntry()
709 zipEntry.setSize(zipEntry.getSize() - 1); in testJarVerificationModifiedEntry()
DJarEntryTest.java93 .getSize()); in test_ConstructorLjava_util_zip_ZipEntry()
/libcore/ojluni/annotations/flagged_api/java/util/zip/
DZipEntry.annotated.java66 public long getSize() { throw new RuntimeException("Stub!"); } in getSize() method in ZipEntry
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
DJarURLConnection.java189 result = getJarEntry().getSize(); in getContentLengthLong()
/libcore/ojluni/src/main/java/java/util/zip/
DZipEntry.java470 public long getSize() { in getSize() method in ZipEntry
/libcore/ojluni/src/main/java/java/util/jar/
DJarFile.java524 return IOUtils.readFully(is, (int)ze.getSize(), true); in getBytes()
DJarVerifier.java467 this.numLeft = je.getSize(); in VerifierStream()
/libcore/luni/src/test/java/libcore/java/net/
DOldJarURLConnectionTest.java83 is.skip(je.getSize()); in test_getCertificates()
/libcore/ojluni/annotations/hiddenapi/sun/net/ftp/
DFtpClient.java181 public abstract long getSize(java.lang.String path) in getSize() method in FtpClient
/libcore/ojluni/src/main/java/java/lang/invoke/
DTransformers.java1304 final int elementBytes = EmulatedStackFrame.getSize(componentType); in transform()
1688 stackFrameOffset = EmulatedStackFrame.getSize(collectorRType); in CollectArguments()
1762 stackFrameOffset = EmulatedStackFrame.getSize(combinerRType); in FoldArguments()
1886 bytesCopied += EmulatedStackFrame.getSize(ptype); in transform()

12