Lines Matching refs:vtbl
95 …const struct mbfl_convert_vtbl *vtbl, output_function_t output_function, flush_function_t flush_fu… in mbfl_convert_filter_init() argument
112 filter->filter_dtor = vtbl->filter_dtor; in mbfl_convert_filter_init()
113 filter->filter_function = vtbl->filter_function; in mbfl_convert_filter_init()
114 filter->filter_flush = (filter_flush_t)vtbl->filter_flush; in mbfl_convert_filter_init()
115 filter->filter_copy = vtbl->filter_copy; in mbfl_convert_filter_init()
117 (*vtbl->filter_ctor)(filter); in mbfl_convert_filter_init()
123 const struct mbfl_convert_vtbl *vtbl = mbfl_convert_filter_get_vtbl(from, to); in mbfl_convert_filter_new() local
124 if (vtbl == NULL) { in mbfl_convert_filter_new()
129 mbfl_convert_filter_init(filter, from, to, vtbl, output_function, flush_function, data); in mbfl_convert_filter_new()
133 mbfl_convert_filter* mbfl_convert_filter_new2(const struct mbfl_convert_vtbl *vtbl, output_function… in mbfl_convert_filter_new2() argument
136 const mbfl_encoding *from_encoding = mbfl_no2encoding(vtbl->from); in mbfl_convert_filter_new2()
137 const mbfl_encoding *to_encoding = mbfl_no2encoding(vtbl->to); in mbfl_convert_filter_new2()
140 …mbfl_convert_filter_init(filter, from_encoding, to_encoding, vtbl, output_function, flush_function… in mbfl_convert_filter_new2()
181 const struct mbfl_convert_vtbl *vtbl = mbfl_convert_filter_get_vtbl(from, to); in mbfl_convert_filter_reset() local
183 if (vtbl == NULL) { in mbfl_convert_filter_reset()
184 vtbl = &vtbl_pass; in mbfl_convert_filter_reset()
187 …mbfl_convert_filter_init(filter, from, to, vtbl, filter->output_function, filter->flush_function, … in mbfl_convert_filter_reset()
325 const struct mbfl_convert_vtbl *vtbl; in mbfl_convert_filter_get_vtbl() local
326 while ((vtbl = mbfl_special_filter_list[i++])) { in mbfl_convert_filter_get_vtbl()
327 if (vtbl->from == from->no_encoding && vtbl->to == to->no_encoding) { in mbfl_convert_filter_get_vtbl()
328 return vtbl; in mbfl_convert_filter_get_vtbl()