Home
last modified time | relevance | path

Searched refs:LC_NUMERIC (Results 1 – 25 of 61) sorted by relevance

123

/external/python/cpython2/Lib/test/
Dtest__locale.py2 from _locale import (setlocale, LC_NUMERIC, localeconv, Error)
51 self.oldlocale = setlocale(LC_NUMERIC)
54 setlocale(LC_NUMERIC, self.oldlocale)
64 set_locale = setlocale(LC_NUMERIC)
83 setlocale(LC_NUMERIC, loc)
98 setlocale(LC_NUMERIC, loc)
114 setlocale(LC_NUMERIC, loc)
122 set_locale = setlocale(LC_NUMERIC)
140 setlocale(LC_NUMERIC, loc)
Dtest_locale.py24 oldlocale = locale.setlocale(locale.LC_NUMERIC)
27 locale.setlocale(locale.LC_NUMERIC, tloc)
35 locale.setlocale(locale.LC_NUMERIC, oldlocale)
265 locale_type = locale.LC_NUMERIC
465 locale.setlocale(locale.LC_NUMERIC)
/external/libiio/src/
Dutilities.c46 old_locale = iio_strdup(setlocale(LC_NUMERIC, NULL)); in read_double_locale()
50 setlocale(LC_NUMERIC, "C"); in read_double_locale()
52 setlocale(LC_NUMERIC, old_locale); in read_double_locale()
65 char *old_locale = iio_strdup(setlocale(LC_NUMERIC, NULL)); in write_double_locale()
69 setlocale(LC_NUMERIC, "C"); in write_double_locale()
71 setlocale(LC_NUMERIC, old_locale); in write_double_locale()
80 _locale_t locale = _create_locale(LC_NUMERIC, "C"); in read_double_locale()
96 _locale_t locale = _create_locale(LC_NUMERIC, "C"); in write_double_locale()
/external/python/cpython3/Lib/test/
Dtest__locale.py1 from _locale import (setlocale, LC_ALL, LC_CTYPE, LC_NUMERIC, localeconv, Error)
95 set_locale = setlocale(LC_NUMERIC)
114 setlocale(LC_NUMERIC, loc)
130 setlocale(LC_NUMERIC, loc)
148 setlocale(LC_NUMERIC, loc)
157 set_locale = setlocale(LC_NUMERIC)
175 setlocale(LC_NUMERIC, loc)
Dtest_locale.py29 oldlocale = locale.setlocale(locale.LC_NUMERIC)
32 locale.setlocale(locale.LC_NUMERIC, tloc)
41 locale.setlocale(locale.LC_NUMERIC, oldlocale)
268 locale_type = locale.LC_NUMERIC
549 locale.setlocale(locale.LC_NUMERIC)
/external/libcxx/test/std/depr/depr.c.headers/
Dlocale_h.pass.cpp31 #ifndef LC_NUMERIC
32 #error LC_NUMERIC not defined
/external/llvm-project/libcxx/test/std/depr/depr.c.headers/
Dlocale_h.pass.cpp34 #ifndef LC_NUMERIC
35 #error LC_NUMERIC not defined
/external/llvm-project/libcxx/test/std/localization/c.locales/
Dclocale.pass.cpp34 #ifndef LC_NUMERIC
35 #error LC_NUMERIC not defined
/external/libcxx/test/std/localization/c.locales/
Dclocale.pass.cpp33 #ifndef LC_NUMERIC
34 #error LC_NUMERIC not defined
/external/protobuf/src/google/protobuf/stubs/
Dstrutil_unittest.cc53 char* old_locale_cstr = setlocale(LC_NUMERIC, nullptr); in TEST()
58 ASSERT_TRUE(setlocale(LC_NUMERIC, "C") != nullptr); in TEST()
63 if (setlocale(LC_NUMERIC, "es_ES") == nullptr && in TEST()
64 setlocale(LC_NUMERIC, "es_ES.utf8") == nullptr) { in TEST()
74 setlocale(LC_NUMERIC, old_locale.c_str()); in TEST()
/external/curl/tests/libtest/
Dchkdecimalpoint.c35 setlocale(LC_NUMERIC, ""); in main()
/external/libiio/src/examples/
Diio-monitor.c69 old_locale = strdup(setlocale(LC_NUMERIC, NULL)); in get_channel_value()
70 setlocale(LC_NUMERIC, "C"); in get_channel_value()
90 setlocale(LC_NUMERIC, old_locale); in get_channel_value()
/external/one-true-awk/
Dmain.c118 setlocale(LC_NUMERIC, "C"); /* for parsing cmdline & prog */ in main()
219 setlocale(LC_NUMERIC, ""); /* back to whatever it is locally */ in main()
/external/libcxx/include/support/xlocale/
D__nop_locale_mgmt.h39 #define LC_NUMERIC_MASK (1 << LC_NUMERIC)
/external/llvm-project/libcxx/include/support/xlocale/
D__nop_locale_mgmt.h38 #define LC_NUMERIC_MASK (1 << LC_NUMERIC)
/external/one-true-awk/testdir/
DT.builtin38 (export LC_NUMERIC=de_DE.UTF-8 && $awk 'BEGIN { print 0.01 }' /dev/null) >foo1
40 diff foo1 foo2 || echo 'BAD: T.builtin LC_NUMERIC radix (.) handling'
/external/e2fsprogs/lib/ss/
Dmk_cmds.sh.in11 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
/external/libcxx/include/
Dclocale23 LC_NUMERIC
/external/llvm-project/libcxx/include/
Dclocale22 LC_NUMERIC
/external/e2fsprogs/lib/et/
Dcompile_et.sh.in20 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
/external/curl/tests/data/
Dtest114842 LC_NUMERIC=en_US.UTF-8
/external/e2fsprogs/tests/
Dtest_config5 …CTYPE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELE…
/external/python/cpython3/Doc/library/
Dlocale.rst67 | :const:`LC_NUMERIC` | ``'decimal_point'`` | Decimal point character. |
150 The function sets temporarily the ``LC_CTYPE`` locale to the ``LC_NUMERIC``
156 ``LC_NUMERIC`` locale in some cases.
372 Formats a number *val* according to the current :const:`LC_NUMERIC` setting.
421 :const:`LC_NUMERIC` settings.
428 Converts a string to a floating point number, following the :const:`LC_NUMERIC`
434 Converts a string to an integer, following the :const:`LC_NUMERIC` conventions.
472 .. data:: LC_NUMERIC
/external/python/cpython2/Doc/library/
Dlocale.rst67 | :const:`LC_NUMERIC` | ``'decimal_point'`` | Decimal point character. |
368 Formats a number *val* according to the current :const:`LC_NUMERIC` setting.
414 Converts a string to a floating point number, following the :const:`LC_NUMERIC`
420 Converts a string to an integer, following the :const:`LC_NUMERIC` conventions.
458 .. data:: LC_NUMERIC
/external/mesa3d/src/freedreno/computerator/
Dmain.c213 setlocale(LC_NUMERIC, "en_US.UTF-8"); in main()

123