Lines Matching refs:gNativeToUTF8
268 static iconv_t gNativeToUTF8;
285 iconv_t nsNativeCharsetConverter::gNativeToUTF8 = INVALID_ICONV_T;
312 gNativeToUTF8 = xp_iconv_open(UTF_8_NAMES, native_charset_list);
314 NS_ASSERTION(gNativeToUTF8 != INVALID_ICONV_T, "no native to utf-8 converter");
389 if (gNativeToUTF8 != INVALID_ICONV_T) {
390 iconv_close(gNativeToUTF8);
391 gNativeToUTF8 = INVALID_ICONV_T;
425 if (gNativeToUTF8 != INVALID_ICONV_T)
426 xp_iconv_reset(gNativeToUTF8);
462 else if ((gNativeToUTF8 != INVALID_ICONV_T) &&
474 res = xp_iconv(gNativeToUTF8, &in, &inLeft, &p, &n);
497 xp_iconv_reset(gNativeToUTF8);