Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dserv.cpp373 ICUService::get(const UnicodeString& descriptor, UnicodeString* actualReturn, UErrorCode& status) c… in get() argument
378 result = getKey(*key, actualReturn, status); in get()
394 ICUService::getKey(ICUServiceKey& key, UnicodeString* actualReturn, UErrorCode& status) const in getKey() argument
396 return getKey(key, actualReturn, NULL, status); in getKey()
427 ICUService::getKey(ICUServiceKey& key, UnicodeString* actualReturn, const ICUServiceFactory* factor… in getKey() argument
434 return handleDefault(key, actualReturn, status); in getKey()
567 if (actualReturn != NULL) { in getKey()
570 actualReturn->remove(); in getKey()
571 actualReturn->append(result->actualDescriptor, in getKey()
575 *actualReturn = result->actualDescriptor; in getKey()
[all …]
Dservls.cpp56 ICULocaleService::get(const Locale& locale, Locale* actualReturn, UErrorCode& status) const in get() argument
58 return get(locale, LocaleKey::KIND_ANY, actualReturn, status); in get()
62 ICULocaleService::get(const Locale& locale, int32_t kind, Locale* actualReturn, UErrorCode& status)… in get() argument
75 if (actualReturn == NULL) { in get()
83 LocaleUtility::initLocaleFromName(temp, *actualReturn); in get()
Dserv.h607 …UObject* get(const UnicodeString& descriptor, UnicodeString* actualReturn, UErrorCode& status) con…
640 …virtual UObject* getKey(ICUServiceKey& key, UnicodeString* actualReturn, UErrorCode& status) const;
654 …UObject* getKey(ICUServiceKey& key, UnicodeString* actualReturn, const ICUServiceFactory* factory,…
909 …virtual UObject* handleDefault(const ICUServiceKey& key, UnicodeString* actualReturn, UErrorCode& …
Dservloc.h453 …UObject* get(const UnicodeString& descriptor, UnicodeString* actualReturn, UErrorCode& status) con…
454 return ICUService::get(descriptor, actualReturn, status);
475 UObject* get(const Locale& locale, Locale* actualReturn, UErrorCode& status) const;
483 UObject* get(const Locale& locale, int32_t kind, Locale* actualReturn, UErrorCode& status) const;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUService.java351 public Object get(String descriptor, String[] actualReturn) { in get() argument
355 return getKey(createKey(descriptor), actualReturn); in get()
380 public Object getKey(Key key, String[] actualReturn) { in getKey() argument
381 return getKey(key, actualReturn, null); in getKey()
387 public Object getKey(Key key, String[] actualReturn, Factory factory) { in getKey() argument
389 return handleDefault(key, actualReturn); in getKey()
501 if (actualReturn != null) { in getKey()
504 actualReturn[0] = result.actualDescriptor.substring(1); in getKey()
506 actualReturn[0] = result.actualDescriptor; in getKey()
522 return handleDefault(key, actualReturn); in getKey()
DICULocaleService.java54 public Object get(ULocale locale, ULocale[] actualReturn) { in get() argument
55 return get(locale, LocaleKey.KIND_ANY, actualReturn); in get()
64 public Object get(ULocale locale, int kind, ULocale[] actualReturn) { in get() argument
66 if (actualReturn == null) { in get()
77 actualReturn[0] = new ULocale(temp[0]); in get()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICUService.java353 public Object get(String descriptor, String[] actualReturn) { in get() argument
357 return getKey(createKey(descriptor), actualReturn); in get()
382 public Object getKey(Key key, String[] actualReturn) { in getKey() argument
383 return getKey(key, actualReturn, null); in getKey()
389 public Object getKey(Key key, String[] actualReturn, Factory factory) { in getKey() argument
391 return handleDefault(key, actualReturn); in getKey()
503 if (actualReturn != null) { in getKey()
506 actualReturn[0] = result.actualDescriptor.substring(1); in getKey()
508 actualReturn[0] = result.actualDescriptor; in getKey()
524 return handleDefault(key, actualReturn); in getKey()
DICULocaleService.java58 public Object get(ULocale locale, ULocale[] actualReturn) { in get() argument
59 return get(locale, LocaleKey.KIND_ANY, actualReturn); in get()
68 public Object get(ULocale locale, int kind, ULocale[] actualReturn) { in get() argument
70 if (actualReturn == null) { in get()
81 actualReturn[0] = new ULocale(temp[0]); in get()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DICUServiceTest.java691 ULocale[] actualReturn = new ULocale[1]; in TestLocale() local
692 target = service.get(de_US, actualReturn); in TestLocale()
694 confirmEqual("test de_US 6", actualReturn[0], de); in TestLocale()
696 actualReturn[0] = null; in TestLocale()
697 target = service.get(de_US, LocaleKey.KIND_ANY, actualReturn); in TestLocale()
698 confirmEqual("test de_US 7", actualReturn[0], de); in TestLocale()
700 actualReturn[0] = null; in TestLocale()
701 target = service.get(de_US, 1234, actualReturn); in TestLocale()
703 confirmEqual("test de_US 9", actualReturn[0], de); in TestLocale()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DICUServiceTest.java687 ULocale[] actualReturn = new ULocale[1]; in TestLocale() local
688 target = service.get(de_US, actualReturn); in TestLocale()
690 confirmEqual("test de_US 6", actualReturn[0], de); in TestLocale()
692 actualReturn[0] = null; in TestLocale()
693 target = service.get(de_US, LocaleKey.KIND_ANY, actualReturn); in TestLocale()
694 confirmEqual("test de_US 7", actualReturn[0], de); in TestLocale()
696 actualReturn[0] = null; in TestLocale()
697 target = service.get(de_US, 1234, actualReturn); in TestLocale()
699 confirmEqual("test de_US 9", actualReturn[0], de); in TestLocale()
/external/icu/icu4c/source/test/intltest/
Dicusvtst.cpp1074 Locale actualReturn; in testLocale() local
1075 UnicodeString* target = (UnicodeString*)service.get("de_US", &actualReturn, status); in testLocale()
1077 confirmEqual("test de_US 6", &actualReturn, &Locale::getGerman()); in testLocale()
1083 Locale actualReturn; in testLocale() local
1084 …eString* target = (UnicodeString*)service.get("de_US", LocaleKey::KIND_ANY, &actualReturn, status); in testLocale()
1085 confirmEqual("test de_US 7", &actualReturn, &Locale::getGerman()); in testLocale()
1091 Locale actualReturn; in testLocale() local
1092 UnicodeString* target = (UnicodeString*)service.get("de_US", 1234, &actualReturn, status); in testLocale()
1094 confirmEqual("test de_US 9", &actualReturn, &Locale::getGerman()); in testLocale()
/external/icu/icu4c/source/i18n/
Dcoll.cpp178 …virtual UObject* getKey(ICUServiceKey& key, UnicodeString* actualReturn, UErrorCode& status) const… in getKey() argument
180 if (actualReturn == NULL) { in getKey()
181 actualReturn = &ar; in getKey()
183 return (Collator*)ICULocaleService::getKey(key, actualReturn, status); in getKey()