Home
last modified time | relevance | path

Searched refs:current_locale (Results 1 – 11 of 11) sorted by relevance

/third_party/gettext/gettext-tools/tests/
Dsetlocale.c100 static char *current_locale = C_string; in setlocale() local
104 char *current_locale; in setlocale() member
123 free (facetp->current_locale); in setlocale()
126 if (current_locale != C_string) in setlocale()
127 free (current_locale); in setlocale()
128 current_locale = copy; in setlocale()
135 free (facetp->current_locale); in setlocale()
136 facetp->current_locale = copy; in setlocale()
143 facetp->current_locale = copy; in setlocale()
150 retval = current_locale; in setlocale()
[all …]
/third_party/glib/tests/
Dunicode-caseconv.c20 char *current_locale = setlocale (LC_CTYPE, NULL); in main() local
46 if (strcmp (locale, current_locale) != 0) in main()
49 current_locale = setlocale (LC_CTYPE, NULL); in main()
51 if (strncmp (current_locale, locale, 2) != 0) in main()
/third_party/python/Include/cpython/
Dfileutils.h24 int current_locale,
32 int current_locale,
/third_party/gettext/gettext-runtime/intl/
Dlocalcharset.c925 char *current_locale = setlocale (LC_CTYPE, NULL); in locale_charset() local
926 char *pdot = strrchr (current_locale, '.'); in locale_charset()
/third_party/python/Python/
Dfileutils.c585 int current_locale, _Py_error_handler errors) in _Py_DecodeLocaleEx() argument
587 if (current_locale) { in _Py_DecodeLocaleEx()
776 int raw_malloc, int current_locale, _Py_error_handler errors) in encode_locale_ex() argument
778 if (current_locale) { in encode_locale_ex()
819 int raw_malloc, int current_locale) in encode_locale() argument
823 raw_malloc, current_locale, in encode_locale()
865 int current_locale, _Py_error_handler errors) in _Py_EncodeLocaleEx() argument
868 current_locale, errors); in _Py_EncodeLocaleEx()
/third_party/glib/glib/
Dgdate.c907 static gchar *current_locale = NULL; variable
1065 if ( (current_locale == NULL) || (strcmp (locale, current_locale) != 0) ) in g_date_prepare_to_parse()
1074 g_free (current_locale); /* still works if current_locale == NULL */ in g_date_prepare_to_parse()
1076 current_locale = g_strdup (locale); in g_date_prepare_to_parse()
/third_party/boost/libs/lexical_cast/test/
Dlexical_cast_float_types_test.cpp78 std::locale current_locale; in test_conversion_from_to_float_for_locale() local
80 numpunct const& np = BOOST_USE_FACET(numpunct, current_locale); in test_conversion_from_to_float_for_locale()
Dlexical_cast_integral_types_test.cpp355 std::locale current_locale; in test_conversion_from_to_integral_for_locale() local
357 numpunct const& np = BOOST_USE_FACET(numpunct, current_locale); in test_conversion_from_to_integral_for_locale()
/third_party/glib/glib/tests/
Doption-context.c644 char *old_locale, *current_locale; in arg_test5() local
660 current_locale = setlocale (LC_NUMERIC, NULL); in arg_test5()
661 if (strcmp (current_locale, locale) != 0) in arg_test5()
/third_party/python/Modules/
D_testcapimodule.c5247 int current_locale = 0; in encode_locale_ex() local
5252 if (!PyArg_ParseTuple(args, "U|is", &unicode, &current_locale, &errors)) { in encode_locale_ex()
5266 current_locale, error_handler); in encode_locale_ex()
5296 int current_locale = 0; in decode_locale_ex() local
5300 if (!PyArg_ParseTuple(args, "y|is", &str, &current_locale, &errors)) { in decode_locale_ex()
5310 current_locale, error_handler); in decode_locale_ex()
/third_party/python/Objects/
Dunicodeobject.c3800 int current_locale) in unicode_encode_locale() argument
3818 current_locale, error_handler); in unicode_encode_locale()
4030 _Py_error_handler errors, int current_locale) in unicode_decode_locale() argument
4041 current_locale, errors); in unicode_decode_locale()