Lines Matching refs:uprv_malloc
54 CntTable *tbl = (CntTable *)uprv_malloc(sizeof(CntTable));
60 tbl->elements = (ContractionTable **)uprv_malloc(INIT_EXP_TABLE_SIZE*sizeof(ContractionTable *));
78 ContractionTable *el = (ContractionTable *)uprv_malloc(sizeof(ContractionTable));
82 el->CEs = (uint32_t *)uprv_malloc(INIT_EXP_TABLE_SIZE*sizeof(uint32_t));
87 el->codePoints = (UChar *)uprv_malloc(INIT_EXP_TABLE_SIZE*sizeof(UChar));
105 ContractionTable **newElements = (ContractionTable **)uprv_malloc(table->capacity*2*sizeof(ContractionTable *));
141 table->offsets = (int32_t *)uprv_malloc(table->size*sizeof(int32_t));
158 table->CEs = (uint32_t *)uprv_malloc(table->position*sizeof(uint32_t));
170 table->codePoints = (UChar *)uprv_malloc(table->position*sizeof(UChar));
231 ContractionTable *r = (ContractionTable *)uprv_malloc(sizeof(ContractionTable));
239 r->codePoints = (UChar *)uprv_malloc(sizeof(UChar)*t->size);
243 r->CEs = (uint32_t *)uprv_malloc(sizeof(uint32_t)*t->size);
265 CntTable *r = (CntTable *)uprv_malloc(sizeof(CntTable));
276 r->elements = (ContractionTable **)uprv_malloc(t->capacity*sizeof(ContractionTable *));
288 r->CEs = (uint32_t *)uprv_malloc(t->position*sizeof(uint32_t));
300 r->codePoints = (UChar *)uprv_malloc(t->position*sizeof(UChar));
313 r->offsets = (int32_t *)uprv_malloc(t->size*sizeof(int32_t));