• Home
  • Raw
  • Download

Lines Matching refs:codePoints

36         UChar *newCPs = (UChar *)uprv_realloc(tbl->codePoints, 2*tbl->size*sizeof(UChar));  in uprv_growTable()
43 tbl->codePoints = newCPs; in uprv_growTable()
71 tbl->codePoints = NULL; in uprv_cnttab_open()
87 el->codePoints = (UChar *)uprv_malloc(INIT_EXP_TABLE_SIZE*sizeof(UChar)); in addATableElement()
88 if(el->codePoints == NULL) { in addATableElement()
96 uprv_memset(el->codePoints, 0, INIT_EXP_TABLE_SIZE*sizeof(UChar)); in addATableElement()
109 uprv_free(el->codePoints); in addATableElement()
167 if(table->codePoints != NULL) { in uprv_cnttab_constructTable()
168 uprv_free(table->codePoints); in uprv_cnttab_constructTable()
170 table->codePoints = (UChar *)uprv_malloc(table->position*sizeof(UChar)); in uprv_cnttab_constructTable()
171 if(table->codePoints == NULL) { in uprv_cnttab_constructTable()
179 uprv_memset(table->codePoints, '?', table->position*sizeof(UChar)); in uprv_cnttab_constructTable()
183 UChar *cpPointer = table->codePoints; in uprv_cnttab_constructTable()
189 cc = u_getCombiningClass(table->elements[i]->codePoints[j]); in uprv_cnttab_constructTable()
196 *(cpPointer+j) = table->elements[i]->codePoints[j]; in uprv_cnttab_constructTable()
239 r->codePoints = (UChar *)uprv_malloc(sizeof(UChar)*t->size); in uprv_cnttab_cloneContraction()
240 if(r->codePoints == NULL) { in uprv_cnttab_cloneContraction()
245 uprv_free(r->codePoints); in uprv_cnttab_cloneContraction()
248 uprv_memcpy(r->codePoints, t->codePoints, sizeof(UChar)*t->size); in uprv_cnttab_cloneContraction()
299 if(t->codePoints != NULL) { in uprv_cnttab_clone()
300 r->codePoints = (UChar *)uprv_malloc(t->position*sizeof(UChar)); in uprv_cnttab_clone()
302 if (r->codePoints == NULL) { in uprv_cnttab_clone()
307 uprv_memcpy(r->codePoints, t->codePoints, t->position*sizeof(UChar)); in uprv_cnttab_clone()
309 r->codePoints = NULL; in uprv_cnttab_clone()
316 uprv_free(r->codePoints); in uprv_cnttab_clone()
339 uprv_free(table->elements[i]->codePoints); in uprv_cnttab_close()
345 uprv_free(table->codePoints); in uprv_cnttab_close()
392 while(tbl->codePoints[offset] < codePoint && offset<tbl->position) { in uprv_cnttab_insertContraction()
399 tbl->codePoints[i] = tbl->codePoints[i-1]; in uprv_cnttab_insertContraction()
403 tbl->codePoints[offset] = codePoint; in uprv_cnttab_insertContraction()
433 tbl->codePoints[tbl->position] = codePoint; in uprv_cnttab_addContraction()
464 tbl->codePoints[offset] = codePoint; in uprv_cnttab_setContraction()
486 while(codePoint > tbl->codePoints[position]) { in _cnttab_findCP()
492 if (codePoint == tbl->codePoints[position]) { in _cnttab_findCP()
573 while(codePoint > tbl->codePoints[position]) { in uprv_cnttab_changeContraction()
579 if (codePoint == tbl->codePoints[position]) { in uprv_cnttab_changeContraction()