Lines Matching defs:dest

741 int LZ4_compress_forceExtDict (LZ4_stream_t* LZ4_dict, const char* source, char* dest, int srcSize);
743 int LZ4_decompress_safe_forceExtDict(const char* source, char* dest,
746 int LZ4_decompress_safe_partial_forceExtDict(const char* source, char* dest,
913 char* const dest,
952 BYTE* op = (BYTE*) dest;
1298 result = (int)(((char*)op) - dest);
1346 int LZ4_compress_fast_extState(void* state, const char* source, char* dest, int inputSize, int maxOutputSize, int acceleration)
1354 return LZ4_compress_generic(ctx, source, dest, inputSize, NULL, 0, notLimited, byU16, noDict, noDictIssue, acceleration);
1357 return LZ4_compress_generic(ctx, source, dest, inputSize, NULL, 0, notLimited, tableType, noDict, noDictIssue, acceleration);
1361 return LZ4_compress_generic(ctx, source, dest, inputSize, NULL, maxOutputSize, limitedOutput, byU16, noDict, noDictIssue, acceleration);
1364 return LZ4_compress_generic(ctx, source, dest, inputSize, NULL, maxOutputSize, limitedOutput, tableType, noDict, noDictIssue, acceleration);
1416 int LZ4_compress_fast(const char* source, char* dest, int inputSize, int maxOutputSize, int acceleration)
1426 result = LZ4_compress_fast_extState(ctxPtr, source, dest, inputSize, maxOutputSize, acceleration);
1633 const char* source, char* dest,
1673 return LZ4_compress_generic(streamPtr, source, dest, inputSize, NULL, maxOutputSize, limitedOutput, tableType, withPrefix64k, dictSmall, acceleration);
1675 return LZ4_compress_generic(streamPtr, source, dest, inputSize, NULL, maxOutputSize, limitedOutput, tableType, withPrefix64k, noDictIssue, acceleration);
1693 result = LZ4_compress_generic(streamPtr, source, dest, inputSize, NULL, maxOutputSize, limitedOutput, tableType, usingExtDict, noDictIssue, acceleration);
1695 result = LZ4_compress_generic(streamPtr, source, dest, inputSize, NULL, maxOutputSize, limitedOutput, tableType, usingDictCtx, noDictIssue, acceleration);
1699 result = LZ4_compress_generic(streamPtr, source, dest, inputSize, NULL, maxOutputSize, limitedOutput, tableType, usingExtDict, dictSmall, acceleration);
1701 result = LZ4_compress_generic(streamPtr, source, dest, inputSize, NULL, maxOutputSize, limitedOutput, tableType, usingExtDict, noDictIssue, acceleration);
1712 int LZ4_compress_forceExtDict (LZ4_stream_t* LZ4_dict, const char* source, char* dest, int srcSize)
1720 result = LZ4_compress_generic(streamPtr, source, dest, srcSize, NULL, 0, notLimited, byU32, usingExtDict, dictSmall, 1);
1722 result = LZ4_compress_generic(streamPtr, source, dest, srcSize, NULL, 0, notLimited, byU32, usingExtDict, noDictIssue, 1);
2345 int LZ4_decompress_safe(const char* source, char* dest, int compressedSize, int maxDecompressedSize)
2347 return LZ4_decompress_generic(source, dest, compressedSize, maxDecompressedSize,
2349 (BYTE*)dest, NULL, 0);
2362 int LZ4_decompress_fast(const char* source, char* dest, int originalSize)
2366 (const BYTE*)source, (BYTE*)dest, originalSize,
2373 int LZ4_decompress_safe_withPrefix64k(const char* source, char* dest, int compressedSize, int maxOutputSize)
2375 return LZ4_decompress_generic(source, dest, compressedSize, maxOutputSize,
2377 (BYTE*)dest - 64 KB, NULL, 0);
2381 static int LZ4_decompress_safe_partial_withPrefix64k(const char* source, char* dest, int compressedSize, int targetOutputSize, int dstCapacity)
2384 return LZ4_decompress_generic(source, dest, compressedSize, dstCapacity,
2386 (BYTE*)dest - 64 KB, NULL, 0);
2390 int LZ4_decompress_fast_withPrefix64k(const char* source, char* dest, int originalSize)
2393 (const BYTE*)source, (BYTE*)dest, originalSize,
2398 static int LZ4_decompress_safe_withSmallPrefix(const char* source, char* dest, int compressedSize, int maxOutputSize,
2401 return LZ4_decompress_generic(source, dest, compressedSize, maxOutputSize,
2403 (BYTE*)dest-prefixSize, NULL, 0);
2407 static int LZ4_decompress_safe_partial_withSmallPrefix(const char* source, char* dest, int compressedSize, int targetOutputSize, int dstCapacity,
2411 return LZ4_decompress_generic(source, dest, compressedSize, dstCapacity,
2413 (BYTE*)dest-prefixSize, NULL, 0);
2417 int LZ4_decompress_safe_forceExtDict(const char* source, char* dest,
2421 return LZ4_decompress_generic(source, dest, compressedSize, maxOutputSize,
2423 (BYTE*)dest, (const BYTE*)dictStart, dictSize);
2427 int LZ4_decompress_safe_partial_forceExtDict(const char* source, char* dest,
2432 return LZ4_decompress_generic(source, dest, compressedSize, dstCapacity,
2434 (BYTE*)dest, (const BYTE*)dictStart, dictSize);
2438 static int LZ4_decompress_fast_extDict(const char* source, char* dest, int originalSize,
2442 (const BYTE*)source, (BYTE*)dest, originalSize,
2451 int LZ4_decompress_safe_doubleDict(const char* source, char* dest, int compressedSize, int maxOutputSize,
2454 return LZ4_decompress_generic(source, dest, compressedSize, maxOutputSize,
2456 (BYTE*)dest-prefixSize, (const BYTE*)dictStart, dictSize);
2524 int LZ4_decompress_safe_continue (LZ4_streamDecode_t* LZ4_streamDecode, const char* source, char* dest, int compressedSize, int maxOutputSize)
2532 result = LZ4_decompress_safe(source, dest, compressedSize, maxOutputSize);
2535 lz4sd->prefixEnd = (BYTE*)dest + result;
2536 } else if (lz4sd->prefixEnd == (BYTE*)dest) {
2539 result = LZ4_decompress_safe_withPrefix64k(source, dest, compressedSize, maxOutputSize);
2541 result = LZ4_decompress_safe_withSmallPrefix(source, dest, compressedSize, maxOutputSize,
2544 result = LZ4_decompress_safe_doubleDict(source, dest, compressedSize, maxOutputSize,
2553 result = LZ4_decompress_safe_forceExtDict(source, dest, compressedSize, maxOutputSize,
2557 lz4sd->prefixEnd = (BYTE*)dest + result;
2565 const char* source, char* dest, int originalSize)
2577 result = LZ4_decompress_fast(source, dest, originalSize);
2580 lz4sd->prefixEnd = (BYTE*)dest + originalSize;
2581 } else if (lz4sd->prefixEnd == (BYTE*)dest) {
2584 (const BYTE*)source, (BYTE*)dest, originalSize,
2594 result = LZ4_decompress_fast_extDict(source, dest, originalSize,
2598 lz4sd->prefixEnd = (BYTE*)dest + originalSize;
2612 int LZ4_decompress_safe_usingDict(const char* source, char* dest, int compressedSize, int maxOutputSize, const char* dictStart, int dictSize)
2615 return LZ4_decompress_safe(source, dest, compressedSize, maxOutputSize);
2616 if (dictStart+dictSize == dest) {
2618 return LZ4_decompress_safe_withPrefix64k(source, dest, compressedSize, maxOutputSize);
2621 return LZ4_decompress_safe_withSmallPrefix(source, dest, compressedSize, maxOutputSize, (size_t)dictSize);
2624 return LZ4_decompress_safe_forceExtDict(source, dest, compressedSize, maxOutputSize, dictStart, (size_t)dictSize);
2627 int LZ4_decompress_safe_partial_usingDict(const char* source, char* dest, int compressedSize, int targetOutputSize, int dstCapacity, const char* dictStart, int dictSize)
2630 return LZ4_decompress_safe_partial(source, dest, compressedSize, targetOutputSize, dstCapacity);
2631 if (dictStart+dictSize == dest) {
2633 return LZ4_decompress_safe_partial_withPrefix64k(source, dest, compressedSize, targetOutputSize, dstCapacity);
2636 return LZ4_decompress_safe_partial_withSmallPrefix(source, dest, compressedSize, targetOutputSize, dstCapacity, (size_t)dictSize);
2639 return LZ4_decompress_safe_partial_forceExtDict(source, dest, compressedSize, targetOutputSize, dstCapacity, dictStart, (size_t)dictSize);
2642 int LZ4_decompress_fast_usingDict(const char* source, char* dest, int originalSize, const char* dictStart, int dictSize)
2644 if (dictSize==0 || dictStart+dictSize == dest)
2646 (const BYTE*)source, (BYTE*)dest, originalSize,
2649 return LZ4_decompress_fast_extDict(source, dest, originalSize, dictStart, (size_t)dictSize);
2657 int LZ4_compress_limitedOutput(const char* source, char* dest, int inputSize, int maxOutputSize)
2659 return LZ4_compress_default(source, dest, inputSize, maxOutputSize);
2661 int LZ4_compress(const char* src, char* dest, int srcSize)
2663 return LZ4_compress_default(src, dest, srcSize, LZ4_compressBound(srcSize));
2677 int LZ4_compress_continue (LZ4_stream_t* LZ4_stream, const char* source, char* dest, int inputSize)
2679 return LZ4_compress_fast_continue(LZ4_stream, source, dest, inputSize, LZ4_compressBound(inputSize), 1);
2688 int LZ4_uncompress (const char* source, char* dest, int outputSize)
2690 return LZ4_decompress_fast(source, dest, outputSize);
2692 int LZ4_uncompress_unknownOutputSize (const char* source, char* dest, int isize, int maxOutputSize)
2694 return LZ4_decompress_safe(source, dest, isize, maxOutputSize);