Searched refs:err_mode (Results 1 – 2 of 2) sorted by relevance
371 static size_t mb_illegal_marker(uint32_t bad_cp, uint32_t *out, unsigned int err_mode, uint32_t rep… in mb_illegal_marker() argument378 if (err_mode != MBFL_OUTPUTFILTER_ILLEGAL_MODE_NONE) { in mb_illegal_marker()384 switch (err_mode) { in mb_illegal_marker()412 unsigned int err_mode = buf->error_mode; in mb_illegal_output() local414 if (err_mode == MBFL_OUTPUTFILTER_ILLEGAL_MODE_BADUTF8) { in mb_illegal_output()425 size_t len = mb_illegal_marker(bad_cp, temp, err_mode, repl_char); in mb_illegal_output()428 if (err_mode == MBFL_OUTPUTFILTER_ILLEGAL_MODE_CHAR && repl_char != '?') { in mb_illegal_output()437 buf->error_mode = err_mode; in mb_illegal_output()
153 …b_convert_buf_init(mb_convert_buf *buf, size_t initsize, uint32_t repl_char, unsigned int err_mode) in mb_convert_buf_init() argument160 buf->error_mode = err_mode; in mb_convert_buf_init()
Completed in 9 milliseconds