HomeSort by relevance Sort by last modified time
    Searched refs:UCA (Results 1 - 25 of 32) sorted by null

1 2

  /external/chromium_org/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));
228 * UCA 6.0 test files can have lines that compare == if they are
258 setCollNonIgnorable(UCA);
260 testConformance(UCA);
264 setCollShifted(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;
217 clone = new RuleBasedCollator(cloneBuf, cloneSize, UCA, intStatus);
  /external/icu4c/test/intltest/
ucaconf.h 43 RuleBasedCollator *UCA; // rule-based so rules are available
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 tie-breaker
    [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;
217 clone = new RuleBasedCollator(cloneBuf, cloneSize, UCA, intStatus);
  /external/chromium_org/third_party/icu/source/i18n/
ucol_res.cpp 20 * 03/16/2001 weiv Collation framework is rewritten in C and made UCA compliant
54 // static UCA. There is only one. Collators don't use it.
106 /* do not close UCA returned by ucol_initUCA! */
176 const UCollator* UCA = ucol_initUCA(status);
214 if(*status == U_MISSING_RESOURCE_ERROR) { /* We didn't find the tailoring data, we fallback to the UCA */
216 result = ucol_initCollator(UCA->image, result, UCA, status);
220 // if we use UCA, real locale is root
247 if(uprv_memcmp(colData->UCAVersion, UCA->image->UCAVersion, sizeof(UVersionInfo)) != 0 ||
248 uprv_memcmp(colData->UCDVersion, UCA->image->UCDVersion, sizeof(UVersionInfo)) != 0 |
    [all...]
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_tok.h 116 const UCollator *UCA;
176 const UCollator *UCA,
ucol_bld.cpp 154 /* not defined in the UCA. */
345 UCAConstants *consts = (UCAConstants *)((uint8_t *)src->UCA->image + src->UCA->image->UCAConsts);
620 uint8_t ucol_uprv_getCaseBits(const UCollator *UCA, const UChar *src, uint32_t len, UErrorCode *status) {
636 uprv_init_collIterate(UCA, &n[i], 1, &s, status);
637 order = ucol_getNextCE(UCA, &s, status);
719 tok->CEs[0] |= ucol_uprv_getCaseBits(src->UCA, cPoints, cSize, status);
721 // Copy it from the UCA
722 uint32_t caseCE = ucol_getFirstCE(src->UCA, cPoints[0], status);
883 /* will have to get one from UCA */
    [all...]
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
422 // We need these and we could be running without UCA
499 /* do not copy the header from the UCA file because its values are wrong! */
500 /* uprv_memcpy(result, UCA->image, sizeof(UCATableHeader)); */
519 /* copy UCA's version; genrb will override all but the builder version with tailoring data */
616 localCollator = ucol_initFromBinary(image, imageSize, coll->UCA, localCollator, status);
684 /* - UData for UCA (unless we stuff it in the root resb *
    [all...]
ucol_sit.cpp 423 // we'll end up with an UCA version, locale and a bunch of
486 // we'll end up with an UCA version, locale and a bunch of
798 * both the UCA contractions and the contractions defined by the collator
815 * both the UCA expansions and the expansions defined by the tailoring
847 ucol_tok_initTokenList(&src, rules, rulesLen, coll->UCA,
852 // Add the UCA contractions
853 c.coll = coll->UCA;
854 utrie_enum(&coll->UCA->mapping, NULL, _processSpecials, &c);
  /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
54 // static UCA. There is only one. Collators don't use it.
108 /* do not close UCA returned by ucol_initUCA! */
178 const UCollator* UCA = ucol_initUCA(status);
216 if(*status == U_MISSING_RESOURCE_ERROR) { /* We didn't find the tailoring data, we fallback to the UCA */
218 result = ucol_initCollator(UCA->image, result, UCA, status);
222 // if we use UCA, real locale is root
249 if(uprv_memcmp(colData->UCAVersion, UCA->image->UCAVersion, sizeof(UVersionInfo)) != 0 ||
250 uprv_memcmp(colData->UCDVersion, UCA->image->UCDVersion, sizeof(UVersionInfo)) != 0 |
    [all...]
ucol_tok.h 116 const UCollator *UCA;
176 const UCollator *UCA,
ucol_bld.cpp 155 /* not defined in the UCA. */
346 UCAConstants *consts = (UCAConstants *)((uint8_t *)src->UCA->image + src->UCA->image->UCAConsts);
623 uint8_t ucol_uprv_getCaseBits(const UCollator *UCA, const UChar *src, uint32_t len, UErrorCode *status) {
639 uprv_init_collIterate(UCA, &n[i], 1, &s, status);
640 order = ucol_getNextCE(UCA, &s, status);
722 tok->CEs[0] |= ucol_uprv_getCaseBits(src->UCA, cPoints, cSize, status);
724 // Copy it from the UCA
725 uint32_t caseCE = ucol_getFirstCE(src->UCA, cPoints[0], status);
890 /* will have to get one from UCA */
    [all...]
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
115 uprv_uca_initTempTable(UCATableHeader *image, UColOptionSet *opts, const UCollator *UCA, UColCETags initTag, UColCETags supplementaryInitTag, UErrorCode *status) {
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->lastEndExpansionCE - UCA->endExpansionCE) + 2
    [all...]
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 */
660 localCollator = ucol_initFromBinary(image, imageSize, coll->UCA, localCollator, status);
755 /* - UData for UCA (unless we stuff it in the root resb *
6870 const UCollator* uca = ucol_initUCA(pErrorCode); local
    [all...]
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);
    [all...]
  /external/chromium_org/third_party/icu/source/test/cintltst/
cmsccoll.c 659 UCollator *UCA = (UCollator *)collator;
660 return ucol_strcoll(UCA, source, sLen, target, tLen);
915 static void testAgainstUCA(UCollator *coll, UCollator *UCA, const char *refName, UBool error, UErrorCode *status) {
982 UCAdiff += testSwitch(&ucaTest, (void *)UCA, 0, strength, first, second, refName, error);
1110 UCollator *UCA = ucol_open("root", status);
1121 ucol_close(UCA);
1128 consts = (UCAConstants *)((uint8_t *)UCA->image + UCA->image->UCAConsts);
    [all...]

Completed in 489 milliseconds

1 2