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.java171 private String currentID; field in ICULocaleService.LocaleKey
235 … this.currentID = varstart == -1 ? this.primaryID : this.primaryID.substring(0, varstart); in LocaleKey()
264 public String currentID() { in currentID() method in ICULocaleService.LocaleKey
265 return currentID; in currentID()
274 String result = currentID(); in currentDescriptor()
302 return new ULocale(currentID); in currentLocale()
304 return new ULocale(currentID + primaryID.substring(varstart)); in currentLocale()
319 int x = currentID.lastIndexOf('_'); in fallback()
321 while (--x >= 0 && currentID.charAt(x) == '_') { // handle zh__PINYIN in fallback()
323 currentID = currentID.substring(0, x+1); in fallback()
[all …]
DICUService.java183 public String currentID() { in currentID() method in ICUService.Key
197 return "/" + currentID(); in currentDescriptor()
304 if (id.equals(key.currentID())) { in create()
629 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()
710 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.c645 static jint currentID = 0; in uniqueID() local
651 if (currentID < 0) { in uniqueID()
652 currentID = 0; in uniqueID()
654 return currentID++; in uniqueID()
/external/icu/icu4c/source/i18n/
Dcalendar.cpp451 key.currentID(str); in create()