Lines Matching refs:ret
470 int mode_backup, substchar_backup, ret, n, m, r; in mbfl_filt_conv_illegal_output() local
472 ret = 0; in mbfl_filt_conv_illegal_output()
489 ret = (*filter->filter_function)(substchar_backup, filter); in mbfl_filt_conv_illegal_output()
494 ret = mbfl_convert_filter_strcat(filter, (const unsigned char *)"U+"); in mbfl_filt_conv_illegal_output()
500 ret = mbfl_convert_filter_strcat(filter, (const unsigned char *)"JIS+"); in mbfl_filt_conv_illegal_output()
503 ret = mbfl_convert_filter_strcat(filter, (const unsigned char *)"JIS2+"); in mbfl_filt_conv_illegal_output()
506 ret = mbfl_convert_filter_strcat(filter, (const unsigned char *)"JIS3+"); in mbfl_filt_conv_illegal_output()
509 ret = mbfl_convert_filter_strcat(filter, (const unsigned char *)"W932+"); in mbfl_filt_conv_illegal_output()
512 ret = mbfl_convert_filter_strcat(filter, (const unsigned char *)"GB+"); in mbfl_filt_conv_illegal_output()
515 ret = mbfl_convert_filter_strcat(filter, (const unsigned char *)"I8859_1+"); in mbfl_filt_conv_illegal_output()
518 ret = mbfl_convert_filter_strcat(filter, (const unsigned char *)"?+"); in mbfl_filt_conv_illegal_output()
523 ret = mbfl_convert_filter_strcat(filter, (const unsigned char *)"BAD+"); in mbfl_filt_conv_illegal_output()
527 if (ret >= 0) { in mbfl_filt_conv_illegal_output()
534 ret = (*filter->filter_function)(mbfl_hexchar_table[n], filter); in mbfl_filt_conv_illegal_output()
535 if (ret < 0) { in mbfl_filt_conv_illegal_output()
541 if (m == 0 && ret >= 0) { in mbfl_filt_conv_illegal_output()
542 ret = (*filter->filter_function)(mbfl_hexchar_table[0], filter); in mbfl_filt_conv_illegal_output()
550 ret = mbfl_convert_filter_strcat(filter, (const unsigned char *)"&#x"); in mbfl_filt_conv_illegal_output()
551 if (ret < 0) in mbfl_filt_conv_illegal_output()
560 ret = (*filter->filter_function)(mbfl_hexchar_table[n], filter); in mbfl_filt_conv_illegal_output()
561 if (ret < 0) { in mbfl_filt_conv_illegal_output()
567 if (ret < 0) { in mbfl_filt_conv_illegal_output()
571 ret = (*filter->filter_function)(mbfl_hexchar_table[0], filter); in mbfl_filt_conv_illegal_output()
573 ret = mbfl_convert_filter_strcat(filter, (const unsigned char *)";"); in mbfl_filt_conv_illegal_output()
575 ret = (*filter->filter_function)(substchar_backup, filter); in mbfl_filt_conv_illegal_output()
587 return ret; in mbfl_filt_conv_illegal_output()