/external/icu4c/test/intltest/ |
D | winnmtst.cpp | 132 static UnicodeString &getWindowsFormat(int32_t lcid, UBool currency, UnicodeString &appendTo, const… in getWindowsFormat() argument 187 result = GetCurrencyFormatW(lcid, 0, nBuffer, NULL, buffer, STACK_BUFFER_SIZE); in getWindowsFormat() 193 int newLength = GetCurrencyFormatW(lcid, 0, nBuffer, NULL, NULL, 0); in getWindowsFormat() 197 GetCurrencyFormatW(lcid, 0, nBuffer, NULL, buffer, newLength); in getWindowsFormat() 201 result = GetNumberFormatW(lcid, 0, nBuffer, NULL, buffer, STACK_BUFFER_SIZE); in getWindowsFormat() 207 int newLength = GetNumberFormatW(lcid, 0, nBuffer, NULL, NULL, 0); in getWindowsFormat() 211 GetNumberFormatW(lcid, 0, nBuffer, NULL, buffer, newLength); in getWindowsFormat() 229 static void testLocale(const char *localeID, int32_t lcid, NumberFormat *wnf, UBool currency, TestL… in testLocale() argument 238 getWindowsFormat(lcid, currency, wdBuffer, L"%.16f", d); in testLocale() 240 getWindowsFormat(lcid, currency, w3Buffer, L"%I32d", i32); in testLocale() [all …]
|
D | windttst.cpp | 122 GetLocaleInfoW(lcidRecords[i].lcid, LOCALE_SLONGDATE, longDateFormat, 81); in testLocales() 123 GetLocaleInfoW(lcidRecords[i].lcid, LOCALE_STIMEFORMAT, longTimeFormat, 81); in testLocales() 124 …GetLocaleInfoW(lcidRecords[i].lcid, LOCALE_RETURN_NUMBER|LOCALE_ICALENDARTYPE, (LPWSTR) calType, s… in testLocales() 135 …wdLength = GetDateFormatW(lcidRecords[i].lcid, DATE_LONGDATE, &winNow, NULL, wdBuffer, ARRAY_SIZE(… in testLocales() 136 … wtLength = GetTimeFormatW(lcidRecords[i].lcid, 0, &winNow, NULL, wtBuffer, ARRAY_SIZE(wtBuffer)); in testLocales()
|
D | winutil.cpp | 50 sscanf(lpLocaleString, "%8x", &lcidRecords[lcidCount].lcid); in EnumLocalesProc() 52 lcidRecords[lcidCount].localeID = uprv_convertToPosix(lcidRecords[lcidCount].lcid, &status); in EnumLocalesProc()
|
D | winutil.h | 31 int32_t lcid; member
|
/external/icu4c/i18n/ |
D | winnmfmt.cpp | 79 static void getNumberFormat(NUMBERFMTW *fmt, int32_t lcid) in getNumberFormat() argument 83 … GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_IDIGITS, (LPWSTR) &fmt->NumDigits, sizeof(UINT)); in getNumberFormat() 84 …GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_ILZERO, (LPWSTR) &fmt->LeadingZero, sizeof(UINT)… in getNumberFormat() 86 GetLocaleInfoA(lcid, LOCALE_SGROUPING, buf, 10); in getNumberFormat() 90 GetLocaleInfoW(lcid, LOCALE_SDECIMAL, fmt->lpDecimalSep, 6); in getNumberFormat() 93 GetLocaleInfoW(lcid, LOCALE_STHOUSAND, fmt->lpThousandSep, 6); in getNumberFormat() 95 …GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_INEGNUMBER, (LPWSTR) &fmt->NegativeOrder, sizeof(… in getNumberFormat() 106 static void getCurrencyFormat(CURRENCYFMTW *fmt, int32_t lcid) in getCurrencyFormat() argument 110 …GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_ICURRDIGITS, (LPWSTR) &fmt->NumDigits, sizeof(UIN… in getCurrencyFormat() 111 …GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_ILZERO, (LPWSTR) &fmt->LeadingZero, sizeof(UINT)); in getCurrencyFormat() [all …]
|
/external/icu4c/test/cintltst/ |
D | cloctst.c | 2694 uint32_t lcid; in TestGetLocaleForLCID() local 2696 lcid = uloc_getLCID("en_US"); in TestGetLocaleForLCID() 2697 if (lcid != 0x0409) { in TestGetLocaleForLCID() 2698 log_err(" uloc_getLCID(\"en_US\") = %d, expected 0x0409\n", lcid); in TestGetLocaleForLCID() 2701 lengthPre = uloc_getLocaleForLCID(lcid, temp2, 4, &status); in TestGetLocaleForLCID() 2709 length = uloc_getLocaleForLCID(lcid, temp2, sizeof(temp2)/sizeof(char), &status); in TestGetLocaleForLCID() 2732 sscanf(rawData2[LCID][i], "%x", &lcid); in TestGetLocaleForLCID() 2733 length = uloc_getLocaleForLCID(lcid, temp2, sizeof(temp2)/sizeof(char), &status); in TestGetLocaleForLCID() 2735 …log_err(" unexpected failure of uloc_getLocaleForLCID(%#04x), status %s\n", lcid, u_errorName(sta… in TestGetLocaleForLCID() 2741 … %d not correct for uloc_getLocaleForLCID(%#04x), expected %d\n", length, lcid, uprv_strlen(temp2)… in TestGetLocaleForLCID() [all …]
|
/external/e2fsprogs/intl/ |
D | localename.c | 741 LCID lcid; in _nl_locale_name() local 758 lcid = GetThreadLocale (); in _nl_locale_name() 761 langid = LANGIDFROMLCID (lcid); in _nl_locale_name()
|
/external/qemu/distrib/sdl-1.2.12/src/video/wincommon/ |
D | SDL_sysevents.c | 905 int lcid = MAKELCID(LOWORD(GetKeyboardLayout(0)), SORT_DEFAULT); in GetCodePage() local 908 if (GetLocaleInfo(lcid, LOCALE_IDEFAULTANSICODEPAGE, buff, sizeof(buff))) { in GetCodePage()
|