Home
last modified time | relevance | path

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

12

/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/tool/
DListGrammarInfo.java44 …Collection<String> genders = grammarInfo.get(GrammaticalTarget.nominal, GrammaticalFeature.grammat… in main() local
47 boolean hasGender = genders != null && genders.size() > 1; in main()
52 sortedBothLocales.add(format(locale, genders, rawCases)); in main()
54 sortedGenderLocales.add(format(locale, genders)); in main()
65 …private static String format(String locale, Collection<String> genders, Collection<String> rawCase… in format() argument
66 …return english.getName(locale) + " (" + locale + "/" + genders.size() + "×" + rawCases.size() + ")… in format()
69 public static String format(String locale, Collection<String> genders) { in format() argument
70 return english.getName(locale) + " (" + locale + "/" + genders.size() + ")"; in format()
DListGrammarData.java148 …Collection<String> genders = grammarInfo.get(GrammaticalTarget.nominal, GrammaticalFeature.grammat… in main() local
149 if (!genders.isEmpty()) { in main()
162 + "\t" + genders.size() in main()
164 + "\t" + genderToUnitCounts.keySet().size()/(double)genders.size() in main()
DChartGrammaticalForms.java366 …Collection<String> genders = grammarInfo.get(GrammaticalTarget.nominal, GrammaticalFeature.grammat… in writeSubcharts() local
368 sortedGenders.addAll(genders); in writeSubcharts()
/external/cldr/tools/cldr-code/src/main/java/com/ibm/icu/text/
DGenderInfo.java86 public Gender getListGender(Gender... genders) { in getListGender() argument
87 return getListGender(Arrays.asList(genders)); in getListGender()
97 public Gender getListGender(List<Gender> genders) { in getListGender() argument
98 if (genders.size() == 0 || style == ListGenderStyle.NEUTRAL) { in getListGender()
101 if (genders.size() == 1) { in getListGender()
102 return genders.get(0); // degenerate case in getListGender()
108 for (Gender gender : genders) { in getListGender()
128 for (Gender gender : genders) { in getListGender()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DGenderInfo.java153 public Gender getListGender(Gender... genders) { in getListGender() argument
154 return getListGender(Arrays.asList(genders)); in getListGender()
165 public Gender getListGender(List<Gender> genders) { in getListGender() argument
166 if (genders.size() == 0) { in getListGender()
169 if (genders.size() == 1) { in getListGender()
170 return genders.get(0); // degenerate case in getListGender()
178 for (Gender gender : genders) { in getListGender()
199 for (Gender gender : genders) { in getListGender()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DGenderInfo.java157 public Gender getListGender(Gender... genders) { in getListGender() argument
158 return getListGender(Arrays.asList(genders)); in getListGender()
169 public Gender getListGender(List<Gender> genders) { in getListGender() argument
170 if (genders.size() == 0) { in getListGender()
173 if (genders.size() == 1) { in getListGender()
174 return genders.get(0); // degenerate case in getListGender()
182 for (Gender gender : genders) { in getListGender()
203 for (Gender gender : genders) { in getListGender()
/external/cronet/third_party/icu/source/i18n/
Dgender.cpp177 UGender GenderInfo::getListGender(const UGender* genders, int32_t length, UErrorCode& status) const… in getListGender() argument
185 return genders[0]; in getListGender()
194 switch (genders[i]) { in getListGender()
218 if (genders[i] != UGENDER_FEMALE) { in getListGender()
250 ugender_getListGender(const UGenderInfo* genderInfo, const UGender* genders, int32_t size, UErrorCo… in ugender_getListGender() argument
251 return ((const icu::GenderInfo *)genderInfo)->getListGender(genders, size, *status); in ugender_getListGender()
/external/icu/icu4c/source/i18n/
Dgender.cpp177 UGender GenderInfo::getListGender(const UGender* genders, int32_t length, UErrorCode& status) const… in getListGender() argument
185 return genders[0]; in getListGender()
194 switch (genders[i]) { in getListGender()
218 if (genders[i] != UGENDER_FEMALE) { in getListGender()
250 ugender_getListGender(const UGenderInfo* genderInfo, const UGender* genders, int32_t size, UErrorCo… in ugender_getListGender() argument
251 return ((const icu::GenderInfo *)genderInfo)->getListGender(genders, size, *status); in ugender_getListGender()
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/test/
DCheckUnits.java31 private Collection<String> genders = null; field in CheckUnits
38genders = grammarInfo == null ? null : grammarInfo.get(GrammaticalTarget.nominal, GrammaticalFeatu… in setCldrFileToCheck()
53 if (genders != null && !genders.isEmpty() && finalElement.equals("gender")) { in handleCheck()
54 if (!genders.contains(value)) { in handleCheck()
58 .setMessage("The gender value for this locale must be one of: {0}", genders)); in handleCheck()
105 final String message = genders == null in handleCheck()
/external/cldr/tools/cldr-code/src/main/java/com/ibm/icu/dev/test/
DGenderInfoTest.java37 public void check(Gender mixed, Gender taints, Gender... genders) { in check() argument
38 List<Gender> mixed0 = Arrays.asList(genders); in check()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DGenderInfoTest.java62 public void check(Gender neutral, Gender mixed, Gender taints, Gender... genders) { in check() argument
63 List<Gender> mixed0 = Arrays.asList(genders); in check()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DGenderInfoTest.java59 public void check(Gender neutral, Gender mixed, Gender taints, Gender... genders) { in check() argument
60 List<Gender> mixed0 = Arrays.asList(genders); in check()
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/impl/
DDataRecord.java25 byte[] genders; // EGender field in DataRecord
65 record.genders = in.namedIndexArray("gender", EGender.names); in read()
132 out.namedIndexArray("gender", EGender.names, genders); in write()
DPeriodFormatterData.java318 if (dr.genders != null && dr.halves.length > 2) { in appendCount()
319 if (dr.genders[index] == EGender.F) { in appendCount()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/
DDataRecord.java23 byte[] genders; // EGender field in DataRecord
63 record.genders = in.namedIndexArray("gender", EGender.names); in read()
130 out.namedIndexArray("gender", EGender.names, genders); in write()
DPeriodFormatterData.java316 if (dr.genders != null && dr.halves.length > 2) { in appendCount()
317 if (dr.genders[index] == EGender.F) { in appendCount()
/external/icu/icu4c/source/i18n/unicode/
Dugender.h82 ugender_getListGender(const UGenderInfo* genderInfo, const UGender *genders, int32_t size, UErrorCo…
Dgender.h78 UGender getListGender(const UGender* genders, int32_t length, UErrorCode& status) const;
/external/cronet/third_party/icu/source/i18n/unicode/
Dugender.h82 ugender_getListGender(const UGenderInfo* genderInfo, const UGender *genders, int32_t size, UErrorCo…
Dgender.h78 UGender getListGender(const UGender* genders, int32_t length, UErrorCode& status) const;
/external/icu/libicu/cts_headers/unicode/
Dugender.h82 ugender_getListGender(const UGenderInfo* genderInfo, const UGender *genders, int32_t size, UErrorCo…
Dgender.h78 UGender getListGender(const UGender* genders, int32_t length, UErrorCode& status) const;
/external/icu/libandroidicu/include/unicode/
Dugender.h82 ugender_getListGender(const UGenderInfo* genderInfo, const UGender *genders, int32_t size, UErrorCo…
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/
DGrammarInfo.java337 …Collection<String> genders = grammarInfo.get(GrammaticalTarget.nominal, GrammaticalFeature.grammat… in getGrammaticalInfoAttributes() local
338 if (!gender.equals(GrammaticalFeature.grammaticalGender.getDefault(genders))) { in getGrammaticalInfoAttributes()
/external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/
DTestPathHeader.java1464 List<GenderValues> genders = Arrays.asList(GrammarInfo.GenderValues.values()).subList(0, 3); in TestUnitOrder() local
1492 for (GrammarInfo.GenderValues gGender : genders) { in TestUnitOrder()
1521 for (GrammarInfo.GenderValues gGender : genders) { in TestUnitOrder()

12