/external/chromium_org/third_party/icu/source/i18n/ |
ucol_cnt.cpp | 31 uint32_t *newData = (uint32_t *)uprv_realloc(tbl->CEs, 2*tbl->size*sizeof(uint32_t)); 42 tbl->CEs = newData; 70 tbl->CEs = NULL; 82 el->CEs = (uint32_t *)uprv_malloc(INIT_EXP_TABLE_SIZE*sizeof(uint32_t)); 83 if(el->CEs == NULL) { 89 uprv_free(el->CEs); 95 uprv_memset(el->CEs, 0, INIT_EXP_TABLE_SIZE*sizeof(uint32_t)); 110 uprv_free(el->CEs); 155 if(table->CEs != NULL) { 156 uprv_free(table->CEs); [all...] |
coleitr.cpp | 136 return (m_data_->iteratordata_.CEpos - m_data_->iteratordata_.CEs) 138 - that.m_data_->iteratordata_.CEs); 445 uprv_memcpy(coliter->CEs, othercoliter->CEs, sizeof(uint32_t) * UCOL_EXPAND_CE_BUFFER_SIZE); 455 CEsize = (int32_t)(othercoliter->CEpos - othercoliter->CEs); 457 uprv_memcpy(coliter->CEs, othercoliter->CEs, CEsize); 459 coliter->toReturn = coliter->CEs + 460 (othercoliter->toReturn - othercoliter->CEs); 461 coliter->CEpos = coliter->CEs + CEsize [all...] |
ucol_cnt.h | 41 uint32_t *CEs; 51 uint32_t *CEs;
|
ucol_elm.h | 55 uint32_t *CEs; 68 uint32_t CEs[128]; /* These are collation elements - there could be more than one - in case of expansion */
|
ucol_elm.cpp | 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) [all...] |
ucol_bld.cpp | 79 * Takes two CEs (lead and continuation) and 80 * compares them as CEs should be compared: 678 /* Here we have to pack CEs from parts */ 699 tok->CEs[CEi] = value; 704 tok->CEs[0] = 0; 712 if(tok->CEs[0] != 0) { // case bits should be set only for non-ignorables 713 tok->CEs[0] &= 0xFFFFFF3F; // Clean the case bits field 719 tok->CEs[0] |= ucol_uprv_getCaseBits(src->UCA, cPoints, cSize, status); 723 tok->CEs[0] |= (caseCE & 0xC0); 730 fprintf(stderr, "%08X ", tok->CEs[i]) [all...] |
ucol_tok.h | 72 uint32_t CEs[128];
|
ucol_imp.h | 74 * - serialized UTrie with mappings of code points to CEs 109 * uint32_t expansion; - offset to expansion table (uint32_t *expansion). This is an array of expansion CEs. Never 0. 114 * uint32_t contractionCEs; - offset to resulting contraction CEs (uint32_t *contractionCEs). When a contraction is resolved in the 117 * uint32_t contractionSize; - size of contraction table in elements (both Index and CEs). 120 * and last CEs in expansions. 285 uint32_t *toReturn; /* This is the CE from CEs buffer that should be returned */ 286 uint32_t *CEpos; /* This is the position to which we have stored processed CEs */ 299 uint32_t *extendCEs; /* This is use if CEs is not big enough */ 300 int32_t extendCEsSize; /* Holds the size of the dynamic CEs buffer */ 301 uint32_t CEs[UCOL_EXPAND_CE_BUFFER_SIZE]; /* This is where we store CEs * [all...] |
ucoleitr.cpp | 375 ci->CEpos = ci->toReturn = ci->CEs; 544 // buffer raw CEs up to non-ignorable primary 565 // process the raw CEs 739 ci->CEpos = ci->toReturn = ci->CEs;
|
ucol.cpp | 116 (s)->CEpos = (s)->toReturn = (s)->CEs; 257 oldCEs = data->CEs; 278 oldCapacity = LENGTHOF(data->CEs); 289 oldCapacity = LENGTHOF(data->CEs); 931 * For generation of Implicit CEs [all...] |
usearch.cpp | 56 ci->CEpos = ci->toReturn = ci->extendCEs ? ci->extendCEs : ci->CEs; 88 * This is to squeeze the 21bit ces into a 256 table 407 // ** Should processed CEs be signed or unsigned? 486 * @param cesize size of the pattern ces 499 // number of characters to give the relevant ces, ie approximately 500 // the number of ces minus their expansion, since expansions can come 508 // number of ces from right of array to the count 637 // iterates the individual ces 825 * ces. [all...] |
/external/icu4c/i18n/ |
ucol_cnt.cpp | 31 uint32_t *newData = (uint32_t *)uprv_realloc(tbl->CEs, 2*tbl->size*sizeof(uint32_t)); 42 tbl->CEs = newData; 70 tbl->CEs = NULL; 82 el->CEs = (uint32_t *)uprv_malloc(INIT_EXP_TABLE_SIZE*sizeof(uint32_t)); 83 if(el->CEs == NULL) { 89 uprv_free(el->CEs); 95 uprv_memset(el->CEs, 0, INIT_EXP_TABLE_SIZE*sizeof(uint32_t)); 110 uprv_free(el->CEs); 155 if(table->CEs != NULL) { 156 uprv_free(table->CEs); [all...] |
coleitr.cpp | 137 return (m_data_->iteratordata_.CEpos - m_data_->iteratordata_.CEs) 139 - that.m_data_->iteratordata_.CEs); 447 uprv_memcpy(coliter->CEs, othercoliter->CEs, sizeof(uint32_t) * UCOL_EXPAND_CE_BUFFER_SIZE); 457 CEsize = (int32_t)(othercoliter->CEpos - othercoliter->CEs); 459 uprv_memcpy(coliter->CEs, othercoliter->CEs, CEsize); 461 coliter->toReturn = coliter->CEs + 462 (othercoliter->toReturn - othercoliter->CEs); 463 coliter->CEpos = coliter->CEs + CEsize [all...] |
ucol_cnt.h | 41 uint32_t *CEs; 51 uint32_t *CEs;
|
ucol_elm.h | 55 uint32_t *CEs; 68 uint32_t CEs[128]; /* These are collation elements - there could be more than one - in case of expansion */
|
ucol_elm.cpp | 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) [all...] |
ucol_bld.cpp | 80 * Takes two CEs (lead and continuation) and 81 * compares them as CEs should be compared: 681 /* Here we have to pack CEs from parts */ 702 tok->CEs[CEi] = value; 707 tok->CEs[0] = 0; 715 if(tok->CEs[0] != 0) { // case bits should be set only for non-ignorables 716 tok->CEs[0] &= 0xFFFFFF3F; // Clean the case bits field 722 tok->CEs[0] |= ucol_uprv_getCaseBits(src->UCA, cPoints, cSize, status); 726 tok->CEs[0] |= (caseCE & 0xC0); 733 fprintf(stderr, "%08X ", tok->CEs[i]) [all...] |
ucol_tok.h | 72 uint32_t CEs[128];
|
ucol_imp.h | 78 * - serialized UTrie with mappings of code points to CEs 113 * uint32_t expansion; - offset to expansion table (uint32_t *expansion). This is an array of expansion CEs. Never 0. 118 * uint32_t contractionCEs; - offset to resulting contraction CEs (uint32_t *contractionCEs). When a contraction is resolved in the 121 * uint32_t contractionSize; - size of contraction table in elements (both Index and CEs). 124 * and last CEs in expansions. 283 uint32_t *toReturn; /* This is the CE from CEs buffer that should be returned */ 284 uint32_t *CEpos; /* This is the position to which we have stored processed CEs */ 297 uint32_t *extendCEs; /* This is use if CEs is not big enough */ 298 int32_t extendCEsSize; /* Holds the size of the dynamic CEs buffer */ 299 uint32_t CEs[UCOL_EXPAND_CE_BUFFER_SIZE]; /* This is where we store CEs * [all...] |
ucoleitr.cpp | 375 ci->CEpos = ci->toReturn = ci->CEs; 544 // buffer raw CEs up to non-ignorable primary 565 // process the raw CEs 739 ci->CEpos = ci->toReturn = ci->CEs;
|
ucol.cpp | 133 (s)->CEpos = (s)->toReturn = (s)->CEs; 278 oldCEs = data->CEs; 299 oldCapacity = LENGTHOF(data->CEs); 310 oldCapacity = LENGTHOF(data->CEs); [all...] |
usearch.cpp | 56 ci->CEpos = ci->toReturn = ci->extendCEs ? ci->extendCEs : ci->CEs; 88 * This is to squeeze the 21bit ces into a 256 table 407 // ** Should processed CEs be signed or unsigned? 486 * @param cesize size of the pattern ces 499 // number of characters to give the relevant ces, ie approximately 500 // the number of ces minus their expansion, since expansions can come 508 // number of ces from right of array to the count 637 // iterates the individual ces 825 * ces. [all...] |