Go to the source code of this file.
Defines | |
| #define | ALPHABET_SIZE 256 |
Typedefs | |
| typedef _ktriepattern | KTRIEPATTERN |
| typedef _ktrienode | KTRIENODE |
Functions | |
| KTRIE_STRUCT * | KTrieNew () |
| int | KTrieAddPattern (KTRIE_STRUCT *ts, unsigned char *P, int n, int nocase, void *id) |
| int | KTrieCompile (KTRIE_STRUCT *ts) |
| int | KTrieSearch (KTRIE_STRUCT *ts, unsigned char *T, int n, int(*match)(void *id, int index, void *data), void *data) |
|
|
Definition at line 28 of file sfksearch.h. |
|
|
|
|
|
|
|
||||||||||||||||||||||||
|
Definition at line 156 of file sfksearch.c. References KTrieNewPattern(), KTRIE_STRUCT::memory, _ktriepattern::nocase, KTRIE_STRUCT::npats, NULL, and KTRIE_STRUCT::patrn. Referenced by mpseAddPattern(). |
|
|
Definition at line 377 of file sfksearch.c. References Build_Bad_Character_Shifts(), KTrieInsert(), _ktriepattern::next, and KTRIE_STRUCT::patrn. Referenced by mpsePrepPatterns(). |
|
|
Definition at line 108 of file sfksearch.c. References init_xlatcase(), KTRIE_MALLOC(), KTRIE_STRUCT::memory, memset, KTRIE_STRUCT::nchars, and KTRIE_STRUCT::npats. Referenced by mpseNew(). |
|
||||||||||||||||||||||||
|
Definition at line 554 of file sfksearch.c. References KTRIE_STRUCT::bcSize, KTrieSearchBC(), and KTrieSearchNoBC(). Referenced by mpseSearch(). |
1.4.2