Home
last modified time | relevance | path

Searched refs:actualReturn (Results 1 – 14 of 14) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICUService.java362 public Object get(String descriptor, String[] actualReturn) { in get() argument
366 return getKey(createKey(descriptor), actualReturn); in get()
391 public Object getKey(Key key, String[] actualReturn) { in getKey() argument
392 return getKey(key, actualReturn, null); in getKey()
398 public Object getKey(Key key, String[] actualReturn, Factory factory) { in getKey() argument
400 return handleDefault(key, actualReturn); in getKey()
505 if (actualReturn != null) { in getKey()
508 actualReturn[0] = result.actualDescriptor.substring(1); in getKey()
510 actualReturn[0] = result.actualDescriptor; in getKey()
526 return handleDefault(key, actualReturn); in getKey()
DICULocaleService.java60 public Object get(ULocale locale, ULocale[] actualReturn) { in get() argument
61 return get(locale, LocaleKey.KIND_ANY, actualReturn); in get()
70 public Object get(ULocale locale, int kind, ULocale[] actualReturn) { in get() argument
72 if (actualReturn == null) { in get()
83 actualReturn[0] = new ULocale(temp[0]); in get()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUService.java357 public Object get(String descriptor, String[] actualReturn) { in get() argument
361 return getKey(createKey(descriptor), actualReturn); in get()
386 public Object getKey(Key key, String[] actualReturn) { in getKey() argument
387 return getKey(key, actualReturn, null); in getKey()
393 public Object getKey(Key key, String[] actualReturn, Factory factory) { in getKey() argument
395 return handleDefault(key, actualReturn); in getKey()
500 if (actualReturn != null) { in getKey()
503 actualReturn[0] = result.actualDescriptor.substring(1); in getKey()
505 actualReturn[0] = result.actualDescriptor; in getKey()
521 return handleDefault(key, actualReturn); in getKey()
DICULocaleService.java56 public Object get(ULocale locale, ULocale[] actualReturn) { in get() argument
57 return get(locale, LocaleKey.KIND_ANY, actualReturn); in get()
66 public Object get(ULocale locale, int kind, ULocale[] actualReturn) { in get() argument
68 if (actualReturn == null) { in get()
79 actualReturn[0] = new ULocale(temp[0]); in get()
/external/icu/icu4c/source/common/
Dserv.cpp375 ICUService::get(const UnicodeString& descriptor, UnicodeString* actualReturn, UErrorCode& status) c… in get() argument
380 result = getKey(*key, actualReturn, status); in get()
396 ICUService::getKey(ICUServiceKey& key, UnicodeString* actualReturn, UErrorCode& status) const in getKey() argument
398 return getKey(key, actualReturn, NULL, status); in getKey()
429 ICUService::getKey(ICUServiceKey& key, UnicodeString* actualReturn, const ICUServiceFactory* factor… in getKey() argument
436 return handleDefault(key, actualReturn, status); in getKey()
568 if (actualReturn != NULL) { in getKey()
571 actualReturn->remove(); in getKey()
572 actualReturn->append(result->actualDescriptor, in getKey()
576 *actualReturn = result->actualDescriptor; in getKey()
[all …]
Dservls.cpp57 ICULocaleService::get(const Locale& locale, Locale* actualReturn, UErrorCode& status) const in get() argument
59 return get(locale, LocaleKey::KIND_ANY, actualReturn, status); in get()
63 ICULocaleService::get(const Locale& locale, int32_t kind, Locale* actualReturn, UErrorCode& status)… in get() argument
76 if (actualReturn == NULL) { in get()
84 LocaleUtility::initLocaleFromName(temp, *actualReturn); in get()
Dserv.h609 …UObject* get(const UnicodeString& descriptor, UnicodeString* actualReturn, UErrorCode& status) con…
642 …virtual UObject* getKey(ICUServiceKey& key, UnicodeString* actualReturn, UErrorCode& status) const;
656 …UObject* getKey(ICUServiceKey& key, UnicodeString* actualReturn, const ICUServiceFactory* factory,…
911 …virtual UObject* handleDefault(const ICUServiceKey& key, UnicodeString* actualReturn, UErrorCode& …
Dservloc.h455 …UObject* get(const UnicodeString& descriptor, UnicodeString* actualReturn, UErrorCode& status) con…
456 return ICUService::get(descriptor, actualReturn, status);
477 UObject* get(const Locale& locale, Locale* actualReturn, UErrorCode& status) const;
485 UObject* get(const Locale& locale, int32_t kind, Locale* actualReturn, UErrorCode& status) const;
/external/icu/libicu/cts_headers/
Dserv.h609 …UObject* get(const UnicodeString& descriptor, UnicodeString* actualReturn, UErrorCode& status) con…
642 …virtual UObject* getKey(ICUServiceKey& key, UnicodeString* actualReturn, UErrorCode& status) const;
656 …UObject* getKey(ICUServiceKey& key, UnicodeString* actualReturn, const ICUServiceFactory* factory,…
911 …virtual UObject* handleDefault(const ICUServiceKey& key, UnicodeString* actualReturn, UErrorCode& …
Dservloc.h455 …UObject* get(const UnicodeString& descriptor, UnicodeString* actualReturn, UErrorCode& status) con…
456 return ICUService::get(descriptor, actualReturn, status);
477 UObject* get(const Locale& locale, Locale* actualReturn, UErrorCode& status) const;
485 UObject* get(const Locale& locale, int32_t kind, Locale* actualReturn, UErrorCode& status) const;
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DICUServiceTest.java703 ULocale[] actualReturn = new ULocale[1]; in TestLocale() local
704 target = service.get(de_US, actualReturn); in TestLocale()
706 confirmEqual("test de_US 6", actualReturn[0], de); in TestLocale()
708 actualReturn[0] = null; in TestLocale()
709 target = service.get(de_US, LocaleKey.KIND_ANY, actualReturn); in TestLocale()
710 confirmEqual("test de_US 7", actualReturn[0], de); in TestLocale()
712 actualReturn[0] = null; in TestLocale()
713 target = service.get(de_US, 1234, actualReturn); in TestLocale()
715 confirmEqual("test de_US 9", actualReturn[0], de); in TestLocale()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DICUServiceTest.java706 ULocale[] actualReturn = new ULocale[1]; in TestLocale() local
707 target = service.get(de_US, actualReturn); in TestLocale()
709 confirmEqual("test de_US 6", actualReturn[0], de); in TestLocale()
711 actualReturn[0] = null; in TestLocale()
712 target = service.get(de_US, LocaleKey.KIND_ANY, actualReturn); in TestLocale()
713 confirmEqual("test de_US 7", actualReturn[0], de); in TestLocale()
715 actualReturn[0] = null; in TestLocale()
716 target = service.get(de_US, 1234, actualReturn); in TestLocale()
718 confirmEqual("test de_US 9", actualReturn[0], de); in TestLocale()
/external/icu/icu4c/source/test/intltest/
Dicusvtst.cpp1077 Locale actualReturn; in testLocale() local
1078 UnicodeString* target = (UnicodeString*)service.get("de_US", &actualReturn, status); in testLocale()
1080 confirmEqual("test de_US 6", &actualReturn, &Locale::getGerman()); in testLocale()
1086 Locale actualReturn; in testLocale() local
1087 …eString* target = (UnicodeString*)service.get("de_US", LocaleKey::KIND_ANY, &actualReturn, status); in testLocale()
1088 confirmEqual("test de_US 7", &actualReturn, &Locale::getGerman()); in testLocale()
1094 Locale actualReturn; in testLocale() local
1095 UnicodeString* target = (UnicodeString*)service.get("de_US", 1234, &actualReturn, status); in testLocale()
1097 confirmEqual("test de_US 9", &actualReturn, &Locale::getGerman()); in testLocale()
/external/icu/icu4c/source/i18n/
Dcoll.cpp182 …virtual UObject* getKey(ICUServiceKey& key, UnicodeString* actualReturn, UErrorCode& status) const… in getKey() argument
184 if (actualReturn == NULL) { in getKey()
185 actualReturn = &ar; in getKey()
187 return (Collator*)ICULocaleService::getKey(key, actualReturn, status); in getKey()