Searched defs:locale (Results 1 - 12 of 12) sorted by relevance

/ast/src/lib/libast/regex/
H A Dregcache.c51 char* locale; member in struct:State_s
119 * flush the cache if the locale changed
124 if ((s = setlocale(LC_CTYPE, NiL)) != matchstate.locale)
126 matchstate.locale = s;
/ast/src/cmd/tests/
H A Dopt.c79 translate(const char* locale, const char* id, const char* catalog, const char* msg) argument
197 ast.locale.set |= (1<<AST_LC_MESSAGES);
/ast/src/lib/libast/misc/
H A Dtranslate.c48 int debug; /* special debug locale */
49 const char* locale; /* message catalog locale */ member in struct:__anon295
126 * find catalog in locale and return catopen() descriptor
130 find(const char* locale, const char* catalog) argument
136 if (!mcfind(locale, catalog, LC_MESSAGES, 0, path, sizeof(path)) || (d = catopen(path, NL_CAT_LOCALE)) == NOCAT)
138 if (locale == (const char*)lc_categories[AST_LC_MESSAGES].prev)
142 ast.locale.set |= AST_LC_internal;
143 setlocale(LC_MESSAGES, locale);
149 ast.locale
[all...]
/ast/src/lib/libast/port/
H A Dmc.c49 * find the binary message catalog path for <locale,catalog>
57 mcfind(const char* locale, const char* catalog, int category, int nls, char* path, size_t size) argument
77 if (!(lc = locale ? lcmake(locale) : locales[category]))
92 paths[i++] = "share/lib/locale/%l/%C/%N";
93 paths[i++] = "share/locale/%l/%C/%N";
94 paths[i++] = "lib/locale/%l/%C/%N";
188 if (ast.locale.set & AST_LC_find)
189 sfprintf(sfstderr, "locale find %s\n", file);
192 if (ast.locale
[all...]
/ast/src/lib/libast/tm/
H A Dtmlocale.c42 Lc_info_t* locale; member in struct:__anon313
338 * load the native LC_TIME data for the current locale
550 * load the LC_TIME data for the current locale
624 * check that tm_info.format matches the current locale
/ast/src/lib/libast/astsa/
H A Dast.h61 } locale; member in struct:__anon244
/ast/src/cmd/re/
H A Dtestfnmatch.c47 #include <locale.h>
107 H(" C set LC_COLLATE and LC_CTYPE to locale in field 2\n");
486 int locale = 0; local
598 locale = skip = testno = 0;
675 bad("locale query expected\n", NiL, NiL, 0);
677 if (locale)
678 bad("locale nesting not supported\n", NiL, NiL, 0);
680 bad("locale field expected\n", NiL, NiL, 0);
691 printf("NOTE \"%s\" locale\n", s);
692 locale
[all...]
H A Dtestmatch.c49 #include <locale.h>
117 H(" C set LC_COLLATE and LC_CTYPE to locale in field 2\n");
617 int locale = 0; local
733 locale = skip = testno = 0;
808 bad("locale query expected\n", NiL, NiL, 0);
814 if (locale)
815 bad("locale nesting not supported\n", NiL, NiL, 0);
817 bad("locale field expected\n", NiL, NiL, 0);
828 printf("NOTE \"%s\" locale\n", s);
829 locale
[all...]
H A Dtestglob.c70 #include <locale.h>
135 H(" C set LC_COLLATE and LC_CTYPE to the locale in field 2\n");
539 int locale = 0; local
783 bad("locale query expected\n", NiL);
785 if (locale)
786 bad("locale nesting not supported\n", NiL);
788 bad("locale field expected\n", NiL);
797 printf("NOTE \"%s\" locale\n", s);
798 locale = level;
880 else if (locale
[all...]
H A Dtestregex.c55 #include <locale.h>
249 T(" C set LC_COLLATE and LC_CTYPE to locale in field 2\n");
1234 int locale; local
1341 locale = 0;
1556 bad("locale query expected\n", NiL, NiL, 0, 0);
1558 if (locale)
1559 bad("locale nesting not supported\n", NiL, NiL, 0, 0);
1561 bad("locale field expected\n", NiL, NiL, 0, 0);
1579 printf("NOTE \"%s\" locale\n", s);
1580 locale
[all...]
/ast/src/lib/libast/include/
H A Dast_std.h79 /* locale stuff */
232 } locale; member in struct:__anon265
/ast/src/lib/libast/comp/
H A Dsetlocale.c27 * and a permanent locale namespace for pointer comparison
28 * and persistent private data for locale related functions
80 sfprintf(sfstderr, "locale %17s %16s %16s %16s %s\n", "CATEGORY", "AST", "SYSTEM", "PREVIOUS", "ATTRIBUTES");
96 * convert locale to native locale name in buf
100 native_locale(const char* locale, char* buf, size_t siz) argument
111 if (locale && *locale)
113 if (!(lc = lcmake(locale)))
150 * locale!
154 native_setlocale(int category, const char* locale) argument
2384 default_setlocale(int category, const char* locale) argument
2411 _sys_setlocale(int category, const char* locale) argument
2674 _ast_setlocale(int category, const char* locale) argument
[all...]

Completed in 29 milliseconds