/external/apache-commons-io/src/test/java/org/apache/commons/io/output/ |
D | DeferredFileOutputStreamTest.java | 84 assertEquals(testFile.length(), dfos.getByteCount()); in testAboveThreshold() 112 assertEquals(testFile.length(), dfos.getByteCount()); in testAboveThresholdGetInputStream() 137 assertEquals(testBytes.length, dfos.getByteCount()); in testAtThreshold() 160 assertEquals(testBytes.length, dfos.getByteCount()); in testBelowThreshold() 183 assertEquals(testBytes.length, dfos.getByteCount()); in testBelowThresholdGetInputStream() 215 assertEquals(testBytes.length, dfos.getByteCount()); in testTempFileAboveThreshold() 255 assertEquals(testBytes.length, dfos.getByteCount()); in testTempFileAboveThresholdPrefixOnly() 284 assertEquals(testBytes.length, dfos.getByteCount()); in testTempFileBelowThreshold() 328 assertEquals(testBytes.length, dfos.getByteCount()); in testThresholdReached() 352 assertEquals(testBytes.length, dfos.getByteCount()); in testWriteToLarge() [all …]
|
D | CountingOutputStreamTest.java | 96 assertEquals(size, cos.getByteCount(), "getByteCount()"); in testLargeFiles_IO84()
|
/external/sdk-platform-java/gax-java/gax/src/test/java/com/google/api/gax/rpc/ |
D | BatchTest.java | 59 Truth.assertThat(batch.getByteCount()).isEqualTo(2); in testConstructor() 72 Truth.assertThat(batch1.getByteCount()).isEqualTo(3); in testMerge() 86 Truth.assertThat(batch1.getByteCount()).isEqualTo(2); in testMergeStartEmpty() 121 Truth.assertThat(batch1.getByteCount()).isEqualTo(3); in testBatchMergerImpl()
|
/external/apache-commons-io/src/main/java/org/apache/commons/io/output/ |
D | CountingOutputStream.java | 66 public synchronized long getByteCount() { in getByteCount() method in CountingOutputStream 82 final long result = getByteCount(); in getCount()
|
D | ThresholdingOutputStream.java | 142 public long getByteCount() { in getByteCount() method in ThresholdingOutputStream
|
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowBitmapTest.java | 265 assertThat(b1.getByteCount()).isEqualTo(400); in byteCountIsAccurate() 267 assertThat(b2.getByteCount()).isEqualTo(200); in byteCountIsAccurate() 271 b3.getByteCount(); in byteCountIsAccurate() 498 ByteBuffer buffer = ByteBuffer.allocate(bitmapOriginal.getByteCount()); in shouldCopyPixelsToBufferAndReconstruct() 500 assertThat(buffer.position()).isEqualTo(bitmapOriginal.getByteCount()); in shouldCopyPixelsToBufferAndReconstruct() 508 assertThat(buffer.position()).isEqualTo(bitmapOriginal.getByteCount()); in shouldCopyPixelsToBufferAndReconstruct() 525 assertThat(compressedImageByteArray.length).isLessThan(bitmap.getByteCount()); in compress_shouldLessThanBeforeForWebp() 555 ShortBuffer buffer = ShortBuffer.allocate(bitmapOriginal.getByteCount()); in throwsExceptionCopyPixelsToShortBuffer() 562 LongBuffer buffer = LongBuffer.allocate(bitmapOriginal.getByteCount()); in throwsExceptionCopyPixelsToLongBuffer() 569 ByteBuffer buffer = ByteBuffer.allocate(bitmapOriginal.getByteCount() - 1); in throwsExceptionCopyPixelsToBufferTooSmall() [all …]
|
/external/apache-commons-io/src/main/java/org/apache/commons/io/input/ |
D | CountingInputStream.java | 71 public synchronized long getByteCount() { in getByteCount() method in CountingInputStream 87 final long result = getByteCount(); in getCount()
|
/external/sdk-platform-java/gax-java/gax/src/main/java/com/google/api/gax/rpc/ |
D | Batch.java | 85 public long getByteCount() { in getByteCount() method in Batch 117 return batch.getByteCount(); in count()
|
/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/shadows/ |
D | ShadowNativeBitmapFactoryTest.java | 239 int originalSize = start.getByteCount(); in testDecodeReuseBasic() 247 assertEquals(originalSize, pass.getByteCount()); in testDecodeReuseBasic() 361 int originalSize = original.getByteCount(); in testDecodeReuseScaling() 370 assertEquals(originalSize, reduced.getByteCount() * 16); in testDecodeReuseScaling() 380 int originalSize = original.getByteCount(); in testDecodeReuseDoubleScaling() 392 assertEquals(originalSize, doubleScaled.getByteCount()); in testDecodeReuseDoubleScaling()
|
D | ShadowNativeBitmapTest.java | 779 assertEquals(bitmap.getByteCount(), alloc); in testGetAllocationByteCount() 783 assertEquals(bitmap.getByteCount(), alloc); in testGetAllocationByteCount() 788 assertEquals(100, bitmap.getByteCount()); in testGetAllocationByteCount() 897 assertEquals(bitmap.getByteCount() * 8, alloc); in testReconfigure() 1156 assertEquals(bitmap.getByteCount() * 2, alloc); in testSetConfig() 1181 assertEquals(bitmap.getByteCount() * 2, alloc); in testSetHeight() 1424 assertEquals(bitmap.getByteCount() * 2, alloc); in testSetWidth()
|
/external/apache-commons-io/src/test/java/org/apache/commons/io/input/ |
D | CountingInputStreamTest.java | 127 assertEquals(size, cis.getByteCount(), "getByteCount()"); in testLargeFiles_IO84()
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/robolectricutils/src/main/java/com/google/android/exoplayer2/robolectric/ |
D | PlaybackOutput.java | 194 byte[] bytes = new byte[bitmap.getByteCount()]; in dumpBitmap()
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/robolectricutils/src/main/java/com/google/android/exoplayer2/robolectric/ |
D | PlaybackOutput.java | 194 byte[] bytes = new byte[bitmap.getByteCount()]; in dumpBitmap()
|
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/ |
D | EglRendererTest.java | 231 ByteBuffer bitmapBuffer = ByteBuffer.allocateDirect(bitmap.getByteCount()); in checkBitmapContent()
|
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowLegacyBitmap.java | 524 protected int getByteCount() { in getByteCount() method in ShadowLegacyBitmap
|
/external/apache-commons-io/src/test/java/org/apache/commons/io/ |
D | IOUtilsTest.java | 1748 assertEquals(repeat, os.getByteCount()); in testWriteBigString() 1768 assertEquals(data.length(), os.getByteCount()); in testWriteLittleString()
|
/external/apache-commons-io/ |
D | RELEASE-NOTES.txt | 1574 - new long based methods getByteCount()/resetByteCount() added
|