Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
LzFind.h File Reference
#include "7zTypes.h"

Go to the source code of this file.

Data Structures

struct  CMatchFinder
 
struct  IMatchFinder2
 

Macros

#define Inline_MatchFinder_GetPointerToCurrentPos(p)
 
#define Inline_MatchFinder_GetNumAvailableBytes(p)
 
#define MatchFinder_SET_DIRECT_INPUT_BUF(p, _src_, _srcLen_)
 
#define MatchFinder_SET_STREAM(p, _stream_)
 
#define MatchFinder_REDUCE_OFFSETS(p, subValue)
 

Typedefs

typedef void(* Mf_Init_Func) (void *object)
 
typedef UInt32(* Mf_GetNumAvailableBytes_Func) (void *object)
 
typedef const Byte *(* Mf_GetPointerToCurrentPos_Func) (void *object)
 
typedef UInt32 *(* Mf_GetMatches_Func) (void *object, UInt32 *distances)
 
typedef void(* Mf_Skip_Func) (void *object, UInt32)
 

Functions

int MatchFinder_NeedMove (CMatchFinder *p)
 
void MatchFinder_MoveBlock (CMatchFinder *p)
 
void MatchFinder_ReadIfRequired (CMatchFinder *p)
 
void MatchFinder_Construct (CMatchFinder *p)
 
int MatchFinder_Create (CMatchFinder *p, UInt32 historySize, UInt32 keepAddBufferBefore, UInt32 matchMaxLen, UInt32 keepAddBufferAfter, ISzAllocPtr alloc)
 
void MatchFinder_Free (CMatchFinder *p, ISzAllocPtr alloc)
 
void MatchFinder_Normalize3 (UInt32 subValue, CLzRef *items, size_t numItems)
 
UInt32GetMatchesSpec1 (UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *buffer, CLzRef *son, size_t _cyclicBufferPos, UInt32 _cyclicBufferSize, UInt32 _cutValue, UInt32 *distances, UInt32 maxLen)
 
void MatchFinder_CreateVTable (CMatchFinder *p, IMatchFinder2 *vTable)
 
void MatchFinder_Init_LowHash (CMatchFinder *p)
 
void MatchFinder_Init_HighHash (CMatchFinder *p)
 
void MatchFinder_Init_4 (CMatchFinder *p)
 
void MatchFinder_Init (void *p)
 
UInt32Bt3Zip_MatchFinder_GetMatches (CMatchFinder *p, UInt32 *distances)
 
UInt32Hc3Zip_MatchFinder_GetMatches (CMatchFinder *p, UInt32 *distances)
 
void Bt3Zip_MatchFinder_Skip (CMatchFinder *p, UInt32 num)
 
void Hc3Zip_MatchFinder_Skip (CMatchFinder *p, UInt32 num)
 
void LzFindPrepare (void)
 

Variables

EXTERN_C_BEGIN typedef UInt32 CLzRef
 

Macro Definition Documentation

◆ Inline_MatchFinder_GetNumAvailableBytes

#define Inline_MatchFinder_GetNumAvailableBytes ( p)
Value:
((UInt32)((p)->streamPos - (p)->pos))
unsigned int UInt32
Definition bzlib_private.h:45

◆ Inline_MatchFinder_GetPointerToCurrentPos

#define Inline_MatchFinder_GetPointerToCurrentPos ( p)
Value:
((const Byte *)(p)->buffer)
unsigned char Byte
Definition zconf.h:391

◆ MatchFinder_REDUCE_OFFSETS

#define MatchFinder_REDUCE_OFFSETS ( p,
subValue )
Value:
(p)->pos -= (subValue); \
(p)->streamPos -= (subValue);

◆ MatchFinder_SET_DIRECT_INPUT_BUF

