Home
last modified time | relevance | path

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

/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\"]"); in getCoreCoverageInfo()
DDateTimeFormats.java548 PluralInfo plurals = sdi.getPlurals(file.getLocaleID()); in RelativePattern() local
550 String tempPath = base + plurals.getCount(offset) + "\"]"; in RelativePattern()
DCLDRFile.java3353 PluralInfo plurals = supplementalData.getPlurals(PluralType.cardinal, getLocaleID());
3354 if (plurals == null && DEBUG) {
3358 if (plurals != null) {
3359 pluralCounts = plurals.getCounts();
/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/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/autotest/cli/
Daction_common.py247 plurals = reversed(sorted(self.add_remove_things.keys()))
248 for what in plurals:
/external/cldr/tools/java/org/unicode/cldr/util/data/
DPathDescription.txt68 … to an English acre. Note: before translating, be sure to read http://cldr.org/translation/plurals.
69 …not a calendar day). Note: before translating, be sure to read http://cldr.org/translation/plurals.
70 …ame as food calorie. Note: before translating, be sure to read http://cldr.org/translation/plurals.
71 … energy-kilocalorie. Note: before translating, be sure to read http://cldr.org/translation/plurals.
72 …, such as chemistry. Note: before translating, be sure to read http://cldr.org/translation/plurals.
73 …ic point, 1/72 inch. Note: before translating, be sure to read http://cldr.org/translation/plurals.
74 … equal to 14 pounds. Note: before translating, be sure to read http://cldr.org/translation/plurals.
75 …g ton or metric ton. Note: before translating, be sure to read http://cldr.org/translation/plurals.
76 …{1} form) for “{2}”. Note: before translating, be sure to read http://cldr.org/translation/plurals.
77 … {1} forms of “{2}”. Note: before translating, be sure to read http://cldr.org/translation/plurals.
[all …]
DPathHeader.txt380 //supplementalData/plurals[@type="%A"]/pluralRules[@locales="%A"]/pluralRule[@count="%A"] ; Suppl…
381 //supplementalData/plurals/pluralRanges[@locales="%A"]/pluralRange[@start="%A"][@end="%A"] ; Supp…
382 //supplementalData/plurals/pluralRanges[@locales="%A"]/pluralRange_[@start="%A"][@end="%A"]/_result…
383 //supplementalData/plurals/pluralRanges[@locales="%A"]/pluralRange[@end="%A"][@start="%A"] ; Supp…
384 //supplementalData/plurals/pluralRanges[@locales="%A"]/pluralRange_[@end="%A"][@start="%A"]/_result…
/external/icu/icu4c/source/data/misc/
Dmiscfiles.mk28 zoneinfo64.txt supplementalData.txt likelySubtags.txt plurals.txt \
Dplurals.txt3 plurals:table(nofallback){
/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()
567 PluralInfo plurals = SUPPLEMENTAL.getPlurals(row[0]); in TestDigitPluralCompleteness() local
568 countToDigits = exceptions.get(plurals); in TestDigitPluralCompleteness()
571 plurals, in TestDigitPluralCompleteness()
591 PluralInfo plurals = SUPPLEMENTAL.getPlurals(locale); in TestDigitPluralCompleteness() local
592 if (seen.contains(plurals)) { // skip identicals in TestDigitPluralCompleteness()
595 Relation<Count, Integer> countToDigits = exceptions.get(plurals); in TestDigitPluralCompleteness()
599 for (Count c : plurals.getCounts()) { in TestDigitPluralCompleteness()
608 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
1052 + MissingType.plurals.toString()); in TestCoreData()
1053 warnings.add(MissingType.plurals); 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
277 case plurals: { in processSupplemental()
/external/cldr/tools/java/org/unicode/cldr/test/
DExampleGenerator.java958 final PluralInfo plurals = supplementalDataInfo.getPlurals(cldrFile.getLocaleID()); in formatCountValue() local
959 PluralRules pluralRules = plurals.getPluralRules(); in formatCountValue()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DNumberFormatterApiTest.java2200 public void plurals() { in plurals() method in NumberFormatterApiTest
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberFormatterApiTest.java2197 public void plurals() { in plurals() method in NumberFormatterApiTest
/external/jline/src/src/test/resources/jline/example/
Denglish.gz
/external/cldr/tools/java/org/unicode/cldr/util/data/transforms/
Dinternal_raw_IPA-old.txt152189 plurals %19795