D | c_locale_win32.c | 235 static int __ParseLocaleString(const char* lname, char* lang, char* ctry, char* page); 1390 char* lang, char* ctry, char* page) { in __ParseLocaleString() argument 1449 _STLP_STRNCPY(page, MAX_CP_LEN + 1, lname, len); in __ParseLocaleString() 1540 char lang[MAX_LANG_LEN + 1], ctry[MAX_CTRY_LEN + 1], page[MAX_CP_LEN + 1]; in __GetLCIDFromName() local 1549 memset(page, 0, MAX_CP_LEN + 1); in __GetLCIDFromName() 1550 if (__ParseLocaleString(lname, lang, ctry, page) == -1) return -1; in __GetLCIDFromName() 1587 if (lstrcmpiA(page, "ACP") == 0 || page[0] == 0) in __GetLCIDFromName() 1589 else if (lstrcmpiA(page, "OCP") == 0) in __GetLCIDFromName() 1591 else if (lstrcmpiA(page, "UTF7") == 0) in __GetLCIDFromName() 1593 else if (lstrcmpiA(page, "UTF8") == 0) in __GetLCIDFromName() [all …]
|