Lines Matching defs:Char

107 typedef u_short Char;
116 typedef char Char;
121 #define CHAR(c) ((Char)((c)&M_ASCII))
122 #define META(c) ((Char)((c)|M_QUOTE))
152 static int g_Ctoc(const Char *, char *, u_int);
153 static int g_lstat(Char *, struct stat *, glob_t *);
154 static DIR *g_opendir(Char *, glob_t *);
155 static Char *g_strchr(const Char *, int);
156 static int g_strncmp(const Char *, const char *, size_t);
157 static int g_stat(Char *, struct stat *, glob_t *);
158 static int glob0(const Char *, glob_t *, struct glob_lim *);
159 static int glob1(Char *, Char *, glob_t *, struct glob_lim *);
160 static int glob2(Char *, Char *, Char *, Char *, Char *, Char *,
162 static int glob3(Char *, Char *, Char *, Char *, Char *,
163 Char *, Char *, glob_t *, struct glob_lim *);
164 static int globextend(const Char *, glob_t *, struct glob_lim *,
166 static const Char *
167 globtilde(const Char *, Char *, size_t, glob_t *);
168 static int globexp1(const Char *, glob_t *, struct glob_lim *);
169 static int globexp2(const Char *, const Char *, glob_t *,
171 static int match(Char *, Char *, Char *, int);
173 static void qprintf(const char *, Char *);
182 Char *bufnext, *bufend, patbuf[MAXPATHLEN];
236 globexp1(const Char *pattern, glob_t *pglob, struct glob_lim *limitp)
238 const Char* ptr = pattern;
244 if ((ptr = (const Char *) g_strchr(ptr, LBRACE)) != NULL)
257 globexp2(const Char *ptr, const Char *pattern, glob_t *pglob,
261 Char *lm, *ls;
262 const Char *pe, *pm, *pl;
263 Char patbuf[MAXPATHLEN];
361 static const Char *
362 globtilde(const Char *pattern, Char *patbuf, size_t patbuf_len, glob_t *pglob)
366 const Char *p;
367 Char *b, *eb;
422 g_strncmp(const Char *s1, const char *s2, size_t n)
427 rv = *(Char *)s1 - *(const unsigned char *)s2++;
437 g_charclass(const Char **patternp, Char **bufnextp)
439 const Char *pattern = *patternp + 1;
440 Char *bufnext = *bufnextp;
441 const Char *colon;
456 *bufnext++ = (Char)(cc - &cclasses[0]);
471 glob0(const Char *pattern, glob_t *pglob, struct glob_lim *limitp)
473 const Char *qpatnext;
475 Char *bufnext, patbuf[MAXPATHLEN];
609 glob1(Char *pattern, Char *pattern_last, glob_t *pglob, struct glob_lim *limitp)
611 Char pathbuf[MAXPATHLEN];
627 glob2(Char *pathbuf, Char *pathbuf_last, Char *pathend, Char *pathend_last,
628 Char *pattern, Char *pattern_last, glob_t *pglob, struct glob_lim *limitp)
631 Char *p, *q;
695 glob3(Char *pathbuf, Char *pathbuf_last, Char *pathend, Char *pathend_last,
696 Char *pattern, Char *restpattern, Char *restpattern_last, glob_t *pglob,
738 Char *dc;
795 globextend(const Char *path, glob_t *pglob, struct glob_lim *limitp,
802 const Char *p;
899 match(Char *name, Char *pat, Char *patend, int recur)
902 Char c, k;
932 Char idx = *pat & M_MASK;
983 g_opendir(Char *str, glob_t *pglob)
1001 g_lstat(Char *fn, struct stat *sb, glob_t *pglob)
1013 g_stat(Char *fn, struct stat *sb, glob_t *pglob)
1024 static Char *
1025 g_strchr(const Char *str, int ch)
1029 return ((Char *)str);
1035 g_Ctoc(const Char *str, char *buf, u_int len)
1047 qprintf(const char *str, Char *s)
1049 Char *p;