Searched refs:MAX_LANG_LEN (Results 1 – 1 of 1) sorted by relevance
/ndk/sources/cxx-stl/stlport/src/c_locale_win32/ |
D | c_locale_win32.c | 59 #define MAX_LANG_LEN 64 /* max language name length */ macro 62 #define MAX_LC_LEN (MAX_LANG_LEN+MAX_CTRY_LEN+MAX_MODIFIER_LEN+3) 1401 if (len == 0 || len > MAX_LANG_LEN) return -1; /* empty lang is invalid*/ in __ParseLocaleString() 1402 _STLP_STRNCPY(lang, MAX_LANG_LEN + 1, lname, len); in __ParseLocaleString() 1417 if (len > MAX_LANG_LEN) return -1; in __ParseLocaleString() 1423 { _STLP_STRNCPY(lang, MAX_LANG_LEN + 1, lname, len); } in __ParseLocaleString() 1440 if (len > MAX_LANG_LEN) return -1; in __ParseLocaleString() 1441 _STLP_STRNCPY(lang, MAX_LANG_LEN + 1, lname, len); in __ParseLocaleString() 1487 static char Lang[MAX_LANG_LEN], Ctry[MAX_CTRY_LEN]; in EnumLocalesProcA() 1489 GetLocaleInfoA(lcid, LOCALE_SENGLANGUAGE, Lang, MAX_LANG_LEN); in EnumLocalesProcA() [all …]
|