Home
last modified time | relevance | path

Searched refs:lcid (Results 1 – 3 of 3) sorted by relevance

/titanic_44/usr/src/uts/common/smbsrv/
H A Dntlocale.h308 #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_44/usr/src/lib/libast/common/tm/
H A Dtmlocale.c334 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_44/usr/src/lib/libast/common/comp/
H A Dsetlocale.c97 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()