Home
last modified time | relevance | path

Searched refs:formatStr (Results 1 – 11 of 11) sorted by relevance

/external/icu/icu4c/source/i18n/
Dcompactdecimalformat.cpp155 …fixSuffix(const char* variant, int32_t log10Value, const UnicodeString& formatStr, UHashtable* res…
721 UnicodeString formatStr(false, formatStrP, resLen); in populatePower10() local
726 variant, log10Value, formatStr, result->unitsByVariant, status); in populatePower10()
765 …const char* variant, int32_t log10Value, const UnicodeString& formatStr, UHashtable* result, UErro… in populatePrefixSuffix() argument
769 int32_t firstIdx = formatStr.indexOf(kZero, UPRV_LENGTHOF(kZero), 0); in populatePrefixSuffix()
775 int32_t lastIdx = formatStr.lastIndexOf(kZero, UPRV_LENGTHOF(kZero), firstIdx); in populatePrefixSuffix()
781 unit->prefix = formatStr.tempSubString(0, firstIdx); in populatePrefixSuffix()
784 unit->suffix = formatStr.tempSubString(lastIdx + 1); in populatePrefixSuffix()
795 while (idx <= lastIdx && formatStr.charAt(idx) == u_0) { in populatePrefixSuffix()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTestMessageFormat.java426 String formatStr = "At <time> on {1,date}, you made a {2} of {0,number,currency}."; in TestSetLocale() local
441 MessageFormat msg = new MessageFormat(formatStr, Locale.ENGLISH); in TestSetLocale()
456 msg.applyPattern(formatStr); in TestSetLocale()
472 msg.applyPattern(formatStr); in TestSetLocale()
492 String formatStr = "On {0,date}, it began."; in TestFormat() local
495 MessageFormat msg = new MessageFormat(formatStr); in TestFormat()
589 String formatStr = "{0,date},{1},{2,number}"; in TestAdopt() local
591 MessageFormat msg = new MessageFormat(formatStr); in TestAdopt()
592 MessageFormat msgCmp = new MessageFormat(formatStr); in TestAdopt()
656 assertEquals("msgCmp.toPattern()", formatStr, msgCmp.toPattern()); in TestAdopt()
[all …]
DNumberFormatTest.java1168 final String formatStr = "*x#,###,###,##0.0#;*x(###,###,##0.0#)"; in TestPad() local
1169 expect2(new DecimalFormat(formatStr, US), -10, "xxxxxxxxxx(10.0)"); in TestPad()
1170 expect2(new DecimalFormat(formatStr, US), -1000, "xxxxxxx(1,000.0)"); in TestPad()
1171 expect2(new DecimalFormat(formatStr, US), -1000000, "xxx(1,000,000.0)"); in TestPad()
1172 expect2(new DecimalFormat(formatStr, US), -100.37, "xxxxxxxx(100.37)"); in TestPad()
1173 expect2(new DecimalFormat(formatStr, US), -10456.37, "xxxxx(10,456.37)"); in TestPad()
1174 expect2(new DecimalFormat(formatStr, US), -1120456.37, "xx(1,120,456.37)"); in TestPad()
1175 expect2(new DecimalFormat(formatStr, US), -112045600.37, "(112,045,600.37)"); in TestPad()
1176 expect2(new DecimalFormat(formatStr, US), -1252045600.37, "(1,252,045,600.37)"); in TestPad()
1178 expect2(new DecimalFormat(formatStr, US), 10, "xxxxxxxxxxxx10.0"); in TestPad()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DQuantityFormatter.java120 String formatStr = numberFormat.format(quantity); in format() local
122 return getByVariant(variant).format(formatStr); in format()
/external/icu/icu4c/source/test/intltest/
Dtmsgfmt.cpp984 UnicodeString formatStr = "At <time> on {1,date}, you made a {2} of {0,number,currency}."; in testSetLocale() local
1000 MessageFormat msg( formatStr, err); in testSetLocale()
1029 msg.applyPattern( formatStr, err); in testSetLocale()
1069 UnicodeString formatStr = "On {0,date}, it began."; in testFormat() local
1073 MessageFormat msg( formatStr, err); in testFormat()
1191 UnicodeString formatStr("{0,date},{1},{2,number}", ""); in testAdopt() local
1194 MessageFormat msg( formatStr, err); in testAdopt()
1195 MessageFormat msgCmp( formatStr, err); in testAdopt()
1268 assertEquals("msgCmp.toPattern()", formatStr, msgCmp.toPattern(patCmp.remove())); in testAdopt()
1316 assertEquals("msgCmp.toPattern()", formatStr, msgCmp.toPattern(patCmp.remove())); in testAdopt()
[all …]
Dnumfmtst.cpp1476 const char *formatStr = "*x#,###,###,##0.0#;*x(###,###,##0.0#)"; in TestPad() local
1477 expect2(new DecimalFormat(formatStr, US, status), in TestPad()
1479 expect2(new DecimalFormat(formatStr, US, status), in TestPad()
1481 expect2(new DecimalFormat(formatStr, US, status), in TestPad()
1483 expect2(new DecimalFormat(formatStr, US, status), in TestPad()
1485 expect2(new DecimalFormat(formatStr, US, status), in TestPad()
1487 expect2(new DecimalFormat(formatStr, US, status), in TestPad()
1489 expect2(new DecimalFormat(formatStr, US, status), in TestPad()
1491 expect2(new DecimalFormat(formatStr, US, status), in TestPad()
1494 expect2(new DecimalFormat(formatStr, US, status), in TestPad()
[all …]
/external/jhead/
Djhead.h268 extern char* formatStr(int format);
Dgpsinfo.c169 …printf("GPS tag %x format %s #components %d componentsize %d bytecount %d", Tag, formatStr(Format)… in ProcessGpsInfo()
Dexif.c1258 printf("processing component %s format %s", curElement, formatStr(format)); in writeExifTagAndData()
1307 char* formatStr(int format) { in formatStr() function
/external/robolectric/lib/main/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/external/owasp/sanitizer/tools/findbugs/lib/
Dfindbugs.jarMETA-INF/ META-INF/MANIFEST.MF default.xsl edu/ edu/umd ...