Home
last modified time | relevance | path

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

/external/icu4c/test/intltest/
Ducaconf.cpp28 UCA = (RuleBasedCollator *)Collator::createInstance(Locale::getRoot(), status); in UCAConformanceTest()
49 delete UCA; in ~UCAConformanceTest()
73 if (UCA) { in initRbUCA()
74 UCA->getRules(UCOL_FULL_RULES, ucarules); in initRbUCA()
291 setCollNonIgnorable(UCA); in TestTableNonIgnorable()
293 testConformance(UCA); in TestTableNonIgnorable()
301 setCollShifted(UCA); in TestTableShifted()
303 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 RuleBasedCollator *UCA; // rule-based so rules are available variable
Ddadrcoll.h54 RuleBasedCollator *UCA; // needed for opening collators from binary images variable
/external/icu4c/i18n/
Ducol_bld.cpp346 … UCAConstants *consts = (UCAConstants *)((uint8_t *)src->UCA->image + src->UCA->image->UCAConsts); in ucol_inv_getGapPositions()
623 uint8_t ucol_uprv_getCaseBits(const UCollator *UCA, const UChar *src, uint32_t len, UErrorCode *sta… in ucol_uprv_getCaseBits() argument
639 uprv_init_collIterate(UCA, &n[i], 1, &s, status); in ucol_uprv_getCaseBits()
640 order = ucol_getNextCE(UCA, &s, status); in ucol_uprv_getCaseBits()
722 tok->CEs[0] |= ucol_uprv_getCaseBits(src->UCA, cPoints, cSize, status); in ucol_doCE()
725 uint32_t caseCE = ucol_getFirstCE(src->UCA, cPoints[0], status); in ucol_doCE()
895 uprv_init_collIterate(src->UCA, expOffset + src->source, 1, &s, status); in ucol_createElements()
898 order = ucol_getNextCE(src->UCA, &s, status); in ucol_createElements()
942 if(src->UCA != NULL) { in ucol_createElements()
1062 uprv_init_collIterate(src->UCA, el.uchars, el.cSize, &colIt, status); in ucol_uprv_bld_copyRangeFromUCA()
[all …]
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()
449 uprv_memcpy(table->UCAVersion, UCA->image->UCAVersion, sizeof(UVersionInfo)); in ucol_openRulesForImport()
450 result = ucol_initCollator(table, 0, UCA, status); in ucol_openRulesForImport()
[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.cpp1554 … uprv_init_collIterate(src->UCA, src->source+((sourceToken->source)&0xFFFFFF), 1, &s, status); in getVirginBefore()
1556 …uprv_init_collIterate(src->UCA, src->source+src->parsedToken.charsOffset /**charsOffset*/, 1, &s, … in getVirginBefore()
1562 baseCE = ucol_getNextCE(src->UCA, &s, status) & 0xFFFFFF3F; in getVirginBefore()
1563 baseContCE = ucol_getNextCE(src->UCA, &s, status); in getVirginBefore()
1569 … UCAConstants *consts = (UCAConstants *)((uint8_t *)src->UCA->image + src->UCA->image->UCAConsts); in getVirginBefore()
2020 … UCAConstants *consts = (UCAConstants *)((uint8_t *)src->UCA->image + src->UCA->image->UCAConsts); in ucol_tok_assembleTokenList()
2061 …uprv_init_collIterate(src->UCA, src->source+src->parsedToken.charsOffset, src->parsedToken.charsLe… in ucol_tok_assembleTokenList()
2063 CE = ucol_getNextCE(src->UCA, &s, status); in ucol_tok_assembleTokenList()
2065 SecondCE = ucol_getNextCE(src->UCA, &s, status); in ucol_tok_assembleTokenList()
2156 const UCollator *UCA, in ucol_tok_initTokenList() argument
[all …]
Ducol_elm.cpp115 uprv_uca_initTempTable(UCATableHeader *image, UColOptionSet *opts, const UCollator *UCA, UColCETags… in uprv_uca_initTempTable() argument
143 t->UCA = UCA; in uprv_uca_initTempTable()
170 if (UCA != NULL) { in uprv_uca_initTempTable()
172 maxet->size = (int32_t)(UCA->lastEndExpansionCE - UCA->endExpansionCE) + 2; in uprv_uca_initTempTable()
189 uprv_memcpy(maxet->endExpansionCE + 1, UCA->endExpansionCE, in uprv_uca_initTempTable()
191 uprv_memcpy(maxet->expansionCESize + 1, UCA->expansionCESize, in uprv_uca_initTempTable()
372 r->UCA = t->UCA; in uprv_uca_cloneTempTable()
1576 if (t->UCA != 0) { /* Or in unsafebits from UCA, making a combined table. */ in uprv_uca_assembleTable()
1578 t->unsafeCP[i] |= t->UCA->unsafeCP[i]; in uprv_uca_assembleTable()
1587 if (t->UCA != 0) { /* Or in unsafebits from UCA, making a combined table. */ in uprv_uca_assembleTable()
[all …]
Ducol.cpp660 localCollator = ucol_initFromBinary(image, imageSize, coll->UCA, localCollator, status); in ucol_safeClone()
903 UCollator* ucol_initCollator(const UCATableHeader *image, UCollator *fillIn, const UCollator *UCA, … in ucol_initCollator() argument
986 result->UCA = UCA; in ucol_initCollator()
1681 … if(order == UCOL_NOT_FOUND && coll->UCA) { /* We couldn't find a good CE in the tailoring */ in ucol_IGetNextCE()
1683 order = UTRIE_GET32_FROM_LEAD(&coll->UCA->mapping, ch); in ucol_IGetNextCE()
1686 order = ucol_prv_getSpecialCE(coll->UCA, ch, order, collationSource, status); in ucol_IGetNextCE()
1775 if (baseOrder == UCOL_NOT_FOUND && data->coll->UCA) { in collPrevIterNormalize()
1776 baseOrder = UTRIE_GET32_FROM_LEAD(&data->coll->UCA->mapping, baseChar); in collPrevIterNormalize()
2183 if(coll->UCA) { in ucol_IGetPrevCE()
2184 result = UTRIE_GET32_FROM_LEAD(&coll->UCA->mapping, ch); in ucol_IGetPrevCE()
[all …]
Ducol_sit.cpp891 ucol_tok_initTokenList(&src, rules, rulesLen, coll->UCA, in ucol_getContractionsAndExpansions()
897 c.coll = coll->UCA; in ucol_getContractionsAndExpansions()
898 utrie_enum(&coll->UCA->mapping, NULL, _processSpecials, &c); in ucol_getContractionsAndExpansions()
Ducol_imp.h924 const UCollator *UCA; member
1008 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_SHIFTED_SHORT.txt2 # UCA Version: 6.2.0
DCollationTest_NON_IGNORABLE_SHORT.txt2 # UCA Version: 6.2.0
/external/icu4c/data/unidata/
Dchanges.txt31 - ticket 9514: UCA 6.2: fix UCARules.txt
48 - download UCD, UCA & IDNA files
95 - in initial bootstrapping, change the UCA version
100 check if the UCA version in FractionalUCA.txt matches the new Unicode version
146 * UCA
148 - get output from Mark's tools; look in http://www.unicode.org/Public/UCA/<beta version>/
400 - in initial bootstrapping, change the UCA version
405 check if the UCA version in FractionalUCA.txt matches the new Unicode version
447 - temporarily ignore collation issues that look like UCA/UCD mismatches,
448 until UCA data is updated
[all …]
DUCARules.txt2 # UCA Version: 6.2.0
DFractionalUCA.txt1 # Fractional UCA Table, generated from standard UCA
3 # VERSION: UCA=6.2.0, UCD=6.2.0
6 [UCA version = 6.2.0]
41117 # VALUES BASED ON UCA
/external/icu4c/test/cintltst/
Dcmsccoll.c660 UCollator *UCA = (UCollator *)collator; in ucaTest() local
661 return ucol_strcoll(UCA, source, sLen, target, tLen); in ucaTest()
916 static void testAgainstUCA(UCollator *coll, UCollator *UCA, const char *refName, UBool error, UErro… in testAgainstUCA() argument
983 UCAdiff += testSwitch(&ucaTest, (void *)UCA, 0, strength, first, second, refName, error); in testAgainstUCA()
1111 UCollator *UCA = ucol_open("root", status); in testCEs() local
1122 ucol_close(UCA); in testCEs()
1129 consts = (UCAConstants *)((uint8_t *)UCA->image + UCA->image->UCAConsts); in testCEs()
1291 ucol_close(UCA); in testCEs()
1337 UCollator *UCA = ucol_open("", &status); in TestCollations() local
1338 UColAttributeValue oldStrength = ucol_getAttribute(UCA, UCOL_STRENGTH, &status); in TestCollations()
[all …]
Dcapitst.c2254 UCollator *UCA = NULL; in TestOpenBinary() local
2268 UCA = ucol_open("root", &status); in TestOpenBinary()
2269 if((UCA==NULL)||(U_FAILURE(status))) { in TestOpenBinary()
2282 cloneWUCA = ucol_openBinary(image, imageSize, UCA, &status); in TestOpenBinary()
2296 ucol_close(UCA); in TestOpenBinary()