#include "bitop.h"
Go to the source code of this file.
Classes | |
struct | HBM_STRUCT |
Defines | |
#define | BITOP_TEST |
#define | UINT64 unsigned long long |
#define | COPY_PATTERNS |
#define | MWM_FEATURES "MWM:BC/BW-SHIFT + 2-BYTE-HASH" |
#define | HASHTABLESIZE (64*1024) |
#define | HASHBYTES16 2 |
#define | MTH_MWM 0 |
#define | MTH_BM 1 |
#define | HASH_TYPE short |
#define | BWSHIFTABLESIZE (64*1024) |
Typedefs | |
typedef _mwm_pattern_struct | MWM_PATTERN_STRUCT |
typedef _mwm_struct | MWM_STRUCT |
Functions | |
void * | mwmNew (void) |
void | mwmFree (void *pv) |
int | mwmAddPatternEx (void *pv, unsigned char *P, int m, unsigned noCase, unsigned offset, unsigned depth, void *ID, int IID) |
void | mwmLargeShifts (void *pv, int flag) |
int | mwmPrepPatterns (void *pv) |
void | mwmSetRuleMask (void *pv, BITOP *rm) |
int | mwmSearch (void *pv, unsigned char *T, int n, int(*action)(void *id, int index, void *data), void *data) |
UINT64 | mwmGetPatByteCount () |
void | mwmResetByteCount () |
int | mwmAddPattern (void *pv, unsigned char *P, int m, unsigned id) |
int | mwmGetNumPatterns (void *pv) |
void | mwmFeatures (void) |
|
|
|
Definition at line 140 of file mwm.h. Referenced by mbmPrepBadWordTable(). |
|
|
|
Definition at line 138 of file mwm.h. Referenced by mwmGroupDetails(), mwmPrepHashedPatternGroups(), mwmSearchExBC(), mwmSearchExBW(), and mwmSearchExNoBC(). |
|
Definition at line 81 of file mwm.h. Referenced by mwmGroupMatch2(). |
|
Definition at line 80 of file mwm.h. Referenced by mwmPrepHashedPatternGroups(). |
|
Definition at line 136 of file mwm.h. Referenced by mwmPrepPatterns(), and mwmSearch(). |
|
Definition at line 135 of file mwm.h. Referenced by mwmPrepPatterns(). |
|
Definition at line 78 of file mwm.h. Referenced by mwmFeatures(). |
|
|
|
|
|
|
|
Definition at line 580 of file mwm.c. References mwmAddPatternEx(). |
|
|
Definition at line 1426 of file mwm.c. References MWM_FEATURES. |
|
Definition at line 419 of file mwm.c. References _mwm_struct::msHash, _mwm_struct::msNumArray, _mwm_struct::msPatArray, and _mwm_struct::msShift2. Referenced by mpseFree(). |
|
Definition at line 862 of file mwm.c. References _mwm_struct::msNumPatterns. |
|
Definition at line 202 of file mwm.c. References iPatCount. |
|
Definition at line 853 of file mwm.c. References _mwm_struct::msLargeShifts. Referenced by mpseLargeShifts(). |
|
Definition at line 400 of file mwm.c. References init_xlatcase(), and _mwm_struct::msSmallest. Referenced by mpseNew(). |
|
|
Definition at line 207 of file mwm.c. References iPatCount. |
|
Definition at line 1352 of file mwm.c. References ConvCaseToUpperEx(), hbm_match(), iPatCount, memcmp(), _mwm_struct::msMethod, _mwm_struct::msNumPatterns, _mwm_struct::msPatArray, MTH_BM, NULL, _mwm_pattern_struct::psBmh, _mwm_pattern_struct::psID, _mwm_pattern_struct::psLen, _mwm_pattern_struct::psNoCase, _mwm_pattern_struct::psPatCase, S, and _mwm_struct::search. Referenced by mpseSearch(). |
|
Definition at line 873 of file mwm.c. References _mwm_struct::RuleMask. Referenced by mpseSetRuleMask(). |