Home
last modified time | relevance | path

Searched refs:NARROW (Results 1 - 25 of 55) sorted by relevance

123

/third_party/icu/icu4c/source/test/intltest/
H A Dtsdtfmsy.cpp68 DateFormatSymbols::DtWidthType width[] = {DateFormatSymbols::WIDE, DateFormatSymbols::ABBREVIATED, DateFormatSymbols::NARROW}; in TestGetMonths2()
93 DateFormatSymbols::DtWidthType width[] = {DateFormatSymbols::WIDE, DateFormatSymbols::ABBREVIATED, DateFormatSymbols::NARROW}; in TestGetWeekdays2()
255 const UnicodeString *narrowMonths = en.getMonths(count,DateFormatSymbols::FORMAT,DateFormatSymbols::NARROW); in TestSymbols()
256 fr.setMonths(narrowMonths, count, DateFormatSymbols::FORMAT,DateFormatSymbols::NARROW); in TestSymbols()
257 if( *en.getMonths(count,DateFormatSymbols::FORMAT,DateFormatSymbols::NARROW) != in TestSymbols()
258 *fr.getMonths(count,DateFormatSymbols::FORMAT,DateFormatSymbols::NARROW )) { in TestSymbols()
259 errln("ERROR: setMonths(FORMAT,NARROW) failed"); in TestSymbols()
276 const UnicodeString *standaloneNarrowMonths = en.getMonths(count,DateFormatSymbols::STANDALONE,DateFormatSymbols::NARROW); in TestSymbols()
277 fr.setMonths(standaloneNarrowMonths, count, DateFormatSymbols::STANDALONE,DateFormatSymbols::NARROW); in TestSymbols()
278 if( *en.getMonths(count,DateFormatSymbols::STANDALONE,DateFormatSymbols::NARROW) ! in TestSymbols()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DIntlTestDateFormatSymbols.java62 int[] width = {DateFormatSymbols.WIDE, DateFormatSymbols.ABBREVIATED, DateFormatSymbols.NARROW}; in TestGetMonths2()
84 int[] width = {DateFormatSymbols.WIDE, DateFormatSymbols.ABBREVIATED, DateFormatSymbols.NARROW}; in TestGetWeekdays2()
236 final String[] narrowMonths = en.getMonths(DateFormatSymbols.FORMAT,DateFormatSymbols.NARROW); in TestSymbols()
237 fr.setMonths(narrowMonths,DateFormatSymbols.FORMAT,DateFormatSymbols.NARROW); in TestSymbols()
238 final String[] narrowMonths1 = fr.getMonths(DateFormatSymbols.FORMAT,DateFormatSymbols.NARROW); in TestSymbols()
241 errln("ERROR: setMonths(FORMAT,NARROW) failed (different size array)"); in TestSymbols()
246 errln("ERROR: setMonths(FORMAT,NARROW) failed (different string values)"); in TestSymbols()
281 final String[] standaloneNarrowMonths = en.getMonths(DateFormatSymbols.STANDALONE,DateFormatSymbols.NARROW); in TestSymbols()
282 fr.setMonths(standaloneNarrowMonths,DateFormatSymbols.STANDALONE,DateFormatSymbols.NARROW); in TestSymbols()
283 final String[] standaloneNarrowMonths1 = fr.getMonths(DateFormatSymbols.STANDALONE,DateFormatSymbols.NARROW); in TestSymbols()
[all...]
H A DListFormatterTest.java210 DoTheRealListStyleTesting(locale, input, ListFormatter.Type.UNITS, ListFormatter.Width.NARROW, "rouge jaune bleu vert"); in TestDifferentStyles()
334 { "pt", Type.AND, Width.NARROW, "A, B, C" }, in TestCreateStyled()
337 { "pt", Type.OR, Width.NARROW, "A, B ou C" }, in TestCreateStyled()
340 { "pt", Type.UNITS, Width.NARROW, "A B C" }, in TestCreateStyled()
343 { "en", Type.AND, Width.NARROW, "A, B, C" }, in TestCreateStyled()
346 { "en", Type.OR, Width.NARROW, "A, B, or C" }, in TestCreateStyled()
349 { "en", Type.UNITS, Width.NARROW, "A B C" }, in TestCreateStyled()
380 Width[] widths = {Width.WIDE, Width.SHORT, Width.NARROW}; in TestContextual()
H A DPluralRangesTest.java65 {"ja", "NARROW", "{0}~{1}"}, in TestRangePattern()
87 {0.0, 1.0, ULocale.ENGLISH, UnitWidth.NARROW, Currency.getInstance("EUR"), "€0.00 – €1.00"}, in TestFormatting()
88 {0.0, 1.0, ULocale.FRENCH, UnitWidth.NARROW, Currency.getInstance("EUR"), "0,00–1,00 €"}, in TestFormatting()
89 {0.0, 100.0, ULocale.FRENCH, UnitWidth.NARROW, Currency.getInstance("JPY"), "0–100\u00a0¥"}, in TestFormatting()
H A DMeasureUnitTest.java2503 ULocale.FRENCH, FormatWidth.NARROW); in TestExamplesInDocs()
2659 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.NARROW, nf); in TestFormatPeriodEn()
2660 verifyFormatPeriod("en NARROW", mf, narrowData); in TestFormatPeriodEn()
2877 {ULocale.ENGLISH, FormatWidth.NARROW, "2mi 1\u2032 2.3\u2033"}, in testMultiples()
2880 {russia, FormatWidth.NARROW, "2 \u043C\u0438 1 \u0444\u0442 2,3 \u0434\u044E\u0439\u043C."}, in testMultiples()
2908 { ulocDanish, FormatWidth.NARROW, "5 t og 37 m" }, in testManyLocaleDurations()
2910 { ULocale.GERMAN, FormatWidth.NARROW, "5 Std., 37 Min." }, in testManyLocaleDurations()
2912 { ULocale.ENGLISH, FormatWidth.NARROW, "5h 37m" }, in testManyLocaleDurations()
2914 { ulocSpanish, FormatWidth.NARROW, "5h 37min" }, in testManyLocaleDurations()
2916 { ulocFinnish, FormatWidth.NARROW, " in testManyLocaleDurations()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A DIntlTestDateFormatSymbols.java65 int[] width = {DateFormatSymbols.WIDE, DateFormatSymbols.ABBREVIATED, DateFormatSymbols.NARROW}; in TestGetMonths2()
87 int[] width = {DateFormatSymbols.WIDE, DateFormatSymbols.ABBREVIATED, DateFormatSymbols.NARROW}; in TestGetWeekdays2()
239 final String[] narrowMonths = en.getMonths(DateFormatSymbols.FORMAT,DateFormatSymbols.NARROW); in TestSymbols()
240 fr.setMonths(narrowMonths,DateFormatSymbols.FORMAT,DateFormatSymbols.NARROW); in TestSymbols()
241 final String[] narrowMonths1 = fr.getMonths(DateFormatSymbols.FORMAT,DateFormatSymbols.NARROW); in TestSymbols()
244 errln("ERROR: setMonths(FORMAT,NARROW) failed (different size array)"); in TestSymbols()
249 errln("ERROR: setMonths(FORMAT,NARROW) failed (different string values)"); in TestSymbols()
284 final String[] standaloneNarrowMonths = en.getMonths(DateFormatSymbols.STANDALONE,DateFormatSymbols.NARROW); in TestSymbols()
285 fr.setMonths(standaloneNarrowMonths,DateFormatSymbols.STANDALONE,DateFormatSymbols.NARROW); in TestSymbols()
286 final String[] standaloneNarrowMonths1 = fr.getMonths(DateFormatSymbols.STANDALONE,DateFormatSymbols.NARROW); in TestSymbols()
[all...]
H A DListFormatterTest.java258 { "pt", Type.AND, Width.NARROW, "A, B, C" }, in TestCreateStyled()
261 { "pt", Type.OR, Width.NARROW, "A, B ou C" }, in TestCreateStyled()
264 { "pt", Type.UNITS, Width.NARROW, "A B C" }, in TestCreateStyled()
267 { "en", Type.AND, Width.NARROW, "A, B, C" }, in TestCreateStyled()
270 { "en", Type.OR, Width.NARROW, "A, B, or C" }, in TestCreateStyled()
273 { "en", Type.UNITS, Width.NARROW, "A B C" }, in TestCreateStyled()
304 Width[] widths = {Width.WIDE, Width.SHORT, Width.NARROW}; in TestContextual()
H A DMeasureUnitTest.java1713 ULocale.FRENCH, FormatWidth.NARROW); in TestExamplesInDocs()
1869 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.NARROW, nf); in TestFormatPeriodEn()
1870 verifyFormatPeriod("en NARROW", mf, narrowData); in TestFormatPeriodEn()
2087 {ULocale.ENGLISH, FormatWidth.NARROW, "2mi 1\u2032 2.3\u2033"}, in testMultiples()
2090 {russia, FormatWidth.NARROW, "2 \u043C\u0438\u043B\u044C 1 \u0444\u0442 2,3 \u0434\u044E\u0439\u043C\u0430"}, in testMultiples()
2118 { ulocDanish, FormatWidth.NARROW, "5 t og 37 m" }, in testManyLocaleDurations()
2120 { ULocale.GERMAN, FormatWidth.NARROW, "5 Std., 37 Min." }, in testManyLocaleDurations()
2122 { ULocale.ENGLISH, FormatWidth.NARROW, "5h 37m" }, in testManyLocaleDurations()
2124 { ulocSpanish, FormatWidth.NARROW, "5 h 37 min" }, in testManyLocaleDurations()
2126 { ulocFinnish, FormatWidth.NARROW, " in testManyLocaleDurations()
[all...]
H A DPluralRangesTest.java67 {"ja", "NARROW", "{0}~{1}"}, in TestRangePattern()
91 {0.0, 1.0, ULocale.ENGLISH, FormatWidth.NARROW, Currency.getInstance("EUR"), "€0.00–1.00"}, in TestFormatting()
92 {0.0, 1.0, ULocale.FRENCH, FormatWidth.NARROW, Currency.getInstance("EUR"), "0,00–1,00 €"}, in TestFormatting()
93 {0.0, 100.0, ULocale.FRENCH, FormatWidth.NARROW, Currency.getInstance("JPY"), "0–100\u00a0JPY"}, in TestFormatting()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DDateFormatSymbols.java142 public static final int NARROW = 2; field in DateFormatSymbols
802 * either WIDE, ABBREVIATED, or NARROW.
818 case NARROW : in getMonths()
832 case NARROW : in getMonths()
858 * either WIDE, ABBREVIATED, or NARROW.
871 case NARROW : in setMonths()
886 case NARROW : in setMonths()
930 * WIDE, ABBREVIATED, SHORT, or NARROW
947 case NARROW : in getWeekdays()
963 case NARROW in getWeekdays()
[all...]
H A DDateTimePatternGenerator.java251 if (getFieldDisplayName(i, DisplayWidth.NARROW) == null) { in fillInMissing()
252 setFieldDisplayName(i, DisplayWidth.NARROW, getFieldDisplayName(i, DisplayWidth.ABBREVIATED)); in fillInMissing()
1296 NARROW("-narrow"); enum constant
2435 NARROW = -0x101, field in DateTimePatternGenerator
2509 {'G', ERA, NARROW, 5},
2517 {'U', YEAR, NARROW, 5},
2522 {'Q', QUARTER, NARROW, 5},
2526 {'q', QUARTER, NARROW - DELTA, 5},
2531 {'M', MONTH, NARROW, 5},
2535 {'L', MONTH, NARROW
[all...]
H A DMeasureFormat.java96 * MeasureFormat fmtFrNarrow = MeasureFormat.getInstance(ULocale.FRENCH, FormatWidth.NARROW);
177 NARROW(ListFormatter.Width.NARROW, UnitWidth.NARROW, UnitWidth.SHORT), enum constant
180 * Identical to NARROW except when formatMeasures is called with an hour and minute; minute and
186 NUMERIC(ListFormatter.Width.NARROW, UnitWidth.NARROW, UnitWidth.SHORT),
H A DListFormatter.java107 NARROW, enum constant
698 case NARROW: in typeWidthToStyleString()
709 case NARROW: in typeWidthToStyleString()
720 case NARROW: in typeWidthToStyleString()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DDateFormatSymbols.java139 public static final int NARROW = 2; field in DateFormatSymbols
771 * either WIDE, ABBREVIATED, or NARROW.
786 case NARROW : in getMonths()
800 case NARROW : in getMonths()
825 * either WIDE, ABBREVIATED, or NARROW.
837 case NARROW : in setMonths()
852 case NARROW : in setMonths()
893 * WIDE, ABBREVIATED, SHORT, or NARROW
909 case NARROW : in getWeekdays()
925 case NARROW in getWeekdays()
[all...]
H A DDateTimePatternGenerator.java239 if (getFieldDisplayName(i, DisplayWidth.NARROW) == null) { in fillInMissing()
240 setFieldDisplayName(i, DisplayWidth.NARROW, getFieldDisplayName(i, DisplayWidth.ABBREVIATED)); in fillInMissing()
1167 NARROW("-narrow"); enum constant
2297 NARROW = -0x101, field in DateTimePatternGenerator
2371 {'G', ERA, NARROW, 5},
2379 {'U', YEAR, NARROW, 5},
2384 {'Q', QUARTER, NARROW, 5},
2388 {'q', QUARTER, NARROW - DELTA, 5},
2393 {'M', MONTH, NARROW, 5},
2397 {'L', MONTH, NARROW
[all...]
H A DListFormatter.java170 NARROW, enum constant
767 case NARROW: in typeWidthToStyleString()
778 case NARROW: in typeWidthToStyleString()
789 case NARROW: in typeWidthToStyleString()
/third_party/icu/icu4c/source/i18n/
H A Dudat.cpp660 res = syms->getMonths(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW); in udat_getSymbols()
668 res = syms->getWeekdays(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW); in udat_getSymbols()
680 res = syms->getMonths(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::NARROW); in udat_getSymbols()
696 res = syms->getWeekdays(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::NARROW); in udat_getSymbols()
708 res = syms->getQuarters(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW); in udat_getSymbols()
720 res = syms->getQuarters(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::NARROW); in udat_getSymbols()
732 res = syms->getYearNames(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW); in udat_getSymbols()
744 res = syms->getZodiacNames(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW); in udat_getSymbols()
806 syms->getMonths(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW); in udat_countSymbols()
814 syms->getWeekdays(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW); in udat_countSymbols()
[all...]
/third_party/node/deps/icu-small/source/i18n/
H A Dudat.cpp661 res = syms->getMonths(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW); in udat_getSymbols()
669 res = syms->getWeekdays(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW); in udat_getSymbols()
681 res = syms->getMonths(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::NARROW); in udat_getSymbols()
697 res = syms->getWeekdays(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::NARROW); in udat_getSymbols()
709 res = syms->getQuarters(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW); in udat_getSymbols()
721 res = syms->getQuarters(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::NARROW); in udat_getSymbols()
733 res = syms->getYearNames(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW); in udat_getSymbols()
745 res = syms->getZodiacNames(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW); in udat_getSymbols()
807 syms->getMonths(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW); in udat_countSymbols()
815 syms->getWeekdays(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW); in udat_countSymbols()
[all...]
/third_party/python/Include/
H A Dpyport.h311 /* Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW)
312 * Cast VALUE to type NARROW from type WIDE. In Py_DEBUG mode, this
318 # define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) \
319 (assert(_Py_STATIC_CAST(WIDE, _Py_STATIC_CAST(NARROW, (VALUE))) == (VALUE)), \
320 _Py_STATIC_CAST(NARROW, (VALUE)))
322 # define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
/third_party/rust/crates/unicode-width/scripts/
H A Dunicode.py86 either `EffectiveWidth.NARROW`, `EffectiveWidth.WIDE`, or `EffectiveWidth.AMBIGUOUS`."""
90 NARROW = 1 variable in EffectiveWidth
102 `Neutral`, `Narrow`, and `Halfwidth` characters are assigned `EffectiveWidth.NARROW`.
114 **{c: EffectiveWidth.NARROW for c in ["N", "Na", "H"]},
137 width_map.append(EffectiveWidth.NARROW if current < low else width)
142 width_map.append(EffectiveWidth.NARROW)
483 width_map[0x00AD] = EffectiveWidth.NARROW
/third_party/node/deps/v8/src/objects/
H A Djs-list-format.h70 NARROW // Use the shortest possible form.
91 STATIC_ASSERT(Style::NARROW <= StyleBits::kMax);
H A Djs-list-format.cc40 case JSListFormat::Style::NARROW: in GetIcuWidth()
114 {Style::LONG, Style::SHORT, Style::NARROW}, Style::LONG); in New()
180 case Style::NARROW: in StyleAsString()
H A Djs-relative-time-format.cc39 NARROW // Use the shortest possible form.
48 case Style::NARROW: in toIcuStyle()
61 return Style::NARROW; in fromIcuStyle()
153 {Style::LONG, Style::SHORT, Style::NARROW}, Style::LONG); in New()
244 case Style::NARROW: in StyleAsString()
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dudat.cpp660 res = syms->getMonths(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW); in udat_getSymbols()
668 res = syms->getWeekdays(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW); in udat_getSymbols()
680 res = syms->getMonths(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::NARROW); in udat_getSymbols()
696 res = syms->getWeekdays(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::NARROW); in udat_getSymbols()
724 res = syms->getYearNames(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW); in udat_getSymbols()
736 res = syms->getZodiacNames(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW); in udat_getSymbols()
798 syms->getMonths(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW); in udat_countSymbols()
806 syms->getWeekdays(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW); in udat_countSymbols()
818 syms->getMonths(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::NARROW); in udat_countSymbols()
834 syms->getWeekdays(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::NARROW); in udat_countSymbols()
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
H A DMixedUnitLongNameHandler.java88 if (width == NumberFormatter.UnitWidth.NARROW) { in forMeasureUnit()
89 listWidth = ListFormatter.Width.NARROW; in forMeasureUnit()

Completed in 41 milliseconds

123