Lines Matching refs:table
119 resulttable *table; in register_table() local
129 table = malloc(sizeof(*table)); in register_table()
130 if (table == NULL) in register_table()
132 table->base = base; in register_table()
133 table->last = base + nresults - 1; in register_table()
134 table->text = txt; in register_table()
135 table->msgcat = msgcat; in register_table()
136 table->set = set; in register_table()
137 ISC_LINK_INIT(table, link); in register_table()
141 ISC_LIST_APPEND(tables, table, link); in register_table()
173 resulttable *table; in isc_result_totext() local
182 for (table = ISC_LIST_HEAD(tables); in isc_result_totext()
183 table != NULL; in isc_result_totext()
184 table = ISC_LIST_NEXT(table, link)) { in isc_result_totext()
185 if (result >= table->base && result <= table->last) { in isc_result_totext()
186 idx = (int)(result - table->base); in isc_result_totext()
187 default_text = table->text[idx]; in isc_result_totext()
193 txt = isc_msgcat_get(table->msgcat, table->set, in isc_result_totext()