Lines Matching refs:vtbl
119 …const struct mbfl_convert_vtbl *vtbl, output_function_t output_function, flush_function_t flush_fu… in mbfl_convert_filter_common_init() argument
136 filter->filter_ctor = vtbl->filter_ctor; in mbfl_convert_filter_common_init()
137 filter->filter_dtor = vtbl->filter_dtor; in mbfl_convert_filter_common_init()
138 filter->filter_function = vtbl->filter_function; in mbfl_convert_filter_common_init()
139 filter->filter_flush = vtbl->filter_flush; in mbfl_convert_filter_common_init()
140 filter->filter_copy = vtbl->filter_copy; in mbfl_convert_filter_common_init()
149 const struct mbfl_convert_vtbl *vtbl = mbfl_convert_filter_get_vtbl(from, to); in mbfl_convert_filter_new() local
150 if (vtbl == NULL) { in mbfl_convert_filter_new()
155 mbfl_convert_filter_common_init(filter, from, to, vtbl, output_function, flush_function, data); in mbfl_convert_filter_new()
159 mbfl_convert_filter* mbfl_convert_filter_new2(const struct mbfl_convert_vtbl *vtbl, output_function… in mbfl_convert_filter_new2() argument
162 const mbfl_encoding *from_encoding = mbfl_no2encoding(vtbl->from); in mbfl_convert_filter_new2()
163 const mbfl_encoding *to_encoding = mbfl_no2encoding(vtbl->to); in mbfl_convert_filter_new2()
166 …mbfl_convert_filter_common_init(filter, from_encoding, to_encoding, vtbl, output_function, flush_f… in mbfl_convert_filter_new2()
207 const struct mbfl_convert_vtbl *vtbl = mbfl_convert_filter_get_vtbl(from, to); in mbfl_convert_filter_reset() local
209 if (vtbl == NULL) { in mbfl_convert_filter_reset()
210 vtbl = &vtbl_pass; in mbfl_convert_filter_reset()
213 mbfl_convert_filter_common_init(filter, from, to, vtbl, in mbfl_convert_filter_reset()
387 const struct mbfl_convert_vtbl *vtbl; in mbfl_convert_filter_get_vtbl() local
388 while ((vtbl = mbfl_special_filter_list[i++])) { in mbfl_convert_filter_get_vtbl()
389 if (vtbl->from == from->no_encoding && vtbl->to == to->no_encoding) { in mbfl_convert_filter_get_vtbl()
390 return vtbl; in mbfl_convert_filter_get_vtbl()