Lines Matching defs:locale

61 #include <locale.h>
126 #define CP_C_LOCALE 0 /* "C" locale only for this file. */
412 * the correct character encoding for the current locale,
463 * "C" locale special processing.
693 * "C" locale special processing.
771 * Translates a wide character string into current locale character set
929 * If the current locale is UTF-8, we can translate
981 * If the current locale is UTF-8, we can translate
1037 * If the current locale is UTF-8, we can translate
1152 * Convert characters from the current locale charset to
1164 * the current locale charset.
1283 * into archive_wstring in order not to depend on locale
1515 * Return ANSI Code Page of current locale set by setlocale().
1520 char *locale, *p;
1523 locale = setlocale(LC_CTYPE, NULL);
1524 if (locale == NULL)
1526 if (locale[0] == 'C' && locale[1] == '\0')
1528 p = strrchr(locale, '.');
1545 const char *locale;
1592 * Return OEM Code Page of current locale set by setlocale().
1598 char *locale, *p;
1601 locale = setlocale(LC_CTYPE, NULL);
1602 if (locale == NULL)
1604 if (locale[0] == 'C' && locale[1] == '\0')
1607 p = strrchr(locale, '.');
1610 len = p - locale;
1612 if (strncmp(acp_ocp_map[i].locale, locale, len) == 0)
1907 * Copy one archive_string to another in locale conversion.
2226 * Returns 0 if both from-locale and to-locale are the same and those
2238 * If both from-locale and to-locale is the same, this makes a copy.
2249 * assigns '?' character instead but in UTF-8 locale this assigns
3400 * And then people who did not use UTF-8 locale on the non Unicode WCS
3408 * locale character set and appends to the archive_string.
3467 * Translates the wide-character into the current locale MBS.
3485 * Conversion functions between current locale dependent MBS and UTF-16BE.
3493 * Convert a UTF-16BE/LE string to current locale and copy the result.
3517 * "C" locale special process.
3617 * Convert a current locale string to UTF-16BE/LE and copy the result.
3636 * "C" locale special process.
3718 * a current locale is UTF-8.
3722 * Convert a UTF-16BE string to current locale and copy the result.
3780 * Convert a current locale string to UTF-16BE/LE and copy the result.
3914 /* If there's a WCS form, try converting with the native locale. */
3927 /* If there's a UTF-8 form, try converting with the native locale. */
3966 /* Try converting MBS to WCS using native locale. */
3990 * characters because Windows platform cannot make locale UTF-8.
4010 * with the native locale to be used for translating it to specified
4116 * characters because Windows platform cannot make locale UTF-8.