Home
last modified time | relevance | path

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

/base/global/i18n_lite/interfaces/kits/js/builtin/src/
Dlocale_module.cpp26 char *lang = reinterpret_cast<char *>(ace_malloc(MAX_LANGUAGE_LENGTH)); in GetLanguage()
30 (void)memset_s(lang, MAX_LANGUAGE_LENGTH, 0x0, MAX_LANGUAGE_LENGTH); in GetLanguage()
31 if (GLOBAL_GetLanguage(lang, MAX_LANGUAGE_LENGTH) != 0) { in GetLanguage()
/base/global/resource_management_lite/interfaces/inner_api/include/
Dglobal.h33 #define MAX_LANGUAGE_LENGTH 4 macro
/base/global/resource_management_lite/frameworks/resmgr_lite/src/
Dglobal.c73 …return (strncpy_s(language, len, localeArray[0], MAX_LANGUAGE_LENGTH - 1) != EOK) ? MC_FAILURE : M… in GLOBAL_GetLanguage()
98 char language[MAX_LANGUAGE_LENGTH] = { 0 }; in GLOBAL_IsRTL()
99 if (strncpy_s(language, MAX_LANGUAGE_LENGTH, localeArray[0], MAX_LANGUAGE_LENGTH - 1) != EOK) { in GLOBAL_IsRTL()