Home
last modified time | relevance | path

Searched refs:UCA (Results 1 – 21 of 21) 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()
258 setCollNonIgnorable(UCA); in TestTableNonIgnorable()
260 testConformance(UCA); in TestTableNonIgnorable()
264 setCollShifted(UCA); in TestTableShifted()
266 testConformance(UCA); in TestTableShifted()
Ddadrcoll.cpp42 UCA = (RuleBasedCollator*)Collator::createInstance("root", status); in DataDrivenCollatorTest()
48 delete UCA; in ~DataDrivenCollatorTest()
217 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.cpp178 const UCollator* UCA = ucol_initUCA(status); in ucol_open_internal() local
218 result = ucol_initCollator(UCA->image, result, UCA, status); in ucol_open_internal()
249 … if(uprv_memcmp(colData->UCAVersion, UCA->image->UCAVersion, sizeof(UVersionInfo)) != 0 || in ucol_open_internal()
250 … uprv_memcmp(colData->UCDVersion, UCA->image->UCDVersion, sizeof(UVersionInfo)) != 0 || in ucol_open_internal()
260 result = ucol_initCollator((const UCATableHeader *)inData, result, UCA, status); in ucol_open_internal()
266 result = ucol_initCollator(UCA->image, result, UCA, status); in ucol_open_internal()
414 UCollator *UCA = ucol_initUCA(status); in ucol_openRulesForImport() local
420 ucol_tok_initTokenList(&src, rules, rulesLength, UCA, importFunc, context, status); in ucol_openRulesForImport()
448 uprv_memcpy(table->UCAVersion, UCA->image->UCAVersion, sizeof(UVersionInfo)); in ucol_openRulesForImport()
449 result = ucol_initCollator(table, 0, UCA, status); in ucol_openRulesForImport()
[all …]
Ducol_bld.cpp343 … UCAConstants *consts = (UCAConstants *)((uint8_t *)src->UCA->image + src->UCA->image->UCAConsts); in ucol_inv_getGapPositions()
620 uint8_t ucol_uprv_getCaseBits(const UCollator *UCA, const UChar *src, uint32_t len, UErrorCode *sta… in ucol_uprv_getCaseBits() argument
636 uprv_init_collIterate(UCA, &n[i], 1, &s, status); in ucol_uprv_getCaseBits()
637 order = ucol_getNextCE(UCA, &s, status); in ucol_uprv_getCaseBits()
719 tok->CEs[0] |= ucol_uprv_getCaseBits(src->UCA, cPoints, cSize, status); in ucol_doCE()
722 uint32_t caseCE = ucol_getFirstCE(src->UCA, cPoints[0], status); in ucol_doCE()
888 uprv_init_collIterate(src->UCA, expOffset + src->source, 1, &s, status); in ucol_createElements()
891 order = ucol_getNextCE(src->UCA, &s, status); in ucol_createElements()
935 if(src->UCA != NULL) { in ucol_createElements()
1055 uprv_init_collIterate(src->UCA, el.uchars, el.cSize, &colIt, status); in ucol_uprv_bld_copyRangeFromUCA()
[all …]
Ducol_elm.h111 const UCollator *UCA; member
133 …initTempTable(UCATableHeader *image, UColOptionSet *opts, const UCollator *UCA, UColCETags initTag…
Ducol_tok.h116 const UCollator *UCA; member
176 const UCollator *UCA,
Ducol_tok.cpp1560 … uprv_init_collIterate(src->UCA, src->source+((sourceToken->source)&0xFFFFFF), 1, &s, status); in getVirginBefore()
1562 …uprv_init_collIterate(src->UCA, src->source+src->parsedToken.charsOffset /**charsOffset*/, 1, &s, … in getVirginBefore()
1568 baseCE = ucol_getNextCE(src->UCA, &s, status) & 0xFFFFFF3F; in getVirginBefore()
1569 baseContCE = ucol_getNextCE(src->UCA, &s, status); in getVirginBefore()
1575 … UCAConstants *consts = (UCAConstants *)((uint8_t *)src->UCA->image + src->UCA->image->UCAConsts); in getVirginBefore()
2026 … UCAConstants *consts = (UCAConstants *)((uint8_t *)src->UCA->image + src->UCA->image->UCAConsts); in ucol_tok_assembleTokenList()
2067 …uprv_init_collIterate(src->UCA, src->source+src->parsedToken.charsOffset, src->parsedToken.charsLe… in ucol_tok_assembleTokenList()
2069 CE = ucol_getNextCE(src->UCA, &s, status); in ucol_tok_assembleTokenList()
2071 SecondCE = ucol_getNextCE(src->UCA, &s, status); in ucol_tok_assembleTokenList()
2162 const UCollator *UCA, in ucol_tok_initTokenList() argument
[all …]
Ducol_elm.cpp113 uprv_uca_initTempTable(UCATableHeader *image, UColOptionSet *opts, const UCollator *UCA, UColCETags… in uprv_uca_initTempTable() argument
141 t->UCA = UCA; in uprv_uca_initTempTable()
168 if (UCA != NULL) { in uprv_uca_initTempTable()
170 maxet->size = (int32_t)(UCA->lastEndExpansionCE - UCA->endExpansionCE) + 2; in uprv_uca_initTempTable()
187 uprv_memcpy(maxet->endExpansionCE + 1, UCA->endExpansionCE, in uprv_uca_initTempTable()
189 uprv_memcpy(maxet->expansionCESize + 1, UCA->expansionCESize, in uprv_uca_initTempTable()
370 r->UCA = t->UCA; in uprv_uca_cloneTempTable()
1567 if (t->UCA != 0) { /* Or in unsafebits from UCA, making a combined table. */ in uprv_uca_assembleTable()
1569 t->unsafeCP[i] |= t->UCA->unsafeCP[i]; in uprv_uca_assembleTable()
1578 if (t->UCA != 0) { /* Or in unsafebits from UCA, making a combined table. */ in uprv_uca_assembleTable()
[all …]
Ducol.cpp639 localCollator = ucol_initFromBinary(image, imageSize, coll->UCA, localCollator, status); in ucol_safeClone()
878 UCollator* ucol_initCollator(const UCATableHeader *image, UCollator *fillIn, const UCollator *UCA, … in ucol_initCollator() argument
959 result->UCA = UCA; in ucol_initCollator()
1657 … if(order == UCOL_NOT_FOUND && coll->UCA) { /* We couldn't find a good CE in the tailoring */ in ucol_IGetNextCE()
1659 order = UTRIE_GET32_FROM_LEAD(&coll->UCA->mapping, ch); in ucol_IGetNextCE()
1662 order = ucol_prv_getSpecialCE(coll->UCA, ch, order, collationSource, status); in ucol_IGetNextCE()
1751 if (baseOrder == UCOL_NOT_FOUND && data->coll->UCA) { in collPrevIterNormalize()
1752 baseOrder = UTRIE_GET32_FROM_LEAD(&data->coll->UCA->mapping, baseChar); in collPrevIterNormalize()
2159 if(coll->UCA) { in ucol_IGetPrevCE()
2160 result = UTRIE_GET32_FROM_LEAD(&coll->UCA->mapping, ch); in ucol_IGetPrevCE()
[all …]
Ducol_sit.cpp847 ucol_tok_initTokenList(&src, rules, rulesLen, coll->UCA, in ucol_getContractionsAndExpansions()
853 c.coll = coll->UCA; in ucol_getContractionsAndExpansions()
854 utrie_enum(&coll->UCA->mapping, NULL, _processSpecials, &c); in ucol_getContractionsAndExpansions()
Ducol_imp.h991 const UCollator *UCA; member
1074 UCollator* ucol_initCollator(const UCATableHeader *image, UCollator *fillIn, const UCollator *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!
DCollationTest_NON_IGNORABLE_SHORT.txt2 # UCA Version: 6.0.0
DCollationTest_SHIFTED_SHORT.txt2 # UCA Version: 6.0.0
/external/icu4c/test/cintltst/
Dcmsccoll.c659 UCollator *UCA = (UCollator *)collator; in ucaTest() local
660 return ucol_strcoll(UCA, source, sLen, target, tLen); in ucaTest()
915 static void testAgainstUCA(UCollator *coll, UCollator *UCA, const char *refName, UBool error, UErro… in testAgainstUCA() argument
982 UCAdiff += testSwitch(&ucaTest, (void *)UCA, 0, strength, first, second, refName, error); in testAgainstUCA()
1110 UCollator *UCA = ucol_open("root", status); in testCEs() local
1121 ucol_close(UCA); in testCEs()
1128 consts = (UCAConstants *)((uint8_t *)UCA->image + UCA->image->UCAConsts); in testCEs()
1290 ucol_close(UCA); in testCEs()
1336 UCollator *UCA = ucol_open("", &status); in TestCollations() local
1337 UColAttributeValue oldStrength = ucol_getAttribute(UCA, UCOL_STRENGTH, &status); in TestCollations()
[all …]
Dcapitst.c2261 UCollator *UCA = NULL; in TestOpenBinary() local
2275 UCA = ucol_open("root", &status); in TestOpenBinary()
2276 if((UCA==NULL)||(U_FAILURE(status))) { in TestOpenBinary()
2289 cloneWUCA = ucol_openBinary(image, imageSize, UCA, &status); in TestOpenBinary()
2303 ucol_close(UCA); in TestOpenBinary()
/external/icu4c/data/unidata/
DUCARules.txt2 # UCA Version: 6.0.0
Dchanges.txt267 * UCA
272 http://www.unicode.org/Public/UCA/6.0.0/
477 *** UCA
483 Starting with UCA 5.2, we use the CollationTest_*_SHORT.txt files not the *_STUB.txt files.
717 *** UCA
DFractionalUCA.txt1 # Fractional UCA Table, generated from standard UCA
3 # VERSION: UCA=6.0.0, UCD=6.0.0
6 [UCA version = 6.0.0]
39970 # VALUES BASED ON UCA