/external/chromium_org/third_party/icu/source/i18n/unicode/ |
plurrule.h | 23 * \brief C++ API: PluralRules object 110 class U_I18N_API PluralRules : public UObject { 120 PluralRules(UErrorCode& status); 126 PluralRules(const PluralRules& other); 132 virtual ~PluralRules(); 138 PluralRules* clone() const; 144 PluralRules& operator=(const PluralRules&); 147 * Creates a PluralRules from a description if it is parsable, otherwis [all...] |
plurfmt.h | 61 * <li>It uses <code>PluralRules</code> that can define more complex 166 * create a <code>PluralRules</code> object and pass it to 171 * For more information about <code>PluralRules</code>, see 172 * {@link PluralRules}. 212 PluralFormat(const PluralRules& rules, UErrorCode& status); 225 PluralFormat(const Locale& locale, const PluralRules& rules, UErrorCode& status); 266 PluralFormat(const PluralRules& rules, 285 const PluralRules& rules, 526 PluralRules* pluralRules; [all...] |
currpinf.h | 26 class PluralRules; 118 const PluralRules* getPluralRules() const; 244 PluralRules* fPluralRules;
|
tmutfmt.h | 221 PluralRules* fPluralRules;
|
/external/icu4c/i18n/unicode/ |
plurrule.h | 23 * \brief C++ API: PluralRules object 32 * Value returned by PluralRules::getUniqueKeywordValue() when there is no 127 class U_I18N_API PluralRules : public UObject { 137 PluralRules(UErrorCode& status); 143 PluralRules(const PluralRules& other); 149 virtual ~PluralRules(); 155 PluralRules* clone() const; 161 PluralRules& operator=(const PluralRules&) [all...] |
plurfmt.h | 62 * <li>It uses <code>PluralRules</code> that can define more complex 115 * the <code>PluralRules</code> with the input number <em>minus the offset</em>. 134 * create a <code>PluralRules</code> object and pass it to 139 * For more information about <code>PluralRules</code>, see 140 * {@link PluralRules}. 180 PluralFormat(const PluralRules& rules, UErrorCode& status); 193 PluralFormat(const Locale& locale, const PluralRules& rules, UErrorCode& status); 248 PluralFormat(const PluralRules& rules, 267 const PluralRules& rules, 403 * a different kind of PluralRules instance [all...] |
currpinf.h | 24 class PluralRules; 116 const PluralRules* getPluralRules() const; 243 PluralRules* fPluralRules;
|
compactdecimalformat.h | 29 class PluralRules; 319 PluralRules* _pluralRules; 322 CompactDecimalFormat(const DecimalFormat &, const UHashtable* unitsByVariant, const double* divisors, PluralRules* pluralRules);
|
tmutfmt.h | 219 PluralRules* fPluralRules;
|
/external/chromium_org/ui/base/l10n/ |
l10n_util_plurals.h | 20 // Returns a PluralRules for the current locale. 21 scoped_ptr<icu::PluralRules> BuildPluralRules();
|
l10n_util_plurals.cc | 12 scoped_ptr<icu::PluralRules> BuildPluralRules() { 14 scoped_ptr<icu::PluralRules> rules( 15 icu::PluralRules::forLocale(icu::Locale::getDefault(), err)); 19 rules.reset(icu::PluralRules::createRules(fallback_rules, err)); 37 scoped_ptr<icu::PluralRules> rules(BuildPluralRules());
|
time_format.cc | 234 const icu::PluralRules& rules, int index, FormatType format_type); 256 scoped_ptr<icu::PluralRules> rules(l10n_util::BuildPluralRules()); 265 const icu::PluralRules& rules, int index, FormatType format_type) {
|
/external/icu4c/i18n/ |
upluralrules.cpp | 29 return (UPluralRules*)PluralRules::forLocale(Locale(locale), type, *status); 35 delete (PluralRules*)uplrules; 51 UnicodeString result = ((PluralRules*)uplrules)->select(number);
|
plurrule.cpp | 47 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(PluralRules) 50 PluralRules::PluralRules(UErrorCode& status) 67 PluralRules::PluralRules(const PluralRules& other) 78 PluralRules::~PluralRules() { 85 PluralRules* 86 PluralRules::clone() const [all...] |
plurfmt.cpp | 51 PluralFormat::PluralFormat(const PluralRules& rules, UErrorCode& status) 60 const PluralRules& rules, 100 PluralFormat::PluralFormat(const PluralRules& rules, 112 const PluralRules& rules, 150 if (pluralRulesWrapper.pluralRules != NULL) { 151 delete pluralRulesWrapper.pluralRules; 159 if (other.pluralRulesWrapper.pluralRules == NULL) { 160 pluralRulesWrapper.pluralRules = PluralRules::forLocale(locale, status); 162 pluralRulesWrapper.pluralRules = other.pluralRulesWrapper.pluralRules->clone() [all...] |
currpinf.cpp | 151 const PluralRules* 193 fPluralRules = PluralRules::createRules(ruleDescription, status); 224 fPluralRules = PluralRules::forLocale(loc, status);
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
plurults.cpp | 22 UBool checkEqual(PluralRules *test, char *result, int32_t max); 23 UBool testEquality(PluralRules *test); 40 * Test various generic API methods of PluralRules for API coverage. 86 logln("Testing PluralRules constructors"); 91 PluralRules defRule(status); 92 PluralRules* test=new PluralRules(status); 93 PluralRules* newEnPlural= test->forLocale(Locale::getEnglish(), status); 95 dataerrln("ERROR: Could not create PluralRules (default) - exitting"); 101 PluralRules *dupRule = defRule.clone() [all...] |
plurfmts.cpp | 57 PluralRules* plRules = PluralRules::createDefaultRules(status[0]); 189 PluralRules* plRules = PluralRules::createRules(oddAndEvenRule, status); 191 dataerrln("ERROR: create PluralRules instance failed in unit tests.- exitting"); 195 // ======= Test PluralRules pattern syntax. 196 logln("Testing PluralRules pattern syntax."); 243 plRules = PluralRules::createRules(UNICODE_STRING_SIMPLE("odd: n mod 2 is 1"), status); 313 logln("Testing PluralRules with no rule."); 476 logln("Testing PluralRules with fr rule.") [all...] |
/libcore/luni/src/main/native/ |
libcore_icu_NativePluralRules.cpp | 28 static PluralRules* toPluralRules(jlong address) { 29 return reinterpret_cast<PluralRules*>(static_cast<uintptr_t>(address)); 37 // The icu4c PluralRules returns a "other: n" default rule for the deprecated locales Java uses. 53 PluralRules* result = PluralRules::forLocale(locale, status); 54 maybeThrowIcuException(env, "PluralRules::forLocale", status);
|
/external/icu4c/test/intltest/ |
plurults.cpp | 24 UBool checkEqual(const PluralRules &test, char *result, int32_t max); 25 UBool testEquality(const PluralRules &test); 46 * Test various generic API methods of PluralRules for API coverage. 92 logln("Testing PluralRules constructors"); 97 PluralRules defRule(status); 98 LocalPointer<PluralRules> test(new PluralRules(status)); 99 LocalPointer<PluralRules> newEnPlural(test->forLocale(Locale::getEnglish(), status)); 101 dataerrln("ERROR: Could not create PluralRules (default) - exitting"); 106 LocalPointer<PluralRules> dupRule(defRule.clone()) [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ |
PluralResourceLoader.java | 16 Map<String, PluralRules> plurals = new HashMap<String, PluralRules>(); 26 PluralRules rules = plurals.get(name); 39 PluralRules rules = new PluralRules(); 58 static class PluralRules {
|
/external/chromium_org/third_party/icu/source/i18n/ |
plurrule.cpp | 58 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(PluralRules) 61 PluralRules::PluralRules(UErrorCode& status) 74 PluralRules::PluralRules(const PluralRules& other) 82 PluralRules::~PluralRules() { 87 PluralRules* 88 PluralRules::clone() const [all...] |
plurfmt.cpp | 44 PluralFormat::PluralFormat(const PluralRules& rules, UErrorCode& status) { 48 PluralFormat::PluralFormat(const Locale& loc, const PluralRules& rules, UErrorCode& status) { 62 PluralFormat::PluralFormat(const PluralRules& rules, const UnicodeString& pat, UErrorCode& status) { 67 PluralFormat::PluralFormat(const Locale& loc, const PluralRules& rules, const UnicodeString& pat, UErrorCode& status) { 75 pluralRules = other.pluralRules->clone(); 79 delete pluralRules; 80 pluralRules = NULL; 85 delete pluralRules; 86 pluralRules = NULL; [all...] |
currpinf.cpp | 150 const PluralRules* 192 fPluralRules = PluralRules::createRules(ruleDescription, status); 223 fPluralRules = PluralRules::forLocale(loc, status);
|
/external/chromium/chrome/common/ |
time_format.cc | 179 const icu::PluralRules& rules, int index, FormatType format_type); 195 scoped_ptr<icu::PluralRules> rules( 196 icu::PluralRules::forLocale(icu::Locale::getDefault(), err)); 200 rules.reset(icu::PluralRules::createRules(fallback_rules, err)); 239 const icu::PluralRules& rules, int index, FormatType format_type) {
|