Lines Matching refs:from

69 static void mbfl_convert_filter_init(mbfl_convert_filter *filter, const mbfl_encoding *from, const …  in mbfl_convert_filter_init()  argument
73 filter->from = from; in mbfl_convert_filter_init()
95 mbfl_convert_filter* mbfl_convert_filter_new(const mbfl_encoding *from, const mbfl_encoding *to, ou… in mbfl_convert_filter_new() argument
98 const struct mbfl_convert_vtbl *vtbl = mbfl_convert_filter_get_vtbl(from, to); in mbfl_convert_filter_new()
104 mbfl_convert_filter_init(filter, from, to, vtbl, output_function, flush_function, data); in mbfl_convert_filter_new()
111 const mbfl_encoding *from_encoding = mbfl_no2encoding(vtbl->from); in mbfl_convert_filter_new2()
150 void mbfl_convert_filter_reset(mbfl_convert_filter *filter, const mbfl_encoding *from, const mbfl_e… in mbfl_convert_filter_reset() argument
156 const struct mbfl_convert_vtbl *vtbl = mbfl_convert_filter_get_vtbl(from, to); in mbfl_convert_filter_reset()
162 …mbfl_convert_filter_init(filter, from, to, vtbl, filter->output_function, filter->flush_function, … in mbfl_convert_filter_reset()
277 const struct mbfl_convert_vtbl* mbfl_convert_filter_get_vtbl(const mbfl_encoding *from, const mbfl_… in mbfl_convert_filter_get_vtbl() argument
281 from = &mbfl_encoding_8bit; in mbfl_convert_filter_get_vtbl()
282 } else if (from->no_encoding == mbfl_no_encoding_base64 || in mbfl_convert_filter_get_vtbl()
283 from->no_encoding == mbfl_no_encoding_qprint || in mbfl_convert_filter_get_vtbl()
284 from->no_encoding == mbfl_no_encoding_uuencode) { in mbfl_convert_filter_get_vtbl()
288 if (to == from && (to == &mbfl_encoding_wchar || to == &mbfl_encoding_8bit)) { in mbfl_convert_filter_get_vtbl()
293 return from->input_filter; in mbfl_convert_filter_get_vtbl()
294 } else if (from->no_encoding == mbfl_no_encoding_wchar) { in mbfl_convert_filter_get_vtbl()
300 if (vtbl->from == from->no_encoding && vtbl->to == to->no_encoding) { in mbfl_convert_filter_get_vtbl()
324 zend_string* mb_fast_convert(unsigned char *in, size_t in_len, const mbfl_encoding *from, const mbf… in mb_fast_convert() argument
330 from = &mbfl_encoding_8bit; in mb_fast_convert()
331 …} else if (from == &mbfl_encoding_base64 || from == &mbfl_encoding_qprint || from == &mbfl_encodin… in mb_fast_convert()
339 size_t out_len = from->to_wchar(&in, &in_len, wchar_buf, 128, &state); in mb_fast_convert()