Lines Matching refs:from

94 static void mbfl_convert_filter_init(mbfl_convert_filter *filter, const mbfl_encoding *from, const …  in mbfl_convert_filter_init()  argument
98 filter->from = from; in mbfl_convert_filter_init()
120 mbfl_convert_filter* mbfl_convert_filter_new(const mbfl_encoding *from, const mbfl_encoding *to, ou… in mbfl_convert_filter_new() argument
123 const struct mbfl_convert_vtbl *vtbl = mbfl_convert_filter_get_vtbl(from, to); in mbfl_convert_filter_new()
129 mbfl_convert_filter_init(filter, from, to, vtbl, output_function, flush_function, data); in mbfl_convert_filter_new()
136 const mbfl_encoding *from_encoding = mbfl_no2encoding(vtbl->from); in mbfl_convert_filter_new2()
175 void mbfl_convert_filter_reset(mbfl_convert_filter *filter, const mbfl_encoding *from, const mbfl_e… in mbfl_convert_filter_reset() argument
181 const struct mbfl_convert_vtbl *vtbl = mbfl_convert_filter_get_vtbl(from, to); 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()
302 const struct mbfl_convert_vtbl* mbfl_convert_filter_get_vtbl(const mbfl_encoding *from, const mbfl_… in mbfl_convert_filter_get_vtbl() argument
307 from = &mbfl_encoding_8bit; in mbfl_convert_filter_get_vtbl()
308 } else if (from->no_encoding == mbfl_no_encoding_base64 || in mbfl_convert_filter_get_vtbl()
309 from->no_encoding == mbfl_no_encoding_qprint || in mbfl_convert_filter_get_vtbl()
310 from->no_encoding == mbfl_no_encoding_uuencode || in mbfl_convert_filter_get_vtbl()
311 from->no_encoding == mbfl_no_encoding_7bit) { in mbfl_convert_filter_get_vtbl()
315 if (to == from && (to == &mbfl_encoding_wchar || to == &mbfl_encoding_8bit)) { in mbfl_convert_filter_get_vtbl()
320 return from->input_filter; in mbfl_convert_filter_get_vtbl()
321 } else if (from->no_encoding == mbfl_no_encoding_wchar) { in mbfl_convert_filter_get_vtbl()
327 if (vtbl->from == from->no_encoding && vtbl->to == to->no_encoding) { in mbfl_convert_filter_get_vtbl()