Home
last modified time | relevance | path

Searched refs:icase (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/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.c64 const u8 icase = conf->flags & TS_IGNORECASE; in bm_find() local
78 if ((icase ? toupper(text[shift-i]) in bm_find()
/kernel/linux/linux-6.6/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()
66 if (icase) in matchpat()
82 const u8 icase = conf->flags & TS_IGNORECASE; in bm_find() local
97 &text[shift], icase); in bm_find()
58 matchpat(const u8 *pattern, unsigned int patlen, const u8 *text, bool icase) matchpat() argument

Completed in 2 milliseconds