Home | History | Annotate | Download | only in i18n

Lines Matching refs:ContractionTable

29 static void uprv_growTable(ContractionTable *tbl, UErrorCode *status) {
60 tbl->elements = (ContractionTable **)uprv_malloc(INIT_EXP_TABLE_SIZE*sizeof(ContractionTable *));
67 uprv_memset(tbl->elements, 0, INIT_EXP_TABLE_SIZE*sizeof(ContractionTable *));
77 static ContractionTable *addATableElement(CntTable *table, uint32_t *key, UErrorCode *status) {
78 ContractionTable *el = (ContractionTable *)uprv_malloc(sizeof(ContractionTable));
105 ContractionTable **newElements = (ContractionTable **)uprv_malloc(table->capacity*2*sizeof(ContractionTable *));
107 /* table->elements = (ContractionTable **)realloc(table->elements, table->capacity*2*sizeof(ContractionTable *));*/
113 ContractionTable **oldElements = table->elements;
114 uprv_memcpy(newElements, oldElements, table->capacity*sizeof(ContractionTable *));
115 uprv_memset(newElements+table->capacity, 0, table->capacity*sizeof(ContractionTable *));
230 static ContractionTable *uprv_cnttab_cloneContraction(ContractionTable *t, UErrorCode *status) {
231 ContractionTable *r = (ContractionTable *)uprv_malloc(sizeof(ContractionTable));
276 r->elements = (ContractionTable **)uprv_malloc(t->capacity*sizeof(ContractionTable *));
281 //uprv_memcpy(r->elements, t->elements, t->capacity*sizeof(ContractionTable *));
354 ContractionTable *tbl = NULL;
373 ContractionTable *tbl = NULL;
417 ContractionTable *tbl = NULL;
445 ContractionTable *tbl = NULL;
470 static ContractionTable *_cnttab_getContractionTable(CntTable *table, uint32_t element) {
472 ContractionTable *tbl = NULL;
480 static int32_t _cnttab_findCP(ContractionTable *tbl, UChar codePoint) {
499 static uint32_t _cnttab_getCE(ContractionTable *tbl, int32_t position) {
534 ContractionTable *tbl = _cnttab_getContractionTable(table, element);
561 ContractionTable *tbl = NULL;