/external/linux-kselftest/tools/testing/selftests/bpf/progs/ |
D | test_tunnel_kern.c | 197 char fmt2[] = "\tindex %x\n"; in _erspan_get_tunnel() local 200 bpf_trace_printk(fmt2, sizeof(fmt2), index); in _erspan_get_tunnel() 202 char fmt2[] = "\tdirection %d hwid %x timestamp %u\n"; in _erspan_get_tunnel() local 204 bpf_trace_printk(fmt2, sizeof(fmt2), in _erspan_get_tunnel() 283 char fmt2[] = "\tindex %x\n"; in _ip4ip6erspan_get_tunnel() local 286 bpf_trace_printk(fmt2, sizeof(fmt2), index); in _ip4ip6erspan_get_tunnel() 288 char fmt2[] = "\tdirection %d hwid %x timestamp %u\n"; in _ip4ip6erspan_get_tunnel() local 290 bpf_trace_printk(fmt2, sizeof(fmt2), in _ip4ip6erspan_get_tunnel()
|
/external/icu/icu4c/source/test/intltest/ |
D | incaltst.cpp | 444 …SimpleDateFormat fmt2(UnicodeString("MMMM d, yyyy G"), Locale("en_US@calendar=gregorian"), status); in TestBuddhistFormat() local 447 fmt2.format(aDate, str); in TestBuddhistFormat() 524 …SimpleDateFormat fmt2(UnicodeString("MMMM d, yyyy G"), Locale("en_US@calendar=gregorian"), status); in TestJapaneseFormat() local 527 fmt2.format(aDate, str); in TestJapaneseFormat() 553 fmt2.format(aDate, str); in TestJapaneseFormat() 638 …SimpleDateFormat fmt2(UnicodeString("HH:mm:ss.S MMMM d, yyyy G"), Locale("en_US@calendar=gregorian… in TestJapanese3860() local 660 fmt2.format(aDate, str); in TestJapanese3860() 695 fmt2.format(aDate, str); in TestJapanese3860() 903 …SimpleDateFormat fmt2(UnicodeString("MMMM d, yyyy G"), Locale("en_US@calendar=gregorian"), status); in TestPersianFormat() local 906 UDate aDate = fmt2.parse(gregorianDate, status); in TestPersianFormat() [all …]
|
D | tchcfmt.cpp | 481 ChoiceFormat fmt2(PAT, status); in TestClosures() local 498 if (fmt1 != fmt2) { in TestClosures() 505 const double *limits2 = fmt2.getLimits(count2); in TestClosures() 506 const UBool *closures2 = fmt2.getClosures(count2); in TestClosures() 544 ChoiceFormat* FMT[] = { &fmt1, &fmt2 }; in TestClosures()
|
D | reldatefmttest.cpp | 916 RelativeDateTimeFormatter fmt2(fmt); in TestEnglishCaps() local 917 fmt3 = fmt2; in TestEnglishCaps() 1026 RelativeDateTimeFormatter fmt2(fmt); in TestCustomNumberFormat() local 1027 RunTest(fmt2, kEnglishDecimal, UPRV_LENGTHOF(kEnglishDecimal), "en decimal digits"); in TestCustomNumberFormat() 1050 RelativeDateTimeFormatter fmt2(fmt); in TestGetters() local 1051 fmt3 = fmt2; in TestGetters()
|
D | simpleformattertest.cpp | 305 SimpleFormatter fmt2("Arguments {0} and {1}", status); in TestBadArguments() local 308 fmt2.formatAndAppend(params, 2, appendTo, NULL, 0, status); in TestBadArguments()
|
D | tmsgfmt.cpp | 1419 MessageFormat* fmt2 = NULL; in _testCopyConstructor2() local 1428 fmt2 = new MessageFormat( *fmt1 ); in _testCopyConstructor2() 1431 if (fmt2 == NULL) { in _testCopyConstructor2() 1437 fmt4 = fmt2->clone(); in _testCopyConstructor2() 1449 result = fmt2->format( &fargs, 1, resultStr, fp, status ); in _testCopyConstructor2() 1455 delete fmt2; in _testCopyConstructor2()
|
D | tzregts.cpp | 941 SimpleDateFormat fmt2(UnicodeString(u"z"), status); in Test4176686() local 943 fmt2.setTimeZone(z2); // Format uses DST zone in Test4176686() 972 "DateFormat.format(std)/dst zone", fmt2.format(std, k), "GMT+1:30", in Test4176686() 973 "DateFormat.format(dst)/dst zone", fmt2.format(dst, l), "GMT+2:15", in Test4176686()
|
/external/python/cpython3/Lib/test/ |
D | test_userstring.py | 50 fmt2 = ustr2('value is %s') 52 self.assertEqual(fmt2 % str3, 'value is TEST')
|
/external/scapy/scapy/ |
D | themes.py | 46 def create_styler(fmt=None, before="", after="", fmt2="%s"): argument 47 def do_style(val, fmt=fmt, before=before, after=after, fmt2=fmt2): argument 53 return fmt2 % (before+val+after) 214 return create_styler(fmt2 = colfmt)
|
/external/adhd/cras/src/tests/ |
D | rstream_unittest.cc | 59 static bool format_equal(cras_audio_format* fmt1, cras_audio_format* fmt2) { in format_equal() argument 60 return fmt1->format == fmt2->format && in format_equal() 61 fmt1->frame_rate == fmt2->frame_rate && in format_equal() 62 fmt1->num_channels == fmt2->num_channels; in format_equal()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | JapaneseTest.java | 189 …SimpleDateFormat fmt2 = new SimpleDateFormat("HH:mm:ss.S MMMM d, yyyy G", new ULocale("en_US@calen… in Test3860() local 201 String str = fmt2.format(aDate); in Test3860() 286 DateFormat fmt2= DateFormat.getDateInstance(); //DateFormat.LONG, Locale.US); in Test5345parse() local 300 str = fmt2.format(aDate); in Test5345parse()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | JapaneseTest.java | 186 …SimpleDateFormat fmt2 = new SimpleDateFormat("HH:mm:ss.S MMMM d, yyyy G", new ULocale("en_US@calen… in Test3860() local 198 String str = fmt2.format(aDate); in Test3860() 283 DateFormat fmt2= DateFormat.getDateInstance(); //DateFormat.LONG, Locale.US); in Test5345parse() local 297 str = fmt2.format(aDate); in Test5345parse()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | BigNumberFormatTest.java | 37 DecimalFormat fmt2 = new DecimalFormat("0.###E+0", US); in TestExponent() local 40 expect(fmt2, n, "1.234E+3"); in TestExponent() 43 expect(fmt2, "1.234E+3", n); in TestExponent()
|
D | NumberRegressionTests.java | 1048 DecimalFormat fmt2 = new DecimalFormat(buf.toString(), symbols); in Test4122840() local 1056 fmt2.setMaximumFractionDigits(symbols.getCurrency().getDefaultFractionDigits()); in Test4122840() 1057 fmt2.setMinimumFractionDigits(symbols.getCurrency().getDefaultFractionDigits()); in Test4122840() 1058 fmt2.setRoundingIncrement(symbols.getCurrency().getRoundingIncrement()); in Test4122840() 1060 fmt2.setMaximumFractionDigits(fmt1.getMinimumFractionDigits()); in Test4122840() 1061 fmt2.setMinimumFractionDigits(fmt1.getMaximumFractionDigits()); in Test4122840() 1062 fmt2.setRoundingIncrement(fmt1.getRoundingIncrement()); in Test4122840() 1065 String result2 = fmt2.format(1.111); in Test4122840()
|
D | ListFormatterTest.java | 357 ListFormatter fmt2 = ListFormatter.getInstance(uloc, type, width); in TestCreateStyled() local 370 result = fmt2.format(Arrays.asList(inputs)); in TestCreateStyled()
|
D | NumberFormatTest.java | 1191 DecimalFormat fmt2 = new DecimalFormat("0.###E+0", US); in TestExponent() local 1194 expect2(fmt2, n, "1.234E+3"); in TestExponent() 2047 DecimalFormat fmt2 = new DecimalFormat("", sym); in TestPerMill() local 2048 fmt2.applyLocalizedPattern("###.###m"); in TestPerMill() 2050 "485.7m", fmt2.format(0.4857)); in TestPerMill() 3806 DecimalFormat fmt2 = (DecimalFormat)fmt1.clone(); in TestFormatToCharacterIteratorThread() local 3812 Thread t2 = new Thread(new FormatCharItrTestThread(fmt2, 100, res2)); in TestFormatToCharacterIteratorThread() 4575 DecimalFormat fmt2 = null; 4577 fmt2 = (DecimalFormat) NumberFormat.getInstance(new ULocale("en_US@currency=JPY"), 4579 fmt2.setCurrencyUsage(Currency.CurrencyUsage.CASH); [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | BigNumberFormatTest.java | 40 DecimalFormat fmt2 = new DecimalFormat("0.###E+0", US); in TestExponent() local 43 expect(fmt2, n, "1.234E+3"); in TestExponent() 46 expect(fmt2, "1.234E+3", n); in TestExponent()
|
D | NumberRegressionTests.java | 1051 DecimalFormat fmt2 = new DecimalFormat(buf.toString(), symbols); in Test4122840() local 1059 fmt2.setMaximumFractionDigits(symbols.getCurrency().getDefaultFractionDigits()); in Test4122840() 1060 fmt2.setMinimumFractionDigits(symbols.getCurrency().getDefaultFractionDigits()); in Test4122840() 1061 fmt2.setRoundingIncrement(symbols.getCurrency().getRoundingIncrement()); in Test4122840() 1063 fmt2.setMaximumFractionDigits(fmt1.getMinimumFractionDigits()); in Test4122840() 1064 fmt2.setMinimumFractionDigits(fmt1.getMaximumFractionDigits()); in Test4122840() 1065 fmt2.setRoundingIncrement(fmt1.getRoundingIncrement()); in Test4122840() 1068 String result2 = fmt2.format(1.111); in Test4122840()
|
D | ListFormatterTest.java | 360 ListFormatter fmt2 = ListFormatter.getInstance(uloc, type, width); in TestCreateStyled() local 373 result = fmt2.format(Arrays.asList(inputs)); in TestCreateStyled()
|
D | NumberFormatTest.java | 1194 DecimalFormat fmt2 = new DecimalFormat("0.###E+0", US); in TestExponent() local 1197 expect2(fmt2, n, "1.234E+3"); in TestExponent() 2050 DecimalFormat fmt2 = new DecimalFormat("", sym); in TestPerMill() local 2051 fmt2.applyLocalizedPattern("###.###m"); in TestPerMill() 2053 "485.7m", fmt2.format(0.4857)); in TestPerMill() 3809 DecimalFormat fmt2 = (DecimalFormat)fmt1.clone(); in TestFormatToCharacterIteratorThread() local 3815 Thread t2 = new Thread(new FormatCharItrTestThread(fmt2, 100, res2)); in TestFormatToCharacterIteratorThread() 4578 DecimalFormat fmt2 = null; 4580 fmt2 = (DecimalFormat) NumberFormat.getInstance(new ULocale("en_US@currency=JPY"), 4582 fmt2.setCurrencyUsage(Currency.CurrencyUsage.CASH); [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | cdattst.c | 1674 UDateFormat* fmt2; in TestOverrideNumberFormat() local 1677 …fmt2 =udat_open(UDAT_PATTERN, UDAT_PATTERN,"en_US", zoneGMT, -1, pattern, u_strlen(pattern), &stat… in TestOverrideNumberFormat() 1691 udat_adoptNumberFormat(fmt2, overrideFmt2); in TestOverrideNumberFormat() 1700 udat_adoptNumberFormatForFields(fmt2, fields, singleOverrideFmt, &status); in TestOverrideNumberFormat() 1703 udat_adoptNumberFormat(fmt2, overrideFmt2); in TestOverrideNumberFormat() 1705 udat_adoptNumberFormatForFields(fmt2, fields, overrideFmt2, &status); in TestOverrideNumberFormat() 1707 udat_close(fmt2); in TestOverrideNumberFormat() 1712 udat_adoptNumberFormatForFields(fmt2, fields, overrideFmt2, &status); in TestOverrideNumberFormat() 1716 udat_format(fmt2, july022008, ubuf, kUbufMax, NULL, &status); in TestOverrideNumberFormat() 1723 udat_close(fmt2); in TestOverrideNumberFormat()
|
/external/harfbuzz_ng/src/ |
D | hb-ot-cff1-table.hh | 507 …Charset2 *fmt2 = c->allocate_size<Charset2> (Charset2::min_size + Charset2_Range::static_size * si… in serialize() local 508 if (unlikely (fmt2 == nullptr)) return_trace (false); in serialize() 513 fmt2->ranges[i].first = sid_ranges[i].code; in serialize() 514 fmt2->ranges[i].nLeft = sid_ranges[i].glyph; in serialize()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneRegressionTest.java | 864 DateFormat fmt2 = new SimpleDateFormat("z"); in Test4176686() local 865 fmt2.setTimeZone(z2); // Format uses DST zone in Test4176686() 893 "DateFormat.format(std)/dst zone", fmt2.format(std), "GMT+1:30", in Test4176686() 894 "DateFormat.format(dst)/dst zone", fmt2.format(dst), "GMT+2:15", in Test4176686()
|
/external/python/cpython3/Modules/_decimal/tests/ |
D | deccheck.py | 1038 fmt2 = rand_locale() 1039 for fmt in (fmt1, fmt2): 1051 fmt2 = rand_locale() 1052 for fmt in (fmt1, fmt2):
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
D | TimeZoneRegressionTest.java | 867 DateFormat fmt2 = new SimpleDateFormat("z"); in Test4176686() local 868 fmt2.setTimeZone(z2); // Format uses DST zone in Test4176686() 896 "DateFormat.format(std)/dst zone", fmt2.format(std), "GMT+1:30", in Test4176686() 897 "DateFormat.format(dst)/dst zone", fmt2.format(dst), "GMT+2:15", in Test4176686()
|