Lines Matching defs:gUTF8ToNative
269 static iconv_t gUTF8ToNative;
286 iconv_t nsNativeCharsetConverter::gUTF8ToNative = INVALID_ICONV_T;
319 gUTF8ToNative = xp_iconv_open(native_charset_list, UTF_8_NAMES);
321 NS_ASSERTION(gUTF8ToNative != INVALID_ICONV_T, "no utf-8 to native converter");
393 if (gUTF8ToNative != INVALID_ICONV_T) {
394 iconv_close(gUTF8ToNative);
395 gUTF8ToNative = INVALID_ICONV_T;
427 if (gUTF8ToNative != INVALID_ICONV_T)
428 xp_iconv_reset(gUTF8ToNative);
535 (gUTF8ToNative != INVALID_ICONV_T)) {
551 res = xp_iconv(gUTF8ToNative, (const char **) &p, &n, output, &outLeft);
574 xp_iconv_reset(gUTF8ToNative);