/titanic_51/usr/src/uts/common/smbsrv/ |
H A D | ntlocale.h | 308 #define LANGIDFROMLCID(lcid) ((WORD)(lcid)) argument 309 #define SORTIDFROMLCID(lcid) ((WORD)((((DWORD)(lcid)) >> 16) & 0xf)) argument 310 #define SORTVERSIONFROMLCID(lcid) ((WORD)((((DWORD)(lcid)) >> 20) & 0xf)) argument
|
/titanic_51/usr/src/lib/libast/common/tm/ |
H A D | tmlocale.c | 334 LCID lcid; in native_lc_time() local 342 lcid = li->lc->index; in native_lc_time() 343 nt = 2 * GetLocaleInfo(lcid, LOCALE_STIME, 0, 0) + 7; /* HH:MM:SS */ in native_lc_time() 344 ns = 3 * GetLocaleInfo(lcid, LOCALE_SSHORTDATE, 0, 0); in native_lc_time() 345 nl = 3 * GetLocaleInfo(lcid, LOCALE_SLONGDATE, 0, 0); in native_lc_time() 348 n += GetLocaleInfo(lcid, map[i].native, 0, 0); in native_lc_time() 354 if (!(m = GetLocaleInfo(lcid, map[i].native, s, n))) in native_lc_time() 365 if (!GetLocaleInfo(lcid, LOCALE_ITIME, buf, sizeof(buf))) in native_lc_time() 368 if (!GetLocaleInfo(lcid, LOCALE_ITLZERO, buf, sizeof(buf))) in native_lc_time() 371 if (!GetLocaleInfo(lcid, LOCALE_STIME, buf, sizeof(buf))) in native_lc_time() [all …]
|
/titanic_51/usr/src/contrib/ast/src/lib/libast/tm/ |
H A D | tmlocale.c | 350 LCID lcid; in native_lc_time() local 358 lcid = li->lc->index; in native_lc_time() 359 nt = 2 * GetLocaleInfo(lcid, LOCALE_STIME, 0, 0) + 7; /* HH:MM:SS */ in native_lc_time() 360 ns = 3 * GetLocaleInfo(lcid, LOCALE_SSHORTDATE, 0, 0); in native_lc_time() 361 nl = 3 * GetLocaleInfo(lcid, LOCALE_SLONGDATE, 0, 0); in native_lc_time() 364 n += GetLocaleInfo(lcid, map[i].native, 0, 0); in native_lc_time() 370 if (!(m = GetLocaleInfo(lcid, map[i].native, s, n))) in native_lc_time() 381 if (!GetLocaleInfo(lcid, LOCALE_ITIME, buf, sizeof(buf))) in native_lc_time() 384 if (!GetLocaleInfo(lcid, LOCALE_ITLZERO, buf, sizeof(buf))) in native_lc_time() 387 if (!GetLocaleInfo(lcid, LOCALE_STIM in native_lc_time() [all...] |
/titanic_51/usr/src/lib/libast/common/comp/ |
H A D | setlocale.c | 97 unsigned long lcid; in native_locale() local 127 lcid = MAKELCID(MAKELANGID(lang, ctry), SORT_DEFAULT); in native_locale() 130 lcid = GetUserDefaultLCID(); in native_locale() 131 if (GetLocaleInfo(lcid, LOCALE_SENGLANGUAGE, lbuf, sizeof(lbuf)) <= 0 || in native_locale() 132 GetLocaleInfo(lcid, LOCALE_SENGCOUNTRY, cbuf, sizeof(cbuf)) <= 0) in native_locale()
|
/titanic_51/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | setlocale.c | 108 unsigned long lcid; in native_locale() local 138 lcid = MAKELCID(MAKELANGID(lang, ctry), SORT_DEFAULT); in native_locale() 141 lcid = GetUserDefaultLCID(); in native_locale() 142 if (GetLocaleInfo(lcid, LOCALE_SENGLANGUAGE, lbuf, sizeof(lbuf)) <= 0 || in native_locale() 143 GetLocaleInfo(lcid, LOCALE_SENGCOUNTRY, cbuf, sizeof(cbuf)) <= 0) in native_locale()
|