Home
last modified time | relevance | path

Searched refs:cast_uchar (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/lua/src/
H A Dlobject.c174 while (lisspace(cast_uchar(*s))) s++; /* skip initial spaces */ in lua_strx2number()
183 else if (lisxdigit(cast_uchar(*s))) { in lua_strx2number()
202 if (!lisdigit(cast_uchar(*s))) in lua_strx2number()
204 while (lisdigit(cast_uchar(*s))) /* read exponent */ in lua_strx2number()
233 while (lisspace(cast_uchar(*endptr))) endptr++; /* skip trailing spaces */ in l_str2dloc()
254 int mode = pmode ? ltolower(cast_uchar(*pmode)) : 0; in l_str2d()
280 while (lisspace(cast_uchar(*s))) s++; /* skip initial spaces */ in l_str2int()
285 for (; lisxdigit(cast_uchar(*s)); s++) { in l_str2int()
291 for (; lisdigit(cast_uchar(*s)); s++) { in l_str2int()
299 while (lisspace(cast_uchar(*s))) s++; /* skip trailing spaces */ in l_str2int()
[all …]
H A Dlzio.c34 return cast_uchar(*(z->p++)); in luaZ_fill()
H A Dlzio.h20 #define zgetc(z) (((z)->n--)>0 ? cast_uchar(*(z)->p++) : luaZ_fill(z))
H A Dllimits.h144 #define cast_uchar(i) cast(unsigned char, (i)) macro
H A Dltests.c1325 if (!lisdigit(cast_uchar(**pc))) in getnum_aux()
1327 while (lisdigit(cast_uchar(**pc))) res = res*10 + (*(*pc)++) - '0'; in getnum_aux()
/freebsd/sys/contrib/openzfs/module/lua/
H A Dlobject.c100 for (; lisxdigit(cast_uchar(**s)); (*s)++) { /* read integer part */ in readhexa()
101 r = (r * cast_num(16.0)) + cast_num(luaO_hexavalue(cast_uchar(**s))); in readhexa()
117 while (lisspace(cast_uchar(*s))) s++; /* skip initial spaces */ in lua_strx2number()
136 if (!lisdigit(cast_uchar(*s))) in lua_strx2number()
138 while (lisdigit(cast_uchar(*s))) /* read exponent */ in lua_strx2number()
161 while (lisspace(cast_uchar(*endptr))) endptr++; in luaO_str2d()
H A Dlzio.h20 #define zgetc(z) (((z)->n--)>0 ? cast_uchar(*(z)->p++) : luaZ_fill(z))
H A Dlzio.c30 return cast_uchar(*(z->p++)); in luaZ_fill()
H A Dllimits.h94 #define cast_uchar(i) cast(unsigned char, (i)) macro