Home
last modified time | relevance | path

Searched refs:originalSize (Results 1 – 25 of 28) sorted by relevance

12

/external/okio/okio/src/jvmTest/java/okio/
DBufferCursorTest.java224 long originalSize = buffer.size(); in enlarge() local
230 assertEquals(originalSize, cursor.resizeBuffer(originalSize + 3)); in enlarge()
231 cursor.seek(originalSize); in enlarge()
233 cursor.seek(originalSize + 1); in enlarge()
235 cursor.seek(originalSize + 2); in enlarge()
244 long originalSize = buffer.size(); in enlargeByManySegments() local
250 cursor.resizeBuffer(originalSize + 1_000_000); in enlargeByManySegments()
251 cursor.seek(originalSize); in enlargeByManySegments()
301 long originalSize = buffer.size(); in shrink() local
304 deepCopy(buffer).copyTo(expected, 0, originalSize - 3); in shrink()
[all …]
/external/lzma/C/
D7zFile.c101 size_t originalSize = *size; in File_Read() local
102 if (originalSize == 0) in File_Read()
110 DWORD curSize = (originalSize > kChunkSizeMax) ? kChunkSizeMax : (DWORD)originalSize; in File_Read()
114 originalSize -= processed; in File_Read()
121 while (originalSize > 0); in File_Read()
126 *size = fread(data, 1, originalSize, p->file); in File_Read()
127 if (*size == originalSize) in File_Read()
136 size_t originalSize = *size; in File_Write() local
137 if (originalSize == 0) in File_Write()
145 DWORD curSize = (originalSize > kChunkSizeMax) ? kChunkSizeMax : (DWORD)originalSize; in File_Write()
[all …]
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/
DPluralRulesUtil.java69 int originalSize = values.size(); in getKeywordStatus() local
76 if (originalSize > explicits.size()) { in getKeywordStatus()
77 return originalSize == 1 ? KeywordStatus.UNIQUE : KeywordStatus.BOUNDED; in getKeywordStatus()
91 return originalSize == 1 ? KeywordStatus.UNIQUE : KeywordStatus.BOUNDED; in getKeywordStatus()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DSpliteratorTester.java206 long originalSize = spliterator.estimateSize(); in trySplitTestingSize() local
208 if (spliterator.estimateSize() > originalSize) { in trySplitTestingSize()
212 spliterator.estimateSize(), originalSize)); in trySplitTestingSize()
215 if (trySplit.estimateSize() > originalSize) { in trySplitTestingSize()
219 trySplit.estimateSize(), originalSize)); in trySplitTestingSize()
226 originalSize, in trySplitTestingSize()
231 originalSize, in trySplitTestingSize()
/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/integrationtests/nativegraphics/
DShadowNativeBitmapFactoryTest.java236 int originalSize = start.getByteCount(); in testDecodeReuseBasic() local
237 assertEquals(originalSize, start.getAllocationByteCount()); in testDecodeReuseBasic()
244 assertEquals(originalSize, pass.getByteCount()); in testDecodeReuseBasic()
245 assertEquals(originalSize, pass.getAllocationByteCount()); in testDecodeReuseBasic()
362 int originalSize = original.getByteCount(); in testDecodeReuseScaling() local
363 assertEquals(originalSize, original.getAllocationByteCount()); in testDecodeReuseScaling()
370 assertEquals(originalSize, reduced.getAllocationByteCount()); in testDecodeReuseScaling()
371 assertEquals(originalSize, reduced.getByteCount() * 16); in testDecodeReuseScaling()
381 int originalSize = original.getByteCount(); in testDecodeReuseDoubleScaling() local
393 assertEquals(originalSize, doubleScaled.getByteCount()); in testDecodeReuseDoubleScaling()
/external/lz4/lib/
Dlz4.h793 …") LZ4LIB_API int LZ4_decompress_fast_withPrefix64k (const char* src, char* dst, int originalSize);
822 LZ4LIB_API int LZ4_decompress_fast (const char* src, char* dst, int originalSize);
824 …fast_continue (LZ4_streamDecode_t* LZ4_streamDecode, const char* src, char* dst, int originalSize);
826 LZ4LIB_API int LZ4_decompress_fast_usingDict (const char* src, char* dst, int originalSize, const c…
Dlz4.c2362 int LZ4_decompress_fast(const char* source, char* dest, int originalSize) in LZ4_decompress_fast() argument
2366 (const BYTE*)source, (BYTE*)dest, originalSize, in LZ4_decompress_fast()
2390 int LZ4_decompress_fast_withPrefix64k(const char* source, char* dest, int originalSize) in LZ4_decompress_fast_withPrefix64k() argument
2393 (const BYTE*)source, (BYTE*)dest, originalSize, in LZ4_decompress_fast_withPrefix64k()
2438 static int LZ4_decompress_fast_extDict(const char* source, char* dest, int originalSize, in LZ4_decompress_fast_extDict() argument
2442 (const BYTE*)source, (BYTE*)dest, originalSize, in LZ4_decompress_fast_extDict()
2565 const char* source, char* dest, int originalSize) in LZ4_decompress_fast_continue() argument
2571 DEBUGLOG(5, "LZ4_decompress_fast_continue (toDecodeSize=%i)", originalSize); in LZ4_decompress_fast_continue()
2572 assert(originalSize >= 0); in LZ4_decompress_fast_continue()
2577 result = LZ4_decompress_fast(source, dest, originalSize); in LZ4_decompress_fast_continue()
[all …]
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/arj/
DLocalFileHeader.java32 long originalSize; field in LocalFileHeader
95 builder.append(originalSize); in toString()
DArjArchiveEntry.java67 return localFileHeader.originalSize; in getSize()
DArjArchiveInputStream.java236 localFileHeader.originalSize = 0xffffFFFFL & read32(firstHeader); in readLocalFileHeader()
329 currentLocalFileHeader.originalSize, currentLocalFileHeader.originalCrc32); in getNextEntry()
/external/sl4a/InterpreterForAndroid/src/com/googlecode/android_scripting/
DZipExtractorTask.java207 long originalSize = 0l; in getOriginalSize() local
211 originalSize += entry.getSize(); in getOriginalSize()
214 return originalSize; in getOriginalSize()
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DCollectionIteratorTester.java85 int originalSize = collection.size(); in testIterator_removeAffectsBackingCollection() local
96 assertEquals(originalSize - 1, collection.size()); in testIterator_removeAffectsBackingCollection()
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/testers/
DCollectionIteratorTester.java85 int originalSize = collection.size(); in testIterator_removeAffectsBackingCollection() local
96 assertEquals(originalSize - 1, collection.size()); in testIterator_removeAffectsBackingCollection()
/external/zstd/lib/common/
Dfse_decompress.c294 size_t FSE_decompress_usingDTable(void* dst, size_t originalSize, in FSE_decompress_usingDTable() argument
303 … if (fastMode) return FSE_decompress_usingDTable_generic(dst, originalSize, cSrc, cSrcSize, dt, 1); in FSE_decompress_usingDTable()
304 return FSE_decompress_usingDTable_generic(dst, originalSize, cSrc, cSrcSize, dt, 0); in FSE_decompress_usingDTable()
Dhuf.h67 HUF_PUBLIC_API size_t HUF_decompress(void* dst, size_t originalSize,
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/
DZip64SupportIT.java413 final byte[] originalSize = new byte[4];
414 a.readFully(originalSize);
418 }, originalSize);
422 }, originalSize);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DPluralRules.java2673 int originalSize = values.size(); in getKeywordStatus() local
2681 if (originalSize > explicits.size()) { in getKeywordStatus()
2682 if (originalSize == 1) { in getKeywordStatus()
2708 return originalSize == 1 ? KeywordStatus.UNIQUE : KeywordStatus.BOUNDED; in getKeywordStatus()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DPluralRules.java2718 int originalSize = values.size(); in getKeywordStatus() local
2726 if (originalSize > explicits.size()) { in getKeywordStatus()
2727 if (originalSize == 1) { in getKeywordStatus()
2753 return originalSize == 1 ? KeywordStatus.UNIQUE : KeywordStatus.BOUNDED; in getKeywordStatus()
/external/doclava/res/assets/templates/assets/
Djquery-resizable.min.js40originalSize=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.…
/external/zstd/lib/legacy/
Dzstd_v01.c884 static size_t FSE_decompress_usingDTable(void* dst, size_t originalSize, in FSE_decompress_usingDTable() argument
892 …if (DTableH.fastMode) return FSE_decompress_usingDTable_generic(dst, originalSize, cSrc, cSrcSize,… in FSE_decompress_usingDTable()
893 return FSE_decompress_usingDTable_generic(dst, originalSize, cSrc, cSrcSize, dt, 0); in FSE_decompress_usingDTable()
Dzstd_v03.c1408 static size_t FSE_decompress_usingDTable(void* dst, size_t originalSize, in FSE_decompress_usingDTable() argument
1416 …if (DTableH.fastMode) return FSE_decompress_usingDTable_generic(dst, originalSize, cSrc, cSrcSize,… in FSE_decompress_usingDTable()
1417 return FSE_decompress_usingDTable_generic(dst, originalSize, cSrc, cSrcSize, dt, 0); in FSE_decompress_usingDTable()
Dzstd_v04.c1387 static size_t FSE_decompress_usingDTable(void* dst, size_t originalSize, in FSE_decompress_usingDTable() argument
1398 … if (fastMode) return FSE_decompress_usingDTable_generic(dst, originalSize, cSrc, cSrcSize, dt, 1); in FSE_decompress_usingDTable()
1399 return FSE_decompress_usingDTable_generic(dst, originalSize, cSrc, cSrcSize, dt, 0); in FSE_decompress_usingDTable()
Dzstd_v02.c1407 static size_t FSE_decompress_usingDTable(void* dst, size_t originalSize, in FSE_decompress_usingDTable() argument
1415 …if (DTableH.fastMode) return FSE_decompress_usingDTable_generic(dst, originalSize, cSrc, cSrcSize,… in FSE_decompress_usingDTable()
1416 return FSE_decompress_usingDTable_generic(dst, originalSize, cSrc, cSrcSize, dt, 0); in FSE_decompress_usingDTable()
/external/deqp/android/cts/runner/src/com/drawelements/deqp/runner/
DDeqpTestRunner.java2471 private void updateRuntimeHint(long originalSize, Collection<IRemoteTest> runners) { in updateRuntimeHint() argument
2472 if (originalSize > 0) { in updateRuntimeHint()
2476 long shardRuntime = (fullRuntimeMs * runner.mTestInstances.size()) / originalSize; in updateRuntimeHint()
/external/doclava/res/assets/templates-sdk/assets/js/
Dandroid_3p-bundle.js2670originalSize=this._helper?{width:f.outerWidth(),height:f.outerHeight()}:{width:f.width(),height:f.…
2694 …on(c){function h(a){return{originalPosition:a.originalPosition,originalSize:a.originalSize,positio…

12