201 #define ULOC_CHINESE "zh"
203 #define ULOC_ENGLISH "en"
205 #define ULOC_FRENCH "fr"
207 #define ULOC_GERMAN "de"
209 #define ULOC_ITALIAN "it"
211 #define ULOC_JAPANESE "ja"
213 #define ULOC_KOREAN "ko"
215 #define ULOC_SIMPLIFIED_CHINESE "zh_CN"
217 #define ULOC_TRADITIONAL_CHINESE "zh_TW"
220 #define ULOC_CANADA "en_CA"
222 #define ULOC_CANADA_FRENCH "fr_CA"
224 #define ULOC_CHINA "zh_CN"
226 #define ULOC_PRC "zh_CN"
228 #define ULOC_FRANCE "fr_FR"
230 #define ULOC_GERMANY "de_DE"
232 #define ULOC_ITALY "it_IT"
234 #define ULOC_JAPAN "ja_JP"
236 #define ULOC_KOREA "ko_KR"
238 #define ULOC_TAIWAN "zh_TW"
240 #define ULOC_UK "en_GB"
242 #define ULOC_US "en_US"
249 #define ULOC_LANG_CAPACITY 12
256 #define ULOC_COUNTRY_CAPACITY 4
262 #define ULOC_FULLNAME_CAPACITY 157
269 #define ULOC_SCRIPT_CAPACITY 6
275 #define ULOC_KEYWORDS_CAPACITY 50
281 #define ULOC_KEYWORD_AND_VALUES_CAPACITY 100
287 #define ULOC_KEYWORD_SEPARATOR '@'
294 #define ULOC_KEYWORD_SEPARATOR_UNICODE 0x40
300 #define ULOC_KEYWORD_ASSIGN '='
307 #define ULOC_KEYWORD_ASSIGN_UNICODE 0x3D
313 #define ULOC_KEYWORD_ITEM_SEPARATOR ';'
320 #define ULOC_KEYWORD_ITEM_SEPARATOR_UNICODE 0x3B
346 #ifndef U_HIDE_DEPRECATED_API
353 ULOC_DATA_LOCALE_TYPE_LIMIT = 3
356 #ifndef U_HIDE_SYSTEM_API
408 int32_t languageCapacity,
426 int32_t scriptCapacity,
444 int32_t countryCapacity,
462 int32_t variantCapacity,
485 int32_t nameCapacity,
508 int32_t nameCapacity,
561 const char* displayLocale,
563 int32_t languageCapacity,
584 const char* displayLocale,
586 int32_t scriptCapacity,
607 const char* displayLocale,
609 int32_t countryCapacity,
631 const char* displayLocale,
633 int32_t variantCapacity,
678 const char* displayLocale,
680 int32_t destCapacity,
705 const char* displayLocale,
707 int32_t destCapacity,
727 const char* inLocaleID,
729 int32_t maxResultSize,
763 U_STABLE const char*
const* U_EXPORT2
775 U_STABLE const char*
const* U_EXPORT2
794 int32_t parentCapacity,
822 int32_t nameCapacity,
851 const char* keywordName,
852 char* buffer, int32_t bufferCapacity,
877 const char* keywordValue,
878 char* buffer, int32_t bufferCapacity,
925 ULOC_ACCEPT_FAILED = 0,
926 ULOC_ACCEPT_VALID = 1,
927 ULOC_ACCEPT_FALLBACK = 2
948 const char *httpAcceptLanguage,
968 int32_t acceptListCount,
1025 char* maximizedLocaleID,
1026 int32_t maximizedLocaleIDCapacity,
1065 char* minimizedLocaleID,
1066 int32_t minimizedLocaleIDCapacity,
1095 int32_t localeIDCapacity,
1096 int32_t* parsedLength,
1123 int32_t langtagCapacity,