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
60 // These are values from UCA required for
62 // they should regularly be in the UCA, but if one
63 // is running without UCA, it could be a problem
330 // We need these and we could be running without UCA
407 /* do not copy the header from the UCA file because its values are wrong! */
408 /* uprv_memcpy(result, UCA->image, sizeof(UCATableHeader)); */
427 /* copy UCA's version; genrb will override all but the builder version with tailoring data */
524 localCollator = ucol_initFromBinary(image, imageSize, coll->UCA, localCollator, status);
586 /* - UData for UCA (unless we stuff it in the root resb */
626 /* do not copy the header from the UCA file because its values are wrong! */
627 /* uprv_memcpy(result, UCA->image, sizeof(UCATableHeader)); */
646 /* copy UCA's version; genrb will override all but the builder version with tailoring data */
731 UCollator* ucol_initCollator(const UCATableHeader *image, UCollator *fillIn, const UCollator *UCA, UErrorCode *status) {
805 result->dataVersion[0] = result->image->version[0]; /* UCA Builder version*/
806 result->dataVersion[1] = result->image->version[1]; /* UCA Tailoring rules version*/
839 result->UCA = UCA;
843 /* Normally these will be set correctly later. This is the default if you use UCA or the default. */
871 * variables below according to the data in the fractional UCA.
876 * a) collapse the 2 different Han ranges from UCA into one (in the right order), and
1101 * doing canonical closure for the UCA.
1492 /* For latin-1 characters we never need to fall back to the UCA table */
1493 /* because all of the UCA data is replicated in the latinOneMapping array */
1501 // Always use UCA for Han, Hangul
1514 // in one of the target ranges; use UCA
1525 if(order == UCOL_NOT_FOUND && coll->UCA) { /* We couldn't find a good CE in the tailoring */
1527 order = UTRIE_GET32_FROM_LEAD(&coll->UCA->mapping, ch);
1529 if(order > UCOL_NOT_FOUND) { /* UCA also gives us a special CE */
1530 order = ucol_prv_getSpecialCE(coll->UCA, ch, order, collationSource, status);
1647 if (baseOrder == UCOL_NOT_FOUND && data->coll->UCA) {
1648 baseOrder = UTRIE_GET32_FROM_LEAD(&data->coll->UCA->mapping, baseChar);
1961 // Always use UCA for [3400..9FFF], [AC00..D7AF]
1988 if(coll->UCA) {
1989 result = UTRIE_GET32_FROM_LEAD(&coll->UCA->mapping, ch);
1994 if(coll->UCA) {
1995 result = ucol_prv_getSpecialPrevCE(coll->UCA, ch, result, data, status);
3053 // all supplementaries are marked in the UCA.
3202 /* UCA is filled with these. Tailorings are NOT_FOUND */
3277 /* we return 0 (completely ignorable - per UCA specification */
4180 /* UCA is filled with these. Tailorings are NOT_FOUND */
4419 //const UCAConstants *UCAconsts = (UCAConstants *)((uint8_t *)coll->UCA->image + coll->image->UCAConsts);
4484 || (wasShifted && primary1 == 0)) { /* amendment to the UCA says that primary ignorables */
4769 //const UCAConstants *UCAconsts = (UCAConstants *)((uint8_t *)coll->UCA->image + coll->image->UCAConsts);
4944 || (wasShifted && primary1 == 0)) /* amendment to the UCA says that primary ignorables */
5431 //const UCAConstants *UCAconsts = (UCAConstants *)((uint8_t *)coll->UCA->image + coll->image->UCAConsts);
5809 || (*wasShifted && primary1 == 0)) /* amendment to the UCA says that primary ignorables */
6837 if(CE == UCOL_NOT_FOUND && coll->UCA) {
6838 CE = UTRIE_GET32_FROM_LEAD(&coll->UCA->mapping, ch);
7292 if(coll->UCA) {
7293 /* Include the minor number when getting the UCA version. (major & 1f) << 3 | (minor & 7) */
7294 versionInfo[3] = (coll->UCA->image->UCAVersion[0] & 0x1f) << 3 | (coll->UCA->image->UCAVersion[1] & 0x07);
7304 if(U_FAILURE(*status) || coll == NULL || coll == coll->UCA) {
7312 if(coll->UCA && CE == coll->UCA->latinOneMapping[u]) {
7715 /* UCA amendment - ignore ignorables that follow shifted code points */
7762 /* UCA amendment - ignore ignorables that follow shifted code points */
8739 if(coll && coll->UCA) {
8740 uprv_memcpy(info, coll->UCA->image->UCAVersion, sizeof(UVersionInfo));