Home
last modified time | relevance | path

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

12

/external/chromium/third_party/icu/source/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/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()
253 setCollNonIgnorable(UCA); in TestTableNonIgnorable()
255 testConformance(UCA); in TestTableNonIgnorable()
259 setCollShifted(UCA); in TestTableShifted()
261 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/chromium/third_party/icu/source/i18n/
Ducol_res.cpp173 const UCollator* UCA = ucol_initUCA(status); in ucol_open_internal() local
212 result = ucol_initCollator(UCA->image, result, UCA, status); in ucol_open_internal()
243 … if(uprv_memcmp(colData->UCAVersion, UCA->image->UCAVersion, sizeof(UVersionInfo)) != 0 || in ucol_open_internal()
244 … uprv_memcmp(colData->UCDVersion, UCA->image->UCDVersion, sizeof(UVersionInfo)) != 0 || in ucol_open_internal()
254 result = ucol_initCollator((const UCATableHeader *)inData, result, UCA, status); in ucol_open_internal()
260 result = ucol_initCollator(UCA->image, result, UCA, status); in ucol_open_internal()
391 UCollator *UCA = ucol_initUCA(status); in ucol_openRules() local
397 ucol_tok_initTokenList(&src, rules, rulesLength, UCA, status); in ucol_openRules()
425 uprv_memcpy(table->UCAVersion, UCA->image->UCAVersion, sizeof(UVersionInfo)); in ucol_openRules()
426 result = ucol_initCollator(table, 0, UCA, status); in ucol_openRules()
[all …]
Ducol_bld.cpp340 … UCAConstants *consts = (UCAConstants *)((uint8_t *)src->UCA->image + src->UCA->image->UCAConsts); in ucol_inv_getGapPositions()
613 uint8_t ucol_uprv_getCaseBits(const UCollator *UCA, const UChar *src, uint32_t len, UErrorCode *sta… in ucol_uprv_getCaseBits() argument
629 uprv_init_collIterate(UCA, &n[i], 1, &s); in ucol_uprv_getCaseBits()
630 order = ucol_getNextCE(UCA, &s, status); in ucol_uprv_getCaseBits()
712 tok->CEs[0] |= ucol_uprv_getCaseBits(src->UCA, cPoints, cSize, status); in ucol_doCE()
715 uint32_t caseCE = ucol_getFirstCE(src->UCA, cPoints[0], status); in ucol_doCE()
881 uprv_init_collIterate(src->UCA, expOffset + src->source, 1, &s); in ucol_createElements()
884 order = ucol_getNextCE(src->UCA, &s, status); in ucol_createElements()
928 if(src->UCA != NULL) { in ucol_createElements()
1048 uprv_init_collIterate(src->UCA, el.uchars, el.cSize, &colIt); in ucol_uprv_bld_copyRangeFromUCA()
[all …]
Ducol_tok.cpp1203 uprv_init_collIterate(src->UCA, src->source+((sourceToken->source)&0xFFFFFF), 1, &s); in getVirginBefore()
1205 … uprv_init_collIterate(src->UCA, src->source+src->parsedToken.charsOffset /**charsOffset*/, 1, &s); in getVirginBefore()
1208 baseCE = ucol_getNextCE(src->UCA, &s, status) & 0xFFFFFF3F; in getVirginBefore()
1209 baseContCE = ucol_getNextCE(src->UCA, &s, status); in getVirginBefore()
1215 … UCAConstants *consts = (UCAConstants *)((uint8_t *)src->UCA->image + src->UCA->image->UCAConsts); in getVirginBefore()
1647 … UCAConstants *consts = (UCAConstants *)((uint8_t *)src->UCA->image + src->UCA->image->UCAConsts); in ucol_tok_assembleTokenList()
1687 …uprv_init_collIterate(src->UCA, src->source+src->parsedToken.charsOffset, src->parsedToken.charsLe… in ucol_tok_assembleTokenList()
1689 CE = ucol_getNextCE(src->UCA, &s, status); in ucol_tok_assembleTokenList()
1691 SecondCE = ucol_getNextCE(src->UCA, &s, status); in ucol_tok_assembleTokenList()
1738 …ser *src, const UChar *rules, const uint32_t rulesLength, const UCollator *UCA, UErrorCode *status… in ucol_tok_initTokenList() argument
[all …]
Ducol_elm.h111 const UCollator *UCA; member
133 …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()
166 if (UCA != NULL) { in uprv_uca_initTempTable()
168 maxet->size = (UCA->lastEndExpansionCE - UCA->endExpansionCE) in uprv_uca_initTempTable()
186 uprv_memcpy(maxet->endExpansionCE + 1, UCA->endExpansionCE, in uprv_uca_initTempTable()
188 uprv_memcpy(maxet->expansionCESize + 1, UCA->expansionCESize, in uprv_uca_initTempTable()
369 r->UCA = t->UCA; in uprv_uca_cloneTempTable()
1565 if (t->UCA != 0) { /* Or in unsafebits from UCA, making a combined table. */ in uprv_uca_assembleTable()
1567 t->unsafeCP[i] |= t->UCA->unsafeCP[i]; in uprv_uca_assembleTable()
1576 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…
/external/icu4c/i18n/
Ducol_res.cpp173 const UCollator* UCA = ucol_initUCA(status); in ucol_open_internal() local
212 result = ucol_initCollator(UCA->image, result, UCA, status); in ucol_open_internal()
243 … if(uprv_memcmp(colData->UCAVersion, UCA->image->UCAVersion, sizeof(UVersionInfo)) != 0 || in ucol_open_internal()
244 … uprv_memcmp(colData->UCDVersion, UCA->image->UCDVersion, sizeof(UVersionInfo)) != 0 || in ucol_open_internal()
254 result = ucol_initCollator((const UCATableHeader *)inData, result, UCA, status); in ucol_open_internal()
260 result = ucol_initCollator(UCA->image, result, UCA, status); in ucol_open_internal()
385 UCollator *UCA = ucol_initUCA(status); in ucol_openRules() local
391 ucol_tok_initTokenList(&src, rules, rulesLength, UCA, status); in ucol_openRules()
419 uprv_memcpy(table->UCAVersion, UCA->image->UCAVersion, sizeof(UVersionInfo)); in ucol_openRules()
420 result = ucol_initCollator(table, 0, UCA, status); in ucol_openRules()
[all …]
Ducol_bld.cpp340 … UCAConstants *consts = (UCAConstants *)((uint8_t *)src->UCA->image + src->UCA->image->UCAConsts); in ucol_inv_getGapPositions()
613 uint8_t ucol_uprv_getCaseBits(const UCollator *UCA, const UChar *src, uint32_t len, UErrorCode *sta… in ucol_uprv_getCaseBits() argument
629 uprv_init_collIterate(UCA, &n[i], 1, &s, status); in ucol_uprv_getCaseBits()
630 order = ucol_getNextCE(UCA, &s, status); in ucol_uprv_getCaseBits()
712 tok->CEs[0] |= ucol_uprv_getCaseBits(src->UCA, cPoints, cSize, status); in ucol_doCE()
715 uint32_t caseCE = ucol_getFirstCE(src->UCA, cPoints[0], status); in ucol_doCE()
881 uprv_init_collIterate(src->UCA, expOffset + src->source, 1, &s, status); in ucol_createElements()
884 order = ucol_getNextCE(src->UCA, &s, status); in ucol_createElements()
928 if(src->UCA != NULL) { in ucol_createElements()
1048 uprv_init_collIterate(src->UCA, el.uchars, el.cSize, &colIt, status); in ucol_uprv_bld_copyRangeFromUCA()
[all …]
Ducol_tok.cpp1255 … uprv_init_collIterate(src->UCA, src->source+((sourceToken->source)&0xFFFFFF), 1, &s, status); in getVirginBefore()
1257 …uprv_init_collIterate(src->UCA, src->source+src->parsedToken.charsOffset /**charsOffset*/, 1, &s, … in getVirginBefore()
1263 baseCE = ucol_getNextCE(src->UCA, &s, status) & 0xFFFFFF3F; in getVirginBefore()
1264 baseContCE = ucol_getNextCE(src->UCA, &s, status); in getVirginBefore()
1270 … UCAConstants *consts = (UCAConstants *)((uint8_t *)src->UCA->image + src->UCA->image->UCAConsts); in getVirginBefore()
1702 … UCAConstants *consts = (UCAConstants *)((uint8_t *)src->UCA->image + src->UCA->image->UCAConsts); in ucol_tok_assembleTokenList()
1742 …uprv_init_collIterate(src->UCA, src->source+src->parsedToken.charsOffset, src->parsedToken.charsLe… in ucol_tok_assembleTokenList()
1744 CE = ucol_getNextCE(src->UCA, &s, status); in ucol_tok_assembleTokenList()
1746 SecondCE = ucol_getNextCE(src->UCA, &s, status); in ucol_tok_assembleTokenList()
1793 …ser *src, const UChar *rules, const uint32_t rulesLength, const UCollator *UCA, UErrorCode *status… in ucol_tok_initTokenList() argument
[all …]
Ducol_elm.h111 const UCollator *UCA; member
133 …initTempTable(UCATableHeader *image, UColOptionSet *opts, const UCollator *UCA, UColCETags initTag…
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()
1566 if (t->UCA != 0) { /* Or in unsafebits from UCA, making a combined table. */ in uprv_uca_assembleTable()
1568 t->unsafeCP[i] |= t->UCA->unsafeCP[i]; in uprv_uca_assembleTable()
1577 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
157 …ser *src, const UChar *rules, const uint32_t rulesLength, const UCollator *UCA, UErrorCode *status…
/external/chromium/third_party/icu/source/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
7 # VERSION: UCA=5.1.0, UCD=5.1.0
/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
7 # VERSION: UCA=5.2.0, UCD=5.2.0
/external/chromium/third_party/icu/source/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/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.c653 UCollator *UCA = (UCollator *)collator; in ucaTest() local
654 return ucol_strcoll(UCA, source, sLen, target, tLen); in ucaTest()
909 static void testAgainstUCA(UCollator *coll, UCollator *UCA, const char *refName, UBool error, UErro… in testAgainstUCA() argument
973 UCAdiff += testSwitch(&ucaTest, (void *)UCA, 0, strength, first, second, refName, error); in testAgainstUCA()
1101 UCollator *UCA = ucol_open("root", status); in testCEs() local
1112 ucol_close(UCA); in testCEs()
1117 consts = (UCAConstants *)((uint8_t *)UCA->image + UCA->image->UCAConsts); in testCEs()
1277 ucol_close(UCA); in testCEs()
1323 UCollator *UCA = ucol_open("", &status); in TestCollations() local
1324 UColAttributeValue oldStrength = ucol_getAttribute(UCA, UCOL_STRENGTH, &status); in TestCollations()
[all …]

12