Home
last modified time | relevance | path

Searched refs:fmt2 (Results 1 – 25 of 37) sorted by relevance

12

/third_party/gstreamer/gst_libav/ext/libav/
Dgstav.c105 gchar *fmt2 = NULL; in gst_ffmpeg_log_callback() local
127 fmt2 = g_strdup (fmt); in gst_ffmpeg_log_callback()
128 fmt2[len - 1] = '\0'; in gst_ffmpeg_log_callback()
132 fmt2 ? fmt2 : fmt, vl); in gst_ffmpeg_log_callback()
134 g_free (fmt2); in gst_ffmpeg_log_callback()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/
DSingleSubst.java10 private final InnerArrayFmt2 fmt2; field in SingleSubst
20 fmt2 = null; in SingleSubst()
24 fmt2 = new InnerArrayFmt2(data, headerSize(), dataIsCanonical); in SingleSubst()
39 return fmt2.coverage; in coverage()
54 return fmt2; in fmt2Table()
79 fmt2Builder = new InnerArrayFmt2.Builder(ligSubst.fmt2); in Builder()
/third_party/gstreamer/gstplugins_bad/sys/va/
Dgstvavideoformat.c197 va_format_is_same_rgb (const VAImageFormat * fmt1, const VAImageFormat * fmt2) in va_format_is_same_rgb() argument
199 return (fmt1->red_mask == fmt2->red_mask in va_format_is_same_rgb()
200 && fmt1->green_mask == fmt2->green_mask in va_format_is_same_rgb()
201 && fmt1->blue_mask == fmt2->blue_mask in va_format_is_same_rgb()
202 && fmt1->alpha_mask == fmt2->alpha_mask); in va_format_is_same_rgb()
206 va_format_is_same (const VAImageFormat * fmt1, const VAImageFormat * fmt2) in va_format_is_same() argument
208 if (fmt1->fourcc != fmt2->fourcc) in va_format_is_same()
211 && fmt2->byte_order != VA_NSB_FIRST in va_format_is_same()
212 && fmt1->byte_order != fmt2->byte_order) in va_format_is_same()
214 return va_format_is_rgb (fmt1) ? va_format_is_same_rgb (fmt1, fmt2) : TRUE; in va_format_is_same()
/third_party/icu/icu4c/source/test/intltest/
Dincaltst.cpp444 …SimpleDateFormat fmt2(UnicodeString("MMMM d, yyyy G"), Locale("en_US@calendar=gregorian"), status); in TestBuddhistFormat() local
447 fmt2.format(aDate, str); in TestBuddhistFormat()
522 …SimpleDateFormat fmt2(UnicodeString("MMMM d, yyyy G"), Locale("en_US@calendar=gregorian"), status); in TestJapaneseFormat() local
525 fmt2.format(aDate, str); in TestJapaneseFormat()
551 fmt2.format(aDate, str); in TestJapaneseFormat()
636 …SimpleDateFormat fmt2(UnicodeString("HH:mm:ss.S MMMM d, yyyy G"), Locale("en_US@calendar=gregorian… in TestJapanese3860() local
658 fmt2.format(aDate, str); in TestJapanese3860()
693 fmt2.format(aDate, str); in TestJapanese3860()
901 …SimpleDateFormat fmt2(UnicodeString("MMMM d, yyyy G"), Locale("en_US@calendar=gregorian"), status); in TestPersianFormat() local
904 UDate aDate = fmt2.parse(gregorianDate, status); in TestPersianFormat()
[all …]
Dtchcfmt.cpp481 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()
Dreldatefmttest.cpp975 RelativeDateTimeFormatter fmt2(fmt); in TestEnglishCaps() local
976 fmt3 = fmt2; in TestEnglishCaps()
1085 RelativeDateTimeFormatter fmt2(fmt); in TestCustomNumberFormat() local
1086 RunTest(fmt2, kEnglishDecimal, UPRV_LENGTHOF(kEnglishDecimal), "en decimal digits"); in TestCustomNumberFormat()
1109 RelativeDateTimeFormatter fmt2(fmt); in TestGetters() local
1110 fmt3 = fmt2; in TestGetters()
Dtmsgfmt.cpp1421 MessageFormat* fmt2 = NULL; in _testCopyConstructor2() local
1430 fmt2 = new MessageFormat( *fmt1 ); in _testCopyConstructor2()
1433 if (fmt2 == NULL) { in _testCopyConstructor2()
1439 fmt4 = fmt2->clone(); in _testCopyConstructor2()
1451 result = fmt2->format( &fargs, 1, resultStr, fp, status ); in _testCopyConstructor2()
1457 delete fmt2; in _testCopyConstructor2()
Dsimpleformattertest.cpp305 SimpleFormatter fmt2("Arguments {0} and {1}", status); in TestBadArguments() local
308 fmt2.formatAndAppend(params, 2, appendTo, NULL, 0, status); in TestBadArguments()
Dtzregts.cpp968 SimpleDateFormat fmt2(UnicodeString(u"z"), status); in Test4176686() local
970 fmt2.setTimeZone(z2); // Format uses DST zone in Test4176686()
999 "DateFormat.format(std)/dst zone", fmt2.format(std, k), "GMT+1:30", in Test4176686()
1000 "DateFormat.format(dst)/dst zone", fmt2.format(dst, l), "GMT+2:15", in Test4176686()
/third_party/python/Lib/test/
Dtest_userstring.py50 fmt2 = ustr2('value is %s')
52 self.assertEqual(fmt2 % str3, 'value is TEST')
/third_party/ffmpeg/libavcodec/
Dv4l2_context.c84 static inline unsigned int v4l2_resolution_changed(V4L2Context *ctx, struct v4l2_format *fmt2) in v4l2_resolution_changed() argument
88 fmt1->fmt.pix_mp.width != fmt2->fmt.pix_mp.width || in v4l2_resolution_changed()
89 fmt1->fmt.pix_mp.height != fmt2->fmt.pix_mp.height in v4l2_resolution_changed()
91 fmt1->fmt.pix.width != fmt2->fmt.pix.width || in v4l2_resolution_changed()
92 fmt1->fmt.pix.height != fmt2->fmt.pix.height; in v4l2_resolution_changed()
98 v4l2_get_width(fmt2), v4l2_get_height(fmt2)); in v4l2_resolution_changed()
/third_party/ffmpeg/libavformat/
Dformat.c92 ff_const59 AVOutputFormat *fmt2 = av_guess_format(NULL, filename, NULL); in av_guess_codec() local
93 if (fmt2) in av_guess_codec()
94 fmt = fmt2; in av_guess_codec()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DJapaneseTest.java186 …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()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/
DJapaneseTest.java189 …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()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DBigNumberFormatTest.java40 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()
DNumberRegressionTests.java1051 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()
DListFormatterTest.java282 ListFormatter fmt2 = ListFormatter.getInstance(uloc, type, width); in TestCreateStyled() local
295 result = fmt2.format(Arrays.asList(inputs)); in TestCreateStyled()
DNumberFormatTest.java1194 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 …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DBigNumberFormatTest.java37 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()
DNumberRegressionTests.java1048 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()
DNumberFormatTest.java1191 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()
4578 DecimalFormat fmt2 = null;
4580 fmt2 = (DecimalFormat) NumberFormat.getInstance(new ULocale("en_US@currency=JPY"),
4582 fmt2.setCurrencyUsage(Currency.CurrencyUsage.CASH);
[all …]
DListFormatterTest.java358 ListFormatter fmt2 = ListFormatter.getInstance(uloc, type, width); in TestCreateStyled() local
371 result = fmt2.format(Arrays.asList(inputs)); in TestCreateStyled()
/third_party/icu/icu4c/source/test/cintltst/
Dcdattst.c1692 UDateFormat* fmt2; in TestOverrideNumberFormat() local
1695fmt2 =udat_open(UDAT_PATTERN, UDAT_PATTERN,"en_US", zoneGMT, -1, pattern, u_strlen(pattern), &stat… in TestOverrideNumberFormat()
1709 udat_adoptNumberFormat(fmt2, overrideFmt2); in TestOverrideNumberFormat()
1718 udat_adoptNumberFormatForFields(fmt2, fields, singleOverrideFmt, &status); in TestOverrideNumberFormat()
1721 udat_adoptNumberFormat(fmt2, overrideFmt2); in TestOverrideNumberFormat()
1723 udat_adoptNumberFormatForFields(fmt2, fields, overrideFmt2, &status); in TestOverrideNumberFormat()
1725 udat_close(fmt2); in TestOverrideNumberFormat()
1730 udat_adoptNumberFormatForFields(fmt2, fields, overrideFmt2, &status); in TestOverrideNumberFormat()
1734 udat_format(fmt2, july022008, ubuf, kUbufMax, NULL, &status); in TestOverrideNumberFormat()
1741 udat_close(fmt2); in TestOverrideNumberFormat()
/third_party/python/Modules/_decimal/tests/
Ddeccheck.py1042 fmt2 = rand_locale()
1043 for fmt in (fmt1, fmt2):
1055 fmt2 = rand_locale()
1056 for fmt in (fmt1, fmt2):
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/timezone/
DTimeZoneRegressionTest.java867 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()

12