Home
last modified time | relevance | path

Searched refs:displayOptions (Results 1 – 16 of 16) sorted by relevance

/third_party/icu/icu4c/source/test/intltest/
Ddisplayoptions_test.cpp37 icu::DisplayOptions displayOptions = icu::DisplayOptions::builder().build(); in testDisplayOptionsDefault() local
39 displayOptions.getGrammaticalCase()); in testDisplayOptionsDefault()
41 displayOptions.getNounClass()); in testDisplayOptionsDefault()
43 displayOptions.getPluralCategory()); in testDisplayOptionsDefault()
45 displayOptions.getCapitalization()); in testDisplayOptionsDefault()
47 displayOptions.getNameStyle()); in testDisplayOptionsDefault()
49 displayOptions.getDisplayLength()); in testDisplayOptionsDefault()
51 displayOptions.getSubstituteHandling()); in testDisplayOptionsDefault()
55 icu::DisplayOptions displayOptions = in testDisplayOptionsEachElement() local
60 displayOptions.getGrammaticalCase()); in testDisplayOptionsEachElement()
[all …]
Dnumbertest_api.cpp2344 unf = unf.unit(mu).displayOptions(displayoptions); in runUnitInflectionsTestCases()
2351 unf = unf.unit(mu).displayOptions(displayoptions); in runUnitInflectionsTestCases()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/text/
DDisplayOptionsTest.java29 DisplayOptions displayOptions = DisplayOptions.builder().build(); in TestDisplayOptionsDefault() local
31 displayOptions.getGrammaticalCase()); in TestDisplayOptionsDefault()
32 assertEquals("Test default values: ", NounClass.UNDEFINED, displayOptions.getNounClass()); in TestDisplayOptionsDefault()
34 displayOptions.getPluralCategory()); in TestDisplayOptionsDefault()
36 displayOptions.getCapitalization()); in TestDisplayOptionsDefault()
37 assertEquals("Test default values: ", NameStyle.UNDEFINED, displayOptions.getNameStyle()); in TestDisplayOptionsDefault()
39 displayOptions.getDisplayLength()); in TestDisplayOptionsDefault()
41 displayOptions.getSubstituteHandling()); in TestDisplayOptionsDefault()
46 DisplayOptions displayOptions = DisplayOptions.builder() in TestDisplayOptionsEachElement() local
49 displayOptions.getGrammaticalCase()); in TestDisplayOptionsEachElement()
[all …]
/third_party/icu/icu4c/source/i18n/
Ddisplayoptions.cpp39 DisplayOptions::Builder::Builder(const DisplayOptions &displayOptions) { in Builder() argument
40 grammaticalCase = displayOptions.grammaticalCase; in Builder()
41 nounClass = displayOptions.nounClass; in Builder()
42 pluralCategory = displayOptions.pluralCategory; in Builder()
43 capitalization = displayOptions.capitalization; in Builder()
44 nameStyle = displayOptions.nameStyle; in Builder()
45 displayLength = displayOptions.displayLength; in Builder()
46 substituteHandling = displayOptions.substituteHandling; in Builder()
Dnumber_fluent.cpp292 Derived NumberFormatterSettings<Derived>::displayOptions(const DisplayOptions &displayOptions) cons… in displayOptions() function in NumberFormatterSettings
295 if (displayOptions.getGrammaticalCase() == UDISPOPT_GRAMMATICAL_CASE_UNDEFINED) { in displayOptions()
301 udispopt_getGrammaticalCaseIdentifier(displayOptions.getGrammaticalCase())); in displayOptions()
306 Derived NumberFormatterSettings<Derived>::displayOptions(const DisplayOptions &displayOptions) && { in displayOptions() function in NumberFormatterSettings
309 if (displayOptions.getGrammaticalCase() == UDISPOPT_GRAMMATICAL_CASE_UNDEFINED) { in displayOptions()
315 udispopt_getGrammaticalCaseIdentifier(displayOptions.getGrammaticalCase())); in displayOptions()
/third_party/node/deps/icu-small/source/i18n/
Ddisplayoptions.cpp39 DisplayOptions::Builder::Builder(const DisplayOptions &displayOptions) { in Builder() argument
40 grammaticalCase = displayOptions.grammaticalCase; in Builder()
41 nounClass = displayOptions.nounClass; in Builder()
42 pluralCategory = displayOptions.pluralCategory; in Builder()
43 capitalization = displayOptions.capitalization; in Builder()
44 nameStyle = displayOptions.nameStyle; in Builder()
45 displayLength = displayOptions.displayLength; in Builder()
46 substituteHandling = displayOptions.substituteHandling; in Builder()
Dnumber_fluent.cpp292 Derived NumberFormatterSettings<Derived>::displayOptions(const DisplayOptions &displayOptions) cons… in displayOptions() function in NumberFormatterSettings
295 if (displayOptions.getGrammaticalCase() == UDISPOPT_GRAMMATICAL_CASE_UNDEFINED) { in displayOptions()
301 udispopt_getGrammaticalCaseIdentifier(displayOptions.getGrammaticalCase())); in displayOptions()
306 Derived NumberFormatterSettings<Derived>::displayOptions(const DisplayOptions &displayOptions) && { in displayOptions() function in NumberFormatterSettings
309 if (displayOptions.getGrammaticalCase() == UDISPOPT_GRAMMATICAL_CASE_UNDEFINED) { in displayOptions()
315 udispopt_getGrammaticalCaseIdentifier(displayOptions.getGrammaticalCase())); in displayOptions()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDisplayOptions.java170 private Builder(DisplayOptions displayOptions) { in Builder() argument
171 this.grammaticalCase = displayOptions.grammaticalCase; in Builder()
172 this.nounClass = displayOptions.nounClass; in Builder()
173 this.pluralCategory = displayOptions.pluralCategory; in Builder()
174 this.capitalization = displayOptions.capitalization; in Builder()
175 this.nameStyle = displayOptions.nameStyle; in Builder()
176 this.displayLength = displayOptions.displayLength; in Builder()
177 this.substituteHandling = displayOptions.substituteHandling; in Builder()
271 DisplayOptions displayOptions = new DisplayOptions(this); in build() local
272 return displayOptions; in build()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DNumberFormatterSettings.java564 public T displayOptions(DisplayOptions displayOptions) { in displayOptions() method in NumberFormatterSettings
566 if (displayOptions.getGrammaticalCase() == GrammaticalCase.UNDEFINED) { in displayOptions()
570 return create(KEY_UNIT_DISPLAY_CASE, displayOptions.getGrammaticalCase().getIdentifier()); in displayOptions()
/third_party/icu/icu4c/source/i18n/unicode/
Ddisplayoptions.h150 Builder(const DisplayOptions &displayOptions);
Dnumberformatter.h2266 Derived displayOptions(const DisplayOptions &displayOptions) const &;
2275 Derived displayOptions(const DisplayOptions &displayOptions) &&;
/third_party/node/deps/icu-small/source/i18n/unicode/
Ddisplayoptions.h148 Builder(const DisplayOptions &displayOptions);
Dnumberformatter.h2271 Derived displayOptions(const DisplayOptions &displayOptions) const &;
2280 Derived displayOptions(const DisplayOptions &displayOptions) &&;
/third_party/icu/icu4c/source/test/cintltst/
Dcloctst.c6973 const UDisplayContext * displayOptions; // set of 3 UDisplayContext items member
7062 …= uldn_openForContext(uloPtr->displayLocale, (UDisplayContext*)uloPtr->displayOptions, 3, &status); in TestUldnNameVariants()
7065 …uloPtr->displayLocale, uloPtr->displayOptions[0], uloPtr->displayOptions[1], uloPtr->displayOption… in TestUldnNameVariants()
7073 if (dhContext != uloPtr->displayOptions[0]) { in TestUldnNameVariants()
7075 dhContext, uloPtr->displayOptions[0]); in TestUldnNameVariants()
7122 …ypeString, uloPtr->displayLocale, uloPtr->displayOptions[0], uloPtr->displayOptions[1], uloPtr->di… in TestUldnNameVariants()
7132 …ypeString, uloPtr->displayLocale, uloPtr->displayOptions[0], uloPtr->displayOptions[1], uloPtr->di… in TestUldnNameVariants()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberFormatterApiTest.java2360 DisplayOptions displayOptions = displayOptionsBuilder.build(); in runTestWithDisplayOptions() local
2361 unf = unf.unit(mu).displayOptions(displayOptions); in runTestWithDisplayOptions()
2364 DisplayOptions displayOptions = displayOptionsBuilder.setGrammaticalCase( in runTestWithDisplayOptions() local
2366 unf = unf.unit(mu).displayOptions(displayOptions); in runTestWithDisplayOptions()
/third_party/icu/icu4j/tools/build/
Dicu4j72.api3.gz12;ICU4J 72.1;; 2ST@3.6;PB;NS;NF;NS; ...