Searched refs:ContractionTable (Results 1 – 2 of 2) sorted by relevance
/external/icu4c/i18n/ |
D | ucol_cnt.cpp | 29 static void uprv_growTable(ContractionTable *tbl, UErrorCode *status) { in uprv_growTable() 60 … tbl->elements = (ContractionTable **)uprv_malloc(INIT_EXP_TABLE_SIZE*sizeof(ContractionTable *)); in uprv_cnttab_open() 67 uprv_memset(tbl->elements, 0, INIT_EXP_TABLE_SIZE*sizeof(ContractionTable *)); in uprv_cnttab_open() 77 static ContractionTable *addATableElement(CntTable *table, uint32_t *key, UErrorCode *status) { in addATableElement() 78 ContractionTable *el = (ContractionTable *)uprv_malloc(sizeof(ContractionTable)); in addATableElement() 105 …ContractionTable **newElements = (ContractionTable **)uprv_malloc(table->capacity*2*sizeof(Contrac… in addATableElement() 113 ContractionTable **oldElements = table->elements; in addATableElement() 114 uprv_memcpy(newElements, oldElements, table->capacity*sizeof(ContractionTable *)); in addATableElement() 115 uprv_memset(newElements+table->capacity, 0, table->capacity*sizeof(ContractionTable *)); in addATableElement() 230 static ContractionTable *uprv_cnttab_cloneContraction(ContractionTable *t, UErrorCode *status) { in uprv_cnttab_cloneContraction() [all …]
|
D | ucol_cnt.h | 38 typedef struct ContractionTable ContractionTable; typedef 39 struct ContractionTable { struct 47 ContractionTable **elements; argument
|