Home | History | Annotate | Download | only in src

Lines Matching defs:uchar

33 #define uchar(c)	((unsigned char)(c))
86 p[i] = tolower(uchar(s[i]));
99 p[i] = toupper(uchar(s[i]));
147 lua_pushinteger(L, uchar(s[posi+i-1]));
159 luaL_argcheck(L, uchar(c) == c, i, "value out of range");
160 p[i - 1] = uchar(c);
295 if (match_class(c, uchar(*p)))
300 if (uchar(*(p-2)) <= c && c <= uchar(*p))
303 else if (uchar(*p) == c) return sig;
314 int c = uchar(*s);
317 case L_ESC: return match_class(c, uchar(*(p+1)));
319 default: return (uchar(*p) == c);
450 if (!matchbracketclass(uchar(previous), p, ep - 1) &&
451 matchbracketclass(uchar(*s), p, ep - 1)) {
460 s = match_capture(ms, s, uchar(*(p + 1)));
687 if (!isdigit(uchar(news[i]))) {
842 else if (*s == '\0' || iscntrl(uchar(*s))) {
844 if (!isdigit(uchar(*(s+1))))
845 sprintf(buff, "\\%d", (int)uchar(*s));
847 sprintf(buff, "\\%03d", (int)uchar(*s));
862 if (isdigit(uchar(*p))) p++; /* skip width */
863 if (isdigit(uchar(*p))) p++; /* (2 digits at most) */
866 if (isdigit(uchar(*p))) p++; /* skip precision */
867 if (isdigit(uchar(*p))) p++; /* (2 digits at most) */
869 if (isdigit(uchar(*p)))