/external/chromium_org/third_party/icu/source/test/intltest/ |
H A D | ucaconf.h | 43 RuleBasedCollator *UCA; // rule-based so rules are available member in class:UCAConformanceTest
|
H A D | ucaconf.cpp | 28 UCA = (RuleBasedCollator *)Collator::createInstance(Locale::getRoot(), status); 30 dataerrln("Error - UCAConformanceTest: Unable to open UCA collator! - %s", u_errorName(status)); 49 delete UCA; 73 if (UCA) { 74 UCA->getRules(UCOL_FULL_RULES, ucarules); 77 dataerrln("Failure creating UCA rule-based collator: %s", u_errorName(status)); 81 dataerrln("Failure creating UCA rule-based collator: %s", u_errorName(status)); 249 // Up to UCA 6.1, the collation test files use a custom tie-breaker, 252 // Starting with UCA 6.2, the collation test files use the standard UCA ti [all...] |
H A D | dadrcoll.h | 54 RuleBasedCollator *UCA; // needed for opening collators from binary images member in class:DataDrivenCollatorTest
|
H A D | dadrcoll.cpp | 42 UCA = (RuleBasedCollator*)Collator::createInstance("root", status); 48 delete UCA; 217 clone = new RuleBasedCollator(cloneBuf, cloneSize, UCA, intStatus);
|
/external/icu/icu4c/source/test/intltest/ |
H A D | ucaconf.h | 43 RuleBasedCollator *UCA; // rule-based so rules are available member in class:UCAConformanceTest
|
H A D | ucaconf.cpp | 30 UCA = (RuleBasedCollator *)Collator::createInstance(Locale::getRoot(), status); 32 dataerrln("Error - UCAConformanceTest: Unable to open UCA collator! - %s", u_errorName(status)); 51 delete UCA; 74 if (UCA) { 76 UCA->getRules(UCOL_FULL_RULES, ucarules); 79 dataerrln("Failure creating UCA rule-based collator: %s", u_errorName(status)); 83 dataerrln("Failure creating UCA rule-based collator: %s", u_errorName(status)); 248 // Up to UCA 6.1, the collation test files use a custom tie-breaker, 251 // Starting with UCA 6.2, the collation test files use the standard UCA ti [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | ucol_elm.h | 16 * This program reads the Franctional UCA table and generates 17 * internal format for UCA table as well as inverse UCA table. 111 const UCollator *UCA; member in struct:__anon12115 133 U_CAPI tempUCATable * U_EXPORT2 uprv_uca_initTempTable(UCATableHeader *image, UColOptionSet *opts, const UCollator *UCA, UColCETags initTag, UColCETags supplementaryInitTag, UErrorCode *status);
|
H A D | ucol_res.cpp | 20 * 03/16/2001 weiv Collation framework is rewritten in C and made UCA compliant 55 // static UCA. There is only one. Collators don't use it. 101 // we used to check that the UCA data version (pInfo->dataVersion) 137 /* do not close UCA returned by ucol_initUCA! */ 171 const UCollator* UCA = ucol_initUCA(status); local 209 if(*status == U_MISSING_RESOURCE_ERROR) { /* We didn't find the tailoring data, we fallback to the UCA */ 211 result = ucol_initCollator(UCA->image, result, UCA, status); 215 // if we use UCA, real locale is root 242 if(uprv_memcmp(colData->UCAVersion, UCA 407 UCollator *UCA = ucol_initUCA(status); local [all...] |
H A D | ucol_tok.h | 116 const UCollator *UCA; member in struct:__anon12128 176 const UCollator *UCA,
|
H A D | ucol_bld.cpp | 153 /* not defined in the UCA. */ 344 UCAConstants *consts = (UCAConstants *)((uint8_t *)src->UCA->image + src->UCA->image->UCAConsts); 621 uint8_t ucol_uprv_getCaseBits(const UCollator *UCA, const UChar *src, uint32_t len, UErrorCode *status) { argument 637 uprv_init_collIterate(UCA, &n[i], 1, &s, status); 638 order = ucol_getNextCE(UCA, &s, status); 720 tok->CEs[0] |= ucol_uprv_getCaseBits(src->UCA, cPoints, cSize, status); 722 // Copy it from the UCA 723 uint32_t caseCE = ucol_getFirstCE(src->UCA, cPoints[0], status); 888 /* will have to get one from UCA */ 1359 UCollator *UCA = ucol_initUCA(&status); local [all...] |
H A D | ucol_tok.cpp | 1519 If "xy" doesn't occur earlier in the list or in the UCA, convert &xy * c * 1548 /* this is a virgin before - we need to fish the anchor from the UCA */ 1554 uprv_init_collIterate(src->UCA, src->source+((sourceToken->source)&0xFFFFFF), 1, &s, status); 1556 uprv_init_collIterate(src->UCA, src->source+src->parsedToken.charsOffset /**charsOffset*/, 1, &s, status); 1562 baseCE = ucol_getNextCE(src->UCA, &s, status) & 0xFFFFFF3F; 1563 baseContCE = ucol_getNextCE(src->UCA, &s, status); 1569 UCAConstants *consts = (UCAConstants *)((uint8_t *)src->UCA->image + src->UCA->image->UCAConsts); 1659 // We got an UCA before. However, this might have been tailored. 1675 // therefore, I don't really care if the UCA valu 2152 ucol_tok_initTokenList( UColTokenParser *src, const UChar *rules, uint32_t rulesLength, const UCollator *UCA, GetCollationRulesFunction importFunc, void* context, UErrorCode *status) argument [all...] |
H A D | ucol_elm.cpp | 16 * This program reads the Franctional UCA table and generates 17 * internal format for UCA table as well as inverse UCA table. 23 * 03/07/2001 synwee merged UCA's maxexpansion and tailoring's 115 uprv_uca_initTempTable(UCATableHeader *image, UColOptionSet *opts, const UCollator *UCA, UColCETags initTag, UColCETags supplementaryInitTag, UErrorCode *status) { argument 143 t->UCA = UCA; 169 /* copy UCA's maxexpansion and merge as we go along */ 170 if (UCA != NULL) { 172 maxet->size = (int32_t)(UCA [all...] |
H A D | ucol.cpp | 16 * 03/16/2001 weiv Collation framework is rewritten in C and made UCA compliant 64 // These are values from UCA required for 66 // they should regularly be in the UCA, but if one 67 // is running without UCA, it could be a problem 444 // We need these and we could be running without UCA 521 /* do not copy the header from the UCA file because its values are wrong! */ 522 /* uprv_memcpy(result, UCA->image, sizeof(UCATableHeader)); */ 541 /* copy UCA's version; genrb will override all but the builder version with tailoring data */ 640 localCollator = ucol_initFromBinary(image, imageSize, coll->UCA, localCollator, status); 735 /* - UData for UCA (unles 821 ucol_initCollator(const UCATableHeader *image, UCollator *fillIn, const UCollator *UCA, UErrorCode *status) argument [all...] |
H A D | ucol_sit.cpp | 461 // we'll end up with an UCA version, locale and a bunch of 524 // we'll end up with an UCA version, locale and a bunch of 842 * both the UCA contractions and the contractions defined by the collator 859 * both the UCA expansions and the expansions defined by the tailoring 891 ucol_tok_initTokenList(&src, rules, rulesLen, coll->UCA, 896 // Add the UCA contractions 897 c.coll = coll->UCA; 898 utrie_enum(&coll->UCA->mapping, NULL, _processSpecials, &c);
|
H A D | ucol_imp.h | 58 * Ready to use collators are stored as binary images. Both UCA and tailorings 59 * share the same binary format. Individual files (currently only UCA) have a 65 * (UCA & tailorings) and for the inverse UCA table. 82 * - UCA constants (UCAConstants) 83 * - UCA contractions (UChar[contractionUCACombosSize][contractionUCACombosWidth]) 100 * uint32_t UCAConsts; - only used (!=0) in UCA image - structure which holds values for indirect positioning and implicit ranges 102 * important constant values that are defined in the UCA and used for building and runtime. 104 * uint32_t contractionUCACombos; - only used (!=0) in UCA image - list of UCA contraction 912 const UCollator *UCA; member in struct:UCollator [all...] |
/external/chromium_org/third_party/icu/source/test/perf/collationperf/ |
H A D | CollPerf.pl | 218 "http://www.unicode.org/reports/tr10/">Unicode Collation (UCA)</a>.</li>
|
/external/icu/icu4c/source/test/perf/collationperf/ |
H A D | CollPerf.pl | 218 "http://www.unicode.org/reports/tr10/">Unicode Collation (UCA)</a>.</li>
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
H A D | cmsccoll.c | 662 UCollator *UCA = (UCollator *)collator; local 663 return ucol_strcoll(UCA, source, sLen, target, tLen); 918 static void testAgainstUCA(UCollator *coll, UCollator *UCA, const char *refName, UBool error, UErrorCode *status) { argument 991 UCAdiff += testSwitch(&ucaTest, (void *)UCA, 0, strength, first, second, refName, error); 1120 UCollator *UCA = ucol_open("root", status); local 1137 ucol_close(UCA); 1144 consts = (UCAConstants *)((uint8_t *)UCA->image + UCA->image->UCAConsts); 1307 ucol_close(UCA); 1353 UCollator *UCA local [all...] |
H A D | capitst.c | 280 * number 3 is the UCA version. 281 * This changes with every UCA version change, and the expected value 285 UVersionInfo currVersionArray = {0x31, 0xC0, 0x05, 0x2A}; /* from ICU 4.4/UCA 5.2 */ 309 /* Assume that the UCD and UCA versions are the same, 310 * rather than hardcoding (and updating each time) a particular UCA version. */ 313 if (0!=uprv_memcmp(versionUCAArray, versionUCDArray, 4) /*TODO: remove the following once UCA is up to date, ticket:9101*/ && !(versionUCDArray[0]==6 && versionUCDArray[1]==3)) { 740 /* Test that a cloned collator doesn't accidentally use UCA. */ 1361 * are the same. According to the UCA, this is not true. Therefore, remove the test. 2007 * The following expectedOutput contains a collation weight (2700 from UCA 6.0) 2011 * That is, when we upgrade to a new UCA versio 2239 UCollator *UCA = NULL; local [all...] |
/external/icu/icu4c/source/test/cintltst/ |
H A D | capitst.c | 283 * number 3 is the UCA version. 284 * This changes with every UCA version change, and the expected value 288 UVersionInfo currVersionArray = {0x31, 0xC0, 0x05, 0x2A}; /* from ICU 4.4/UCA 5.2 */ 312 /* Assume that the UCD and UCA versions are the same, 313 * rather than hardcoding (and updating each time) a particular UCA version. */ 738 /* Test that a cloned collator doesn't accidentally use UCA. */ 1359 * are the same. According to the UCA, this is not true. Therefore, remove the test. 2248 * "The API also takes a base collator which usually should be UCA." 2254 * Optionally without UCA, with relevant parts of UCA copie 2277 UCollator *UCA = NULL; local [all...] |
H A D | cmsccoll.c | 601 log_verbose("Testing UCA extensively for %d characters\n", charsToTestSize); 628 log_err("Failure: codePoint %05X fails TestComposeDecompose in the UCA\n", t[u]->u); 1037 /* New UCA 3.1.1. 1206 UCollator *UCA = ucol_open("", &status); 1211 res = ucol_uprv_getCaseBits(UCA, b, blen, &status); 1707 log_data_err("Couldn't open UCA\n"); 1818 log_data_err("Couldn't open UCA collator\n"); 1918 "\\U0001FFFE", "\\U0001FFFF", /* UCA 6.0: noncharacters are treated like unassigned, */ 2355 /* values here are hardcoded and are correct for the current UCA 2356 * when the UCA change [all...] |