Home
last modified time | relevance | path

Searched refs:toSkeleton (Results 1 - 22 of 22) sorted by relevance

/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
H A DNumberSkeletonTest.java314 String normalized = NumberFormatter.forSkeleton(skeleton).toSkeleton(); in defaultTokens()
350 .toSkeleton(); in wildcardCharacters()
362 String skeleton = NumberFormatter.with().roundingMode(mode).toSkeleton(); in roundingModeNames()
448 String toSkeleton = NumberFormatter.forSkeleton(skeleton).toSkeleton(); in perUnitToSkeleton()
450 // Ensure both subtype are in the toSkeleton. in perUnitToSkeleton()
452 msg = toSkeleton + " should contain '" + cas1[1] + "' when constructed from " + in perUnitToSkeleton()
454 assertTrue(msg, toSkeleton.indexOf(cas1[1]) >= 0); in perUnitToSkeleton()
455 msg = toSkeleton + " should contain '" + cas2[1] + "' when constructed from " + in perUnitToSkeleton()
457 assertTrue(msg, toSkeleton in perUnitToSkeleton()
[all...]
H A DNumberFormatterApiTest.java1321 assertEquals(msg, normalizedSkeleton, nf.toSkeleton()); in unitSkeletons()
1368 nf.toSkeleton(); in unitSkeletons()
1370 fail("toSkeleton() should have failed: " + msg); in unitSkeletons()
1374 fail("toSkeleton() should not have failed: " + msg); in unitSkeletons()
1382 NumberFormatter.with().unit(MeasureUnit.METER_PER_SECOND).toSkeleton()); in unitSkeletons()
1386 NumberFormatter.with().unit(MeasureUnit.METER).perUnit(MeasureUnit.SECOND).toSkeleton()); in unitSkeletons()
1390 NumberFormatter.with().unit(MeasureUnit.forIdentifier("hectometer")).toSkeleton()); in unitSkeletons()
1397 .toSkeleton()); in unitSkeletons()
1402 NumberFormatter.with().unit(GBP).toSkeleton()); in unitSkeletons()
1406 NumberFormatter.with().unit(GBP).perUnit(MeasureUnit.METER).toSkeleton(); in unitSkeletons()
[all...]
/third_party/icu/icu4c/source/test/intltest/
H A Dnumbertest_skeletons.cpp315 skeletonString, status).toSkeleton(status); in defaultTokens()
366 .toSkeleton(status); in wildcardCharacters()
484 UnicodeString toSkeleton = NumberFormatter::forSkeleton( in perUnitToSkeleton() local
485 skeleton, status).toSkeleton(status); in perUnitToSkeleton()
489 // Ensure both subtype are in the toSkeleton. in perUnitToSkeleton()
491 msg.append(toSkeleton) in perUnitToSkeleton()
496 assertTrue(msg, toSkeleton.indexOf(cas1.subtype) >= 0); in perUnitToSkeleton()
499 msg.append(toSkeleton) in perUnitToSkeleton()
504 assertTrue(msg, toSkeleton.indexOf(cas2.subtype) >= 0); in perUnitToSkeleton()
H A Dnumbertest_api.cpp1357 nf.toSkeleton(status)); in unitSkeletons()
1358 status.errIfFailureAndReset("NumberFormatter::toSkeleton failed"); in unitSkeletons()
1398 nf.toSkeleton(status); in unitSkeletons()
1406 NumberFormatter::with().unit(METER_PER_SECOND).toSkeleton(status)); in unitSkeletons()
1410 NumberFormatter::with().unit(METER).perUnit(SECOND).toSkeleton(status)); in unitSkeletons()
1416 .toSkeleton(status)); in unitSkeletons()
1423 .toSkeleton(status)); in unitSkeletons()
1429 NumberFormatter::with().unit(GBP).toSkeleton(status)); in unitSkeletons()
1432 NumberFormatter::with().unit(GBP).perUnit(METER).toSkeleton(status); in unitSkeletons()
3799 f.toSkeleton(statu in roundingIncrementRegressionTest()
[all...]
H A Ddcfmapts.cpp1386 lnf->toSkeleton(status); in testInvalidObject()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/
H A DNumberSkeletonTest.java301 String normalized = NumberFormatter.forSkeleton(skeleton).toSkeleton(); in defaultTokens()
338 .toSkeleton(); in wildcardCharacters()
350 String skeleton = NumberFormatter.with().roundingMode(mode).toSkeleton(); in roundingModeNames()
H A DNumberFormatterApiTest.java2954 String k1 = f1.getNumberFormatter().toSkeleton(); in hasSameBehavior()
2955 String k2 = f2.getNumberFormatter().toSkeleton(); in hasSameBehavior()
3159 String normalized = NumberFormatter.forSkeleton(skeleton).toSkeleton(); in assertFormatDescending()
3160 assertEquals(message + ": Skeleton:", normalized, f.toSkeleton()); in assertFormatDescending()
3176 assertEquals(message + ": Concise Skeleton:", normalized, l4.toSkeleton()); in assertFormatDescending()
3206 String normalized = NumberFormatter.forSkeleton(skeleton).toSkeleton(); in assertFormatSingle()
3207 assertEquals(message + ": Skeleton:", normalized, f.toSkeleton()); in assertFormatSingle()
3220 assertEquals(message + ": Concise Skeleton:", normalized, l4.toSkeleton()); in assertFormatSingle()
3247 String normalized = NumberFormatter.forSkeleton(skeleton).toSkeleton(); in assertFormatSingleMeasure()
3248 assertEquals(message + ": Skeleton:", normalized, f.toSkeleton()); in assertFormatSingleMeasure()
[all...]
/third_party/icu/icu4c/source/i18n/
H A Dnumber_asformat.cpp43 return fFormatter.toSkeleton(localStatus) == _other->fFormatter.toSkeleton(localStatus); in operator ==()
H A Dnumber_skeletons.cpp1771 // Ignore MSVC warning 4661. This is generated for NumberFormatterSettings<>::toSkeleton() as this method
1781 UnicodeString NumberFormatterSettings<Derived>::toSkeleton(UErrorCode& status) const { in toSkeleton() function in NumberFormatterSettings
/third_party/node/deps/icu-small/source/i18n/
H A Dnumber_asformat.cpp43 return fFormatter.toSkeleton(localStatus) == _other->fFormatter.toSkeleton(localStatus); in operator ==()
H A Dnumber_skeletons.cpp1771 // Ignore MSVC warning 4661. This is generated for NumberFormatterSettings<>::toSkeleton() as this method
1781 UnicodeString NumberFormatterSettings<Derived>::toSkeleton(UErrorCode& status) const { in toSkeleton() function in NumberFormatterSettings
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dnumber_asformat.cpp43 return fFormatter.toSkeleton(localStatus) == _other->fFormatter.toSkeleton(localStatus); in operator ==()
H A Dnumber_skeletons.cpp1749 // Ignore MSVC warning 4661. This is generated for NumberFormatterSettings<>::toSkeleton() as this method
1759 UnicodeString NumberFormatterSettings<Derived>::toSkeleton(UErrorCode& status) const {
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
H A DLocalizedNumberFormatterAsFormat.java118 proxy.skeleton = formatter.toSkeleton(); in writeReplace()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
H A DLocalizedNumberFormatterAsFormat.java120 proxy.skeleton = formatter.toSkeleton(); in writeReplace()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/number/
H A DNumberFormatterSettings.java526 public String toSkeleton() { in toSkeleton() method in NumberFormatterSettings
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
H A DNumberFormatterSettings.java639 public String toSkeleton() { in toSkeleton() method in NumberFormatterSettings
/third_party/node/deps/v8/src/objects/
H A Djs-plural-rules.cc267 icu::UnicodeString skeleton = icu_number_formatter->toSkeleton(status); in ResolvedOptions()
H A Djs-number-format.cc922 icu::UnicodeString skeleton = icu_number_formatter->toSkeleton(status); in ResolvedOptions()
2084 bool is_unit = Style::UNIT == StyleFromSkeleton(nfmt->toSkeleton(status)); in FormatToJSArray()
/third_party/node/deps/icu-small/source/i18n/unicode/
H A Dnumberformatter.h1604 // Ignore MSVC warning 4661. This is generated for NumberFormatterSettings<>::toSkeleton() as this method
2365 UnicodeString toSkeleton(UErrorCode& status) const;
/third_party/icu/icu4c/source/i18n/unicode/
H A Dnumberformatter.h1598 // Ignore MSVC warning 4661. This is generated for NumberFormatterSettings<>::toSkeleton() as this method
2361 UnicodeString toSkeleton(UErrorCode& status) const;
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
H A Dnumberformatter.h1561 // Ignore MSVC warning 4661. This is generated for NumberFormatterSettings<>::toSkeleton() as this method
2299 UnicodeString toSkeleton(UErrorCode& status) const;

Completed in 37 milliseconds