Lines Matching refs:from
92 static void mbfl_convert_filter_init(mbfl_convert_filter *filter, const mbfl_encoding *from, const … in mbfl_convert_filter_init() argument
96 filter->from = from; in mbfl_convert_filter_init()
118 mbfl_convert_filter* mbfl_convert_filter_new(const mbfl_encoding *from, const mbfl_encoding *to, ou… in mbfl_convert_filter_new() argument
121 const struct mbfl_convert_vtbl *vtbl = mbfl_convert_filter_get_vtbl(from, to); in mbfl_convert_filter_new()
127 mbfl_convert_filter_init(filter, from, to, vtbl, output_function, flush_function, data); in mbfl_convert_filter_new()
134 const mbfl_encoding *from_encoding = mbfl_no2encoding(vtbl->from); in mbfl_convert_filter_new2()
173 void mbfl_convert_filter_reset(mbfl_convert_filter *filter, const mbfl_encoding *from, const mbfl_e… in mbfl_convert_filter_reset() argument
179 const struct mbfl_convert_vtbl *vtbl = mbfl_convert_filter_get_vtbl(from, to); in mbfl_convert_filter_reset()
185 …mbfl_convert_filter_init(filter, from, to, vtbl, filter->output_function, filter->flush_function, … in mbfl_convert_filter_reset()
300 const struct mbfl_convert_vtbl* mbfl_convert_filter_get_vtbl(const mbfl_encoding *from, const mbfl_… in mbfl_convert_filter_get_vtbl() argument
304 from = &mbfl_encoding_8bit; in mbfl_convert_filter_get_vtbl()
305 } else if (from->no_encoding == mbfl_no_encoding_base64 || in mbfl_convert_filter_get_vtbl()
306 from->no_encoding == mbfl_no_encoding_qprint || in mbfl_convert_filter_get_vtbl()
307 from->no_encoding == mbfl_no_encoding_uuencode) { in mbfl_convert_filter_get_vtbl()
311 if (to == from && (to == &mbfl_encoding_wchar || to == &mbfl_encoding_8bit)) { in mbfl_convert_filter_get_vtbl()
316 return from->input_filter; in mbfl_convert_filter_get_vtbl()
317 } else if (from->no_encoding == mbfl_no_encoding_wchar) { in mbfl_convert_filter_get_vtbl()
323 if (vtbl->from == from->no_encoding && vtbl->to == to->no_encoding) { in mbfl_convert_filter_get_vtbl()
347 zend_string* mb_fast_convert(unsigned char *in, size_t in_len, const mbfl_encoding *from, const mbf… in mb_fast_convert() argument
353 from = &mbfl_encoding_8bit; in mb_fast_convert()
354 …} else if (from == &mbfl_encoding_base64 || from == &mbfl_encoding_qprint || from == &mbfl_encodin… in mb_fast_convert()
362 size_t out_len = from->to_wchar(&in, &in_len, wchar_buf, 128, &state); in mb_fast_convert()