Home
last modified time | relevance | path

Searched refs:plurals (Results 1 – 25 of 27) sorted by relevance

12

/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DStaxPluralsLoader.java11 private final List<Plural> plurals = new ArrayList<>(); field in StaxPluralsLoader
32 plurals.add(new Plural(quantity, buf.toString())); in StaxPluralsLoader()
49 …resourceTable.addResource(attrType, name, new PluralRules(new ArrayList<>(plurals), resType, xmlCo… in onEnd()
50 plurals.clear(); in onEnd()
/external/cldr/tools/java/org/unicode/cldr/util/
DPluralSnapshot.java63 Plurals[] plurals = new Plurals[LEN]; field in PluralSnapshot
82 PluralInfo plurals = supplementalDataInfo.getPlurals(pluralType, locale); in SnapshotInfo() local
83 String rules = plurals.getRules(); in SnapshotInfo()
152 for (int i = 0; i < plurals.length; ++i) { in PluralSnapshot()
155 plurals[i] = plural; in PluralSnapshot()
160 if (i > 0 && plural != plurals[i - 1]) { in PluralSnapshot()
182 for (int i = 0; i < plurals.length; ++i) { in compareTo()
183 diff = plurals[i].compareTo(other.plurals[i]); in compareTo()
204 appendItems(result, plurals, 0); in toString()
215 Plurals item = plurals[i]; in toHtmlString()
DValuePathStatus.java86 PluralInfo plurals = supplementalDataInfo2.getPlurals(sourceFile.getLocaleID()); in isMissingOk() local
87 return plurals == null || !plurals.hasSamples(c, digits); // ok if no samples in isMissingOk()
DCoreCoverageInfo.java39 plurals, enumConstant
122 result.add(CoreItems.plurals); in getCoreCoverageInfo()
124 …detailedErrors.put(CoreItems.plurals, "//supplementalData/plurals[@type=\"cardinal\"]/pluralRules[… in getCoreCoverageInfo()
DDateTimeFormats.java570 PluralInfo plurals = sdi.getPlurals(file.getLocaleID()); in RelativePattern() local
572 String tempPath = base + plurals.getCount(offset) + "\"]"; in RelativePattern()
DCLDRFile.java3309 PluralInfo plurals = supplementalData.getPlurals(PluralType.cardinal, getLocaleID());
3310 if (plurals == null && DEBUG) {
3314 if (plurals != null) {
3315 pluralCounts = plurals.getCounts();
/external/cldr/tools/java/org/unicode/cldr/json/
DJSON_config_supplemental.txt9 section=ordinals ; path=//cldr/supplemental/plurals\[@type="ordinal"\]/.* ; package=core
10 section=plurals ; path=//cldr/supplemental/plurals\[@type="cardinal"\]/.* ; package=core
/external/cldr/tools/java/org/unicode/cldr/tool/
DShowPlurals.java134 final PluralInfo plurals = supplementalDataInfo.getPlurals(pluralType, locale); in printPluralTable() local
141 String rules = plurals.getRules(); in printPluralTable()
144 PluralRules pluralRules = plurals.getPluralRules(); in printPluralTable()
147 Set<Count> counts = plurals.getCounts(); in printPluralTable()
DGenerateXMB.java218 final PluralInfo plurals = supplementalDataInfo.getPlurals(file, false); in main() local
219 if (plurals == null) { in main()
/external/icu/icu4c/source/data/misc/
Dmiscfiles.mk28 zoneinfo64.txt supplementalData.txt likelySubtags.txt plurals.txt \
Dplurals.txt3 plurals:table(nofallback){
/external/autotest/cli/
Daction_common.py247 plurals = reversed(sorted(self.add_remove_things.keys()))
248 for what in plurals:
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestSupplementalInfo.java460 PluralInfo plurals = SUPPLEMENTAL.getPlurals(row[0]); in TestDigitPluralCases() local
461 SampleList uset = plurals.getSamples9999(Count.valueOf(row[1]), in TestDigitPluralCases()
568 PluralInfo plurals = SUPPLEMENTAL.getPlurals(row[0]); in TestDigitPluralCompleteness() local
569 countToDigits = exceptions.get(plurals); in TestDigitPluralCompleteness()
572 plurals, in TestDigitPluralCompleteness()
592 PluralInfo plurals = SUPPLEMENTAL.getPlurals(locale); in TestDigitPluralCompleteness() local
593 if (seen.contains(plurals)) { // skip identicals in TestDigitPluralCompleteness()
596 Relation<Count, Integer> countToDigits = exceptions.get(plurals); in TestDigitPluralCompleteness()
600 for (Count c : plurals.getCounts()) { in TestDigitPluralCompleteness()
609 boolean hasSamples = plurals.hasSamples(c, digits); in TestDigitPluralCompleteness()
[all …]
DTestCLDRFile.java90 PluralInfo plurals = sdi.getPlurals(PluralType.cardinal, locale); in checkPlurals() local
91 Set<String> normalKeywords = plurals.getCanonicalKeywords(); in checkPlurals()
DTestBasic.java975 plurals, main_exemplars, no_main, collation, index_exemplars, punct_exemplars enumConstant
1039 + MissingType.plurals.toString()); in TestCoreData()
1040 warnings.put(MissingType.plurals, "missing"); in TestCoreData()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DQualifiersTest.java76 assertThat(resources.getQuantityString(R.plurals.minute, 2)).isEqualTo( in getQuantityString()
DR.java523 public static final class plurals { class in R
/external/cldr/tools/java/org/unicode/cldr/icu/
DNewLdml2IcuConverter.java57 …riods, genderList, likelySubtags, metadata, metaZones, numberingSystems, plurals, pluralRanges, po… enumConstant
283 case plurals: { in processSupplemental()
/external/cldr/tools/java/org/unicode/cldr/util/data/
DPathHeader.txt385 //supplementalData/plurals[@type="%A"]/pluralRules[@locales="%A"]/pluralRule[@count="%A"] ; Suppl…
386 //supplementalData/plurals/pluralRanges[@locales="%A"]/pluralRange[@start="%A"][@end="%A"] ; Supp…
387 //supplementalData/plurals/pluralRanges[@locales="%A"]/pluralRange_[@start="%A"][@end="%A"]/_result…
388 //supplementalData/plurals/pluralRanges[@locales="%A"]/pluralRange[@end="%A"][@start="%A"] ; Supp…
389 //supplementalData/plurals/pluralRanges[@locales="%A"]/pluralRange_[@end="%A"][@start="%A"]/_result…
DPathDescription.txt84 … {1} forms of “{2}”. Note: before translating, be sure to read http://cldr.org/translation/plurals.
87 …pose duration units. Note: before translating, be sure to read http://cldr.org/translation/plurals.
100 …r ordinals. For more information, please see http://cldr.org/translation/plurals#TOC-Minimal-Pairs.
101 …="([^"]*)"] ; Minimal pairs for plurals (cardinals). For more information, please see http://cldr.…
/external/icu/icu4c/source/data/
Dcldr-icu-readme.txt273 # b) Changes to plurals data may cause failures in e.g. the following
/external/cldr/tools/java/org/unicode/cldr/test/
DExampleGenerator.java989 final PluralInfo plurals = supplementalDataInfo.getPlurals(cldrFile.getLocaleID()); in formatCountValue() local
990 PluralRules pluralRules = plurals.getPluralRules(); in formatCountValue()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberFormatterApiTest.java2611 public void plurals() { in plurals() method in NumberFormatterApiTest
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DNumberFormatterApiTest.java2614 public void plurals() { in plurals() method in NumberFormatterApiTest
/external/jline/src/src/test/resources/jline/example/
Denglish.gz1Aarhus 2Aaron 3Ababa 4aback 5abaft 6abandon 7abandoned 8abandoning 9abandonment 10 ...

12