Home
last modified time | relevance | path

Searched refs:dfmt (Results 1 – 25 of 38) sorted by relevance

12

/third_party/mesa3d/src/gallium/frontends/nine/
Dadapter9.c176 backbuffer_format( D3DFORMAT dfmt, in backbuffer_format() argument
180 if (dfmt == D3DFMT_A2R10G10B10 && win) { return FALSE; } in backbuffer_format()
182 if ((dfmt == D3DFMT_A2R10G10B10 && bfmt == dfmt) || in backbuffer_format()
183 (dfmt == D3DFMT_X8R8G8B8 && (bfmt == dfmt || in backbuffer_format()
185 (dfmt == D3DFMT_X1R5G5B5 && (bfmt == dfmt || in backbuffer_format()
187 (dfmt == D3DFMT_R5G6B5 && bfmt == dfmt)) { in backbuffer_format()
202 enum pipe_format dfmt, bfmt; in NineAdapter9_CheckDeviceType() local
222 dfmt = d3d9_to_pipe_format_checked(screen, AdapterFormat, PIPE_TEXTURE_2D, in NineAdapter9_CheckDeviceType()
228 if (dfmt == PIPE_FORMAT_NONE || bfmt == PIPE_FORMAT_NONE) { in NineAdapter9_CheckDeviceType()
484 enum pipe_format dfmt, bfmt, zsfmt; in NineAdapter9_CheckDepthStencilMatch() local
[all …]
/third_party/skia/third_party/externals/icu/source/samples/cal/
Dcal.c432 UDateFormat *dfmt; in print_month() local
443 dfmt = udat_open(UDAT_PATTERN,UDAT_PATTERN,NULL,NULL,0,pat, len,status); in print_month()
446 udat_format(dfmt, ucal_getMillis(c, status), s, BUF_SIZE, 0, status); in print_month()
450 get_days(dfmt, days, useLongNames, fdow, status); in print_month()
534 udat_close(dfmt); in print_month()
549 UDateFormat *dfmt; in print_year() local
566 dfmt = udat_open(UDAT_PATTERN,UDAT_PATTERN,NULL,NULL,0,pat, len, status); in print_year()
569 udat_format(dfmt, ucal_getMillis(left_cal, status), s, BUF_SIZE, 0, status); in print_year()
572 get_days(dfmt, days, useLongNames, fdow, status); in print_year()
573 get_months(dfmt, months, useLongNames, status); in print_year()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/samples/cal/
Dcal.c432 UDateFormat *dfmt; in print_month() local
443 dfmt = udat_open(UDAT_PATTERN,UDAT_PATTERN,NULL,NULL,0,pat, len,status); in print_month()
446 udat_format(dfmt, ucal_getMillis(c, status), s, BUF_SIZE, 0, status); in print_month()
450 get_days(dfmt, days, useLongNames, fdow, status); in print_month()
534 udat_close(dfmt); in print_month()
549 UDateFormat *dfmt; in print_year() local
566 dfmt = udat_open(UDAT_PATTERN,UDAT_PATTERN,NULL,NULL,0,pat, len, status); in print_year()
569 udat_format(dfmt, ucal_getMillis(left_cal, status), s, BUF_SIZE, 0, status); in print_year()
572 get_days(dfmt, days, useLongNames, fdow, status); in print_year()
573 get_months(dfmt, months, useLongNames, status); in print_year()
[all …]
/third_party/icu/icu4c/source/samples/cal/
Dcal.c432 UDateFormat *dfmt; in print_month() local
443 dfmt = udat_open(UDAT_PATTERN,UDAT_PATTERN,NULL,NULL,0,pat, len,status); in print_month()
446 udat_format(dfmt, ucal_getMillis(c, status), s, BUF_SIZE, 0, status); in print_month()
450 get_days(dfmt, days, useLongNames, fdow, status); in print_month()
534 udat_close(dfmt); in print_month()
549 UDateFormat *dfmt; in print_year() local
566 dfmt = udat_open(UDAT_PATTERN,UDAT_PATTERN,NULL,NULL,0,pat, len, status); in print_year()
569 udat_format(dfmt, ucal_getMillis(left_cal, status), s, BUF_SIZE, 0, status); in print_year()
572 get_days(dfmt, days, useLongNames, fdow, status); in print_year()
573 get_months(dfmt, months, useLongNames, status); in print_year()
[all …]
/third_party/mesa3d/src/amd/common/
Dac_shader_util.c116 unsigned ac_get_tbuffer_format(enum amd_gfx_level gfx_level, unsigned dfmt, unsigned nfmt) in ac_get_tbuffer_format() argument
120 if (dfmt == V_008F0C_GFX10_FORMAT_INVALID) in ac_get_tbuffer_format()
124 switch (dfmt) { in ac_get_tbuffer_format()
320 switch (dfmt) { in ac_get_tbuffer_format()
396 return dfmt | (nfmt << 4); in ac_get_tbuffer_format()
418 const struct ac_data_format_info *ac_get_data_format_info(unsigned dfmt) in ac_get_data_format_info() argument
420 assert(dfmt < ARRAY_SIZE(data_format_table)); in ac_get_data_format_info()
421 return &data_format_table[dfmt]; in ac_get_data_format_info()
Dac_shader_util.h100 unsigned ac_get_tbuffer_format(enum amd_gfx_level gfx_level, unsigned dfmt, unsigned nfmt);
102 const struct ac_data_format_info *ac_get_data_format_info(unsigned dfmt);
/third_party/flutter/skia/third_party/externals/sdl/src/video/
DSDL_RLEaccel.c896 SDL_PixelFormat * sfmt, SDL_PixelFormat * dfmt) in copy_opaque_16() argument
903 PIXEL_FROM_RGB(*d, dfmt, r, g, b); in copy_opaque_16()
913 RLEDestFormat * sfmt, SDL_PixelFormat * dfmt) in uncopy_opaque_16() argument
917 unsigned alpha = dfmt->Amask ? 255 : 0; in uncopy_opaque_16()
921 PIXEL_FROM_RGBA(*dst, dfmt, r, g, b, alpha); in uncopy_opaque_16()
933 SDL_PixelFormat * sfmt, SDL_PixelFormat * dfmt) in copy_transl_565() argument
941 PIXEL_FROM_RGB(pix, dfmt, r, g, b); in copy_transl_565()
952 SDL_PixelFormat * sfmt, SDL_PixelFormat * dfmt) in copy_transl_555() argument
960 PIXEL_FROM_RGB(pix, dfmt, r, g, b); in copy_transl_555()
971 RLEDestFormat * sfmt, SDL_PixelFormat * dfmt) in uncopy_transl_16() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUSearchableTables.td33 class GcnBufferFormatBase<bits<8> f, bits<8> bpc, bits<8> numc, bits<8> nfmt, bits<8> dfmt> {
38 bits<8> DataFormat = dfmt;
41 … bits<8> bpc, bits<8> numc, bits<8> nfmt, bits<8> dfmt> : GcnBufferFormatBase<f, bpc, numc, nfmt,
42 … bits<8> bpc, bits<8> numc, bits<8> nfmt, bits<8> dfmt> : GcnBufferFormatBase<f, bpc, numc, nfmt,
/third_party/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DDateFormatTest.java190 DateFormat dfmt = DateFormat.getDateInstance(DateFormat.FULL, thTHTH); in TestThaiDigit() local
193 ((java.text.SimpleDateFormat)dfmt).applyPattern(pattern); in TestThaiDigit()
197 String str1 = dfmt.format(d); in TestThaiDigit()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatTest.java835 DateFormat dfmt = DateFormat.getInstanceForSkeleton("Z", locale); in TestTimeZoneInLocale() local
838 TESTS[i][1], dfmt.getTimeZone().getID()); in TestTimeZoneInLocale()
841 TESTS[i][2], dfmt.getCalendar().getType()); in TestTimeZoneInLocale()
843 dfmt = DateFormat.getInstanceForSkeleton("Z", ulocale); in TestTimeZoneInLocale()
846 TESTS[i][1], dfmt.getTimeZone().getID()); in TestTimeZoneInLocale()
849 TESTS[i][2], dfmt.getCalendar().getType()); in TestTimeZoneInLocale()
851 dfmt = DateFormat.getPatternInstance("Z", locale); in TestTimeZoneInLocale()
854 TESTS[i][1], dfmt.getTimeZone().getID()); in TestTimeZoneInLocale()
857 TESTS[i][2], dfmt.getCalendar().getType()); in TestTimeZoneInLocale()
859 dfmt = DateFormat.getPatternInstance("Z", ulocale); in TestTimeZoneInLocale()
[all …]
DDateTimeGeneratorTest.java1713 DateFormat dfmt = DateFormat.getTimeInstance(DateFormat.SHORT, locale); in testJjMapping() local
1714 String shortPattern = ((SimpleDateFormat)dfmt).toPattern(); in testJjMapping()
1722 String dfmtCalType = dfmt.getCalendar().getType(); in testJjMapping()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_blitter.c311 enum a5xx_color_fmt sfmt, dfmt; in emit_blit() local
322 dfmt = fd5_pipe2color(info->dst.format); in emit_blit()
391 OUT_RING(ring, A5XX_RB_2D_DST_INFO_COLOR_FORMAT(dfmt) | in emit_blit()
404 OUT_RING(ring, A5XX_GRAS_2D_DST_INFO_COLOR_FORMAT(dfmt) | in emit_blit()
/third_party/icu/docs/userguide/format_parse/datetime/
Dexamples.md172 UDateFormat* dfmt = udat_open(UCAL_DEFAULT, UCAL_DEFAULT, NULL, "PST",
174 myStrlen = udat_format(dfmt, myDate, NULL, myStrlen, &pos, &status);
178 udat_format(dfmt, myDate, myString, myStrlen+1, &pos, &status);
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DDateFormatTest.java4254 …DateFormat dfmt = (item.style >= 0)? DateFormat.getDateInstance(item.style, locale): new SimpleDat… in TestMonthPatterns() local
4263 dfmt.format(rootChineseCalendar, result, fpos); in TestMonthPatterns()
4276 dfmt.parse(result.toString(), rootChineseCalendar, ppos); in TestMonthPatterns()
4372 DateFormat dfmt = null; in TestNonGregoFmtParse() local
4374 dfmt = DateFormat.getDateInstance(item.style, locale); in TestNonGregoFmtParse()
4376 dfmt = new SimpleDateFormat(item.pattern, locale); in TestNonGregoFmtParse()
4378 Calendar cal = dfmt.getCalendar(); in TestNonGregoFmtParse()
4386 dfmt.format(cal, result, fpos); in TestNonGregoFmtParse()
4393 dfmt.parse(result.toString(), cal, ppos); in TestNonGregoFmtParse()
4562 DateFormat dfmt = DateFormat.getDateInstance(DateFormat.RELATIVE_LONG, locale); in TestContext() local
[all …]
/third_party/icu/icu4c/source/test/intltest/
Ddtptngts.cpp1367 … LocalPointer<DateFormat> dfmt(DateFormat::createTimeInstance(DateFormat::kShort, *localePtr)); in testJjMapping() local
1373 …if ((sdfmt = dynamic_cast<const SimpleDateFormat*>(reinterpret_cast<const DateFormat*>(dfmt.getAli… in testJjMapping()
1399 const char* dfmtCalType = (dfmt->getCalendar())->getType(); in testJjMapping()
1400 const char* validLoc = dfmt->getLocaleID(ULOC_VALID_LOCALE, status); in testJjMapping()
Ddtfmttst.cpp4375 LocalPointer<DateFormat> dfmt; in TestNonGregoFmtParse() local
4378 dfmt.adoptInstead(DateFormat::createDateInstance(itemPtr->style, locale)); in TestNonGregoFmtParse()
4380 dfmt.adoptInstead(new SimpleDateFormat(itemPtr->pattern, locale, status)); in TestNonGregoFmtParse()
4384 } else if (!dfmt.isValid()) { in TestNonGregoFmtParse()
4387 LocalPointer<Calendar>cal((dfmt->getCalendar())->clone()); in TestNonGregoFmtParse()
4402 dfmt->format(*cal, result, fpos); in TestNonGregoFmtParse()
4409 dfmt->parse(result, *cal, ppos); in TestNonGregoFmtParse()
5640 LocalPointer<DateFormat> dfmt(DateFormat::createDateTimeInstance( in TestParseRegression13744() local
5642 if (dfmt.isNull()) { in TestParseRegression13744()
5648 dfmt->parse(inDate, pos); in TestParseRegression13744()
Ddtifmtts.cpp311 const DateFormat* dfmt = dtitvfmt->getDateFormat(); in testAPI() local
312 Calendar* fromCal = dfmt->getCalendar()->clone(); in testAPI()
313 Calendar* toCal = dfmt->getCalendar()->clone(); in testAPI()
Dnumfmtst.cpp8607 DecimalFormat *dfmt = (DecimalFormat *) fmt.getAlias(); in Test11376_getAndSetPositivePrefix() local
8608 dfmt->setCurrency(USD); in Test11376_getAndSetPositivePrefix()
8613 dfmt->setPositivePrefix(dfmt->getPositivePrefix(result)); in Test11376_getAndSetPositivePrefix()
8616 assertEquals("", "$3.78", dfmt->format(3.78, appendTo, status)); in Test11376_getAndSetPositivePrefix()
8627 DecimalFormat *dfmt = (DecimalFormat *) fmt.getAlias(); in Test11376_getAndSetPositivePrefix() local
8629 assertEquals("", u" (unknown currency)", dfmt->getPositiveSuffix(result)); in Test11376_getAndSetPositivePrefix()
8630 dfmt->setCurrency(USD); in Test11376_getAndSetPositivePrefix()
8634 assertEquals("", " US dollars", dfmt->getPositiveSuffix(result)); in Test11376_getAndSetPositivePrefix()
8636 assertEquals("", "3.78 US dollars", dfmt->format(3.78, appendTo, status)); in Test11376_getAndSetPositivePrefix()
8637 assertEquals("", " US dollars", dfmt->getPositiveSuffix(result)); in Test11376_getAndSetPositivePrefix()
[all …]
/third_party/python/Lib/logging/
Dconfig.py669 dfmt = config.get('datefmt', None)
681 result = c(fmt, dfmt, style, config['validate'])
683 result = c(fmt, dfmt, style)
/third_party/mesa3d/src/amd/compiler/
Daco_opt_value_numbering.cpp255 return aM.sync == bM.sync && aM.dfmt == bM.dfmt && aM.nfmt == bM.nfmt && in operator ()()
Daco_instruction_selection_setup.cpp419 unsigned dfmt = attrib_format & 0xf; in init_context() local
427 switch (dfmt) { in init_context()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DIntrinsicsAMDGPU.td1031 llvm_i32_ty, // dfmt(imm)
1047 llvm_i32_ty, // dfmt(imm)
1064 llvm_i32_ty, // format(imm; bits 3..0 = dfmt, bits 6..4 = nfmt)
1078 llvm_i32_ty, // format(imm; bits 3..0 = dfmt, bits 6..4 = nfmt)
1092 llvm_i32_ty, // format(imm; bits 3..0 = dfmt, bits 6..4 = nfmt)
1107 llvm_i32_ty, // format(imm; bits 3..0 = dfmt, bits 6..4 = nfmt)
/third_party/python/Lib/test/
Dtest_buffer.py2583 for dfmt in NON_BYTE_FORMAT:
2584 dformat = '@' + dfmt if randrange(2) else dfmt
2588 self.assertRaises(TypeError, msrc.cast, dfmt, [32//dsize])
2593 for dfmt, _, _ in iter_format(1):
2594 if not is_memoryview_format(dfmt):
2595 self.assertRaises(ValueError, msrc.cast, dfmt,
2598 if not is_byte_format(sfmt) and not is_byte_format(dfmt):
2599 self.assertRaises(TypeError, msrc.cast, dfmt,
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_surface.c158 const enum pipe_format dfmt = dst->base.base.format; in nv50_2d_texture_do_copy() local
161 bool eqfmt = dfmt == sfmt; in nv50_2d_texture_do_copy()
166 ret = nv50_2d_texture_set(push, 1, dst, dst_level, dz, dfmt, eqfmt); in nv50_2d_texture_do_copy()
/third_party/python/Objects/
Dmemoryobject.c277 const char *dfmt, *sfmt; in equiv_format() local
280 dfmt = dest->format[0] == '@' ? dest->format+1 : dest->format; in equiv_format()
283 if (strcmp(dfmt, sfmt) != 0 || in equiv_format()

12