Home
last modified time | relevance | path

Searched refs:UCA (Results 1 – 19 of 19) sorted by relevance

/external/icu4c/test/intltest/
Ducaconf.cpp27 UCA = ucol_open("root", &status); in UCAConformanceTest()
43 ucol_close(UCA); in ~UCAConformanceTest()
74 int32_t size = ucol_getRulesEx(UCA, UCOL_FULL_RULES, NULL, 0); in initRbUCA()
77 size = ucol_getRulesEx(UCA, UCOL_FULL_RULES, ucarules, size); in initRbUCA()
230 setCollNonIgnorable(UCA); in TestTableNonIgnorable()
232 testConformance(UCA); in TestTableNonIgnorable()
236 setCollShifted(UCA); in TestTableShifted()
238 testConformance(UCA); in TestTableShifted()
Ddadrcoll.cpp42 UCA = (RuleBasedCollator*)Collator::createInstance("root", status); in DataDrivenCollatorTest()
48 delete UCA; in ~DataDrivenCollatorTest()
216 clone = new RuleBasedCollator(cloneBuf, cloneSize, UCA, intStatus); in processTest()
Ducaconf.h43 UCollator *UCA; variable
Ddadrcoll.h54 RuleBasedCollator *UCA; // needed for opening collators from binary images variable
/external/icu4c/i18n/
Ducol_res.cpp79 const UCollator* UCA = ucol_initUCA(status); in ucol_open_internal() local
116 result = ucol_initCollator(UCA->image, result, UCA, status); in ucol_open_internal()
140 … if(uprv_memcmp(colData->UCAVersion, UCA->image->UCAVersion, sizeof(UVersionInfo)) != 0 || in ucol_open_internal()
141 … uprv_memcmp(colData->UCDVersion, UCA->image->UCDVersion, sizeof(UVersionInfo)) != 0 || in ucol_open_internal()
151 result = ucol_initCollator((const UCATableHeader *)inData, result, UCA, status); in ucol_open_internal()
157 result = ucol_initCollator(UCA->image, result, UCA, status); in ucol_open_internal()
271 UCollator *UCA = ucol_initUCA(status); in ucol_openRules() local
277 ucol_tok_initTokenList(&src, rules, rulesLength, UCA, status); in ucol_openRules()
308 uprv_memcpy(table->UCAVersion, UCA->image->UCAVersion, sizeof(UVersionInfo)); in ucol_openRules()
309 result = ucol_initCollator(table, 0, UCA, status); in ucol_openRules()
[all …]
Ducol_bld.cpp334 … UCAConstants *consts = (UCAConstants *)((uint8_t *)src->UCA->image + src->UCA->image->UCAConsts); in ucol_inv_getGapPositions()
602 uint8_t ucol_uprv_getCaseBits(const UCollator *UCA, const UChar *src, uint32_t len, UErrorCode *sta… in ucol_uprv_getCaseBits() argument
618 uprv_init_collIterate(UCA, &n[i], 1, &s); in ucol_uprv_getCaseBits()
619 order = ucol_getNextCE(UCA, &s, status); in ucol_uprv_getCaseBits()
701 tok->CEs[0] |= ucol_uprv_getCaseBits(src->UCA, cPoints, cSize, status); in ucol_doCE()
704 uint32_t caseCE = ucol_getFirstCE(src->UCA, cPoints[0], status); in ucol_doCE()
869 uprv_init_collIterate(src->UCA, expOffset + src->source, 1, &s); in ucol_createElements()
872 order = ucol_getNextCE(src->UCA, &s, status); in ucol_createElements()
916 if(src->UCA != NULL) { in ucol_createElements()
1042 uprv_init_collIterate(src->UCA, el.uchars, el.cSize, &colIt); in ucol_uprv_bld_copyRangeFromUCA()
[all …]
Ducol_tok.cpp1201 uprv_init_collIterate(src->UCA, src->source+((sourceToken->source)&0xFFFFFF), 1, &s); in getVirginBefore()
1203 … uprv_init_collIterate(src->UCA, src->source+src->parsedToken.charsOffset /**charsOffset*/, 1, &s); in getVirginBefore()
1206 baseCE = ucol_getNextCE(src->UCA, &s, status) & 0xFFFFFF3F; in getVirginBefore()
1207 baseContCE = ucol_getNextCE(src->UCA, &s, status); in getVirginBefore()
1213 … UCAConstants *consts = (UCAConstants *)((uint8_t *)src->UCA->image + src->UCA->image->UCAConsts); in getVirginBefore()
1642 … UCAConstants *consts = (UCAConstants *)((uint8_t *)src->UCA->image + src->UCA->image->UCAConsts); in ucol_tok_assembleTokenList()
1682 …uprv_init_collIterate(src->UCA, src->source+src->parsedToken.charsOffset, src->parsedToken.charsLe… in ucol_tok_assembleTokenList()
1684 CE = ucol_getNextCE(src->UCA, &s, status); in ucol_tok_assembleTokenList()
1686 SecondCE = ucol_getNextCE(src->UCA, &s, status); in ucol_tok_assembleTokenList()
1733 …ser *src, const UChar *rules, const uint32_t rulesLength, const UCollator *UCA, UErrorCode *status… in ucol_tok_initTokenList() argument
[all …]
Ducol_elm.h112 const UCollator *UCA; member
134 …initTempTable(UCATableHeader *image, UColOptionSet *opts, const UCollator *UCA, UColCETags initTag…
Ducol_elm.cpp111 uprv_uca_initTempTable(UCATableHeader *image, UColOptionSet *opts, const UCollator *UCA, UColCETags… in uprv_uca_initTempTable() argument
139 t->UCA = UCA; in uprv_uca_initTempTable()
160 if (UCA != NULL) { in uprv_uca_initTempTable()
162 maxet->size = (UCA->lastEndExpansionCE - UCA->endExpansionCE) in uprv_uca_initTempTable()
180 uprv_memcpy(maxet->endExpansionCE + 1, UCA->endExpansionCE, in uprv_uca_initTempTable()
182 uprv_memcpy(maxet->expansionCESize + 1, UCA->expansionCESize, in uprv_uca_initTempTable()
357 r->UCA = t->UCA; in uprv_uca_cloneTempTable()
1527 if (t->UCA != 0) { /* Or in unsafebits from UCA, making a combined table. */ in uprv_uca_assembleTable()
1529 t->unsafeCP[i] |= t->UCA->unsafeCP[i]; in uprv_uca_assembleTable()
1538 if (t->UCA != 0) { /* Or in unsafebits from UCA, making a combined table. */ in uprv_uca_assembleTable()
[all …]
Ducol_tok.h116 const UCollator *UCA; member
156 …ser *src, const UChar *rules, const uint32_t rulesLength, const UCollator *UCA, UErrorCode *status…
Ducol.cpp480 localCollator = ucol_initFromBinary(image, imageSize, coll->UCA, localCollator, status); in ucol_safeClone()
687 UCollator* ucol_initCollator(const UCATableHeader *image, UCollator *fillIn, const UCollator *UCA, … in ucol_initCollator() argument
787 result->UCA = UCA; in ucol_initCollator()
1555 … if(order == UCOL_NOT_FOUND && coll->UCA) { /* We couldn't find a good CE in the tailoring */ in ucol_IGetNextCE()
1557 order = UTRIE_GET32_FROM_LEAD(&coll->UCA->mapping, ch); in ucol_IGetNextCE()
1560 order = ucol_prv_getSpecialCE(coll->UCA, ch, order, collationSource, status); in ucol_IGetNextCE()
1926 if(coll->UCA) { in ucol_IGetPrevCE()
1927 result = UTRIE_GET32_FROM_LEAD(&coll->UCA->mapping, ch); in ucol_IGetPrevCE()
1932 if(coll->UCA) { in ucol_IGetPrevCE()
1933 result = ucol_prv_getSpecialPrevCE(coll->UCA, ch, result, data, status); in ucol_IGetPrevCE()
[all …]
Ducol_imp.h862 const UCollator *UCA; member
941 UCollator* ucol_initCollator(const UCATableHeader *image, UCollator *fillIn, const UCollator *UCA, …
Ducol_sit.cpp1121 ucol_tok_initTokenList(&src, rules, rulesLen, coll->UCA, status); in ucol_getContractionsAndExpansions()
1126 c.coll = coll->UCA; in ucol_getContractionsAndExpansions()
1127 utrie_enum(&coll->UCA->mapping, NULL, _processSpecials, &c); in ucol_getContractionsAndExpansions()
/external/icu4c/data/unidata/
DUCARules.txt1 # UCA Rules
2 # This file contains the UCA tables for the given version, but transformed into rule syntax.
4 # NOTE: Since UCA handles canonical equivalents, no composites are necessary
8 # VERSION: UCA=5.0.0, UCD=5.0.0
DFractionalUCA.txt1 # Fractional UCA Table, generated from standard UCA
3 # VERSION: UCA=5.0.0, UCD=5.0.0
8 # - Bugs in UCA data are NOT FIXED, except for the following problems:
9 # - canonical equivalents are decomposed directly (some beta UCA are wrong).
21 [UCA version = 5.0.0]
28578 # VALUES BASED ON UCA
/external/icu4c/test/testdata/
DDataDrivenCollationTest.txt145 Description { "New UCA states that primary ignorables should be completely "
178 Description { "New UCA states that primary ignorables should be completely "
227 UCA 4.1 removes skipping of ignorable code points in contractions!
254 UCA 4.1 removes skipping of ignorable code points in contractions!
/external/icu4c/test/cintltst/
Dcmsccoll.c649 UCollator *UCA = (UCollator *)collator; in ucaTest() local
650 return ucol_strcoll(UCA, source, sLen, target, tLen); in ucaTest()
905 static void testAgainstUCA(UCollator *coll, UCollator *UCA, const char *refName, UBool error, UErro… in testAgainstUCA() argument
969 UCAdiff += testSwitch(&ucaTest, (void *)UCA, 0, strength, first, second, refName, error); in testAgainstUCA()
1095 UCollator *UCA = ucol_open("root", status); in testCEs() local
1096 UCAConstants *consts = (UCAConstants *)((uint8_t *)UCA->image + UCA->image->UCAConsts); in testCEs()
1254 ucol_close(UCA); in testCEs()
1299 UCollator *UCA = ucol_open("", &status); in TestCollations() local
1300 UColAttributeValue oldStrength = ucol_getAttribute(UCA, UCOL_STRENGTH, &status); in TestCollations()
1301 ucol_setAttribute(UCA, UCOL_STRENGTH, UCOL_QUATERNARY, &status); in TestCollations()
[all …]
Dcapitst.c2089 UCollator *UCA = ucol_open("root", &status); in TestOpenBinary() local
2098 if((coll==NULL)||(UCA==NULL)||(U_FAILURE(status))) { in TestOpenBinary()
2111 cloneWUCA = ucol_openBinary(image, imageSize, UCA, &status); in TestOpenBinary()
2125 ucol_close(UCA); in TestOpenBinary()
/external/icu4c/data/
Dmakedata.mak636 @echo Creating UCA data files