Home | History | Annotate | Download | only in i18n

Lines Matching refs:UCA

16 * 03/16/2001  weiv      Collation framework is rewritten in C and made UCA compliant
62 // These are values from UCA required for
64 // they should regularly be in the UCA, but if one
65 // is running without UCA, it could be a problem
386 // We need these and we could be running without UCA
463 /* do not copy the header from the UCA file because its values are wrong! */
464 /* uprv_memcpy(result, UCA->image, sizeof(UCATableHeader)); */
483 /* copy UCA's version; genrb will override all but the builder version with tailoring data */
580 localCollator = ucol_initFromBinary(image, imageSize, coll->UCA, localCollator, status);
642 /* - UData for UCA (unless we stuff it in the root resb */
682 /* do not copy the header from the UCA file because its values are wrong! */
683 /* uprv_memcpy(result, UCA->image, sizeof(UCATableHeader)); */
702 /* copy UCA's version; genrb will override all but the builder version with tailoring data */
787 UCollator* ucol_initCollator(const UCATableHeader *image, UCollator *fillIn, const UCollator *UCA, UErrorCode *status) {
861 result->dataVersion[0] = result->image->version[0]; /* UCA Builder version*/
862 result->dataVersion[1] = result->image->version[1]; /* UCA Tailoring rules version*/
895 result->UCA = UCA;
899 /* Normally these will be set correctly later. This is the default if you use UCA or the default. */
927 * variables below according to the data in the fractional UCA.
932 * a) collapse the 2 different Han ranges from UCA into one (in the right order), and
1157 * doing canonical closure for the UCA.
1524 /* For latin-1 characters we never need to fall back to the UCA table */
1525 /* because all of the UCA data is replicated in the latinOneMapping array */
1533 // Always use UCA for Han, Hangul
1546 // in one of the target ranges; use UCA
1557 if(order == UCOL_NOT_FOUND && coll->UCA) { /* We couldn't find a good CE in the tailoring */
1559 order = UTRIE_GET32_FROM_LEAD(&coll->UCA->mapping, ch);
1561 if(order > UCOL_NOT_FOUND) { /* UCA also gives us a special CE */
1562 order = ucol_prv_getSpecialCE(coll->UCA, ch, order, collationSource, status);
1666 if (baseOrder == UCOL_NOT_FOUND && data->coll->UCA) {
1667 baseOrder = UTRIE_GET32_FROM_LEAD(&data->coll->UCA->mapping, baseChar);
1980 // Always use UCA for [3400..9FFF], [AC00..D7AF]
2007 if(coll->UCA) {
2008 result = UTRIE_GET32_FROM_LEAD(&coll->UCA->mapping, ch);
2013 if(coll->UCA) {
2014 result = ucol_prv_getSpecialPrevCE(coll->UCA, ch, result, data, status);
2916 // all supplementaries are marked in the UCA.
3065 /* UCA is filled with these. Tailorings are NOT_FOUND */
3143 /* we return 0 (completely ignorable - per UCA specification */
4021 /* UCA is filled with these. Tailorings are NOT_FOUND */
4260 //const UCAConstants *UCAconsts = (UCAConstants *)((uint8_t *)coll->UCA->image + coll->image->UCAConsts);
4325 || (wasShifted && primary1 == 0)) { /* amendment to the UCA says that primary ignorables */
4610 //const UCAConstants *UCAconsts = (UCAConstants *)((uint8_t *)coll->UCA->image + coll->image->UCAConsts);
4767 || (wasShifted && primary1 == 0)) /* amendment to the UCA says that primary ignorables */
5255 //const UCAConstants *UCAconsts = (UCAConstants *)((uint8_t *)coll->UCA->image + coll->image->UCAConsts);
5613 || (*wasShifted && primary1 == 0)) /* amendment to the UCA says that primary ignorables */
6651 if(CE == UCOL_NOT_FOUND && coll->UCA) {
6652 CE = UTRIE_GET32_FROM_LEAD(&coll->UCA->mapping, ch);
7109 if(coll->UCA) {
7110 /* Include the minor number when getting the UCA version. (major & 1f) << 3 | (minor & 7) */
7111 versionInfo[3] = (coll->UCA->image->UCAVersion[0] & 0x1f) << 3 | (coll->UCA->image->UCAVersion[1] & 0x07);
7121 if(U_FAILURE(*status) || coll == NULL || coll == coll->UCA) {
7129 if(coll->UCA && CE == coll->UCA->latinOneMapping[u]) {
7446 /* UCA amendment - ignore ignorables that follow shifted code points */
7493 /* UCA amendment - ignore ignorables that follow shifted code points */
8468 if(coll && coll->UCA) {
8469 uprv_memcpy(info, coll->UCA->image->UCAVersion, sizeof(UVersionInfo));