Lines Matching refs:position
30 if(tbl->position == tbl->size) {
69 tbl->position = 0;
93 el->position = 0;
136 table->position = 0;
150 table->offsets[i] = table->position+mainOffset;
151 table->position += table->elements[i]->position;
158 table->CEs = (uint32_t *)uprv_malloc(table->position*sizeof(uint32_t));
165 uprv_memset(table->CEs, '?', table->position*sizeof(uint32_t));
170 table->codePoints = (UChar *)uprv_malloc(table->position*sizeof(UChar));
179 uprv_memset(table->codePoints, '?', table->position*sizeof(UChar));
186 int32_t size = table->elements[i]->position;
227 return table->position;
236 r->position = t->position;
270 r->position = t->position;
288 r->CEs = (uint32_t *)uprv_malloc(t->position*sizeof(uint32_t));
294 uprv_memcpy(r->CEs, t->CEs, t->position*sizeof(uint32_t));
300 r->codePoints = (UChar *)uprv_malloc(t->position*sizeof(UChar));
307 uprv_memcpy(r->codePoints, t->codePoints, t->position*sizeof(UChar));
363 tbl->CEs[tbl->position-1] = value;
392 while(tbl->codePoints[offset] < codePoint && offset<tbl->position) {
396 uint32_t i = tbl->position;
397 for(i = tbl->position; i > offset; i--) {
405 tbl->position++;
432 tbl->CEs[tbl->position] = value;
433 tbl->codePoints[tbl->position] = codePoint;
435 tbl->position++;
481 uint32_t position = 0;
486 while(codePoint > tbl->codePoints[position]) {
487 position++;
488 if(position > tbl->position) {
492 if (codePoint == tbl->codePoints[position]) {
493 return position;
499 static uint32_t _cnttab_getCE(ContractionTable *tbl, int32_t position) {
503 if((uint32_t)position > tbl->position || position == -1) {
506 return tbl->CEs[position];
521 uprv_cnttab_getCE(CntTable *table, uint32_t element, uint32_t position, UErrorCode *status) {
526 return(_cnttab_getCE(_cnttab_getContractionTable(table, element), position));
571 uint32_t position = 0;
573 while(codePoint > tbl->codePoints[position]) {
574 position++;
575 if(position > tbl->position) {
579 if (codePoint == tbl->codePoints[position]) {
580 tbl->CEs[position] = newCE;