Home
last modified time | relevance | path

Searched refs:newLoc (Results 1 – 11 of 11) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Daliastst.cpp62 Locale newLoc(_LOCALE_ALIAS[i][1]); in TestCalendar() local
64 logln(UnicodeString(newLoc.getName())+" is not available. Skipping!"); in TestCalendar()
67 logln("\nold locale:%s new locale:%s",oldLoc.getName(),newLoc.getName()); in TestCalendar()
69 Calendar* c2 = Calendar::createInstance(newLoc, status); in TestCalendar()
74 if (strcmp(newLoc.getName(), l1)!=0) { in TestCalendar()
75 …errln("CalendarTest: newLoc!=l1: newLoc= "+UnicodeString(newLoc.getName()) +" l1= "+UnicodeString(… in TestCalendar()
81 …errln("CalendarTest: c1!=c2. newLoc= "+UnicodeString(newLoc.getName()) +" oldLoc= "+UnicodeStrin… in TestCalendar()
94 Locale newLoc(_LOCALE_ALIAS[i][1]); in TestDateFormat() local
96 logln(UnicodeString(newLoc.getName())+" is not available. Skipping!"); in TestDateFormat()
99 logln("\nold locale:%s new locale:%s",oldLoc.getName(),newLoc.getName()); in TestDateFormat()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DLocaleAliasTest.java72 ULocale newLoc = _LOCALES[i][1]; in TestCalendar() local
78 Calendar c2 = Calendar.getInstance(newLoc); in TestCalendar()
92 if (!newLoc.equals(l1)) { in TestCalendar()
93 errln("CalendarTest: newLoc!=l1: newLoc= "+newLoc +" l1= "+l1); in TestCalendar()
99 errln("CalendarTest: c1!=c2. newLoc= "+newLoc +" oldLoc= "+oldLoc); in TestCalendar()
112 ULocale newLoc = _LOCALES[i][1]; in TestDateFormat() local
118 DateFormat df2 = DateFormat.getDateInstance(DateFormat.FULL, newLoc); in TestDateFormat()
123 if (!newLoc.equals(l1)) { in TestDateFormat()
124 errln("DateFormatTest: newLoc!=l1: newLoc= "+newLoc +" l1= "+l1); in TestDateFormat()
130 errln("DateFormatTest: df1!=df2: newLoc= "+newLoc +" oldLoc= "+oldLoc); in TestDateFormat()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DLocaleAliasTest.java75 ULocale newLoc = _LOCALES[i][1]; in TestCalendar() local
81 Calendar c2 = Calendar.getInstance(newLoc); in TestCalendar()
95 if (!newLoc.equals(l1)) { in TestCalendar()
96 errln("CalendarTest: newLoc!=l1: newLoc= "+newLoc +" l1= "+l1); in TestCalendar()
102 errln("CalendarTest: c1!=c2. newLoc= "+newLoc +" oldLoc= "+oldLoc); in TestCalendar()
115 ULocale newLoc = _LOCALES[i][1]; in TestDateFormat() local
121 DateFormat df2 = DateFormat.getDateInstance(DateFormat.FULL, newLoc); in TestDateFormat()
126 if (!newLoc.equals(l1)) { in TestDateFormat()
127 errln("DateFormatTest: newLoc!=l1: newLoc= "+newLoc +" l1= "+l1); in TestDateFormat()
133 errln("DateFormatTest: df1!=df2: newLoc= "+newLoc +" oldLoc= "+oldLoc); in TestDateFormat()
[all …]
DLocaleAliasCollationTest.java65 ULocale newLoc = _LOCALES[i][1]; in TestCollation() local
71 Collator c2 = Collator.getInstance(newLoc); in TestCollation()
74 errln("CollationTest: c1!=c2: newLoc= "+newLoc +" oldLoc= "+oldLoc); in TestCollation()
77 logln("Collation old:"+oldLoc+" new:"+newLoc); in TestCollation()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/
DLocaleAliasCollationTest.java62 ULocale newLoc = _LOCALES[i][1]; in TestCollation() local
68 Collator c2 = Collator.getInstance(newLoc); in TestCollation()
71 errln("CollationTest: c1!=c2: newLoc= "+newLoc +" oldLoc= "+oldLoc); in TestCollation()
74 logln("Collation old:"+oldLoc+" new:"+newLoc); in TestCollation()
/external/llvm-project/mlir/lib/Parser/
DLocationParser.cpp78 LocationAttr newLoc; in parseFusedLocation() local
79 if (parseLocationInstance(newLoc)) in parseFusedLocation()
81 locations.push_back(newLoc); in parseFusedLocation()
/external/llvm-project/mlir/lib/Transforms/
DLocationSnapshot.cpp47 auto newLoc = in generateLocationsFromIR() local
52 opIt->setLoc(newLoc); in generateLocationsFromIR()
58 {opIt->getLoc(), NameLoc::get(*tagIdentifier, newLoc)})); in generateLocationsFromIR()
/external/icu/icu4c/source/test/cintltst/
Dcloctst.c3224 const char* newLoc = LOCALE_ALIAS[i][1]; in TestCalendar() local
3232 if(!isLocaleAvailable(resIndex, newLoc)){ in TestCalendar()
3236 c2 = ucal_open(NULL, -1, newLoc, UCAL_GREGORIAN, &status); in TestCalendar()
3238 if (strcmp(newLoc,l1)!=0 || strcmp(l1,l2)!=0 || status!=U_ZERO_ERROR) { in TestCalendar()
3239 log_err("The locales are not equal!.Old: %s, New: %s \n", oldLoc, newLoc); in TestCalendar()
3260 const char* newLoc = LOCALE_ALIAS[i][1]; in TestDateFormat() local
3266 if(!isLocaleAvailable(resIndex, newLoc)){ in TestDateFormat()
3270 df2 = udat_open(UDAT_FULL, UDAT_FULL,newLoc, NULL, 0, NULL, -1, &status); in TestDateFormat()
3281 if (strcmp(newLoc,l1)!=0 || strcmp(l1,l2)!=0) { in TestDateFormat()
3282 log_err("The locales are not equal!.Old: %s, New: %s \n", oldLoc, newLoc); in TestDateFormat()
[all …]
/external/llvm-project/mlir/lib/Transforms/Utils/
DInliningUtils.cpp36 auto newLoc = CallSiteLoc::get(op->getLoc(), callerLoc); in remapInlinedLocations() local
37 it = mappedLocations.try_emplace(op->getLoc(), newLoc).first; in remapInlinedLocations()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/
DMutableMethodImplementation.java216 MethodLocation newLoc = new MethodLocation(instruction, codeAddress, index);
217 instructionList.add(index, newLoc);
218 instruction.location = newLoc;
/external/llvm-project/llvm/lib/Transforms/IPO/
DOpenMPOpt.cpp1229 auto newLoc = &*F.getEntryBlock().getFirstInsertionPt(); in deduplicateRuntimeCalls() local
1232 << ore::NV("OpenMPRuntimeMoves", newLoc->getDebugLoc()); in deduplicateRuntimeCalls()