Searched defs:UCA (Results 1 - 24 of 24) sorted by relevance

/external/chromium_org/third_party/icu/source/test/intltest/
H A Ducaconf.h43 UCollator *UCA; member in class:UCAConformanceTest
H A Ddadrcoll.h54 RuleBasedCollator *UCA; // needed for opening collators from binary images member in class:DataDrivenCollatorTest
/external/icu4c/test/intltest/
H A Ddadrcoll.h54 RuleBasedCollator *UCA; // needed for opening collators from binary images member in class:DataDrivenCollatorTest
H A Ducaconf.h43 RuleBasedCollator *UCA; // rule-based so rules are available member in class:UCAConformanceTest
/external/chromium_org/third_party/icu/source/i18n/
H A Ducol_elm.h16 * 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:__anon10974
133 U_CAPI tempUCATable * U_EXPORT2 uprv_uca_initTempTable(UCATableHeader *image, UColOptionSet *opts, const UCollator *UCA, UColCETags initTag, UColCETags supplementaryInitTag, UErrorCode *status);
H A Ducol_tok.h116 const UCollator *UCA; member in struct:__anon10989
176 const UCollator *UCA,
H A Ducol_bld.cpp154 /* 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) { argument
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 */
1353 UCollator *UCA = ucol_initUCA(status); local
[all...]
H A Ducol_res.cpp20 * 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); local
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
405 UCollator *UCA = ucol_initUCA(status); local
[all...]
H A Ducol_elm.cpp16 * 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) { argument
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
[all...]
H A Ducol_tok.cpp1525 If "xy" doesn't occur earlier in the list or in the UCA, convert &xy * c *
1554 /* this is a virgin before - we need to fish the anchor from the UCA */
1560 uprv_init_collIterate(src->UCA, src->source+((sourceToken->source)&0xFFFFFF), 1, &s, status);
1562 uprv_init_collIterate(src->UCA, src->source+src->parsedToken.charsOffset /**charsOffset*/, 1, &s, status);
1568 baseCE = ucol_getNextCE(src->UCA, &s, status) & 0xFFFFFF3F;
1569 baseContCE = ucol_getNextCE(src->UCA, &s, status);
1575 UCAConstants *consts = (UCAConstants *)((uint8_t *)src->UCA->image + src->UCA->image->UCAConsts);
1665 // We got an UCA before. However, this might have been tailored.
1681 // therefore, I don't really care if the UCA valu
2158 ucol_tok_initTokenList( UColTokenParser *src, const UChar *rules, uint32_t rulesLength, const UCollator *UCA, GetCollationRulesFunction importFunc, void* context, UErrorCode *status) argument
[all...]
H A Ducol_imp.h54 * Ready to use collators are stored as binary images. Both UCA and tailorings
55 * share the same binary format. Individual files (currently only UCA) have a
61 * (UCA & tailorings) and for the inverse UCA table.
78 * - UCA constants (UCAConstants)
79 * - UCA contractions (UChar[contractionUCACombosSize][contractionUCACombosWidth])
96 * uint32_t UCAConsts; - only used (!=0) in UCA image - structure which holds values for indirect positioning and implicit ranges
98 * important constant values that are defined in the UCA and used for building and runtime.
100 * uint32_t contractionUCACombos; - only used (!=0) in UCA image - list of UCA contraction
964 const UCollator *UCA; member in struct:UCollator
[all...]
H A Ducol.cpp16 * 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 (unles
832 ucol_initCollator(const UCATableHeader *image, UCollator *fillIn, const UCollator *UCA, UErrorCode *status) argument
[all...]
/external/icu4c/i18n/
H A Ducol_elm.h16 * 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:__anon18302
133 U_CAPI tempUCATable * U_EXPORT2 uprv_uca_initTempTable(UCATableHeader *image, UColOptionSet *opts, const UCollator *UCA, UColCETags initTag, UColCETags supplementaryInitTag, UErrorCode *status);
H A Ducol_tok.h116 const UCollator *UCA; member in struct:__anon18315
176 const UCollator *UCA,
H A Ducol_bld.cpp155 /* 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) { argument
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 */
1364 UCollator *UCA = ucol_initUCA(status); local
[all...]
H A Ducol_res.cpp20 * 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); local
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
414 UCollator *UCA = ucol_initUCA(status); local
[all...]
H A Ducol_elm.cpp16 * 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 Ducol_tok.cpp1519 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 Ducol_imp.h58 * 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
924 const UCollator *UCA; member in struct:UCollator
[all...]
H A Ducol.cpp16 * 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 (unles
903 ucol_initCollator(const UCATableHeader *image, UCollator *fillIn, const UCollator *UCA, UErrorCode *status) argument
[all...]
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dcapitst.c292 * number 3 is the UCA version.
293 * This changes with every UCA version change, and the expected value
297 UVersionInfo currVersionArray = {0x31, 0xC0, 0x05, 0x2A}; /* from ICU 4.4/UCA 5.2 */
321 /* Assume that the UCD and UCA versions are the same,
322 * rather than hardcoding (and updating each time) a particular UCA version. */
759 /* Test that a cloned collator doesn't accidentally use UCA. */
1306 * are the same. According to the UCA, this is not true. Therefore, remove the test.
1950 * The following expectedOutput contains a collation weight (2700 from UCA 6.0)
1954 * That is, when we upgrade to a new UCA version or change collation
2181 UCollator *UCA local
[all...]
H A Dcmsccoll.c659 UCollator *UCA = (UCollator *)collator; local
660 return ucol_strcoll(UCA, source, sLen, target, tLen);
915 static void testAgainstUCA(UCollator *coll, UCollator *UCA, const char *refName, UBool error, UErrorCode *status) { argument
982 UCAdiff += testSwitch(&ucaTest, (void *)UCA, 0, strength, first, second, refName, error);
1110 UCollator *UCA = ucol_open("root", status); local
1121 ucol_close(UCA);
1128 consts = (UCAConstants *)((uint8_t *)UCA->image + UCA->image->UCAConsts);
1290 ucol_close(UCA);
1336 UCollator *UCA local
[all...]
/external/icu4c/test/cintltst/
H A Dcapitst.c289 * number 3 is the UCA version.
290 * This changes with every UCA version change, and the expected value
294 UVersionInfo currVersionArray = {0x31, 0xC0, 0x05, 0x2A}; /* from ICU 4.4/UCA 5.2 */
318 /* Assume that the UCD and UCA versions are the same,
319 * rather than hardcoding (and updating each time) a particular UCA version. */
756 /* Test that a cloned collator doesn't accidentally use UCA. */
1380 * are the same. According to the UCA, this is not true. Therefore, remove the test.
2024 * The following expectedOutput contains a collation weight (2700 from UCA 6.0)
2028 * That is, when we upgrade to a new UCA version or change collation
2255 UCollator *UCA local
[all...]
H A Dcmsccoll.c661 UCollator *UCA = (UCollator *)collator; local
662 return ucol_strcoll(UCA, source, sLen, target, tLen);
917 static void testAgainstUCA(UCollator *coll, UCollator *UCA, const char *refName, UBool error, UErrorCode *status) { argument
984 UCAdiff += testSwitch(&ucaTest, (void *)UCA, 0, strength, first, second, refName, error);
1113 UCollator *UCA = ucol_open("root", status); local
1124 ucol_close(UCA);
1131 consts = (UCAConstants *)((uint8_t *)UCA->image + UCA->image->UCAConsts);
1294 ucol_close(UCA);
1340 UCollator *UCA local
[all...]

Completed in 457 milliseconds