/external/chromium_org/third_party/icu/source/i18n/ |
H A D | ucol.cpp | 1084 uprv_uca_getImplicitFromRaw(UChar32 cp) { argument 1086 if (cp < 0 || cp > UCOL_MAX_INPUT) { 1087 throw new IllegalArgumentException("Code point out of range " + Utility.hex(cp)); 1090 int32_t last0 = cp - min4Boundary; 1092 int32_t last1 = cp / final3Count; 1093 last0 = cp % final3Count; 1103 throw new IllegalArgumentException("4-byte out of range: " + Utility.hex(cp) + ", " + Utility.hex(last2)); 1123 throw new IllegalArgumentException("4-byte out of range: " + Utility.hex(cp) + ", " + Utility.hex(last3)); 1131 uprv_uca_getImplicitPrimary(UChar32 cp) { argument 2501 getImplicit(UChar32 cp, collIterate *collationSource) argument 2675 UChar32 cp = ch; local 3289 getPrevImplicit(UChar32 cp, collIterate *collationSource) argument 4036 UChar32 cp = 0; local [all...] |
H A D | ucol_elm.cpp | 833 UChar32 cp; local 902 U16_NEXT(element->cPoints, cpsize, element->cSize, cp); 949 UChar32 cp; local 955 U16_NEXT(element->cPoints, cpsize, element->cSize, cp); 1005 /*ucmpe32_set(t->mapping, cp, CE);*/ 1006 utrie_set32(t->mapping, cp, CE); 1008 /*ucmpe32_set(t->mapping, cp, element->mapCE);*/ 1009 utrie_set32(t->mapping, cp, element->mapCE); 1084 UChar32 cp; local 1086 U16_NEXT(element->cPoints, i, element->cSize, cp); [all...] |
H A D | ucol_elm.h | 117 UChar cp; member in struct:__anon12116
|
H A D | ucol_imp.h | 1021 uprv_uca_getImplicitFromRaw(UChar32 cp); 1024 uprv_uca_getImplicitPrimary(UChar32 cp);*/
|
H A D | ucol_tok.cpp | 925 UChar32 cp; local 928 U16_NEXT(src->source, src->currentStarredCharIndex, (uint32_t)(src->end - src->source), cp); 936 src->previousCp = cp; 1767 UChar32 cp; local 1768 U16_GET(src->source, 0, src->parsedToken.charsOffset, (uint32_t)(src->extraEnd - src->source), cp); 1769 fprintf(dfcp_fp, "Code point = %x, Strength = %x\n", cp, src->parsedToken.strength);
|
H A D | uspoof_wsconf.cpp | 222 UChar32 cp; local 223 for (cp=startCodePoint; cp<=endCodePoint; cp++) { 224 int32_t setIndex = utrie2_get32(table, cp); 235 bsset->codePoint = cp; 246 utrie2_set32(table, cp, setIndex, &status); 254 UScriptCode cpScript = uscript_getScript(cp, &status);
|
/external/chromium_org/third_party/icu/source/samples/layout/ |
H A D | UnicodeReader.cpp | 35 const char *cp = ""; local 53 cp = "UTF-16BE"; 57 cp = "UTF-32LE"; 60 cp = "UTF-16LE"; 64 cp = "UTF-8"; 67 cp = "SCSU"; 71 cp = "UTF-32BE"; 102 UnicodeString myText(byteBuffer, fileSize, cp);
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
H A D | ccapitst.c | 257 int32_t cp = 0; local 803 cp = ucnv_getCCSID(myConverter,&err); 808 if (cp != CodePageNumberToTest[codepage_index])
|
H A D | cnormtst.c | 382 UChar cp = 0; local 383 while (cp < 0xA0) 385 if (unorm_quickCheck(&cp, 1, UNORM_NFD, &error) != UNORM_YES) 387 log_data_err("ERROR in NFD quick check at U+%04x - (Are you missing data?)\n", cp); 390 if (unorm_quickCheck(&cp, 1, UNORM_NFC, &error) != 393 log_err("ERROR in NFC quick check at U+%04x\n", cp); 396 if (unorm_quickCheck(&cp, 1, UNORM_NFKD, &error) != UNORM_YES) 398 log_err("ERROR in NFKD quick check at U+%04x\n", cp); 401 if (unorm_quickCheck(&cp, 1, UNORM_NFKC, &error) != 404 log_err("ERROR in NFKC quick check at U+%04x\n", cp); [all...] |
H A D | creststn.c | 686 const char* cp = NULL; local 687 UCHARBUF* ucbuf = ucbuf_open(testDataFileName,&cp,FALSE,FALSE,&status); 724 const char* cp=NULL; local 725 UCHARBUF* ucbuf = ucbuf_open(testDataFileName,&cp,FALSE,FALSE,&status);
|
H A D | cucdtst.c | 1827 UChar32 cp; local 1860 for (cp=0; cp<0x110000; ++cp) { 1861 int32_t len = u_charName(cp, U_EXTENDED_CHAR_NAME, 1882 log_err("u_charName(U+%04x) returns a name with leading or trailing whitespace\n", cp); 1887 log_err("u_charName() returned a name with a TAB for some code point\n", cp);
|
H A D | custrtrn.c | 1400 UChar *cp; local 1419 cp = u_strFromWCS(rts, rtcap, &rtl, wcs, wl, &err); 1420 (void)cp; /* Suppress set but not used warning. */
|
H A D | nucnvtst.c | 3501 TestFullRoundtrip(const char* cp){ argument 3508 TestConv(usource,1,cp,"",NULL,0); 3509 TestConv(usource,2,cp,"",NULL,0); 3511 TestConv(nsrc,3,cp,"",NULL,0); 3531 TestConv(usource,ulen,cp,"",NULL,0); 3536 TestConv(usource,ulen,cp,"",NULL,0); 3541 TestConv(usource,ulen,cp,"",NULL,0); 3546 TestConv(nsrc,len+2,cp,"",NULL,0);
|
H A D | ucnvseltst.c | 286 UChar32 cp; local 298 cp = 0; 314 U8_NEXT(utf8, offset, length, cp); 315 if (cp >= 0 && !uset_contains(set, cp)) {
|
H A D | utf8tst.c | 1046 static const UChar32 cp[]={ local 1053 k=0; /* index into cp[] */ 1068 if(cu!=cp[k]) { 1069 log_err("U8_NEXT_UNSAFE(b[%ld])=U+%04lX != U+%04lX\n", (long)i, (long)cu, (long)cp[k]); 1105 if(cu!=cp[k]) { 1106 log_err("U8_PREV_UNSAFE(b[%ld])=U+%04lX != U+%04lX\n", (long)i, (long)cu, (long)cp[k]);
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
H A D | idnaconf.cpp | 200 UChar32 cp = 0; local 203 cp = (cp * 16) + (*p - 0x30); 205 cp = (cp * 16) + (*p - 0x61) + 10; 207 cp = (cp * 16) + (*p - 0x41) + 10; 212 if (U_IS_BMP(cp)){ 213 *bufBase++ = cp; 215 *bufBase++ = U16_LEAD(cp); [all...] |
H A D | punyref.c | 52 /* basic(cp) tests whether cp is a basic code point: */ 53 #define basic(cp) ((punycode_uint)(cp) < 0x80) 55 /* delim(cp) tests whether cp is a delimiter: */ 56 #define delim(cp) ((cp) == delimiter) 59 /* decode_digit(cp) returns the numeric value of a basic code */ 61 /* base-1, or base if cp i 63 decode_digit(punycode_uint cp) argument [all...] |
H A D | rbbitst.cpp | 1264 UChar32 cp = testString.char32At(charIdx); local 1265 if (cp == CH_CR && charIdx<len && testString.charAt(charIdx+1) == CH_LF) { 1270 if (cp == CH_LF || cp == CH_CR) { 1278 cp = testString.unescapeAt(charIdx); 1279 if (cp != -1) { 1282 tp.dataToBreak.append(cp);
|
H A D | transrt.cpp | 441 UChar32 cp; local 443 for (int32_t i = 0; i < a.length(); i += U16_LENGTH(cp)) { 444 cp = a.char32At(i); 445 int8_t t = u_charType(cp); 1282 int cp=sourceString.charAt(0); local 1285 if(vowelSignSet.contains(cp)){ 1287 }else if(avagraha.contains(cp)){ 1289 }else if(virama.contains(cp)){ 1291 }else if(nukta.contains(cp)){ 1293 }else if(sanskritStressSigns.contains(cp)){ [all...] |
H A D | utxttest.cpp | 177 cpMap[j].cp = c; 267 u8Map[j].cp = c; 609 expectedC = cpMap[i].cp; 627 expectedC = cpMap[i].cp; 651 expectedC = cpMap[i].cp; 685 expectedC = cpMap[i].cp; 718 expectedC = cpMap[cpIndex].cp; 730 expectedC = cpMap[cpIndex].cp; 1046 // depending on whether the indices straddle a cp boundary. 1115 // depending on whether the indices straddle a cp boundar [all...] |
H A D | utxttest.h | 40 UChar32 cp; member in struct:UTextTest::m
|
/external/chromium_org/third_party/icu/source/test/perf/collationperf/ |
H A D | collperf.cpp | 1342 uint32_t cp; local 1343 U8_NEXT_UNSAFE(bytes, i, cp); 1344 c = (UChar)cp; 1346 if (cp >= 0x10000) { 1352 UTF16_APPEND_CHAR_UNSAFE(utf16Buf, i, cp);
|
/external/chromium_org/third_party/icu/source/test/perf/ubrkperf/ |
H A D | ubrkperfold.cpp | 613 uint32_t cp; local 614 U8_NEXT_UNSAFE(bytes, i, cp); 615 c = (UChar)cp; 617 if (cp >= 0x10000) { 623 UTF16_APPEND_CHAR_UNSAFE(utf16Buf, i, cp);
|
/external/chromium_org/third_party/icu/source/test/perf/usetperf/ |
H A D | usetperf.cpp | 53 for (UChar32 cp=0; cp<0x110000; ++cp) { 54 if (u_charType(cp) == prop) { 55 bs.set((int32_t) cp); 69 for (UChar32 cp=0; cp<0x110000; ++cp) { 70 if (bs.get((int32_t) cp)) { 71 us.add(cp); [all...] |
/external/chromium_org/third_party/icu/source/tools/dumpce/ |
H A D | dumpce.cpp | 126 UChar cp = *(c ++); local 128 fprintf(f, " %04x", cp); 131 cp = *(c ++); 132 fprintf(f, " %04x", cp); 146 UChar cp = *(c ++); local 148 fprintf(f, " %04x", cp); 151 cp = *(c ++); 152 fprintf(f, " %04x", cp);
|