Lines Matching refs:ret
470 int mode_backup, ret, n, m, r; in mbfl_filt_conv_illegal_output() local
472 ret = 0; in mbfl_filt_conv_illegal_output()
477 ret = (*filter->filter_function)(filter->illegal_substchar, filter); in mbfl_filt_conv_illegal_output()
482 ret = mbfl_convert_filter_strcat(filter, (const unsigned char *)"U+"); in mbfl_filt_conv_illegal_output()
488 ret = mbfl_convert_filter_strcat(filter, (const unsigned char *)"JIS+"); in mbfl_filt_conv_illegal_output()
491 ret = mbfl_convert_filter_strcat(filter, (const unsigned char *)"JIS2+"); in mbfl_filt_conv_illegal_output()
494 ret = mbfl_convert_filter_strcat(filter, (const unsigned char *)"JIS3+"); in mbfl_filt_conv_illegal_output()
497 ret = mbfl_convert_filter_strcat(filter, (const unsigned char *)"W932+"); in mbfl_filt_conv_illegal_output()
500 ret = mbfl_convert_filter_strcat(filter, (const unsigned char *)"GB+"); in mbfl_filt_conv_illegal_output()
503 ret = mbfl_convert_filter_strcat(filter, (const unsigned char *)"I8859_1+"); in mbfl_filt_conv_illegal_output()
506 ret = mbfl_convert_filter_strcat(filter, (const unsigned char *)"?+"); in mbfl_filt_conv_illegal_output()
511 ret = mbfl_convert_filter_strcat(filter, (const unsigned char *)"BAD+"); in mbfl_filt_conv_illegal_output()
515 if (ret >= 0) { in mbfl_filt_conv_illegal_output()
522 ret = (*filter->filter_function)(mbfl_hexchar_table[n], filter); in mbfl_filt_conv_illegal_output()
523 if (ret < 0) { in mbfl_filt_conv_illegal_output()
529 if (m == 0 && ret >= 0) { in mbfl_filt_conv_illegal_output()
530 ret = (*filter->filter_function)(mbfl_hexchar_table[0], filter); in mbfl_filt_conv_illegal_output()
538 ret = mbfl_convert_filter_strcat(filter, (const unsigned char *)"&#x"); in mbfl_filt_conv_illegal_output()
539 if (ret < 0) in mbfl_filt_conv_illegal_output()
548 ret = (*filter->filter_function)(mbfl_hexchar_table[n], filter); in mbfl_filt_conv_illegal_output()
549 if (ret < 0) { in mbfl_filt_conv_illegal_output()
555 if (ret < 0) { in mbfl_filt_conv_illegal_output()
559 ret = (*filter->filter_function)(mbfl_hexchar_table[0], filter); in mbfl_filt_conv_illegal_output()
561 ret = mbfl_convert_filter_strcat(filter, (const unsigned char *)";"); in mbfl_filt_conv_illegal_output()
563 ret = (*filter->filter_function)(filter->illegal_substchar, filter); in mbfl_filt_conv_illegal_output()
573 return ret; in mbfl_filt_conv_illegal_output()