Home
last modified time | relevance | path

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

12

/libcore/metrictests/memory/host/src/libcore/heapmetrics/
DLibcoreHeapMetricsTest.java108 recordSizeMetric(metricPrefix, heap.getSize()); in recordHeapMetrics()
121 recordSizeMetric("beforeAppSize", beforeHeap.getSize()); in recordBeforeAndAfterAppHeapMetrics()
122 recordSizeDeltaMetric("deltaAppSize", beforeHeap.getSize(), afterHeap.getSize()); in recordBeforeAndAfterAppHeapMetrics()
138 recordBytesMetric(name, size.getSize()); in recordSizeMetric()
142 recordBytesMetric(name, after.getSize() - before.getSize()); in recordSizeDeltaMetric()
/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.java311 assertEquals(-1, ze.getSize()); in testSTORED()
316 assertEquals(-1, ze.getSize()); in testSTORED()
321 assertEquals(0, ze.getSize()); in testSTORED()
331 assertEquals(-1, ze.getSize()); in testSTORED()
336 assertEquals(0, ze.getSize()); in testSTORED()
341 assertEquals(0, ze.getSize()); in testSTORED()
/libcore/dalvik/src/main/java/dalvik/system/
DEmulatedStackFrame.java137 stackFrameStart += getSize(cl); in of()
146 numBytes += getSize(cl); in of()
164 frameSize += getSize(ptype); in create()
172 frameSize += getSize(rtype); in create()
266 public static int getSize(Class<?> type) { in getSize() method in EmulatedStackFrame
375 frameBuf.position(frameBuf.capacity() - getSize(rtype)); in makeReturnValueAccessor()
/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/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.java76 ze.getSize() == 11 && ze.getCompressedSize() == 13); in test_closeEntry()
88 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/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/luni/src/main/java/libcore/io/
DClassPathURLStreamHandler.java196 return (int) getJarEntry().getSize(); in getContentLength()
/libcore/ojluni/annotations/hiddenapi/java/util/zip/
DZipEntry.java104 public long getSize() { in getSize() method in ZipEntry
/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/src/main/java/sun/net/www/protocol/jar/
DJarURLConnection.java189 result = getJarEntry().getSize(); in getContentLengthLong()
/libcore/ojluni/src/main/java/java/util/zip/
DZipEntry.java377 public long getSize() { in getSize() method in ZipEntry
/libcore/ojluni/src/main/java/java/util/jar/
DJarFile.java435 return IOUtils.readFully(is, (int)ze.getSize(), true); in getBytes()
DJarVerifier.java463 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.java1581 stackFrameOffset = EmulatedStackFrame.getSize(collectorRType); in CollectArguments()
1647 stackFrameOffset = EmulatedStackFrame.getSize(combinerRType); in FoldArguments()
1748 bytesCopied += EmulatedStackFrame.getSize(ptype); in transform()
/libcore/ojluni/src/main/java/sun/misc/
DURLClassPath.java999 { return (int)entry.getSize(); }
/libcore/ojluni/src/main/java/sun/net/ftp/impl/
DFtpClient.java1747 public long getSize(String path) throws sun.net.ftp.FtpProtocolException, IOException { in getSize() method in FtpClient

12