/external/chromium_org/third_party/icu/source/test/intltest/ |
D | ucaconf.cpp | 27 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()
|
D | dadrcoll.cpp | 42 UCA = (RuleBasedCollator*)Collator::createInstance("root", status); in DataDrivenCollatorTest() 48 delete UCA; in ~DataDrivenCollatorTest() 217 clone = new RuleBasedCollator(cloneBuf, cloneSize, UCA, intStatus); in processTest()
|
D | ucaconf.h | 43 UCollator *UCA; variable
|
D | dadrcoll.h | 54 RuleBasedCollator *UCA; // needed for opening collators from binary images variable
|
/external/icu4c/test/intltest/ |
D | ucaconf.cpp | 28 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()
|
D | dadrcoll.cpp | 42 UCA = (RuleBasedCollator*)Collator::createInstance("root", status); in DataDrivenCollatorTest() 48 delete UCA; in ~DataDrivenCollatorTest() 217 clone = new RuleBasedCollator(cloneBuf, cloneSize, UCA, intStatus); in processTest()
|
D | ucaconf.h | 43 RuleBasedCollator *UCA; // rule-based so rules are available variable
|
D | dadrcoll.h | 54 RuleBasedCollator *UCA; // needed for opening collators from binary images variable
|
/external/chromium_org/third_party/icu/source/i18n/ |
D | ucol_res.cpp | 176 const UCollator* UCA = ucol_initUCA(status); in ucol_open_internal() local 216 result = ucol_initCollator(UCA->image, result, UCA, status); in ucol_open_internal() 247 … if(uprv_memcmp(colData->UCAVersion, UCA->image->UCAVersion, sizeof(UVersionInfo)) != 0 || in ucol_open_internal() 248 … uprv_memcmp(colData->UCDVersion, UCA->image->UCDVersion, sizeof(UVersionInfo)) != 0 || in ucol_open_internal() 258 result = ucol_initCollator((const UCATableHeader *)inData, result, UCA, status); in ucol_open_internal() 264 result = ucol_initCollator(UCA->image, result, UCA, status); in ucol_open_internal() 405 UCollator *UCA = ucol_initUCA(status); in ucol_openRulesForImport() local 411 ucol_tok_initTokenList(&src, rules, rulesLength, UCA, importFunc, context, status); in ucol_openRulesForImport() 439 uprv_memcpy(table->UCAVersion, UCA->image->UCAVersion, sizeof(UVersionInfo)); in ucol_openRulesForImport() 440 result = ucol_initCollator(table, 0, UCA, status); in ucol_openRulesForImport() [all …]
|
D | ucol_bld.cpp | 345 … 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 …]
|
D | ucol_elm.h | 111 const UCollator *UCA; member 133 …initTempTable(UCATableHeader *image, UColOptionSet *opts, const UCollator *UCA, UColCETags initTag…
|
D | ucol_tok.h | 116 const UCollator *UCA; member 176 const UCollator *UCA,
|
D | ucol_tok.cpp | 1560 … 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 …]
|
D | ucol_elm.cpp | 113 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 …]
|
D | ucol.cpp | 616 localCollator = ucol_initFromBinary(image, imageSize, coll->UCA, localCollator, status); in ucol_safeClone() 832 UCollator* ucol_initCollator(const UCATableHeader *image, UCollator *fillIn, const UCollator *UCA, … in ucol_initCollator() argument 908 result->UCA = UCA; in ucol_initCollator() 1606 … if(order == UCOL_NOT_FOUND && coll->UCA) { /* We couldn't find a good CE in the tailoring */ in ucol_IGetNextCE() 1608 order = UTRIE_GET32_FROM_LEAD(&coll->UCA->mapping, ch); in ucol_IGetNextCE() 1611 order = ucol_prv_getSpecialCE(coll->UCA, ch, order, collationSource, status); in ucol_IGetNextCE() 1700 if (baseOrder == UCOL_NOT_FOUND && data->coll->UCA) { in collPrevIterNormalize() 1701 baseOrder = UTRIE_GET32_FROM_LEAD(&data->coll->UCA->mapping, baseChar); in collPrevIterNormalize() 2108 if(coll->UCA) { in ucol_IGetPrevCE() 2109 result = UTRIE_GET32_FROM_LEAD(&coll->UCA->mapping, ch); in ucol_IGetPrevCE() [all …]
|
/external/icu4c/i18n/ |
D | ucol_bld.cpp | 346 … 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 …]
|
D | ucol_res.cpp | 178 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 …]
|
D | ucol_elm.h | 111 const UCollator *UCA; member 133 …initTempTable(UCATableHeader *image, UColOptionSet *opts, const UCollator *UCA, UColCETags initTag…
|
D | ucol_tok.h | 116 const UCollator *UCA; member 176 const UCollator *UCA,
|
D | ucol_tok.cpp | 1554 … 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 …]
|
D | ucol_elm.cpp | 115 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 …]
|
D | ucol.cpp | 660 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 …]
|
/external/chromium_org/third_party/icu/patches/ |
D | search_collation.patch | 626 - /* For latin-1 characters we never need to fall back to the UCA table */ 627 - /* because all of the UCA data is replicated in the latinOneMapping array */ 635 + /* For latin-1 characters we never need to fall back to the UCA table */ 636 + /* because all of the UCA data is replicated in the latinOneMapping array */ 645 - // Always use UCA for Han, Hangul 658 + // Always use UCA for Han, Hangul 671 + // in one of the target ranges; use UCA 677 - // in one of the target ranges; use UCA 691 - if(order == UCOL_NOT_FOUND && coll->UCA) { /* We couldn't find a good CE in the tailorin… 693 - order = UTRIE_GET32_FROM_LEAD(&coll->UCA->mapping, ch); [all …]
|
/external/chromium_org/third_party/icu/source/test/testdata/ |
D | DataDrivenCollationTest.txt | 145 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/ |
D | DataDrivenCollationTest.txt | 145 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!
|