Lines Matching defs:locale

62 #include <locale.h>
120 #define CP_C_LOCALE 0 /* "C" locale only for this file. */
403 * the correct character encoding for the current locale,
454 * "C" locale special process.
675 * "C" locale special process.
751 * Translates a wide character string into current locale character set
908 * If the current locale is UTF-8, we can translate
960 * If the current locale is UTF-8, we can translate
1016 * If the current locale is UTF-8, we can translate
1131 * Convert characters from the current locale charset to
1143 * the current locale charset.
1262 * into archive_wstring in order not to depend on locale
1490 * Return ANSI Code Page of current locale set by setlocale().
1495 char *locale, *p;
1498 locale = setlocale(LC_CTYPE, NULL);
1499 if (locale == NULL)
1501 if (locale[0] == 'C' && locale[1] == '\0')
1503 p = strrchr(locale, '.');
1518 const char *locale;
1565 * Return OEM Code Page of current locale set by setlocale().
1571 char *locale, *p;
1574 locale = setlocale(LC_CTYPE, NULL);
1575 if (locale == NULL)
1577 if (locale[0] == 'C' && locale[1] == '\0')
1580 p = strrchr(locale, '.');
1583 len = p - locale;
1585 if (strncmp(acp_ocp_map[i].locale, locale, len) == 0)
1880 * Copy one archive_string to another in locale conversion.
2197 * Returns 0 if both from-locale and to-locale are the same and those
2211 * If both from-locale and to-locale is the same, this makes a copy.
2222 * assigns '?' charater instead but in UTF-8 locale this assigns
3412 * And then people who did not use UTF-8 locale on the non Unicode WCS
3420 * locale character set and appends to the archive_string.
3478 * Translates the wide-character into the current locale MBS.
3496 * Conversion functions between current locale dependent MBS and UTF-16BE.
3504 * Convert a UTF-16BE/LE string to current locale and copy the result.
3528 * "C" locale special process.
3627 * Convert a current locale string to UTF-16BE/LE and copy the result.
3646 * "C" locale special process.
3727 * a current locale is UTF-8.
3731 * Convert a UTF-16BE string to current locale and copy the result.
3789 * Convert a current locale string to UTF-16BE/LE and copy the result.
3918 /* If there's a WCS form, try converting with the native locale. */
3952 /* Try converting MBS to WCS using native locale. */
3975 * characters because Windows platform cannot make locale UTF-8.
3995 * with the native locale to be used for translating it to specified
4094 * characters because Windows platform cannot make locale UTF-8.