Home
last modified time | relevance | path

Searched refs:CEs (Results 1 – 11 of 11) sorted by relevance

/external/icu4c/i18n/
Ducol_cnt.cpp31 uint32_t *newData = (uint32_t *)uprv_realloc(tbl->CEs, 2*tbl->size*sizeof(uint32_t)); in uprv_growTable()
42 tbl->CEs = newData; in uprv_growTable()
70 tbl->CEs = NULL; in uprv_cnttab_open()
82 el->CEs = (uint32_t *)uprv_malloc(INIT_EXP_TABLE_SIZE*sizeof(uint32_t)); in addATableElement()
83 if(el->CEs == NULL) { in addATableElement()
89 uprv_free(el->CEs); in addATableElement()
95 uprv_memset(el->CEs, 0, INIT_EXP_TABLE_SIZE*sizeof(uint32_t)); in addATableElement()
110 uprv_free(el->CEs); in addATableElement()
155 if(table->CEs != NULL) { in uprv_cnttab_constructTable()
156 uprv_free(table->CEs); in uprv_cnttab_constructTable()
[all …]
Dcoleitr.cpp137 return (m_data_->iteratordata_.CEpos - m_data_->iteratordata_.CEs) in operator ==()
139 - that.m_data_->iteratordata_.CEs); in operator ==()
447 … uprv_memcpy(coliter->CEs, othercoliter->CEs, sizeof(uint32_t) * UCOL_EXPAND_CE_BUFFER_SIZE); in operator =()
457 CEsize = (int32_t)(othercoliter->CEpos - othercoliter->CEs); in operator =()
459 uprv_memcpy(coliter->CEs, othercoliter->CEs, CEsize); in operator =()
461 coliter->toReturn = coliter->CEs + in operator =()
462 (othercoliter->toReturn - othercoliter->CEs); in operator =()
463 coliter->CEpos = coliter->CEs + CEsize; in operator =()
Ducol_elm.cpp86 if(expansions->CEs == NULL) { in uprv_uca_addExpansion()
87 expansions->CEs = (uint32_t *)uprv_malloc(INIT_EXP_TABLE_SIZE*sizeof(uint32_t)); in uprv_uca_addExpansion()
89 if (expansions->CEs == NULL) { in uprv_uca_addExpansion()
98 …uint32_t *newData = (uint32_t *)uprv_realloc(expansions->CEs, 2*expansions->size*sizeof(uint32_t)); in uprv_uca_addExpansion()
106 expansions->CEs = newData; in uprv_uca_addExpansion()
110 expansions->CEs[expansions->position] = value; in uprv_uca_addExpansion()
261 if(t->expansions->CEs != NULL) { in uprv_uca_cloneTempTable()
262 r->expansions->CEs = (uint32_t *)uprv_malloc(sizeof(uint32_t)*t->expansions->size); in uprv_uca_cloneTempTable()
264 if (r->expansions->CEs == NULL) { in uprv_uca_cloneTempTable()
268 … uprv_memcpy(r->expansions->CEs, t->expansions->CEs, sizeof(uint32_t)*t->expansions->position); in uprv_uca_cloneTempTable()
[all …]
Ducol_bld.cpp702 tok->CEs[CEi] = value; in ucol_doCE()
707 tok->CEs[0] = 0; in ucol_doCE()
715 if(tok->CEs[0] != 0) { // case bits should be set only for non-ignorables in ucol_doCE()
716 tok->CEs[0] &= 0xFFFFFF3F; // Clean the case bits field in ucol_doCE()
722 tok->CEs[0] |= ucol_uprv_getCaseBits(src->UCA, cPoints, cSize, status); in ucol_doCE()
726 tok->CEs[0] |= (caseCE & 0xC0); in ucol_doCE()
733 fprintf(stderr, "%08X ", tok->CEs[i]); in ucol_doCE()
877 tok->expCEs[tok->noOfExpCEs + j] = expt->CEs[j]; in ucol_createElements()
916 el.CEs[i] = tok->CEs[i]; in ucol_createElements()
919 el.CEs[i+tok->noOfCEs] = tok->expCEs[i]; in ucol_createElements()
[all …]
Ducol_elm.h55 uint32_t *CEs; member
68 …uint32_t CEs[128]; /* These are collation elements - there could be more than one - in case o… member
Ducol_cnt.h41 uint32_t *CEs; member
51 uint32_t *CEs; member
Ducol_imp.h299 uint32_t CEs[UCOL_EXPAND_CE_BUFFER_SIZE]; /* This is where we store CEs */ member
463 (s)->CEpos = (s)->toReturn = (s)->CEs; \
656 #define hasExpansion(coleiter) ((coleiter)->iteratordata_.CEpos != (coleiter)->iteratordata_.CEs)
657 …e getExpansionPrefix(coleiter) ((coleiter)->iteratordata_.toReturn - (coleiter)->iteratordata_.CEs)
658 #define setExpansionPrefix(coleiter, offset) ((coleiter)->iteratordata_.CEs + offset)
Ducol_tok.h72 uint32_t CEs[128]; member
Ducoleitr.cpp375 ci->CEpos = ci->toReturn = ci->CEs; in ucol_reset()
739 ci->CEpos = ci->toReturn = ci->CEs; in ucol_setOffset()
Ducol.cpp133 (s)->CEpos = (s)->toReturn = (s)->CEs; in IInit_collIterate()
278 oldCEs = data->CEs; in reallocCEs()
299 oldCapacity = LENGTHOF(data->CEs); in increaseCEsCapacity()
310 oldCapacity = LENGTHOF(data->CEs); in ensureCEsCapacity()
1514 …nSource->toReturn = collationSource->extendCEs ? collationSource->extendCEs : collationSource->CEs; in ucol_IGetNextCE()
2028 (!data->extendCEs && data->toReturn > data->CEs)) in ucol_IGetPrevCE()
2032 if (data->CEs == data->toReturn || data->extendCEs == data->toReturn) { in ucol_IGetPrevCE()
3611 endCEBuffer = source->CEs + UCOL_EXPAND_CE_BUFFER_SIZE; in ucol_prv_getSpecialPrevCE()
3612 CECount = (int32_t)((source->CEpos - source->CEs)/sizeof(uint32_t)); in ucol_prv_getSpecialPrevCE()
3669 if (source->toReturn == source->CEs) { in ucol_prv_getSpecialPrevCE()
[all …]
Dusearch.cpp56 ci->CEpos = ci->toReturn = ci->extendCEs ? ci->extendCEs : ci->CEs; in setColEIterOffset()