Home
last modified time | relevance | path

Searched refs:targetIdentifier (Results 1 – 9 of 9) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/impl/
DUnitsTest.java415 final String targetIdentifier;
419 … TestData(String sourceIdentifier, String targetIdentifier, double input, double expected) {
421 this.targetIdentifier = targetIdentifier;
499 MeasureUnitImpl target = MeasureUnitImpl.forIdentifier(test.targetIdentifier);
511 assertEquals("testConverter: " + test.sourceIdentifier + " to " + test.targetIdentifier,
515 … "testConverter inverse: " + test.targetIdentifier + " back to " + test.sourceIdentifier,
520 … UnitsConverter converter2 = new UnitsConverter(test.sourceIdentifier, test.targetIdentifier);
521 … assertEquals("testConverter2: " + test.sourceIdentifier + " to " + test.targetIdentifier,
524 …assertEquals("testConverter2 inverse: " + test.targetIdentifier + " back to " + test.sourceIdentif…
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/impl/
DUnitsTest.java412 final String targetIdentifier;
416 … TestData(String sourceIdentifier, String targetIdentifier, double input, double expected) {
418 this.targetIdentifier = targetIdentifier;
496 MeasureUnitImpl target = MeasureUnitImpl.forIdentifier(test.targetIdentifier);
508 assertEquals("testConverter: " + test.sourceIdentifier + " to " + test.targetIdentifier,
512 … "testConverter inverse: " + test.targetIdentifier + " back to " + test.sourceIdentifier,
517 … UnitsConverter converter2 = new UnitsConverter(test.sourceIdentifier, test.targetIdentifier);
518 … assertEquals("testConverter2: " + test.sourceIdentifier + " to " + test.targetIdentifier,
521 …assertEquals("testConverter2 inverse: " + test.targetIdentifier + " back to " + test.sourceIdentif…
/external/icu/icu4c/source/i18n/
Dunits_converter.h166 UnitsConverter(StringPiece sourceIdentifier, StringPiece targetIdentifier, UErrorCode &status);
Dunits_converter.cpp505 UnitsConverter::UnitsConverter(StringPiece sourceIdentifier, StringPiece targetIdentifier, in UnitsConverter() argument
508 MeasureUnitImpl::forIdentifier(targetIdentifier, status)) { in UnitsConverter()
/external/icu/libicu/cts_headers/
Dunits_converter.h166 UnitsConverter(StringPiece sourceIdentifier, StringPiece targetIdentifier, UErrorCode &status);
/external/cronet/third_party/icu/source/i18n/
Dunits_converter.h166 UnitsConverter(StringPiece sourceIdentifier, StringPiece targetIdentifier, UErrorCode &status);
Dunits_converter.cpp505 UnitsConverter::UnitsConverter(StringPiece sourceIdentifier, StringPiece targetIdentifier, in UnitsConverter() argument
508 MeasureUnitImpl::forIdentifier(targetIdentifier, status)) { in UnitsConverter()
/external/icu/android_icu4j/src/main/java/android/icu/impl/units/
DUnitsConverter.java36 public UnitsConverter(String sourceIdentifier, String targetIdentifier) { in UnitsConverter() argument
39 MeasureUnitImpl.forIdentifier(targetIdentifier), in UnitsConverter()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/
DUnitsConverter.java32 public UnitsConverter(String sourceIdentifier, String targetIdentifier) { in UnitsConverter() argument
35 MeasureUnitImpl.forIdentifier(targetIdentifier), in UnitsConverter()