Lines Matching defs:charset_type
637 static int charset_type = 0;
7258 if (charset_type == -1) { /* iconv_open failed in earlier try */
7263 } else if (charset_type == 0) { /* iconv_open has not yet been done */
7268 charset_type = 1;
7270 charset_type = 3;
7274 charset_type = 2;
7285 charset_type = -1;
7292 if (charset_type == 1 || charset_type == 3) {
7299 if (charset_type == 3)
7364 if (charset_type == -1) { /* Previous failure to open. */
7371 if (charset_type == 0) { /* Need to get conversion descriptor */
7376 charset_type = 1;
7378 charset_type = 3;
7382 charset_type = 2;
7398 charset_type = -1;
7467 if (charset_type == 3) { /* Already UTF-8, just copy */
7474 if (charset_type == 3) /* Already in UTF-8 format */
7483 if (charset_type == 1) { /* locale using 7-bit codeset */