/external/icu/icu4c/source/data/rbnf/ |
D | fi.txt | 309 "%spellout-cardinal-genitive-plural:", 336 "%spellout-cardinal-partitive-plural:", 363 "%spellout-cardinal-essive-plural:", 390 "%spellout-cardinal-translative-plural:", 417 "%spellout-cardinal-inessive-plural:", 444 "%spellout-cardinal-elative-plural:", 471 "%spellout-cardinal-illative-plural:", 498 "%spellout-cardinal-adessive-plural:", 525 "%spellout-cardinal-ablative-plural:", 552 "%spellout-cardinal-allative-plural:", [all …]
|
D | nb.txt | 264 "%spellout-ordinal-plural:", 281 "20: tjue>%%ord-plural-nde>;", 282 "30: tretti>%%ord-plural-nde>;", 283 "40: f\u00F8rti>%%ord-plural-nde>;", 284 "50: femti>%%ord-plural-nde>;", 285 "60: seksti>%%ord-plural-nde>;", 286 "70: sytti>%%ord-plural-nde>;", 287 "80: \u00E5tti>%%ord-plural-nde>;", 288 "90: nitti>%%ord-plural-nde>;", 289 "100: <%spellout-numbering<\u00ADhundre>%%ord-plural-de>;", [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | MutablePatternModifier.java | 52 StandardPlural plural; field in MutablePatternModifier 126 public void setNumberProperties(int signum, StandardPlural plural) { in setNumberProperties() argument 127 assert (plural != null) == needsPlurals(); in setNumberProperties() 129 this.plural = plural; in setNumberProperties() 170 for (StandardPlural plural : StandardPlural.VALUES) { in createImmutableAndChain() 171 setNumberProperties(1, plural); in createImmutableAndChain() 172 pm.setModifier(1, plural, createConstantModifier(a, b)); in createImmutableAndChain() 173 setNumberProperties(0, plural); in createImmutableAndChain() 174 pm.setModifier(0, plural, createConstantModifier(a, b)); in createImmutableAndChain() 175 setNumberProperties(-1, plural); in createImmutableAndChain() [all …]
|
D | AdoptingModifierStore.java | 48 public void setModifier(int signum, StandardPlural plural, Modifier mod) { in setModifier() argument 50 mods[getModIndex(signum, plural)] = mod; in setModifier() 63 public Modifier getModifier(int signum, StandardPlural plural) { in getModifier() argument 66 return mods[getModIndex(signum, plural)]; in getModifier() 69 private static int getModIndex(int signum, StandardPlural plural) { in getModIndex() argument 71 assert plural != null; in getModIndex() 72 return plural.ordinal() * 3 + (signum + 1); in getModIndex()
|
D | LongNameHandler.java | 41 private static String getWithPlural(String[] strings, StandardPlural plural) { in getWithPlural() argument 42 String result = strings[plural.ordinal()]; in getWithPlural() 254 for (StandardPlural plural : StandardPlural.VALUES) { in simpleFormatsToModifiers() 255 String simpleFormat = getWithPlural(simpleFormats, plural); in simpleFormatsToModifiers() 260 parameters.plural = plural; in simpleFormatsToModifiers() 261 modifiers.put(plural, new SimpleModifier(compiled, field, false, parameters)); in simpleFormatsToModifiers() 271 for (StandardPlural plural : StandardPlural.VALUES) { in multiSimpleFormatsToModifiers() 272 String leadFormat = getWithPlural(leadFormats, plural); in multiSimpleFormatsToModifiers() 279 parameters.plural = plural; in multiSimpleFormatsToModifiers() 280 modifiers.put(plural, new SimpleModifier(compoundCompiled, field, false, parameters)); in multiSimpleFormatsToModifiers() [all …]
|
D | CompactData.java | 101 StandardPlural plural = StandardPlural.fromString(pluralEntry.getKey().toString()); in populate() local 103 patterns[getIndex(magnitude, plural)] = patternString; in populate() 128 public String getPattern(int magnitude, StandardPlural plural) { in getPattern() argument 135 String patternString = patterns[getIndex(magnitude, plural)]; in getPattern() 136 if (patternString == null && plural != StandardPlural.OTHER) { in getPattern() 182 StandardPlural plural = StandardPlural.fromString(key.toString()); in put() 183 if (data.patterns[getIndex(magnitude, plural)] != null) { in put() 195 data.patterns[getIndex(magnitude, plural)] = patternString; in put() 221 private static final int getIndex(int magnitude, StandardPlural plural) { 222 return magnitude * StandardPlural.COUNT + plural.ordinal();
|
D | CurrencyPluralInfoAffixProvider.java | 17 for (StandardPlural plural : StandardPlural.VALUES) { in CurrencyPluralInfoAffixProvider() 18 String pattern = cpi.getCurrencyPluralPattern(plural.getKeyword()); in CurrencyPluralInfoAffixProvider() 20 … affixesByPlural[plural.ordinal()] = new PropertiesAffixPatternProvider(pluralProperties); in CurrencyPluralInfoAffixProvider()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | MutablePatternModifier.java | 54 StandardPlural plural; field in MutablePatternModifier 128 public void setNumberProperties(int signum, StandardPlural plural) { in setNumberProperties() argument 129 assert (plural != null) == needsPlurals(); in setNumberProperties() 131 this.plural = plural; in setNumberProperties() 172 for (StandardPlural plural : StandardPlural.VALUES) { in createImmutableAndChain() 173 setNumberProperties(1, plural); in createImmutableAndChain() 174 pm.setModifier(1, plural, createConstantModifier(a, b)); in createImmutableAndChain() 175 setNumberProperties(0, plural); in createImmutableAndChain() 176 pm.setModifier(0, plural, createConstantModifier(a, b)); in createImmutableAndChain() 177 setNumberProperties(-1, plural); in createImmutableAndChain() [all …]
|
D | AdoptingModifierStore.java | 50 public void setModifier(int signum, StandardPlural plural, Modifier mod) { in setModifier() argument 52 mods[getModIndex(signum, plural)] = mod; in setModifier() 65 public Modifier getModifier(int signum, StandardPlural plural) { in getModifier() argument 68 return mods[getModIndex(signum, plural)]; in getModifier() 71 private static int getModIndex(int signum, StandardPlural plural) { in getModIndex() argument 73 assert plural != null; in getModIndex() 74 return plural.ordinal() * 3 + (signum + 1); in getModIndex()
|
D | LongNameHandler.java | 45 private static String getWithPlural(String[] strings, StandardPlural plural) { in getWithPlural() argument 46 String result = strings[plural.ordinal()]; in getWithPlural() 258 for (StandardPlural plural : StandardPlural.VALUES) { in simpleFormatsToModifiers() 259 String simpleFormat = getWithPlural(simpleFormats, plural); in simpleFormatsToModifiers() 264 parameters.plural = plural; in simpleFormatsToModifiers() 265 modifiers.put(plural, new SimpleModifier(compiled, field, false, parameters)); in simpleFormatsToModifiers() 275 for (StandardPlural plural : StandardPlural.VALUES) { in multiSimpleFormatsToModifiers() 276 String leadFormat = getWithPlural(leadFormats, plural); in multiSimpleFormatsToModifiers() 283 parameters.plural = plural; in multiSimpleFormatsToModifiers() 284 modifiers.put(plural, new SimpleModifier(compoundCompiled, field, false, parameters)); in multiSimpleFormatsToModifiers() [all …]
|
D | CompactData.java | 106 StandardPlural plural = StandardPlural.fromString(pluralEntry.getKey().toString()); in populate() local 108 patterns[getIndex(magnitude, plural)] = patternString; in populate() 133 public String getPattern(int magnitude, StandardPlural plural) { in getPattern() argument 140 String patternString = patterns[getIndex(magnitude, plural)]; in getPattern() 141 if (patternString == null && plural != StandardPlural.OTHER) { in getPattern() 187 StandardPlural plural = StandardPlural.fromString(key.toString()); in put() 188 if (data.patterns[getIndex(magnitude, plural)] != null) { in put() 200 data.patterns[getIndex(magnitude, plural)] = patternString; in put() 226 private static final int getIndex(int magnitude, StandardPlural plural) { 227 return magnitude * StandardPlural.COUNT + plural.ordinal();
|
D | CurrencyPluralInfoAffixProvider.java | 21 for (StandardPlural plural : StandardPlural.VALUES) { in CurrencyPluralInfoAffixProvider() 22 String pattern = cpi.getCurrencyPluralPattern(plural.getKeyword()); in CurrencyPluralInfoAffixProvider() 24 … affixesByPlural[plural.ordinal()] = new PropertiesAffixPatternProvider(pluralProperties); in CurrencyPluralInfoAffixProvider()
|
/external/icu/icu4c/source/i18n/ |
D | number_patternmodifier.cpp | 45 void MutablePatternModifier::setNumberProperties(int8_t signum, StandardPlural::Form plural) { in setNumberProperties() argument 47 fPlural = plural; in setNumberProperties() 80 for (StandardPlural::Form plural : STANDARD_PLURAL_VALUES) { in createImmutableAndChain() local 81 setNumberProperties(1, plural); in createImmutableAndChain() 82 pm->adoptModifier(1, plural, createConstantModifier(status)); in createImmutableAndChain() 83 setNumberProperties(0, plural); in createImmutableAndChain() 84 pm->adoptModifier(0, plural, createConstantModifier(status)); in createImmutableAndChain() 85 setNumberProperties(-1, plural); in createImmutableAndChain() 86 pm->adoptModifier(-1, plural, createConstantModifier(status)); in createImmutableAndChain() 139 StandardPlural::Form plural = utils::getStandardPlural(rules, copy); in applyToMicros() local [all …]
|
D | number_longnames.cpp | 35 StandardPlural::Form plural = StandardPlural::fromString(pluralKeyword, status); in getIndex() local 36 return plural; in getIndex() 42 StandardPlural::Form plural, in getWithPlural() argument 44 UnicodeString result = strings[plural]; in getWithPlural() 247 StandardPlural::Form plural = static_cast<StandardPlural::Form>(i); in simpleFormatsToModifiers() local 248 UnicodeString simpleFormat = getWithPlural(simpleFormats, plural, status); in simpleFormatsToModifiers() 252 fModifiers[i] = SimpleModifier(compiledFormatter, field, false, {this, 0, plural}); in simpleFormatsToModifiers() 261 StandardPlural::Form plural = static_cast<StandardPlural::Form>(i); in multiSimpleFormatsToModifiers() local 262 UnicodeString leadFormat = getWithPlural(leadFormats, plural, status); in multiSimpleFormatsToModifiers() 269 fModifiers[i] = SimpleModifier(compoundCompiled, field, false, {this, 0, plural}); in multiSimpleFormatsToModifiers() [all …]
|
D | number_modifiers.h | 292 void adoptModifier(int8_t signum, StandardPlural::Form plural, const Modifier *mod) { in adoptModifier() argument 293 U_ASSERT(mods[getModIndex(signum, plural)] == nullptr); in adoptModifier() 294 mods[getModIndex(signum, plural)] = mod; in adoptModifier() 307 const Modifier *getModifier(int8_t signum, StandardPlural::Form plural) const U_OVERRIDE { in getModifier() argument 308 const Modifier* modifier = mods[getModIndex(signum, plural)]; in getModifier() 309 if (modifier == nullptr && plural != DEFAULT_STANDARD_PLURAL) { in getModifier() 324 inline static int32_t getModIndex(int8_t signum, StandardPlural::Form plural) { in getModIndex() argument 326 U_ASSERT(plural >= 0 && plural < StandardPlural::COUNT); in getModIndex() 327 return static_cast<int32_t>(plural) * 3 + (signum + 1); in getModIndex()
|
D | number_compact.cpp | 37 int32_t getIndex(int32_t magnitude, StandardPlural::Form plural) { in getIndex() argument 38 return magnitude * StandardPlural::COUNT + plural; in getIndex() 107 const UChar *CompactData::getPattern(int32_t magnitude, StandardPlural::Form plural) const { in getPattern() 114 const UChar *patternString = patterns[getIndex(magnitude, plural)]; in getPattern() 115 if (patternString == nullptr && plural != StandardPlural::OTHER) { in getPattern() 172 StandardPlural::Form plural = StandardPlural::fromString(key, status); in put() local 174 if (data.patterns[getIndex(magnitude, plural)] != nullptr) { in put() 189 data.patterns[getIndex(magnitude, plural)] = patternString; in put() 287 StandardPlural::Form plural = utils::getStandardPlural(rules, quantity); in processQuantity() local 288 const UChar *patternString = data.getPattern(magnitude, plural); in processQuantity()
|
/external/e2fsprogs/lib/support/ |
D | nls-enable.h | 10 #define P_(singular, plural, n) (ngettext (singular, plural, n)) argument 20 #define P_(singular, plural, n) ((n) == 1 ? (singular) : (plural)) argument
|
/external/e2fsprogs/intl/ |
D | plural-exp.c | 104 const char *plural; in EXTRACT_PLURAL_EXPRESSION() local 107 plural = strstr (nullentry, "plural="); in EXTRACT_PLURAL_EXPRESSION() 109 if (plural == NULL || nplurals == NULL) in EXTRACT_PLURAL_EXPRESSION() 137 plural += 7; in EXTRACT_PLURAL_EXPRESSION() 138 args.cp = plural; in EXTRACT_PLURAL_EXPRESSION()
|
/external/ltp/testcases/network/stress/multicast/query-flood/ |
D | 00_Descriptions.txt | 16 Verify that the kernel is not crashed when joining plural IPv4 multicast 21 Verify that the kernel is not crashed when joining joining plural IPv4 26 Verify that the kernel is not crashed when joining joining plural IPv4 45 Verify that the kernel is not crashed when joining plural IPv6 multicast 50 Verify that the kernel is not crashed when joining joining plural IPv6 55 Verify that the kernel is not crashed when joining joining plural IPv6
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | GeneratePluralList.java | 225 for (String plural : rules.getKeywords()) { in getForms() 226 out.print(file.getLocaleID() + '\t' + plural + '\t' + in getForms() 227 rules.getSamples(plural).iterator().next()); in getForms() 229 printUnit(file, unit, plural); in getForms() 230 printUnit(file, unit + "-past", plural); in getForms() 231 printUnit(file, unit + "-future", plural); in getForms() 238 private void printUnit(CLDRFile file, String unit, String plural) { in printUnit() argument 239 … String path = "//ldml/units/unit[@type=\"" + unit + "\"]/unitPattern[@count=\"" + plural + "\"]"; in printUnit() 243 System.out.println(file.getLocaleID() + " has no example for " + plural + " " + unit); in printUnit()
|
/external/python/cpython2/Lib/ |
D | gettext.py | 84 def _tokenize(plural): argument 85 for mo in re.finditer(_token_pattern, plural): 169 def c2py(plural): argument 174 if len(plural) > 1000: 177 result, nexttok = _parse(_tokenize(plural)) 344 self.plural = lambda n: int(n != 1) # germanic plural by default 390 plural = v[1].split('plural=')[1] 391 self.plural = c2py(plural) 446 tmsg = self._catalog[(msgid1, self.plural(n))] 462 tmsg = self._catalog[(msgid1, self.plural(n))] [all …]
|
/external/python/cpython3/Lib/ |
D | gettext.py | 86 def _tokenize(plural): argument 87 for mo in re.finditer(_token_pattern, plural): 175 def c2py(plural): argument 180 if len(plural) > 1000: 183 result, nexttok = _parse(_tokenize(plural)) 349 self.plural = lambda n: int(n != 1) # germanic plural by default 401 plural = v[1].split('plural=')[1] 402 self.plural = c2py(plural) 439 tmsg = self._catalog[(msgid1, self.plural(n))] 462 tmsg = self._catalog[(msgid1, self.plural(n))]
|
/external/libchrome/third_party/jinja2/ |
D | ext.py | 265 plural = None 290 plural_names, plural = self._parse_block(parser, False) 310 if plural: 311 plural = self._trim_whitespace(plural) 313 node = self._make_node(singular, plural, variables, plural_expr, 357 def _make_node(self, singular, plural, variables, plural_expr, argument 364 if plural: 365 plural = plural.replace('%%', '%') 378 nodes.Const(plural),
|
/external/clang/test/Analysis/ |
D | localization.m | 119 - (NSString *)test1:(int)plural { 120 if (plural) { 148 …return [NSString stringWithFormat:KHLocalizedString(@"value.plural",nil), count]; // expected-warn… 158 …return [NSString stringWithFormat:KHLocalizedString(@"value.plural",nil), count]; // expected-warn… 172 …return KHLocalizedString(@"value.plural",nil); // expected-warning {{Plural cases are not supporte… 196 // BOOL plural = count != 1; 197 // return KHLocalizedString(plural ? @"PluralString" : @"SingularString", @""); 200 // - (NSString *)test8:(BOOL)plural { 201 …ringWithFormat:@"RELATIVE_DATE_%@_%@", ((1 == 1) ? @"FUTURE" : @"PAST"), plural ? @"PLURAL" : @"SI…
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | ICUCurrencyDisplayInfoProvider.java | 186 StandardPlural plural = StandardPlural.orNullFromString(pluralKey); in getPluralName() local 191 if (plural != null) { in getPluralName() 192 result = pluralsData[1 + plural.ordinal()]; in getPluralName() 523 StandardPlural plural = StandardPlural.orNullFromString(key.toString()); in consumeCurrencyPluralsTable() local 524 if (plural == null) { in consumeCurrencyPluralsTable() 537 StandardPlural plural = StandardPlural.orNullFromString(key.toString()); in consumeCurrencyPluralsEntry() local 538 if (plural == null) { in consumeCurrencyPluralsEntry() 542 if (pluralsData[1 + plural.ordinal()] == null) { in consumeCurrencyPluralsEntry() 543 pluralsData[1 + plural.ordinal()] = value.getString(); in consumeCurrencyPluralsEntry()
|