#define MatchFinder_SET_DIRECT_INPUT_BUF ( p,
_src_,
_srcLen_ )
Value:
{ \
(p)->stream = NULL; \
(p)->directInput = 1; \
(p)->buffer = (_src_); \
(p)->directInputRem = (_srcLen_); }
#define NULL
Definition getopt1.c:37

◆ MatchFinder_SET_STREAM

#define MatchFinder_SET_STREAM ( p,
_stream_ )
Value:
{ \
(p)->stream = _stream_; \
(p)->directInput = 0; }

Typedef Documentation

◆ Mf_GetMatches_Func

typedef UInt32 *(* Mf_GetMatches_Func) (void *object, UInt32 *distances)

◆ Mf_GetNumAvailableBytes_Func

typedef UInt32(* Mf_GetNumAvailableBytes_Func) (void *object)

◆ Mf_GetPointerToCurrentPos_Func

typedef const Byte *(* Mf_GetPointerToCurrentPos_Func) (void *object)

◆ Mf_Init_Func

typedef void(* Mf_Init_Func) (void *object)

◆ Mf_Skip_Func

typedef void(* Mf_Skip_Func) (void *object, UInt32)

Function Documentation

◆ Bt3Zip_MatchFinder_GetMatches()

UInt32 * Bt3Zip_MatchFinder_GetMatches ( CMatchFinder * p,
UInt32 * distances )

◆ Bt3Zip_MatchFinder_Skip()

void Bt3Zip_MatchFinder_Skip ( CMatchFinder * p,
UInt32 num )

◆ GetMatchesSpec1()

UInt32 * GetMatchesSpec1 ( UInt32 lenLimit,
UInt32 curMatch,
UInt32 pos,
const Byte * buffer,
CLzRef * son,
size_t _cyclicBufferPos,
UInt32 _cyclicBufferSize,
UInt32 _cutValue,
UInt32 * distances,
UInt32 maxLen )

◆ Hc3Zip_MatchFinder_GetMatches()

UInt32 * Hc3Zip_MatchFinder_GetMatches ( CMatchFinder * p,
UInt32 * distances )

◆ Hc3Zip_MatchFinder_Skip()

void Hc3Zip_MatchFinder_Skip ( CMatchFinder * p,
UInt32 num )

◆ LzFindPrepare()

void LzFindPrepare ( void )

◆ MatchFinder_Construct()

void MatchFinder_Construct ( CMatchFinder * p)

◆ MatchFinder_Create()

int MatchFinder_Create ( CMatchFinder * p,
UInt32 historySize,
UInt32 keepAddBufferBefore,
UInt32 matchMaxLen,
UInt32 keepAddBufferAfter,
ISzAllocPtr alloc )

◆ MatchFinder_CreateVTable()

void MatchFinder_CreateVTable ( CMatchFinder * p,
IMatchFinder2 * vTable )

◆ MatchFinder_Free()

void MatchFinder_Free ( CMatchFinder * p,
ISzAllocPtr alloc )

◆ MatchFinder_Init()

void MatchFinder_Init ( void * p)

◆ MatchFinder_Init_4()

void MatchFinder_Init_4 ( CMatchFinder * p)

◆ MatchFinder_Init_HighHash()

void MatchFinder_Init_HighHash ( CMatchFinder * p)

◆ MatchFinder_Init_LowHash()

void MatchFinder_Init_LowHash ( CMatchFinder * p)

◆ MatchFinder_MoveBlock()

void MatchFinder_MoveBlock ( CMatchFinder * p)

◆ MatchFinder_NeedMove()

int MatchFinder_NeedMove ( CMatchFinder * p)

◆ MatchFinder_Normalize3()

void MatchFinder_Normalize3 ( UInt32 subValue,
CLzRef * items,
size_t numItems )

◆ MatchFinder_ReadIfRequired()

void MatchFinder_ReadIfRequired ( CMatchFinder * p)

Variable Documentation

◆ CLzRef

EXTERN_C_BEGIN typedef UInt32 CLzRef