Home
last modified time | relevance | path

Searched refs:defLoc (Results 1 – 8 of 8) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DLocaleAliasTest.java71 ULocale defLoc = ULocale.getDefault(); in TestCalendar() local
106 ULocale.setDefault(defLoc); in TestCalendar()
111 ULocale defLoc = ULocale.getDefault(); in TestDateFormat() local
146 ULocale.setDefault(defLoc); in TestDateFormat()
151 ULocale defLoc = ULocale.getDefault(); in TestULocale() local
170 ULocale.setDefault(defLoc); in TestULocale()
175 ULocale defLoc = ULocale.getDefault(); in TestDisplayName() local
201 ULocale.setDefault(defLoc); in TestDisplayName()
206 ULocale defLoc = ULocale.getDefault(); in TestUResourceBundle() local
230 ULocale.setDefault(defLoc); in TestUResourceBundle()
DLocaleAliasCollationTest.java61 ULocale defLoc = ULocale.getDefault(); in TestCollation() local
79 ULocale.setDefault(defLoc); in TestCollation()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DLocaleAliasTest.java68 ULocale defLoc = ULocale.getDefault(); in TestCalendar() local
103 ULocale.setDefault(defLoc); in TestCalendar()
108 ULocale defLoc = ULocale.getDefault(); in TestDateFormat() local
143 ULocale.setDefault(defLoc); in TestDateFormat()
148 ULocale defLoc = ULocale.getDefault(); in TestULocale() local
167 ULocale.setDefault(defLoc); in TestULocale()
172 ULocale defLoc = ULocale.getDefault(); in TestDisplayName() local
198 ULocale.setDefault(defLoc); in TestDisplayName()
203 ULocale defLoc = ULocale.getDefault(); in TestUResourceBundle() local
227 ULocale.setDefault(defLoc); in TestUResourceBundle()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/
DLocaleAliasCollationTest.java58 ULocale defLoc = ULocale.getDefault(); in TestCollation() local
76 ULocale.setDefault(defLoc); in TestCollation()
/external/clang/unittests/Basic/
DSourceManagerTest.cpp226 SourceLocation defLoc = SourceMgr.translateLineCol(mainFileID, 2, 13); in TEST_F() local
231 defLoc = SourceMgr.getMacroArgExpandedLocation(defLoc); in TEST_F()
237 EXPECT_TRUE(defLoc.isFileID()); in TEST_F()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUResourceBundle.java117 ULocale defLoc = null; // locale where default (found) resource is in getFunctionalEquivalent() local
152 defLoc = r.getULocale(); in getFunctionalEquivalent()
156 if (defLoc == null) { in getFunctionalEquivalent()
160 } while ((r != null) && (defLoc == null)); in getFunctionalEquivalent()
176 defLoc = r.getULocale(); in getFunctionalEquivalent()
215 defLoc = r.getULocale(); in getFunctionalEquivalent()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICUResourceBundle.java121 ULocale defLoc = null; // locale where default (found) resource is in getFunctionalEquivalent() local
156 defLoc = r.getULocale(); in getFunctionalEquivalent()
160 if (defLoc == null) { in getFunctionalEquivalent()
164 } while ((r != null) && (defLoc == null)); in getFunctionalEquivalent()
180 defLoc = r.getULocale(); in getFunctionalEquivalent()
219 defLoc = r.getULocale(); in getFunctionalEquivalent()
/external/icu/icu4c/source/common/
Duresbund.cpp2547 char defLoc[1024] = ""; /* default value for given locale */ in ures_getFunctionalEquivalent() local
2619 uprv_strcpy(defLoc, parent); in ures_getFunctionalEquivalent()
2679 if(uprv_strlen(defLoc) > uprv_strlen(full)) { in ures_getFunctionalEquivalent()
2694 uprv_strcpy(defLoc, full); in ures_getFunctionalEquivalent()
2699 fprintf(stderr, "No trim0, %s <= %s\n", defLoc, full); in ures_getFunctionalEquivalent()
2755 if(uprv_strlen(defLoc) > uprv_strlen(full)) { in ures_getFunctionalEquivalent()
2770 uprv_strcpy(defLoc, full); in ures_getFunctionalEquivalent()
2775 fprintf(stderr, "No trim1, %s <= %s\n", defLoc, full); in ures_getFunctionalEquivalent()
2797 fprintf(stderr,"Trim? full=%s, defLoc=%s, found=%s\n", full, defLoc, found); in ures_getFunctionalEquivalent()
2799 if(uprv_strlen(defLoc) <= uprv_strlen(full)) { in ures_getFunctionalEquivalent()