Home
last modified time | relevance | path

Searched refs:fmt2 (Results 1 – 25 of 42) 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/flutter/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/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.cpp916 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()
Dsimpleformattertest.cpp305 SimpleFormatter fmt2("Arguments {0} and {1}", status); in TestBadArguments() local
308 fmt2.formatAndAppend(params, 2, appendTo, NULL, 0, status); in TestBadArguments()
Dtmsgfmt.cpp1419 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()
/third_party/flutter/skia/third_party/externals/sdl/test/
Dtestautomation_surface.c338 SDL_PixelFormat *fmt1, *fmt2; in surface_testCompleteSurfaceConversion() local
361 fmt2 = SDL_AllocFormat(pixel_formats[j]); in surface_testCompleteSurfaceConversion()
363 cvt2 = SDL_ConvertSurface(cvt1, fmt2, 0); in surface_testCompleteSurfaceConversion()
367 fmt2->BytesPerPixel == face->format->BytesPerPixel && in surface_testCompleteSurfaceConversion()
369 (fmt2->Amask != 0) == (face->format->Amask != 0) ) { in surface_testCompleteSurfaceConversion()
382 SDL_FreeFormat(fmt2); in surface_testCompleteSurfaceConversion()
/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/boost/libs/algorithm/string/test/
Dregex_test.cpp115 string fmt2("_xXx_"); in replace_test() local
142 replace_regex( str1, rx1, fmt2 ); in replace_test()
/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()
4575 DecimalFormat fmt2 = null;
4577 fmt2 = (DecimalFormat) NumberFormat.getInstance(new ULocale("en_US@currency=JPY"),
4579 fmt2.setCurrencyUsage(Currency.CurrencyUsage.CASH);
[all …]
DListFormatterTest.java357 ListFormatter fmt2 = ListFormatter.getInstance(uloc, type, width); in TestCreateStyled() local
370 result = fmt2.format(Arrays.asList(inputs)); in TestCreateStyled()
/third_party/icu/icu4c/source/test/cintltst/
Dcdattst.c1674 UDateFormat* fmt2; in TestOverrideNumberFormat() local
1677fmt2 =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()

12