Home
last modified time | relevance | path

Searched refs:icase (Results 1 – 2 of 2) sorted by relevance

/linux/lib/
H A Dts_kmp.c47 const int icase = conf->flags & TS_IGNORECASE; in kmp_find() local
57 != (icase ? toupper(text[i]) : text[i])) in kmp_find()
60 == (icase ? toupper(text[i]) : text[i])) in kmp_find()
78 const u8 icase = flags & TS_IGNORECASE; in compute_prefix_tbl() local
81 while (k > 0 && (icase ? toupper(pattern[k]) : pattern[k]) in compute_prefix_tbl()
82 != (icase ? toupper(pattern[q]) : pattern[q])) in compute_prefix_tbl()
84 if ((icase ? toupper(pattern[k]) : pattern[k]) in compute_prefix_tbl()
85 == (icase ? toupper(pattern[q]) : pattern[q])) in compute_prefix_tbl()
H A Dts_bm.c59 const u8 *text, bool icase) in matchpat() argument
66 if (icase) in matchpat()
82 const u8 icase = conf->flags & TS_IGNORECASE; in bm_find() local
97 &text[shift], icase); in bm_find()