Home
last modified time | relevance | path

Searched refs:locName (Results 1 – 12 of 12) sorted by relevance

/external/icu4c/test/intltest/
Ddtifmtts.cpp995 sprintf(mesg, "locale: %s\n", locName); in expect()
1000 const char* locName = data[i++]; in expect() local
1001 Locale loc(locName); in expect()
1027 …assertEquals((UnicodeString)"\"" + locName + "\\" + oneSkeleton + "\\" + datestr + "\\" + datestr_… in expect()
1036 std::cout << "\"" << locName << "\", " in expect()
1114 const char* locName = data[i++]; in expectUserDII() local
1115 Locale loc(locName); in expectUserDII()
1143 …assertEquals((UnicodeString)"\"" + locName + "\\" + datestr + "\\" + datestr_2 + "\"", ctou(data[i… in expectUserDII()
1216 char locName[32]; in testStress() local
1217 uprv_strcpy(locName, testLocale[localeIndex][0]); in testStress()
[all …]
Ddtifmtts.h60 const char* locName);
Dsvccoll.cpp110 UnicodeString locName = fu_FU.getName(); in TestRegister() local
118 if (locName == *locStr) { in TestRegister()
423 UnicodeString locName = fu_FU.getName(); in TestRegisterFactory() local
431 if (locName == *locStr) { in TestRegisterFactory()
/external/icu4c/common/
Dservls.cpp71 UnicodeString locName(locale.getName(), -1, US_INV); in get() local
72 if (locName.isBogus()) { in get()
75 ICUServiceKey* key = createKey(&locName, kind, status); in get()
/external/icu4c/test/cintltst/
Dcmsccoll.c1334 const char *locName = NULL; in TestCollations() local
1346 locName = uloc_getAvailable(i); in TestCollations()
1347 if(uprv_strcmp("ja", locName) == 0) { in TestCollations()
1351 if(hasCollationElements(locName)) { in TestCollations()
1352 nameSize = uloc_getDisplayName(locName, NULL, name, 256, &status); in TestCollations()
1357 log_verbose("\nTesting locale %s (%s)\n", locName, cName); in TestCollations()
1358 coll = ucol_open(locName, &status); in TestCollations()
1363 … log_err("Couldn't instantiate collator for locale %s, error: %s\n", locName, u_errorName(status)); in TestCollations()
1379 const char *locName = NULL; in RamsRulesTest() local
1389 locName = uloc_getAvailable(i); in RamsRulesTest()
[all …]
Dcallcoll.h56 UBool hasCollationElements(const char *locName);
Dcreststn.c1382 const char *locName = "root"; in TestGetVersion() local
1388 locName = uloc_getAvailable(j); in TestGetVersion()
1390 log_verbose("Testing version number for locale %s\n", locName); in TestGetVersion()
1391 resB = ures_open(NULL,locName, &status); in TestGetVersion()
1393 …log_err_status(status, "Resource bundle creation for locale %s failed.: %s\n", locName, myErrorNam… in TestGetVersion()
1403 locName, versionArray[0], versionArray[1], versionArray[2], versionArray[3]); in TestGetVersion()
1420 const char *locName = "root"; in TestGetVersionColl() local
1433 log_verbose("Testing version number for locale %s\n", locName); in TestGetVersionColl()
1434 resB = ures_open(U_ICUDATA_COLL,locName, &status); in TestGetVersionColl()
1436 …esource bundle creation for locale %s:%s failed.: %s\n", U_ICUDATA_COLL, locName, myErrorName(stat… in TestGetVersionColl()
[all …]
Dcallcoll.c213 UBool hasCollationElements(const char *locName) { in hasCollationElements() argument
217 …UResourceBundle *loc = ures_open(U_ICUDATA_NAME U_TREE_SEPARATOR_STRING "coll", locName, &status);; in hasCollationElements()
/external/icu4c/i18n/
Ddtitvinf.cpp222 const char *locName = locale.getName(); in initializeData() local
225 uprv_strcpy(parentLocale, locName); in initializeData()
238 "calendar", "calendar", locName, NULL, FALSE, &status); in initializeData()
Ddcfmtsym.cpp318 const char* locName = loc.getName(); in initialize() local
320 uccLen = ucurr_forLocale(locName, ucc, uccLen, &localStatus); in initialize()
Dtznames_impl.cpp1151 const UChar* locName = NULL; in getExemplarLocationName() local
1162 locName = tznames->getLocationName(); in getExemplarLocationName()
1164 if (locName != NULL) { in getExemplarLocationName()
1165 name.setTo(TRUE, locName, -1); in getExemplarLocationName()
/external/yaffs2/yaffs2/
Dyaffs_guts.c5999 YCHAR locName[20]; in yaffs_GetObjectName() local
6001 yaffs_sprintf(locName, _Y("%s%d"), YAFFS_LOSTNFOUND_PREFIX, in yaffs_GetObjectName()
6003 yaffs_strncpy(name, locName, buffSize - 1); in yaffs_GetObjectName()