Lines Matching defs:UCA

20 * 03/16/2001  weiv      Collation framework is rewritten in C and made UCA compliant
54 // static UCA. There is only one. Collators don't use it.
106 /* do not close UCA returned by ucol_initUCA! */
176 const UCollator* UCA = ucol_initUCA(status);
214 if(*status == U_MISSING_RESOURCE_ERROR) { /* We didn't find the tailoring data, we fallback to the UCA */
216 result = ucol_initCollator(UCA->image, result, UCA, status);
220 // if we use UCA, real locale is root
247 if(uprv_memcmp(colData->UCAVersion, UCA->image->UCAVersion, sizeof(UVersionInfo)) != 0 ||
248 uprv_memcmp(colData->UCDVersion, UCA->image->UCDVersion, sizeof(UVersionInfo)) != 0 ||
258 result = ucol_initCollator((const UCATableHeader *)inData, result, UCA, status);
264 result = ucol_initCollator(UCA->image, result, UCA, status);
405 UCollator *UCA = ucol_initUCA(status);
411 ucol_tok_initTokenList(&src, rules, rulesLength, UCA, importFunc, context, status);
438 // set UCA version
439 uprv_memcpy(table->UCAVersion, UCA->image->UCAVersion, sizeof(UVersionInfo));
440 result = ucol_initCollator(table, 0, UCA, status);
449 // We will init the collator from UCA
450 result = ucol_initCollator(UCA->image, 0, UCA, status);
536 /* take the UCA rules and append real rules at the end */
537 /* UCA rules will be probably coming from the root RB */
545 UResourceBundle* uca = ures_getByKeyWithFallback(cresb, "UCA", NULL, &status);
618 ucol_tok_initTokenList(&sourceParser, sourceRules, sourceRulesLen, source->UCA, ucol_tok_getRulesFromBundle, NULL, &status);
619 ucol_tok_initTokenList(&targetParser, targetRules, targetRulesLen, target->UCA, ucol_tok_getRulesFromBundle, NULL, &status);
986 if(coll == NULL || coll->UCA == NULL) {
1007 ucol_tok_initTokenList(&src, rules, rulesLen, coll->UCA, ucol_tok_getRulesFromBundle, NULL, status);
1050 uint16_t reorderCodeIndexLength = *((uint16_t*) ((uint8_t *)coll->UCA->image + coll->UCA->image->scriptToLeadByte));
1051 uint16_t* reorderCodeIndex = (uint16_t*) ((uint8_t *)coll->UCA->image + coll->UCA->image->scriptToLeadByte + 2 *sizeof(uint16_t));
1077 int leadByteIndexLength = *((uint16_t*) ((uint8_t *)coll->UCA->image + coll->UCA->image->leadByteToScript));
1078 uint16_t* leadByteIndex = (uint16_t*) ((uint8_t *)coll->UCA->image + coll->UCA->image->leadByteToScript + 2 *sizeof(uint16_t));