Home
last modified time | relevance | path

Searched refs:currentID (Results 1 – 15 of 15) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICULocaleService.java172 private String currentID; field in ICULocaleService.LocaleKey
236 … this.currentID = varstart == -1 ? this.primaryID : this.primaryID.substring(0, varstart); in LocaleKey()
265 public String currentID() { in currentID() method in ICULocaleService.LocaleKey
266 return currentID; in currentID()
275 String result = currentID(); in currentDescriptor()
303 return new ULocale(currentID); in currentLocale()
305 return new ULocale(currentID + primaryID.substring(varstart)); in currentLocale()
320 int x = currentID.lastIndexOf('_'); in fallback()
322 while (--x >= 0 && currentID.charAt(x) == '_') { // handle zh__PINYIN in fallback()
324 currentID = currentID.substring(0, x+1); in fallback()
[all …]
DICUService.java184 public String currentID() { in currentID() method in ICUService.Key
198 return "/" + currentID(); in currentDescriptor()
307 if (id.equals(key.currentID())) { in create()
632 f = m.get(key.currentID()); in getDisplayName()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICULocaleService.java167 private String currentID; field in ICULocaleService.LocaleKey
231 … this.currentID = varstart == -1 ? this.primaryID : this.primaryID.substring(0, varstart); in LocaleKey()
260 public String currentID() { in currentID() method in ICULocaleService.LocaleKey
261 return currentID; in currentID()
270 String result = currentID(); in currentDescriptor()
298 return new ULocale(currentID); in currentLocale()
300 return new ULocale(currentID + primaryID.substring(varstart)); in currentLocale()
315 int x = currentID.lastIndexOf('_'); in fallback()
317 while (--x >= 0 && currentID.charAt(x) == '_') { // handle zh__PINYIN in fallback()
319 currentID = currentID.substring(0, x+1); in fallback()
[all …]
DICUService.java181 public String currentID() { in currentID() method in ICUService.Key
195 return "/" + currentID(); in currentDescriptor()
302 if (id.equals(key.currentID())) { in create()
627 f = m.get(key.currentID()); in getDisplayName()
/external/icu/icu4c/source/common/
Dserv.cpp50 ICUServiceKey::currentID(UnicodeString& result) const in currentID() function in ICUServiceKey
60 return currentID(result); in currentDescriptor()
142 if (_id == key.currentID(temp)) { in create()
709 fallbackKey->currentID(us); in getDisplayName()
Dservslkf.cpp70 lkey.currentID(keyID); in create()
Dservlkf.cpp65 key.currentID(id); in handlesKey()
Dservlk.cpp96 LocaleKey::currentID(UnicodeString& result) const { in currentID() function in LocaleKey
Dserv.h116 virtual UnicodeString& currentID(UnicodeString& result) const;
Dservloc.h124 virtual UnicodeString& currentID(UnicodeString& result) const;
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DICUServiceTest.java206 return new ULocale(key.currentID()); in TestAPI()
812 if (key.currentID().equals(greetingID)) { in TestWrapFactory()
841 logln("currentID: " + key.currentID()); in TestCoverage()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DICUServiceTest.java209 return new ULocale(key.currentID()); in TestAPI()
815 if (key.currentID().equals(greetingID)) { in TestWrapFactory()
844 logln("currentID: " + key.currentID()); in TestCoverage()
/external/icu/icu4c/source/test/intltest/
Dicusvtst.cpp573 key.currentID(temp); in create()
1234 if (key.currentID(temp).compare(getGreetingID()) == 0) { in create()
1317 logln("currentID: " + key.currentID(temp.remove())); in testCoverage()
/external/oj-libjdwp/src/share/back/
Dutil.c647 static jint currentID = 0; in uniqueID() local
653 if (currentID < 0) { in uniqueID()
654 currentID = 0; in uniqueID()
656 return currentID++; in uniqueID()
/external/icu/icu4c/source/i18n/
Dcalendar.cpp451 key.currentID(str); in create()