![]() |
Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
|
#include "Precomp.h"#include <string.h>#include "CpuArch.h"#include "LzFind.h"#include "LzHash.h"Macros | |
| #define | kBlockMoveAlign (1 << 7) |
| #define | kBlockSizeAlign (1 << 16) |
| #define | kBlockSizeReserveMin (1 << 24) |
| #define | kEmptyHashValue 0 |
| #define | kMaxValForNormalize ((UInt32)0) |
| #define | GET_AVAIL_BYTES(p) |
| #define | kFix5HashSize kFix4HashSize |
| #define | HASH2_CALC hv = GetUi16(cur); |
| #define | HASH3_CALC |
| #define | HASH4_CALC |
| #define | HASH5_CALC |
| #define | HASH_ZIP_CALC hv = ((cur[2] | ((UInt32)cur[0] << 8)) ^ p->crc[cur[1]]) & 0xFFFF; |
| #define | kCrcPoly 0xEDB88320 |
| #define | NUM_REFS_ALIGN_MASK 0xF |
| #define | CYC_TO_POS_OFFSET 0 |
| #define | SASUB_32(i) |
| #define | DEFAULT_SaturSub LzFind_SaturSub_32 |
| #define | LZFIND_NORM_ALIGN_BLOCK_SIZE (1 << 7) |
| #define | MOVE_POS |
| #define | MOVE_POS_RET MOVE_POS return distances; |
| #define | GET_MATCHES_HEADER2(minLen, ret_op) |
| #define | GET_MATCHES_HEADER(minLen) |
| #define | SKIP_HEADER(minLen) |
| #define | MF_PARAMS(p) |
| #define | SKIP_FOOTER SkipMatchesSpec(MF_PARAMS(p)); MOVE_POS } while (--num); |
| #define | GET_MATCHES_FOOTER_BASE(_maxLen_, func) |
| #define | GET_MATCHES_FOOTER_BT(_maxLen_) |
| #define | GET_MATCHES_FOOTER_HC(_maxLen_) |
| #define | UPDATE_maxLen |
| #define | SET_mmm |
| #define | HC_SKIP_HEADER(minLen) |
| #define | HC_SKIP_FOOTER |
| #define CYC_TO_POS_OFFSET 0 |
| #define DEFAULT_SaturSub LzFind_SaturSub_32 |
| #define GET_AVAIL_BYTES | ( | p | ) |
| #define GET_MATCHES_FOOTER_BASE | ( | _maxLen_, | |
| func ) |
| #define GET_MATCHES_FOOTER_BT | ( | _maxLen_ | ) |
| #define GET_MATCHES_FOOTER_HC | ( | _maxLen_ | ) |
| #define GET_MATCHES_HEADER | ( | minLen | ) |
| #define GET_MATCHES_HEADER2 | ( | minLen, | |
| ret_op ) |
| #define HASH2_CALC hv = GetUi16(cur); |
| #define HASH3_CALC |
| #define HASH4_CALC |
| #define HASH5_CALC |
| #define HASH_ZIP_CALC hv = ((cur[2] | ((UInt32)cur[0] << 8)) ^ p->crc[cur[1]]) & 0xFFFF; |
| #define HC_SKIP_FOOTER |
| #define HC_SKIP_HEADER | ( | minLen | ) |
| #define kBlockMoveAlign (1 << 7) |
| #define kBlockSizeAlign (1 << 16) |
| #define kBlockSizeReserveMin (1 << 24) |
| #define kCrcPoly 0xEDB88320 |
| #define kEmptyHashValue 0 |
| #define kFix5HashSize kFix4HashSize |
| #define kMaxValForNormalize ((UInt32)0) |
| #define LZFIND_NORM_ALIGN_BLOCK_SIZE (1 << 7) |
| #define MF_PARAMS | ( | p | ) |
| #define MOVE_POS |
| #define MOVE_POS_RET MOVE_POS return distances; |
| #define NUM_REFS_ALIGN_MASK 0xF |
| #define SASUB_32 | ( | i | ) |
| #define SET_mmm |
| #define SKIP_HEADER | ( | minLen | ) |
| #define UPDATE_maxLen |
| UInt32 * Bt3Zip_MatchFinder_GetMatches | ( | CMatchFinder * | p, |
| UInt32 * | distances ) |
| void Bt3Zip_MatchFinder_Skip | ( | CMatchFinder * | p, |
| UInt32 | num ) |
| Z7_FORCE_INLINE UInt32 * GetMatchesSpec1 | ( | UInt32 | lenLimit, |
| UInt32 | curMatch, | ||
| UInt32 | pos, | ||
| const Byte * | cur, | ||
| CLzRef * | son, | ||
| size_t | _cyclicBufferPos, | ||
| UInt32 | _cyclicBufferSize, | ||
| UInt32 | cutValue, | ||
| UInt32 * | d, | ||
| UInt32 | maxLen ) |
| UInt32 * Hc3Zip_MatchFinder_GetMatches | ( | CMatchFinder * | p, |
| UInt32 * | distances ) |
| void Hc3Zip_MatchFinder_Skip | ( | CMatchFinder * | p, |
| UInt32 | num ) |
| void LzFindPrepare | ( | void | ) |
| void MatchFinder_Construct | ( | CMatchFinder * | p | ) |
| int MatchFinder_Create | ( | CMatchFinder * | p, |
| UInt32 | historySize, | ||
| UInt32 | keepAddBufferBefore, | ||
| UInt32 | matchMaxLen, | ||
| UInt32 | keepAddBufferAfter, | ||
| ISzAllocPtr | alloc ) |
| void MatchFinder_CreateVTable | ( | CMatchFinder * | p, |
| IMatchFinder2 * | vTable ) |
| void MatchFinder_Free | ( | CMatchFinder * | p, |
| ISzAllocPtr | alloc ) |
| void MatchFinder_Init | ( | CMatchFinder * | p | ) |
| void MatchFinder_Init_4 | ( | CMatchFinder * | p | ) |
| void MatchFinder_Init_HighHash | ( | CMatchFinder * | p | ) |
| void MatchFinder_Init_LowHash | ( | CMatchFinder * | p | ) |
| Z7_NO_INLINE void MatchFinder_MoveBlock | ( | CMatchFinder * | p | ) |
| int MatchFinder_NeedMove | ( | CMatchFinder * | p | ) |
| Z7_NO_INLINE void MatchFinder_Normalize3 | ( | UInt32 | subValue, |
| CLzRef * | items, | ||
| size_t | numItems ) |
| void MatchFinder_ReadIfRequired | ( | CMatchFinder * | p | ) |