Home | History | Annotate | Download | only in i18n

Lines Matching refs:image

334     if((base && (uprv_memcmp(colData->UCAVersion, base->image->UCAVersion, sizeof(UVersionInfo)) != 0 ||
335 uprv_memcmp(colData->UCDVersion, base->image->UCDVersion, sizeof(UVersionInfo)) != 0)) ||
351 result = ucol_initCollator(base->image, result, base, status);
397 length = coll->image->size;
399 uprv_memcpy(buffer, coll->image, length);
408 /* uprv_memcpy(result, UCA->image, sizeof(UCATableHeader)); */
428 uprv_memcpy(myData->version, coll->image->version, sizeof(UVersionInfo));
430 uprv_memcpy(myData->UCAVersion, coll->image->UCAVersion, sizeof(UVersionInfo));
431 uprv_memcpy(myData->UCDVersion, coll->image->UCDVersion, sizeof(UVersionInfo));
432 uprv_memcpy(myData->formatVersion, coll->image->formatVersion, sizeof(UVersionInfo));
433 myData->jamoSpecial = coll->image->jamoSpecial;
453 uint8_t *image;
512 image = (uint8_t *)uprv_malloc(imageSize);
514 if (image == NULL) {
518 ucol_cloneBinary(coll, image, imageSize, status);
522 image = (uint8_t *)coll->image;
524 localCollator = ucol_initFromBinary(image, imageSize, coll->UCA, localCollator, status);
581 if(coll->image != NULL && coll->freeImageOnClose) {
582 uprv_free((UCATableHeader *)coll->image);
608 *length = coll->image->size;
615 uprv_memcpy(result, coll->image, *length);
627 /* uprv_memcpy(result, UCA->image, sizeof(UCATableHeader)); */
647 uprv_memcpy(myData->version, coll->image->version, sizeof(UVersionInfo));
649 uprv_memcpy(myData->UCAVersion, coll->image->UCAVersion, sizeof(UVersionInfo));
650 uprv_memcpy(myData->UCDVersion, coll->image->UCDVersion, sizeof(UVersionInfo));
651 uprv_memcpy(myData->formatVersion, coll->image->formatVersion, sizeof(UVersionInfo));
652 myData->jamoSpecial = coll->image->jamoSpecial;
731 UCollator* ucol_initCollator(const UCATableHeader *image, UCollator *fillIn, const UCollator *UCA, UErrorCode *status) {
734 if(U_FAILURE(*status) || image == NULL) {
756 result->image = image;
758 const uint8_t *mapping = (uint8_t*)result->image+result->image->mappingPosition;
759 utrie_unserialize(&result->mapping, mapping, result->image->endExpansionCE - result->image->mappingPosition, status);
768 /*result->latinOneMapping = (uint32_t*)((uint8_t*)result->image+result->image->latinOneMapping);*/
770 result->contractionCEs = (uint32_t*)((uint8_t*)result->image+result->image->contractionCEs);
771 result->contractionIndex = (UChar*)((uint8_t*)result->image+result->image->contractionIndex);
772 result->expansion = (uint32_t*)((uint8_t*)result->image+result->image->expansion);
774 result->options = (UColOptionSet*)((uint8_t*)result->image+result->image->options);
805 result->dataVersion[0] = result->image->version[0]; /* UCA Builder version*/
806 result->dataVersion[1] = result->image->version[1]; /* UCA Tailoring rules version*/
810 result->unsafeCP = (uint8_t *)result->image + result->image->unsafeCP;
817 result->contrEndCP = (uint8_t *)result->image + result->image->contrEndCP;
825 result->endExpansionCE = (uint32_t*)((uint8_t*)result->image +
826 result->image->endExpansionCE);
828 result->image->endExpansionCECount - 1;
829 result->expansionCESize = (uint8_t*)result->image +
830 result->image->expansionCESize;
2414 //constart = (UChar *)coll->image + getContractOffset(CE);
2457 tempconstart = (UChar *)coll->image + getContractOffset(result);
2760 const UChar *ContractionStart = UCharOffset = (UChar *)coll->image+getContractOffset(CE);
2810 uint32_t firstCE = *(coll->contractionCEs + ((UChar *)coll->image+getContractOffset(CE) - coll->contractionIndex)); //UCOL_NOT_FOUND;
2819 const UChar *ContractionStart = UCharOffset = (UChar *)coll->image+getContractOffset(CE);
2985 CEOffset = (uint32_t *)coll->image+getExpansionOffset(CE); /* find the offset to expansion table */
3194 CEOffset = (uint32_t *)coll->image+getExpansionOffset(CE); /* find the offset to expansion table */
3232 if (!source->coll->image->jamoSpecial) { // FAST PATH
3417 const UChar *ContractionStart = UCharOffset = (UChar *)coll->image+getContractOffset(CE);
3500 constart = (UChar *)coll->image + getContractOffset(CE);
3761 CEOffset = (uint32_t *)coll->image + getExpansionOffset(CE);
4032 CEOffset = (uint32_t *)coll->image + getExpansionOffset(CE);
4077 if (!source->coll->image->jamoSpecial) {
4419 //const UCAConstants *UCAconsts = (UCAConstants *)((uint8_t *)coll->UCA->image + coll->image->UCAConsts);
4769 //const UCAConstants *UCAconsts = (UCAConstants *)((uint8_t *)coll->UCA->image + coll->image->UCAConsts);
5431 //const UCAConstants *UCAconsts = (UCAConstants *)((uint8_t *)coll->UCA->image + coll->image->UCAConsts);
6870 const UChar *UCharOffset = (UChar *)coll->image+getContractOffset(CE);
6886 uint32_t *CEOffset = (uint32_t *)coll->image+getExpansionOffset(CE); /* find the offset to expansion table */
7277 uint8_t bdVersion = coll->image->version[0];
7291 versionInfo[2] = coll->image->version[1];
7294 versionInfo[3] = (coll->UCA->image->UCAVersion[0] & 0x1f) << 3 | (coll->UCA->image->UCAVersion[1] & 0x07);
7320 ContractionStart = (UChar *)coll->image+getContractOffset(CE);
8104 const UChar *UCharOffset = (UChar *)coll->image+getContractOffset(CE&0xFFF);
8740 uprv_memcpy(info, coll->UCA->image->UCAVersion, sizeof(UVersionInfo));