Searched refs:uchar (Results 1 – 5 of 5) sorted by relevance
234 #undef uchar235 #define uchar unsigned char /* assuming == 8 bits */ macro247 typedef uchar block;424 #define PTA(x) ((poolp )((uchar *)&(usedpools[2*(x)]) - 2*sizeof(block *)))1318 const uchar *q = (const uchar *)p; in read_size_t()1333 uchar *q = (uchar *)p + SST - 1; in write_size_t()1337 *q = (uchar)(n & 0xff); in write_size_t()1435 uchar *p; /* base address of malloc'ed block */ in _PyObject_DebugMallocApi()1436 uchar *tail; /* p + 2*SST + nbytes == pointer to tail pad bytes */ in _PyObject_DebugMallocApi()1445 p = (uchar *)PyObject_Malloc(total); in _PyObject_DebugMallocApi()[all …]
33 #define uchar(c) ((unsigned char)(c)) macro86 p[i] = tolower(uchar(s[i])); in str_lower()99 p[i] = toupper(uchar(s[i])); in str_upper()147 lua_pushinteger(L, uchar(s[posi+i-1])); in str_byte()159 luaL_argcheck(L, uchar(c) == c, i, "value out of range"); in str_char()160 p[i - 1] = uchar(c); in str_char()295 if (match_class(c, uchar(*p))) in matchbracketclass()300 if (uchar(*(p-2)) <= c && c <= uchar(*p)) in matchbracketclass()303 else if (uchar(*p) == c) return sig; in matchbracketclass()314 int c = uchar(*s); in singlematch()[all …]
264 #undef uchar265 #define uchar unsigned char /* assuming == 8 bits */ macro277 typedef uchar block;454 #define PTA(x) ((poolp )((uchar *)&(usedpools[2*(x)]) - 2*sizeof(block *)))1367 const uchar *q = (const uchar *)p; in read_size_t()1382 uchar *q = (uchar *)p + SST - 1; in write_size_t()1386 *q = (uchar)(n & 0xff); in write_size_t()1484 uchar *p; /* base address of malloc'ed block */ in _PyObject_DebugMallocApi()1485 uchar *tail; /* p + 2*SST + nbytes == pointer to tail pad bytes */ in _PyObject_DebugMallocApi()1494 p = (uchar *)PyObject_Malloc(total); in _PyObject_DebugMallocApi()[all …]
48 __DEFINE_XEN_GUEST_HANDLE(uchar, UINT8);
416 uchar = unichr(num)417 self.assertEqual(uchar, u"%c" % num) # works only with ints418 self.assertEqual(uchar, u"%c" % uchar) # and unicode chars