wcat_t
match(wcat_t *name, wcat_t *pat, wcat_t *patend)
wcat_t c, k;
wcat_t *nextp = NULL;
wcat_t *nextn = NULL;
wcat_t cc;
g_opendir(wcat_t *str, glob_t *pglob)
g_lstat(wcat_t *fn, struct stat *sb, glob_t *pglob)
g_stat(wcat_t *fn, struct stat *sb, glob_t *pglob)
static wcat_t *
g_strchr(const wcat_t *str, wchar_t ch)
return ((wcat_t *)str);
g_Ctoc(const wcat_t *str, char *buf, uint_t len)
static int g_Ctoc(const wcat_t *, char *, uint_t);
static int g_lstat(wcat_t *, struct stat *, glob_t *);
static DIR *g_opendir(wcat_t *, glob_t *);
static wcat_t *g_strchr(const wcat_t *, wchar_t);
static int g_stat(wcat_t *, struct stat *, glob_t *);
static int glob0(const wcat_t *, glob_t *, struct glob_lim *,
static int glob1(wcat_t *, wcat_t *, glob_t *, struct glob_lim *,
static int glob2(wcat_t *, wcat_t *, wcat_t *, wcat_t *, wcat_t *,
wcat_t *, glob_t *, struct glob_lim *,
static int glob3(wcat_t *, wcat_t *, wcat_t *, wcat_t *, wcat_t *,
wcat_t *, wcat_t *, glob_t *, struct glob_lim *,
static int globextend(const wcat_t *, glob_t *, struct glob_lim *,
const wcat_t *globtilde(const wcat_t *, wcat_t *, size_t, glob_t *);
static int globexp1(const wcat_t *, glob_t *, struct glob_lim *,
static int globexp2(const wcat_t *, const wcat_t *, glob_t *,
static int match(wcat_t *, wcat_t *, wcat_t *);
wcat_t *bufnext, *bufend, patbuf[PATH_MAX];
globexp1(const wcat_t *pattern, glob_t *pglob, struct glob_lim *limitp,
const wcat_t *ptr = pattern;
if ((ptr = (const wcat_t *) g_strchr(ptr, LBRACE)) != NULL)
globexp2(const wcat_t *ptr, const wcat_t *pattern, glob_t *pglob,
wcat_t *lm, *ls;
const wcat_t *pe, *pm, *pl;
wcat_t patbuf[PATH_MAX];
static const wcat_t *
globtilde(const wcat_t *pattern, wcat_t *patbuf, size_t patbuf_len,
const wcat_t *p;
wcat_t *b, *eb, *q;
g_charclass(const wcat_t **patternp, wcat_t **bufnextp)
const wcat_t *pattern = *patternp + 1;
wcat_t *bufnext = *bufnextp;
const wcat_t *colon;
const wcat_t *s1 = pattern;
glob0(const wcat_t *pattern, glob_t *pglob, struct glob_lim *limitp,
const wcat_t *qpatnext;
wcat_t *bufnext, patbuf[PATH_MAX];
glob1(wcat_t *pattern, wcat_t *pattern_last, glob_t *pglob,
wcat_t pathbuf[PATH_MAX];
glob2(wcat_t *pathbuf, wcat_t *pathbuf_last, wcat_t *pathend,
wcat_t *pathend_last, wcat_t *pattern, wcat_t *pattern_last,
wcat_t *p, *q;
glob3(wcat_t *pathbuf, wcat_t *pathbuf_last, wcat_t *pathend,
wcat_t *pathend_last, wcat_t *pattern, wcat_t *restpattern,
wcat_t *restpattern_last, glob_t *pglob, struct glob_lim *limitp,
wcat_t *dc;
globextend(const wcat_t *path, glob_t *pglob, struct glob_lim *limitp,
const wcat_t *p;