Lines Matching defs:INVALID_ICONV_T
116 #define INVALID_ICONV_T ((iconv_t) -1)
172 if (res != INVALID_ICONV_T)
181 return INVALID_ICONV_T;
282 iconv_t nsNativeCharsetConverter::gNativeToUnicode = INVALID_ICONV_T;
283 iconv_t nsNativeCharsetConverter::gUnicodeToNative = INVALID_ICONV_T;
285 iconv_t nsNativeCharsetConverter::gNativeToUTF8 = INVALID_ICONV_T;
286 iconv_t nsNativeCharsetConverter::gUTF8ToNative = INVALID_ICONV_T;
287 iconv_t nsNativeCharsetConverter::gUnicodeToUTF8 = INVALID_ICONV_T;
288 iconv_t nsNativeCharsetConverter::gUTF8ToUnicode = INVALID_ICONV_T;
311 if (gNativeToUnicode == INVALID_ICONV_T) {
314 NS_ASSERTION(gNativeToUTF8 != INVALID_ICONV_T, "no native to utf-8 converter");
315 NS_ASSERTION(gUTF8ToUnicode != INVALID_ICONV_T, "no utf-8 to utf-16 converter");
317 if (gUnicodeToNative == INVALID_ICONV_T) {
320 NS_ASSERTION(gUnicodeToUTF8 != INVALID_ICONV_T, "no utf-16 to utf-8 converter");
321 NS_ASSERTION(gUTF8ToNative != INVALID_ICONV_T, "no utf-8 to native converter");
324 NS_ASSERTION(gNativeToUnicode != INVALID_ICONV_T, "no native to utf-16 converter");
325 NS_ASSERTION(gUnicodeToNative != INVALID_ICONV_T, "no utf-16 to native converter");
341 if (gNativeToUnicode != INVALID_ICONV_T) {
350 if (gUTF8ToUnicode != INVALID_ICONV_T) {
378 if (gNativeToUnicode != INVALID_ICONV_T) {
380 gNativeToUnicode = INVALID_ICONV_T;
383 if (gUnicodeToNative != INVALID_ICONV_T) {
385 gUnicodeToNative = INVALID_ICONV_T;
389 if (gNativeToUTF8 != INVALID_ICONV_T) {
391 gNativeToUTF8 = INVALID_ICONV_T;
393 if (gUTF8ToNative != INVALID_ICONV_T) {
395 gUTF8ToNative = INVALID_ICONV_T;
397 if (gUnicodeToUTF8 != INVALID_ICONV_T) {
399 gUnicodeToUTF8 = INVALID_ICONV_T;
401 if (gUTF8ToUnicode != INVALID_ICONV_T) {
403 gUTF8ToUnicode = INVALID_ICONV_T;
420 if (gNativeToUnicode != INVALID_ICONV_T)
422 if (gUnicodeToNative != INVALID_ICONV_T)
425 if (gNativeToUTF8 != INVALID_ICONV_T)
427 if (gUTF8ToNative != INVALID_ICONV_T)
429 if (gUnicodeToUTF8 != INVALID_ICONV_T)
431 if (gUTF8ToUnicode != INVALID_ICONV_T)
447 if (gNativeToUnicode != INVALID_ICONV_T) {
462 else if ((gNativeToUTF8 != INVALID_ICONV_T) &&
463 (gUTF8ToUnicode != INVALID_ICONV_T)) {
519 if (gUnicodeToNative != INVALID_ICONV_T) {
534 else if ((gUnicodeToUTF8 != INVALID_ICONV_T) &&
535 (gUTF8ToNative != INVALID_ICONV_T)) {