Home
last modified time | relevance | path

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

/netbsd-src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/
H A Dfnmatch.c290 wchar_t *wpattern; in fnmatch() local
316 wpattern = (wchar_t *) alloca (totsize * sizeof (wchar_t)); in fnmatch()
319 wpattern = malloc (totsize * sizeof (wchar_t)); in fnmatch()
320 if (__builtin_expect (! wpattern, 0)) in fnmatch()
326 wstring = wpattern + patsize; in fnmatch()
329 mbsrtowcs (wpattern, &pattern, patsize, &ps); in fnmatch()
333 res = internal_fnwmatch (wpattern, wstring, wstring + strsize - 1, in fnmatch()
337 free (wpattern); in fnmatch()
/netbsd-src/external/gpl2/xcvs/dist/lib/
H A Dfnmatch.c317 wchar_t *wpattern; in fnmatch() local
343 wpattern = (wchar_t *) alloca (totsize * sizeof (wchar_t)); in fnmatch()
346 wpattern = malloc (totsize * sizeof (wchar_t)); in fnmatch()
347 if (__builtin_expect (! wpattern, 0)) in fnmatch()
353 wstring = wpattern + patsize; in fnmatch()
356 mbsrtowcs (wpattern, &pattern, patsize, &ps); in fnmatch()
360 res = internal_fnwmatch (wpattern, wstring, wstring + strsize - 1, in fnmatch()
364 free (wpattern); in fnmatch()
/netbsd-src/external/gpl3/gdb/dist/gnulib/import/
H A Dfnmatch.c244 wchar_t *wpattern; in fnmatch() local
255 wpattern = (wchar_t *) alloca_account ((n + 1) * sizeof (wchar_t), in fnmatch()
257 n = mbsrtowcs (wpattern, &p, n + 1, &ps); in fnmatch()
283 wpattern_malloc = wpattern in fnmatch()
286 if (wpattern == NULL) in fnmatch()
288 (void) mbsrtowcs (wpattern, &pattern, n + 1, &ps); in fnmatch()
341 int res = internal_fnwmatch (wpattern, wstring, wstring + n, in fnmatch()