Searched refs:ctable (Results 1 – 3 of 3) sorted by relevance
/ndk/sources/cxx-stl/stlport/src/c_locale_dummy/ |
D | c_locale_dummy.c | 54 static _Locale_mask_t ctable[256]; variable 63 if (isalpha(c)) ctable[(unsigned char)c] |= _Locale_ALPHA; in _Locale_init() 64 if (iscntrl(c)) ctable[(unsigned char)c] |= _Locale_CNTRL; in _Locale_init() 65 if (isdigit(c)) ctable[(unsigned char)c] |= _Locale_DIGIT; in _Locale_init() 66 if (isprint(c)) ctable[(unsigned char)c] |= _Locale_PRINT; in _Locale_init() 67 if (ispunct(c)) ctable[(unsigned char)c] |= _Locale_PUNCT; in _Locale_init() 68 if (isspace(c)) ctable[(unsigned char)c] |= _Locale_SPACE; in _Locale_init() 69 if (isxdigit(c)) ctable[(unsigned char)c] |= _Locale_XDIGIT; in _Locale_init() 70 if (isupper(c)) ctable[(unsigned char)c] |= _Locale_UPPER; in _Locale_init() 71 if (islower(c)) ctable[(unsigned char)c] |= _Locale_LOWER; in _Locale_init() [all …]
|
/ndk/sources/cxx-stl/stlport/src/c_locale_win32/ |
D | c_locale_win32.c | 186 unsigned short ctable[256]; member 353 GetStringTypeW(CT_CTYPE1, wbuffer, 256, ltype->ctable); in _Locale_ctype_create() 354 MapCtypeMasks(ltype->ctable, ltype->ctable + 256); in _Locale_ctype_create() 358 unsigned short ctable[256]; in _Locale_ctype_create() local 360 GetStringTypeA(ltype->lc.id, CT_CTYPE1, (const char*)Buffer, 256, ctable); in _Locale_ctype_create() 376 ltype->ctable[TargetBuffer[i]] = MapCtypeMask(ctable[i]); in _Locale_ctype_create() 381 GetStringTypeA(ltype->lc.id, CT_CTYPE1, (const char*)Buffer, 256, ltype->ctable); in _Locale_ctype_create() 382 MapCtypeMasks(ltype->ctable, ltype->ctable + 256); in _Locale_ctype_create() 1031 _STLP_STATIC_ASSERT(sizeof(_Locale_mask_t) == sizeof(ltype->ctable[0])) in _Locale_ctype_table() 1032 return (const _Locale_mask_t*)ltype->ctable; in _Locale_ctype_table()
|
D | c_wlocale_win32.c | 115 static int __isleadbyte(int i, unsigned char *ctable) { in __isleadbyte() argument 117 return (ctable[c / CHAR_BIT] & (0x01 << c % CHAR_BIT)); in __isleadbyte()
|