Home | History | Annotate | Download | only in i18n

Lines Matching refs:CEs

86     if(expansions->CEs == NULL) {
87 expansions->CEs = (uint32_t *)uprv_malloc(INIT_EXP_TABLE_SIZE*sizeof(uint32_t));
89 if (expansions->CEs == NULL) {
98 uint32_t *newData = (uint32_t *)uprv_realloc(expansions->CEs, 2*expansions->size*sizeof(uint32_t));
106 expansions->CEs = newData;
110 expansions->CEs[expansions->position] = value;
261 if(t->expansions->CEs != NULL) {
262 r->expansions->CEs = (uint32_t *)uprv_malloc(sizeof(uint32_t)*t->expansions->size);
264 if (r->expansions->CEs == NULL) {
268 uprv_memcpy(r->expansions->CEs, t->expansions->CEs, sizeof(uint32_t)*t->expansions->position);
270 r->expansions->CEs = NULL;
387 uprv_free(t->expansions->CEs);
1098 // Only expansions and regular CEs can go here... Contractions will never happen in this place
1119 origElem->CEs[0]=CE;
1126 fprintf(stderr, "Warning - trying to overwrite existing data %08X for cp %04X with %08X\n", CE, element->cPoints[0], element->CEs[0]);
1156 element->mapCE = element->CEs[0];
1172 && isContinuation(element->CEs[1]) // which is a continuation
1173 && (element->CEs[1] & (~(0xFF << 24 | UCOL_CONTINUATION_MARKER))) == 0 // that has only primaries in continuation,
1174 && (((element->CEs[0]>>8) & 0xFF) == UCOL_BYTE_COMMON) // a common secondary
1175 && ((element->CEs[0] & 0xFF) == UCOL_BYTE_COMMON) // and a common tertiary
1182 | ((element->CEs[0]>>8) & 0xFFFF00) // first and second byte of primary
1183 | ((element->CEs[1]>>24) & 0xFF); // third byte of primary
1187 | (((uprv_uca_addExpansion(expansions, element->CEs[0], status)+(headersize>>2))<<4)
1191 uprv_uca_addExpansion(expansions, element->CEs[i], status);
1199 uprv_uca_setMaxExpansion(element->CEs[element->noOfCEs - 1],
1206 element->CEs[element->noOfCEs - 1],
1238 expansion |= ((uprv_uca_addExpansion(expansions, element->CEs[0], status)+(headersize>>2))<<4);
1516 uprv_memcpy(dataStart+tableOffset, expansions->CEs, expansions->position*sizeof(uint32_t));
1530 uprv_memcpy(dataStart+tableOffset, contractions->CEs, contractionsSize*sizeof(uint32_t));
1659 // print CEs for code point vs. decomposition
1660 fprintf(stderr, "U+%04X CEs: ", u32);
1666 fprintf(stderr, "\nDecomp CEs: ");
1692 while((el.CEs[el.noOfCEs] = ucol_next(colEl, status)) != (uint32_t)UCOL_NULLORDER) {
1697 el.CEs[0] = prefix->mapCE;
1720 && isContinuation(element->CEs[1]) // which is a continuation
1721 && (element->CEs[1] & (~(0xFF << 24 | UCOL_CONTINUATION_MARKER))) == 0 // that has only primaries in continuation,
1722 && (((element->CEs[0]>>8) & 0xFF) == UCOL_BYTE_COMMON) // a common secondary
1723 && ((element->CEs[0] & 0xFF) == UCOL_BYTE_COMMON) // and a common tertiary
1726 | ((element->CEs[0]>>8) & 0xFFFF00) // first and second byte of primary
1727 | ((element->CEs[1]>>24) & 0xFF); // third byte of primary
1730 | (((uprv_uca_addExpansion(expansions, element->CEs[0], status)+(headersize>>2))<<4)
1734 uprv_uca_addExpansion(expansions, element->CEs[j], status);
1742 uprv_uca_setMaxExpansion(element->CEs[element->noOfCEs - 1],
1777 while((el->CEs[el->noOfCEs] = ucol_next(colEl, status)) != (uint32_t)UCOL_NULLORDER) {
1838 while((el->CEs[el->noOfCEs] = ucol_next(colEl, status)) != (uint32_t)UCOL_NULLORDER) {
1936 while((element.CEs[element.noOfCEs] = ucol_next(colEl, status)) != (uint32_t)UCOL_NULLORDER) {