Lines Matching refs:encoding
169 const struct mbfl_identify_vtbl * mbfl_identify_filter_get_vtbl(enum mbfl_no_encoding encoding) in mbfl_identify_filter_get_vtbl() argument
176 if (vtbl->encoding == encoding) { in mbfl_identify_filter_get_vtbl()
184 mbfl_identify_filter *mbfl_identify_filter_new(enum mbfl_no_encoding encoding) in mbfl_identify_filter_new() argument
187 if (mbfl_identify_filter_init(filter, encoding)) { in mbfl_identify_filter_new()
195 mbfl_identify_filter *mbfl_identify_filter_new2(const mbfl_encoding *encoding) in mbfl_identify_filter_new2() argument
198 if (mbfl_identify_filter_init2(filter, encoding)) { in mbfl_identify_filter_new2()
207 int mbfl_identify_filter_init(mbfl_identify_filter *filter, enum mbfl_no_encoding encoding) in mbfl_identify_filter_init() argument
209 const mbfl_encoding *enc = mbfl_no2encoding(encoding); in mbfl_identify_filter_init()
213 int mbfl_identify_filter_init2(mbfl_identify_filter *filter, const mbfl_encoding *encoding) in mbfl_identify_filter_init2() argument
218 filter->encoding = encoding; in mbfl_identify_filter_init2()
225 vtbl = mbfl_identify_filter_get_vtbl(filter->encoding->no_encoding); in mbfl_identify_filter_init2()