/external/chromium/third_party/icu/source/test/intltest/ |
ucaconf.h | 43 UCollator *UCA;
|
ucaconf.cpp | 27 UCA = ucol_open("root", &status); 29 errln("ERROR - UCAConformanceTest: Unable to open UCA collator!"); 43 ucol_close(UCA); 74 int32_t size = ucol_getRulesEx(UCA, UCOL_FULL_RULES, NULL, 0); 77 size = ucol_getRulesEx(UCA, UCOL_FULL_RULES, ucarules, size); 82 errln("Failure creating UCA rule-based collator: %s", u_errorName(status)); 230 setCollNonIgnorable(UCA); 232 testConformance(UCA); 236 setCollShifted(UCA); 238 testConformance(UCA); [all...] |
dadrcoll.h | 54 RuleBasedCollator *UCA; // needed for opening collators from binary images
|
dadrcoll.cpp | 42 UCA = (RuleBasedCollator*)Collator::createInstance("root", status); 48 delete UCA; 216 clone = new RuleBasedCollator(cloneBuf, cloneSize, UCA, intStatus);
|
/external/icu4c/test/intltest/ |
ucaconf.h | 43 UCollator *UCA;
|
ucaconf.cpp | 27 UCA = ucol_open("root", &status); 29 errln("ERROR - UCAConformanceTest: Unable to open UCA collator!"); 43 ucol_close(UCA); 74 int32_t size = ucol_getRulesEx(UCA, UCOL_FULL_RULES, NULL, 0); 77 size = ucol_getRulesEx(UCA, UCOL_FULL_RULES, ucarules, size); 82 errln("Failure creating UCA rule-based collator: %s", u_errorName(status)); 253 setCollNonIgnorable(UCA); 255 testConformance(UCA); 259 setCollShifted(UCA); 261 testConformance(UCA); [all...] |
dadrcoll.h | 54 RuleBasedCollator *UCA; // needed for opening collators from binary images
|
dadrcoll.cpp | 42 UCA = (RuleBasedCollator*)Collator::createInstance("root", status); 48 delete UCA; 216 clone = new RuleBasedCollator(cloneBuf, cloneSize, UCA, intStatus);
|
/external/chromium/third_party/icu/source/i18n/ |
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; 133 U_CAPI tempUCATable * U_EXPORT2 uprv_uca_initTempTable(UCATableHeader *image, UColOptionSet *opts, const UCollator *UCA, UColCETags initTag, UColCETags supplementaryInitTag, UErrorCode *status);
|
ucol_res.cpp | 20 * 03/16/2001 weiv Collation framework is rewritten in C and made UCA compliant 51 // static UCA. There is only one. Collators don't use it. 103 /* do not close UCA returned by ucol_initUCA! */ 173 const UCollator* UCA = ucol_initUCA(status); 210 if(*status == U_MISSING_RESOURCE_ERROR) { /* We didn't find the tailoring data, we fallback to the UCA */ 212 result = ucol_initCollator(UCA->image, result, UCA, status); 216 // if we use UCA, real locale is root 243 if(uprv_memcmp(colData->UCAVersion, UCA->image->UCAVersion, sizeof(UVersionInfo)) != 0 || 244 uprv_memcmp(colData->UCDVersion, UCA->image->UCDVersion, sizeof(UVersionInfo)) != 0 | [all...] |
ucol_bld.cpp | 149 /* not defined in the UCA. */ 340 UCAConstants *consts = (UCAConstants *)((uint8_t *)src->UCA->image + src->UCA->image->UCAConsts); 613 uint8_t ucol_uprv_getCaseBits(const UCollator *UCA, const UChar *src, uint32_t len, UErrorCode *status) { 629 uprv_init_collIterate(UCA, &n[i], 1, &s); 630 order = ucol_getNextCE(UCA, &s, status); 712 tok->CEs[0] |= ucol_uprv_getCaseBits(src->UCA, cPoints, cSize, status); 714 // Copy it from the UCA 715 uint32_t caseCE = ucol_getFirstCE(src->UCA, cPoints[0], status); 876 /* will have to get one from UCA */ [all...] |
ucol_tok.h | 116 const UCollator *UCA; 156 void ucol_tok_initTokenList(UColTokenParser *src, const UChar *rules, const uint32_t rulesLength, const UCollator *UCA, UErrorCode *status);
|
ucol_tok.cpp | [all...] |
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 111 uprv_uca_initTempTable(UCATableHeader *image, UColOptionSet *opts, const UCollator *UCA, UColCETags initTag, UColCETags supplementaryInitTag, UErrorCode *status) { 139 t->UCA = UCA; 165 /* copy UCA's maxexpansion and merge as we go along */ 166 if (UCA != NULL) { 168 maxet->size = (UCA->lastEndExpansionCE - UCA->endExpansionCE) [all...] |
ucol.cpp | 16 * 03/16/2001 weiv Collation framework is rewritten in C and made UCA compliant 60 // These are values from UCA required for 62 // they should regularly be in the UCA, but if one 63 // is running without UCA, it could be a problem 330 // We need these and we could be running without UCA 407 /* do not copy the header from the UCA file because its values are wrong! */ 408 /* uprv_memcpy(result, UCA->image, sizeof(UCATableHeader)); */ 427 /* copy UCA's version; genrb will override all but the builder version with tailoring data */ 524 localCollator = ucol_initFromBinary(image, imageSize, coll->UCA, localCollator, status); 586 /* - UData for UCA (unless we stuff it in the root resb * [all...] |
ucol_imp.h | 50 * Ready to use collators are stored as binary images. Both UCA and tailorings 51 * share the same binary format. Individual files (currently only UCA) have a 57 * (UCA & tailorings) and for the inverse UCA table. 74 * - UCA constants (UCAConstants) 75 * - UCA contractions (UChar[contractionUCACombosSize][contractionUCACombosWidth]) 92 * uint32_t UCAConsts; - only used (!=0) in UCA image - structure which holds values for indirect positioning and implicit ranges 94 * important constant values that are defined in the UCA and used for building and runtime. 96 * uint32_t contractionUCACombos; - only used (!=0) in UCA image - list of UCA contractions. This is a zero terminated array of UChar[contractionUCACombosWidth] [all...] |
/external/icu4c/i18n/ |
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; 133 U_CAPI tempUCATable * U_EXPORT2 uprv_uca_initTempTable(UCATableHeader *image, UColOptionSet *opts, const UCollator *UCA, UColCETags initTag, UColCETags supplementaryInitTag, UErrorCode *status);
|
ucol_res.cpp | 20 * 03/16/2001 weiv Collation framework is rewritten in C and made UCA compliant 51 // static UCA. There is only one. Collators don't use it. 103 /* do not close UCA returned by ucol_initUCA! */ 173 const UCollator* UCA = ucol_initUCA(status); 210 if(*status == U_MISSING_RESOURCE_ERROR) { /* We didn't find the tailoring data, we fallback to the UCA */ 212 result = ucol_initCollator(UCA->image, result, UCA, status); 216 // if we use UCA, real locale is root 243 if(uprv_memcmp(colData->UCAVersion, UCA->image->UCAVersion, sizeof(UVersionInfo)) != 0 || 244 uprv_memcmp(colData->UCDVersion, UCA->image->UCDVersion, sizeof(UVersionInfo)) != 0 | [all...] |
ucol_bld.cpp | 149 /* not defined in the UCA. */ 340 UCAConstants *consts = (UCAConstants *)((uint8_t *)src->UCA->image + src->UCA->image->UCAConsts); 613 uint8_t ucol_uprv_getCaseBits(const UCollator *UCA, const UChar *src, uint32_t len, UErrorCode *status) { 629 uprv_init_collIterate(UCA, &n[i], 1, &s, status); 630 order = ucol_getNextCE(UCA, &s, status); 712 tok->CEs[0] |= ucol_uprv_getCaseBits(src->UCA, cPoints, cSize, status); 714 // Copy it from the UCA 715 uint32_t caseCE = ucol_getFirstCE(src->UCA, cPoints[0], status); 876 /* will have to get one from UCA */ [all...] |
ucol_tok.h | 116 const UCollator *UCA; 157 void ucol_tok_initTokenList(UColTokenParser *src, const UChar *rules, const uint32_t rulesLength, const UCollator *UCA, UErrorCode *status);
|
ucol_tok.cpp | [all...] |
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 113 uprv_uca_initTempTable(UCATableHeader *image, UColOptionSet *opts, const UCollator *UCA, UColCETags initTag, UColCETags supplementaryInitTag, UErrorCode *status) { 141 t->UCA = UCA; 167 /* copy UCA's maxexpansion and merge as we go along */ 168 if (UCA != NULL) { 170 maxet->size = (int32_t)(UCA->lastEndExpansionCE - UCA->endExpansionCE) + 2 [all...] |
ucol.cpp | 16 * 03/16/2001 weiv Collation framework is rewritten in C and made UCA compliant 62 // These are values from UCA required for 64 // they should regularly be in the UCA, but if one 65 // is running without UCA, it could be a problem 386 // We need these and we could be running without UCA 463 /* do not copy the header from the UCA file because its values are wrong! */ 464 /* uprv_memcpy(result, UCA->image, sizeof(UCATableHeader)); */ 483 /* copy UCA's version; genrb will override all but the builder version with tailoring data */ 580 localCollator = ucol_initFromBinary(image, imageSize, coll->UCA, localCollator, status); 642 /* - UData for UCA (unless we stuff it in the root resb * [all...] |
/external/icu4c/test/cintltst/ |
cmsccoll.c | 653 UCollator *UCA = (UCollator *)collator; 654 return ucol_strcoll(UCA, source, sLen, target, tLen); 909 static void testAgainstUCA(UCollator *coll, UCollator *UCA, const char *refName, UBool error, UErrorCode *status) { 973 UCAdiff += testSwitch(&ucaTest, (void *)UCA, 0, strength, first, second, refName, error); 1101 UCollator *UCA = ucol_open("root", status); 1112 ucol_close(UCA); 1117 consts = (UCAConstants *)((uint8_t *)UCA->image + UCA->image->UCAConsts); [all...] |
/external/chromium/third_party/icu/source/test/cintltst/ |
cmsccoll.c | 653 UCollator *UCA = (UCollator *)collator; 654 return ucol_strcoll(UCA, source, sLen, target, tLen); 909 static void testAgainstUCA(UCollator *coll, UCollator *UCA, const char *refName, UBool error, UErrorCode *status) { 973 UCAdiff += testSwitch(&ucaTest, (void *)UCA, 0, strength, first, second, refName, error); 1101 UCollator *UCA = ucol_open("root", status); 1114 consts = (UCAConstants *)((uint8_t *)UCA->image + UCA->image->UCAConsts); [all...] |