Home
last modified time | relevance | path

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

/system/core/toolbox/upstream-netbsd/usr.bin/grep/
Dfastgrep.c284 wchar_t *wdata, *wpat; in grep_cmp() local
302 wpat = grep_malloc(size * sizeof(wint_t)); in grep_cmp()
304 if (mbstowcs(wpat, (const char *)pat, size) == ((size_t) - 1)) in grep_cmp()
307 if ((towlower(wpat[i]) == towlower(wdata[i])) || in grep_cmp()
308 ((grepbehave != GREP_FIXED) && wpat[i] == L'.')) in grep_cmp()
310 free(wpat); in grep_cmp()