Home
last modified time | relevance | path

Searched refs:setlocale (Results 1 – 25 of 644) sorted by relevance

12345678910>>...26

/illumos-gate/usr/src/test/libc-tests/tests/catopen/
H A Dcatopen.c53 (void) setlocale(LC_ALL, "C"); in main()
56 (void) setlocale(LC_ALL, "zz_AA.UTF-8"); in main()
59 (void) setlocale(LC_MESSAGES, "C"); in main()
62 (void) setlocale(LC_ALL, "C"); in main()
74 (void) setlocale(LC_ALL, "zz_AA.UTF-8"); in main()
/illumos-gate/usr/src/test/libc-tests/tests/priv_gettext/
H A Dpriv_gettext.c57 (void) setlocale(LC_ALL, "C"); in main()
60 (void) setlocale(LC_ALL, "zz_AA.UTF-8"); in main()
63 (void) setlocale(LC_ALL, "C"); in main()
75 (void) setlocale(LC_ALL, "zz_AA.UTF-8"); in main()
/illumos-gate/usr/src/test/libc-tests/tests/
H A Dstrerror.c93 (void) setlocale(LC_ALL, "C"); in main()
99 (void) setlocale(LC_ALL, "zz_AA.UTF-8"); in main()
105 (void) setlocale(LC_MESSAGES, "C"); in main()
110 (void) setlocale(LC_ALL, "C"); in main()
H A Dwcsncasecmp.c54 (void) setlocale(LC_ALL, "en_US.UTF-8"); in main()
90 (void) setlocale(LC_ALL, "ja_JP.UTF-8"); in main()
/illumos-gate/usr/src/cmd/gettxt/
H A Dgettxt.c44 locp = setlocale(LC_ALL, ""); in main()
46 (void) setlocale(LC_CTYPE, ""); in main()
47 (void) setlocale(LC_MESSAGES, ""); in main()
/illumos-gate/usr/src/test/libc-tests/tests/stdio/
H A Dtest_mbrtowc.c58 if (setlocale(LC_CTYPE, "en_US.UTF-8") == NULL) in main()
73 if (setlocale(LC_CTYPE, "POSIX") == NULL) in main()
78 if (setlocale(LC_CTYPE, "en_US.UTF-8") == NULL) in main()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dstrerror.c116 p = setlocale(LC_MESSAGES, NiL); in _ast_strerror()
117 setlocale(LC_MESSAGES, "C"); in _ast_strerror()
119 setlocale(LC_MESSAGES, p); in _ast_strerror()
/illumos-gate/usr/src/cmd/bnu/
H A Dgetargs.c174 if ((tmp = setlocale(category, NULL)) == NULL) in _uu_setlocale()
186 if (setlocale(category, locale) == NULL) { in _uu_setlocale()
201 (void) setlocale(category, locale); in _uu_resetlocale()
/illumos-gate/usr/src/test/libc-tests/tests/wcsrtombs/
H A Dwcsrtombs_test.c89 v = setlocale(LC_ALL, locale); in test_wcsrtombs_1()
130 v = setlocale(LC_ALL, "C"); in test_wcsrtombs_l()
219 (void) setlocale(LC_ALL, "C"); in test_wcsrtombs_threaded()
238 if (setlocale(LC_ALL, "ru_RU.UTF-8") == NULL) { in test_wcsrtombs_partial()
286 if (setlocale(LC_ALL, "ru_RU.UTF-8") == NULL) { in test_wcsrtombs_negative()
318 if (setlocale(LC_ALL, "ru_RU.UTF-8") == NULL) { in test_wcsnrtombs_partial()
/illumos-gate/usr/src/lib/fm/libfmd_msg/common/
H A Dfmd_msg.c301 (void) setlocale(LC_ALL, ""); in fmd_msg_init()
302 s = setlocale(LC_ALL, NULL); in fmd_msg_init()
351 (void) setlocale(LC_ALL, "C"); in fmd_msg_init()
353 (void) setlocale(LC_ALL, h->fmh_locale); in fmd_msg_init()
388 if (setlocale(LC_ALL, l) == NULL) { in fmd_msg_locale_set()
1411 p = setlocale(LC_ALL, NULL); in fmd_msg_getitem()
1415 (void) setlocale(LC_ALL, locale); in fmd_msg_getitem()
1423 (void) setlocale(LC_ALL, "C"); in fmd_msg_getitem()
1436 (void) setlocale(LC_ALL, old_c); in fmd_msg_getitem()
1503 p = setlocale(LC_ALL, NULL); in fmd_msg_gettext_key()
[all …]
/illumos-gate/usr/src/cmd/oawk/
H A Dmain.c71 (void) setlocale(LC_ALL, ""); in main()
72 (void) setlocale(LC_NUMERIC, "C"); in main()
146 (void) setlocale(LC_ALL, ""); in main()
/illumos-gate/usr/src/cmd/awk/
H A Dmain.c90 (void) setlocale(LC_ALL, ""); in main()
91 (void) setlocale(LC_NUMERIC, "C"); in main()
225 (void) setlocale(LC_ALL, ""); in main()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dcatopen.c44 #undef setlocale
84 …GES=%s:%s\n", __LINE__, __FILE__, name, _ast_setlocale(LC_MESSAGES, 0), setlocale(LC_MESSAGES, 0)); in _ast_catopen()
97 if (strcmp(setlocale(LC_MESSAGES, NiL), "debug")) in _ast_catopen()
H A Dsetlocale.c65 #undef setlocale
94 #define setlocale(c,l) native_setlocale(c,l) macro
2408 #define setlocale(c,l) default_setlocale(c,l) macro
2444 r = setlocale(category, locale); in _sys_setlocale()
2449 #define setlocale(a,b) _sys_setlocale(a,b) macro
2495 sys = setlocale(lc_categories[category].external, lcmake(NiL)->name); in single()
2496 else if (!(sys = setlocale(lc_categories[category].external, lc->name)) && in single()
2497 (streq(lc->name, lc->code) || !(sys = setlocale(lc_categories[category].external, lc->code))) && in single()
2499 sys = setlocale(lc_categories[category].external, lc->language->code); in single()
2520 setlocale(lc_categories[category].external, lcmake(NiL)->name); in single()
/illumos-gate/usr/src/cmd/krb5/kadmin/cli/
H A Dss_wrapper.c68 (void) setlocale(LC_ALL, "");
84 (void) setlocale(LC_ALL, "");
/illumos-gate/usr/src/cmd/backup/restore/
H A Dmain.c125 (void) setlocale(LC_CTYPE, ""); in main()
126 (void) setlocale(LC_NUMERIC, ""); in main()
127 (void) setlocale(LC_TIME, ""); in main()
128 (void) setlocale(LC_MONETARY, ""); in main()
129 (void) setlocale(LC_MESSAGES, ""); in main()
/illumos-gate/usr/src/lib/libadt_jni/common/
H A Dadt_jni.c90 (void) setlocale(LC_MESSAGES, locale); in errno_to_i18n()
117 (void) setlocale(LC_MESSAGES, locale); in j2c_pointer()
211 (void) setlocale(LC_MESSAGES, locale); in Java_com_sun_audit_AuditSession_endSession()
234 (void) setlocale(LC_MESSAGES, locale); in Java_com_sun_audit_AuditSession_dupSession()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/
H A Dast_std.h126 #undef setlocale
127 #define setlocale _ast_setlocale macro
134 extern char* setlocale(int, const char*);
/illumos-gate/usr/src/cmd/basename/
H A Dbasename.c75 (void) setlocale(LC_ALL, ""); in main()
123 (void) setlocale(LC_ALL, ""); in main()
/illumos-gate/usr/src/cmd/locale/
H A Dlocale.c398 (void) setlocale(LC_ALL, ""); in main()
487 eff = setlocale(i, NULL); in print_cur_locale()
533 (void) setlocale(LC_ALL, save_loc); in add_loc_entry()
543 (void) setlocale(LC_ALL, save_loc); in add_loc_entry()
577 if (setlocale(LC_ALL, loc) != NULL) { in check_loc()
588 if (setlocale(cat, loc) != NULL) { in check_loc()
620 save_loc = setlocale(LC_ALL, NULL); in print_all_info()
701 (void) setlocale(LC_ALL, save_loc); in print_all_info()
/illumos-gate/usr/src/cmd/svc/startd/
H A Dspecials.c75 (void) setlocale(LC_ALL, ""); in special_fsroot_post_online()
76 st->st_locale = setlocale(LC_MESSAGES, ""); in special_fsroot_post_online()
/illumos-gate/usr/src/cmd/mandoc/
H A Dterm_ascii.c103 setlocale(LC_CTYPE, "") : in ascii_init()
104 setlocale(LC_CTYPE, UTF8_LOCALE); in ascii_init()
113 v = setlocale(LC_CTYPE, "C"); in ascii_init()
/illumos-gate/usr/src/cmd/sort/
H A Dinitialize.c77 (void) setlocale(LC_ALL, ""); in initialize_pre()
81 S->m_c_locale = xstreql("C", setlocale(LC_COLLATE, NULL)); in initialize_pre()
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/
H A Ddcs_ses.c364 new_locale = setlocale(LC_ALL, DCS_DEFAULT_LOCALE); in ses_setlocale()
368 new_locale = setlocale(LC_ALL, locale); in ses_setlocale()
374 new_locale = setlocale(LC_ALL, DCS_DEFAULT_LOCALE); in ses_setlocale()
/illumos-gate/usr/src/cmd/expand/
H A Dexpand.c75 (void) setlocale(LC_ALL, "");
76 locale = setlocale(LC_CTYPE, NULL);

12345678910>>...26