Lines Matching refs:Char
100 typedef u_short Char; typedef
109 typedef char Char; typedef
114 #define CHAR(c) ((Char)((c)&M_ASCII))
115 #define META(c) ((Char)((c)|M_QUOTE))
142 static int g_Ctoc(const Char *, char *, size_t);
143 static int g_lstat(Char *, struct stat *, glob_t *);
144 static DIR *g_opendir(Char *, glob_t *);
145 static Char *g_strchr(const Char *, int);
146 static int g_strncmp(const Char *, const char *, size_t);
147 static int g_stat(Char *, struct stat *, glob_t *);
148 static int glob0(const Char *, glob_t *, struct glob_lim *);
149 static int glob1(Char *, Char *, glob_t *, struct glob_lim *);
150 static int glob2(Char *, Char *, Char *, Char *, Char *, Char *,
152 static int glob3(Char *, Char *, Char *, Char *, Char *,
153 Char *, Char *, glob_t *, struct glob_lim *);
154 static int globextend(const Char *, glob_t *, struct glob_lim *,
156 static const Char *
157 globtilde(const Char *, Char *, size_t, glob_t *);
158 static int globexp1(const Char *, glob_t *, struct glob_lim *);
159 static int globexp2(const Char *, const Char *, glob_t *,
161 static int match(Char *, Char *, Char *);
163 static void qprintf(const char *, Char *);
172 Char *bufnext, *bufend, patbuf[PATH_MAX]; in glob()
225 globexp1(const Char *pattern, glob_t *pglob, struct glob_lim *limitp) in globexp1()
227 const Char* ptr = pattern; in globexp1()
233 if ((ptr = (const Char *) g_strchr(ptr, LBRACE)) != NULL) in globexp1()
246 globexp2(const Char *ptr, const Char *pattern, glob_t *pglob, in globexp2()
250 Char *lm, *ls; in globexp2()
251 const Char *pe, *pm, *pl; in globexp2()
252 Char patbuf[PATH_MAX]; in globexp2()
350 static const Char *
351 globtilde(const Char *pattern, Char *patbuf, size_t patbuf_len, glob_t *pglob) in globtilde()
355 const Char *p; in globtilde()
356 Char *b, *eb; in globtilde()
412 g_strncmp(const Char *s1, const char *s2, size_t n) in g_strncmp()
417 rv = *(Char *)s1 - *(const unsigned char *)s2++; in g_strncmp()
427 g_charclass(const Char **patternp, Char **bufnextp) in g_charclass()
429 const Char *pattern = *patternp + 1; in g_charclass()
430 Char *bufnext = *bufnextp; in g_charclass()
431 const Char *colon; in g_charclass()
446 *bufnext++ = (Char)(cc - &cclasses[0]); in g_charclass()
461 glob0(const Char *pattern, glob_t *pglob, struct glob_lim *limitp) in glob0()
463 const Char *qpatnext; in glob0()
466 Char *bufnext, patbuf[PATH_MAX]; in glob0()
600 glob1(Char *pattern, Char *pattern_last, glob_t *pglob, struct glob_lim *limitp) in glob1()
602 Char pathbuf[PATH_MAX]; in glob1()
618 glob2(Char *pathbuf, Char *pathbuf_last, Char *pathend, Char *pathend_last, in glob2()
619 Char *pattern, Char *pattern_last, glob_t *pglob, struct glob_lim *limitp) in glob2()
622 Char *p, *q; in glob2()
686 glob3(Char *pathbuf, Char *pathbuf_last, Char *pathend, Char *pathend_last, in glob3()
687 Char *pattern, Char *restpattern, Char *restpattern_last, glob_t *pglob, in glob3()
729 Char *dc; in glob3()
786 globextend(const Char *path, glob_t *pglob, struct glob_lim *limitp, in globextend()
792 const Char *p; in globextend()
892 match(Char *name, Char *pat, Char *patend) in match()
895 Char c, k; in match()
896 Char *nextp = NULL; in match()
897 Char *nextn = NULL; in match()
925 Char idx = *pat & M_MASK; in match()
983 g_opendir(Char *str, glob_t *pglob) in g_opendir()
1001 g_lstat(Char *fn, struct stat *sb, glob_t *pglob) in g_lstat()
1013 g_stat(Char *fn, struct stat *sb, glob_t *pglob) in g_stat()
1024 static Char *
1025 g_strchr(const Char *str, int ch) in g_strchr()
1029 return ((Char *)str); in g_strchr()
1035 g_Ctoc(const Char *str, char *buf, size_t len) in g_Ctoc()
1047 qprintf(const char *str, Char *s) in qprintf()
1049 Char *p; in qprintf()