Searched refs:fg (Results 1 – 1 of 1) sorted by relevance
58 fgrepcomp(fastgrep_t *fg, const char *pat) in fgrepcomp() argument63 fg->len = strlen(pat); in fgrepcomp()64 fg->bol = false; in fgrepcomp()65 fg->eol = false; in fgrepcomp()66 fg->reversed = false; in fgrepcomp()68 fg->pattern = (unsigned char *)grep_strdup(pat); in fgrepcomp()72 fg->qsBc[i] = fg->len; in fgrepcomp()73 for (i = 1; i < fg->len; i++) in fgrepcomp()74 fg->qsBc[fg->pattern[i]] = fg->len - i; in fgrepcomp()81 fastcomp(fastgrep_t *fg, const char *pat) in fastcomp() argument[all …]