/external/libvterm/src/ |
unicode.c | 3 // ### The following from http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c 67 * Latest version: http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c 132 static int bisearch(wchar_t ucs, const struct interval *table, int max) { 136 if (ucs < table[0].first || ucs > table[max].last) 140 if (ucs > table[mid].last) 142 else if (ucs < table[mid].first) 185 static int mk_wcwidth(wchar_t ucs) 188 if (ucs == 0) 190 if (ucs < 32 || (ucs >= 0x7f && ucs < 0xa0) [all...] |
/external/icu/icu4c/source/test/intltest/ |
tfsmalls.cpp | 246 UnicodeString ucs = "unicode-string"; local 254 ucs, 263 && (ft_arr[3].getType() == Formattable::kString) && (ft_arr[3].getString(temp) == ucs)
|
ustrtest.cpp | 1137 static const UChar ucs[]={ 0x68, 0x6d, 0x20, 0 }; local [all...] |
/external/sfntly/cpp/src/test/tinyxml/ |
tinyxmlparser.cpp | 447 unsigned long ucs = 0; local 467 ucs += mult * (*q - '0'); 469 ucs += mult * (*q - 'a' + 10); 471 ucs += mult * (*q - 'A' + 10 ); 494 ucs += mult * (*q - '0'); 503 // convert the UCS to UTF-8 504 ConvertUTF32ToUTF8( ucs, value, length ); 508 *value = (char)ucs; [all...] |
/external/tinyxml/ |
tinyxmlparser.cpp | 428 unsigned long ucs = 0; local 448 ucs += mult * (*q - '0'); 450 ucs += mult * (*q - 'a' + 10); 452 ucs += mult * (*q - 'A' + 10 ); 475 ucs += mult * (*q - '0'); 484 // convert the UCS to UTF-8 485 ConvertUTF32ToUTF8( ucs, value, length ); 489 *value = (char)ucs; [all...] |
/external/skia/src/views/unix/ |
keysym2ucs.c | 3 * (UCS, Unicode) values. 14 * We allow to represent any UCS character in the range U-00000000 to 16 * This admittedly does not cover the entire 31-bit space of UCS, but 19 * UCS codes will ever be assigned by ISO. So to get Unicode character 41 unsigned short ucs; member in struct:codepair [all...] |