Home | History | Annotate | Download | only in i18n

Lines Matching refs:CEs

84     if(expansions->CEs == NULL) {
85 expansions->CEs = (uint32_t *)uprv_malloc(INIT_EXP_TABLE_SIZE*sizeof(uint32_t));
87 if (expansions->CEs == NULL) {
96 uint32_t *newData = (uint32_t *)uprv_realloc(expansions->CEs, 2*expansions->size*sizeof(uint32_t));
104 expansions->CEs = newData;
108 expansions->CEs[expansions->position] = value;
259 if(t->expansions->CEs != NULL) {
260 r->expansions->CEs = (uint32_t *)uprv_malloc(sizeof(uint32_t)*t->expansions->size);
262 if (r->expansions->CEs == NULL) {
266 uprv_memcpy(r->expansions->CEs, t->expansions->CEs, sizeof(uint32_t)*t->expansions->position);
268 r->expansions->CEs = NULL;
385 uprv_free(t->expansions->CEs);
1089 // Only expansions and regular CEs can go here... Contractions will never happen in this place
1110 origElem->CEs[0]=CE;
1117 fprintf(stderr, "Warning - trying to overwrite existing data %08X for cp %04X with %08X\n", CE, element->cPoints[0], element->CEs[0]);
1147 element->mapCE = element->CEs[0];
1163 && isContinuation(element->CEs[1]) // which is a continuation
1164 && (element->CEs[1] & (~(0xFF << 24 | UCOL_CONTINUATION_MARKER))) == 0 // that has only primaries in continuation,
1165 && (((element->CEs[0]>>8) & 0xFF) == UCOL_BYTE_COMMON) // a common secondary
1166 && ((element->CEs[0] & 0xFF) == UCOL_BYTE_COMMON) // and a common tertiary
1173 | ((element->CEs[0]>>8) & 0xFFFF00) // first and second byte of primary
1174 | ((element->CEs[1]>>24) & 0xFF); // third byte of primary
1178 | ((uprv_uca_addExpansion(expansions, element->CEs[0], status)+(headersize>>2))<<4)
1182 uprv_uca_addExpansion(expansions, element->CEs[i], status);
1190 uprv_uca_setMaxExpansion(element->CEs[element->noOfCEs - 1],
1197 element->CEs[element->noOfCEs - 1],
1229 expansion |= ((uprv_uca_addExpansion(expansions, element->CEs[0], status)+(headersize>>2))<<4);
1506 uprv_memcpy(dataStart+tableOffset, expansions->CEs, expansions->position*sizeof(uint32_t));
1520 uprv_memcpy(dataStart+tableOffset, contractions->CEs, contractionsSize*sizeof(uint32_t));
1662 while((el.CEs[el.noOfCEs] = ucol_next(colEl, status)) != (uint32_t)UCOL_NULLORDER) {
1667 el.CEs[0] = prefix->mapCE;
1690 && isContinuation(element->CEs[1]) // which is a continuation
1691 && (element->CEs[1] & (~(0xFF << 24 | UCOL_CONTINUATION_MARKER))) == 0 // that has only primaries in continuation,
1692 && (((element->CEs[0]>>8) & 0xFF) == UCOL_BYTE_COMMON) // a common secondary
1693 && ((element->CEs[0] & 0xFF) == UCOL_BYTE_COMMON) // and a common tertiary
1696 | ((element->CEs[0]>>8) & 0xFFFF00) // first and second byte of primary
1697 | ((element->CEs[1]>>24) & 0xFF); // third byte of primary
1700 | ((uprv_uca_addExpansion(expansions, element->CEs[0], status)+(headersize>>2))<<4)
1704 uprv_uca_addExpansion(expansions, element->CEs[j], status);
1712 uprv_uca_setMaxExpansion(element->CEs[element->noOfCEs - 1],
1747 while((el->CEs[el->noOfCEs] = ucol_next(colEl, status)) != (uint32_t)UCOL_NULLORDER) {
1808 while((el->CEs[el->noOfCEs] = ucol_next(colEl, status)) != (uint32_t)UCOL_NULLORDER) {
1907 while((element.CEs[element.noOfCEs] = ucol_next(colEl, status)) != (uint32_t)UCOL_NULLORDER) {