Searched refs:cp (Results 276 - 300 of 1406) sorted by path

<<11121314151617181920>>

/external/chromium_org/third_party/icu/source/i18n/
H A Ducol.cpp1084 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 Ducol_elm.cpp833 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 Ducol_elm.h117 UChar cp; member in struct:__anon12116
H A Ducol_imp.h1021 uprv_uca_getImplicitFromRaw(UChar32 cp);
1024 uprv_uca_getImplicitPrimary(UChar32 cp);*/
H A Ducol_tok.cpp925 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 Duspoof_wsconf.cpp222 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 DUnicodeReader.cpp35 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 Dccapitst.c257 int32_t cp = 0; local
803 cp = ucnv_getCCSID(myConverter,&err);
808 if (cp != CodePageNumberToTest[codepage_index])
H A Dcnormtst.c382 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 Dcreststn.c686 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 Dcucdtst.c1827 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 Dcustrtrn.c1400 UChar *cp; local
1419 cp = u_strFromWCS(rts, rtcap, &rtl, wcs, wl, &err);
1420 (void)cp; /* Suppress set but not used warning. */
H A Dnucnvtst.c3501 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 Ducnvseltst.c286 UChar32 cp; local
298 cp = 0;
314 U8_NEXT(utf8, offset, length, cp);
315 if (cp >= 0 && !uset_contains(set, cp)) {
H A Dutf8tst.c1046 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 Didnaconf.cpp200 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 Dpunyref.c52 /* 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 Drbbitst.cpp1264 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 Dtransrt.cpp441 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 Dutxttest.cpp177 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 Dutxttest.h40 UChar32 cp; member in struct:UTextTest::m
/external/chromium_org/third_party/icu/source/test/perf/collationperf/
H A Dcollperf.cpp1342 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 Dubrkperfold.cpp613 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 Dusetperf.cpp53 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 Ddumpce.cpp126 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);

Completed in 463 milliseconds

<<11121314151617181920>>