Searched refs:charjump (Results 1 – 4 of 4) sorted by relevance
77 if (g->charjump != NULL) in regfree()78 free(g->charjump); in regfree()
161 int *charjump; /* Boyer-Moore char jump table */ member
157 int *charjump; in matcher() local174 if (g->charjump != NULL && g->matchjump != NULL) { in matcher()177 charjump = g->charjump; in matcher()182 while (dp < stop && charjump[(unsigned char) *dp]) in matcher()183 dp += charjump[(unsigned char) *dp]; in matcher()199 cj = charjump[(unsigned char) *dp]; in matcher()
239 g->charjump = NULL; in regcomp()270 if(g->matchjump == NULL && g->charjump != NULL) { in regcomp()271 free(g->charjump); in regcomp()272 g->charjump = NULL; in regcomp()1868 g->charjump = (int*) malloc(NC * sizeof(int)); in computejumps()1869 if (g->charjump == NULL) /* Not a fatal error */ in computejumps()1876 g->charjump[ch] = g->mlen; in computejumps()1884 g->charjump[(unsigned char) g->must[mindex]] = g->mlen - mindex - 1; in computejumps()