/external/lz4/lib/ |
lz4.h | 73 int LZ4_decompress_safe (const char* source, char* dest, int compressedSize, int maxDecompressedSize); 86 compressedSize : is obviously the source size 158 This function decompress a compressed block of size 'compressedSize' at position 'source' 168 int LZ4_decompress_safe_partial (const char* source, char* dest, int compressedSize, int targetOutputSize, int maxDecompressedSize); 271 int LZ4_decompress_safe_continue (LZ4_streamDecode_t* LZ4_streamDecode, const char* source, char* dest, int compressedSize, int maxDecompressedSize); 282 int LZ4_decompress_safe_usingDict (const char* source, char* dest, int compressedSize, int maxDecompressedSize, const char* dictStart, int dictSize); 309 int LZ4_decompress_safe_withPrefix64k (const char* source, char* dest, int compressedSize, int maxOutputSize);
|
lz4.c | [all...] |
/external/skia/tests/ |
FlateTest.cpp | 62 size_t compressedSize = compressed.getOffset(); 76 REPORTER_ASSERT(reporter, compressedSize == inputSize); 92 if (compressedSize < 1) { return; } 94 double compressionRatio = static_cast<double>(dataSize) / compressedSize; 102 dataSize, compressedSize, compressionRatio);
|
/libcore/benchmarks/src/benchmarks/ |
BufferedZipFileBenchmark.java | 31 @Param({"128", "1024", "8192", "65536"}) int compressedSize; 45 while (written < compressedSize) { 47 int toWrite = Math.min(compressedSize - written, data.length);
|
/libcore/luni/src/main/java/java/util/zip/ |
ZipEntry.java | 46 long compressedSize = -1; 70 public ZipEntry(String name, String comment, long crc, long compressedSize, 76 this.compressedSize = compressedSize; 116 return compressedSize; 221 compressedSize = value; 340 compressedSize = ze.compressedSize; 413 compressedSize = ((long) it.readInt()) & 0xffffffffL;
|
Zip64.java | 204 if (ze.compressedSize == MAX_ZIP_ENTRY_AND_ARCHIVE_SIZE) { 205 ze.compressedSize = buf.getLong(); 225 // We have to check that the compressedSize / size / localHeaderRelOffset values 228 if (ze.compressedSize == MAX_ZIP_ENTRY_AND_ARCHIVE_SIZE || 232 + "name=" + ze.name + "compressedSize=" + ze.compressedSize + ", size=" 313 bb.putLong(ze.compressedSize); 366 * We choose the simplest strategy of always writing out the size, compressedSize and 383 buf.putLong(ze.compressedSize);
|
ZipInputStream.java | 205 currentEntry.compressedSize = Memory.peekLong(hdrBuf, EXTSIZ, ByteOrder.LITTLE_ENDIAN); 210 currentEntry.compressedSize = ((long) Memory.peekInt(hdrBuf, EXTSIZ, ByteOrder.LITTLE_ENDIAN)) & 0xffffffffL; 217 if (currentEntry.compressedSize != inB || currentEntry.size != out) {
|
ZipOutputStream.java | 195 currentEntry.compressedSize = def.getBytesWritten(); 202 writeLongAsUint64(out, currentEntry.compressedSize); 205 writeLongAsUint32(out, currentEntry.compressedSize); 376 if (ze.size != ze.compressedSize) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
IngestObjectInfo.java | 26 public IngestObjectInfo(int handle, long dateCreated, int format, int compressedSize) { 30 mCompressedSize = compressedSize;
|
/external/libvncserver/libvncserver/tightvnc-filetransfer/ |
rfbtightproto.h | 330 uint16_t compressedSize; 331 /* Followed by File[compressedSize], 332 but if (realSize = compressedSize = 0) followed by uint32_t modTime */ 402 uint16_t compressedSize; 404 /* Followed by Filenames[compressedSize] */ 417 uint16_t compressedSize; 419 but if (realSize = compressedSize = 0) followed by uint32_t modTime */
|
handlefiletransferrequest.c | 782 msg.fud.compressedSize = Swap16IfLE(msg.fud.compressedSize); 783 if((msg.fud.realSize == 0) && (msg.fud.compressedSize == 0)) { 799 pBuf = (char*) calloc(msg.fud.compressedSize, sizeof(char)); 804 if((n = rfbReadExact(cl, pBuf, msg.fud.compressedSize)) <= 0) { 840 rtcp->rcft.rcfu.fSize = msg.fud.compressedSize;
|
filetransfermsg.c | 194 pFLD->compressedSize = Swap16IfLE(0); 232 pFLD->compressedSize = pFLD->dataSize; 413 pFDD->compressedSize = Swap16IfLE(0); 447 pFDD->compressedSize = Swap16IfLE(sizeFile);
|
/external/lzma/Java/SevenZip/ |
LzmaBench.java | 339 int compressedSize = 0;
350 compressedSize = compressedStream.size();
351 inputCompressedStream = new MyInputStream(compressedBuffer, compressedSize);
353 else if (compressedSize != compressedStream.size())
376 PrintResults(dictionarySize, decodeTime, kBufferSize, true, compressedSize);
382 totalCompressedSize += compressedSize;
|
/frameworks/multidex/library/test/src/android/support/multidex/ |
ZipEntryReader.java | 70 long compressedSize = ((long) in.getInt()) & 0xffffffffL; 90 entry.setCompressedSize(compressedSize);
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
Zip64Test.java | 94 private static ZipEntry createZipEntry(byte[] extras, long size, long compressedSize, 96 return new ZipEntry("name", "comment", 42 /* crc */, compressedSize, size,
|
/external/lz4/programs/ |
fullbench.c | 134 int compressedSize; 523 chunkP[i].compressedSize = 0; 573 chunkP[chunkNb].compressedSize = compressionFunction(chunkP[chunkNb].origBuffer, chunkP[chunkNb].compressedBuffer, chunkP[chunkNb].origSize); 574 if (chunkP[chunkNb].compressedSize==0) DISPLAY("ERROR ! %s() = 0 !! \n", compressorName), exit(1); 583 cSize=0; for (chunkNb=0; chunkNb<nbChunks; chunkNb++) cSize += chunkP[chunkNb].compressedSize; 611 chunkP[i].compressedSize = 0; 616 chunkP[chunkNb].compressedSize = LZ4_compress(chunkP[chunkNb].origBuffer, chunkP[chunkNb].compressedBuffer, chunkP[chunkNb].origSize); 617 if (chunkP[chunkNb].compressedSize==0) DISPLAY("ERROR ! %s() = 0 !! \n", "LZ4_compress"), exit(1); 644 chunkP[0].compressedSize = (int)errorCode; 668 int decodedSize = decompressionFunction(chunkP[chunkNb].compressedBuffer, chunkP[chunkNb].origBuffer, chunkP[chunkNb].compressedSize, chunkP[chunkNb].origSize) [all...] |
bench.c | 121 int compressedSize; 327 chunkP[i].compressedSize = 0; 374 chunkP[chunkNb].compressedSize = compP.compressionFunction(chunkP[chunkNb].origBuffer, chunkP[chunkNb].compressedBuffer, chunkP[chunkNb].origSize, cLevel); 380 cSize=0; for (chunkNb=0; chunkNb<nbChunks; chunkNb++) cSize += chunkP[chunkNb].compressedSize; 395 chunkP[chunkNb].compressedSize = LZ4_decompress_fast(chunkP[chunkNb].compressedBuffer, chunkP[chunkNb].origBuffer, chunkP[chunkNb].origSize);
|
fuzzer.c | 343 int dictSize, blockSize, blockStart, compressedSize, HCcompressedSize; 380 compressedSize = ret; 390 FUZ_CHECKTEST(ret!=compressedSize, "LZ4_decompress_fast failed : did not fully read compressed data"); 409 ret = LZ4_decompress_safe(compressedBuffer, decodedBuffer, compressedSize, blockSize); 420 ret = LZ4_decompress_safe(compressedBuffer, decodedBuffer, compressedSize, blockSize+1); 431 ret = LZ4_decompress_safe(compressedBuffer, decodedBuffer, compressedSize, blockSize-1); 440 ret = LZ4_decompress_safe(compressedBuffer, decodedBuffer, compressedSize, blockSize-10); 447 ret = LZ4_decompress_safe(compressedBuffer, decodedBuffer, compressedSize-1, blockSize); 448 FUZ_CHECKTEST(ret>=0, "LZ4_decompress_safe should have failed, due to input size being one byte too short (blockSize=%i, ret=%i, compressedSize=%i)", blockSize, ret, compressedSize); [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/ |
ExportDialog.java | 192 float compressedSize = newArea / factor; 193 compressedSize *= mExportCompressionMargin; 194 float size = compressedSize / 1024.f / 1024.f;
|
/external/libvncserver/common/ |
turbojpeg.h | 511 unsigned long *compressedSize, int jpegSubsamp, int jpegQual, int flags);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/compression/ |
ExhaustiveTest.java | 92 int compressedSize = Math.max(512, 3 * len); 93 byte[] compressed = new byte[compressedSize];
|
/external/lzma/CPP/7zip/UI/Common/ |
Bench.cpp | 495 UInt32 compressedSize;
617 compressedSize = outStreamSpec->Pos;
642 inStreamSpec->Init(outStreamSpec->Buffer, compressedSize);
651 pi->BenchInfo.PackSize += compressedSize;
767 info.PackSize += encoder.compressedSize;
841 info.PackSize += encoder.compressedSize;
|
/external/lzma/CS/7zip/Compress/LzmaAlone/ |
LzmaBench.cs | 301 long compressedSize = compressedStream.Position;
323 PrintResults(dictionarySize, decodeTime, kBufferSize, true, (ulong)compressedSize);
329 totalCompressedSize += (ulong)compressedSize;
|
LzmaAlone.cs | 341 long compressedSize = inStream.Length - inStream.Position;
342 decoder.Code(inStream, outStream, compressedSize, outSize, null);
|
/external/lzma/CPP/7zip/UI/Console/ |
List.cpp | 183 const UInt64 *size, const UInt64 *compressedSize);
369 const UInt64 *size, const UInt64 *compressedSize)
379 PrintNumberString(fieldInfo.TextAdjustment, fieldInfo.Width, compressedSize);
|