Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/frontends/nine/
Dadapter9.c177 backbuffer_format( D3DFORMAT dfmt, in backbuffer_format() argument
181 if (dfmt == D3DFMT_A2R10G10B10 && win) { return FALSE; } in backbuffer_format()
183 if ((dfmt == D3DFMT_A2R10G10B10 && bfmt == dfmt) || in backbuffer_format()
184 (dfmt == D3DFMT_X8R8G8B8 && (bfmt == dfmt || in backbuffer_format()
186 (dfmt == D3DFMT_X1R5G5B5 && (bfmt == dfmt || in backbuffer_format()
188 (dfmt == D3DFMT_R5G6B5 && bfmt == dfmt)) { in backbuffer_format()
203 enum pipe_format dfmt, bfmt; in NineAdapter9_CheckDeviceType() local
223 dfmt = d3d9_to_pipe_format_checked(screen, AdapterFormat, PIPE_TEXTURE_2D, in NineAdapter9_CheckDeviceType()
229 if (dfmt == PIPE_FORMAT_NONE || bfmt == PIPE_FORMAT_NONE) { in NineAdapter9_CheckDeviceType()
476 enum pipe_format dfmt, bfmt, zsfmt; in NineAdapter9_CheckDepthStencilMatch() local
[all …]
/external/mesa3d/src/amd/common/
Dac_shader_util.c108 unsigned ac_get_tbuffer_format(enum chip_class chip_class, unsigned dfmt, unsigned nfmt) in ac_get_tbuffer_format() argument
112 if (dfmt == V_008F0C_IMG_FORMAT_INVALID) in ac_get_tbuffer_format()
117 switch (dfmt) { in ac_get_tbuffer_format()
190 return dfmt | (nfmt << 4); in ac_get_tbuffer_format()
212 const struct ac_data_format_info *ac_get_data_format_info(unsigned dfmt) in ac_get_data_format_info() argument
214 assert(dfmt < ARRAY_SIZE(data_format_table)); in ac_get_data_format_info()
215 return &data_format_table[dfmt]; in ac_get_data_format_info()
Dac_shader_util.h87 unsigned ac_get_tbuffer_format(enum chip_class chip_class, unsigned dfmt, unsigned nfmt);
89 const struct ac_data_format_info *ac_get_data_format_info(unsigned dfmt);
/external/cronet/third_party/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 …]
/external/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 …]
/external/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,
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DDateFormatTest.java182 DateFormat dfmt = DateFormat.getDateInstance(DateFormat.FULL, thTHTH); in TestThaiDigit() local
185 ((java.text.SimpleDateFormat)dfmt).applyPattern(pattern); in TestThaiDigit()
189 String str1 = dfmt.format(d); in TestThaiDigit()
/external/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 …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatTest.java838 DateFormat dfmt = DateFormat.getInstanceForSkeleton("Z", locale); in TestTimeZoneInLocale() local
841 TESTS[i][1], dfmt.getTimeZone().getID()); in TestTimeZoneInLocale()
844 TESTS[i][2], dfmt.getCalendar().getType()); in TestTimeZoneInLocale()
846 dfmt = DateFormat.getInstanceForSkeleton("Z", ulocale); in TestTimeZoneInLocale()
849 TESTS[i][1], dfmt.getTimeZone().getID()); in TestTimeZoneInLocale()
852 TESTS[i][2], dfmt.getCalendar().getType()); in TestTimeZoneInLocale()
854 dfmt = DateFormat.getPatternInstance("Z", locale); in TestTimeZoneInLocale()
857 TESTS[i][1], dfmt.getTimeZone().getID()); in TestTimeZoneInLocale()
860 TESTS[i][2], dfmt.getCalendar().getType()); in TestTimeZoneInLocale()
862 dfmt = DateFormat.getPatternInstance("Z", ulocale); in TestTimeZoneInLocale()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_blitter.c312 enum a5xx_color_fmt sfmt, dfmt; in emit_blit() local
326 dfmt = fd5_pipe2color(info->dst.format); in emit_blit()
402 OUT_RING(ring, A5XX_RB_2D_DST_INFO_COLOR_FORMAT(dfmt) | in emit_blit()
415 OUT_RING(ring, A5XX_GRAS_2D_DST_INFO_COLOR_FORMAT(dfmt) | in emit_blit()
/external/mesa3d/src/amd/llvm/
Dac_llvm_build.h276 unsigned num_channels, unsigned dfmt, unsigned nfmt,
281 LLVMValueRef immoffset, unsigned num_channels, unsigned dfmt,
302 unsigned num_channels, unsigned dfmt, unsigned nfmt,
307 unsigned num_channels, unsigned dfmt, unsigned nfmt,
Dac_llvm_build.c1145 unsigned dfmt = dfmts[num_channels - 1]; in ac_build_buffer_store_dword() local
1149 ac_build_raw_tbuffer_store(ctx, rsrc, vdata, voffset, soffset, immoffset, num_channels, dfmt, in ac_build_buffer_store_dword()
1244 unsigned num_channels, unsigned dfmt, unsigned nfmt, in ac_build_tbuffer_load() argument
1257 args[idx++] = LLVMConstInt(ctx->i32, ac_get_tbuffer_format(ctx->chip_class, dfmt, nfmt), 0); in ac_build_tbuffer_load()
1275 unsigned num_channels, unsigned dfmt, unsigned nfmt, in ac_build_struct_tbuffer_load() argument
1278 return ac_build_tbuffer_load(ctx, rsrc, vindex, voffset, soffset, immoffset, num_channels, dfmt, in ac_build_struct_tbuffer_load()
1284 LLVMValueRef immoffset, unsigned num_channels, unsigned dfmt, in ac_build_raw_tbuffer_load() argument
1287 return ac_build_tbuffer_load(ctx, rsrc, NULL, voffset, soffset, immoffset, num_channels, dfmt, in ac_build_raw_tbuffer_load()
1304 unsigned dfmt = V_008F0C_BUF_DATA_FORMAT_16; in ac_build_tbuffer_load_short() local
1307 res = ac_build_raw_tbuffer_load(ctx, rsrc, voffset, soffset, immoffset, 1, dfmt, nfmt, in ac_build_tbuffer_load_short()
[all …]
/external/llvm/lib/Target/AMDGPU/
DVIInstrFormats.td67 bits<4> dfmt;
81 let Inst{22-19} = dfmt;
DSIIntrinsics.td30 llvm_i32_ty, // dfmt(imm)
/external/python/cpython3/Lib/logging/
Dconfig.py669 dfmt = config.get('datefmt', None)
681 result = c(fmt, dfmt, style, config['validate'])
683 result = c(fmt, dfmt, style)
/external/mesa3d/src/amd/compiler/
Daco_opt_value_numbering.cpp259 aM->dfmt == bM->dfmt && in operator ()()
/external/cronet/third_party/icu/source/test/intltest/
Ddtptngts.cpp1370 … LocalPointer<DateFormat> dfmt(DateFormat::createTimeInstance(DateFormat::kShort, *localePtr)); in testJjMapping() local
1376 …if ((sdfmt = dynamic_cast<const SimpleDateFormat*>(reinterpret_cast<const DateFormat*>(dfmt.getAli… in testJjMapping()
1402 const char* dfmtCalType = (dfmt->getCalendar())->getType(); in testJjMapping()
1403 const char* validLoc = dfmt->getLocaleID(ULOC_VALID_LOCALE, status); in testJjMapping()
Ddtfmttst.cpp4389 LocalPointer<DateFormat> dfmt; in TestNonGregoFmtParse() local
4392 dfmt.adoptInstead(DateFormat::createDateInstance(itemPtr->style, locale)); in TestNonGregoFmtParse()
4394 dfmt.adoptInstead(new SimpleDateFormat(itemPtr->pattern, locale, status)); in TestNonGregoFmtParse()
4398 } else if (!dfmt.isValid()) { in TestNonGregoFmtParse()
4401 LocalPointer<Calendar>cal((dfmt->getCalendar())->clone()); in TestNonGregoFmtParse()
4416 dfmt->format(*cal, result, fpos); in TestNonGregoFmtParse()
4423 dfmt->parse(result, *cal, ppos); in TestNonGregoFmtParse()
5654 LocalPointer<DateFormat> dfmt(DateFormat::createDateTimeInstance( in TestParseRegression13744() local
5656 if (dfmt.isNull()) { in TestParseRegression13744()
5662 dfmt->parse(inDate, pos); in TestParseRegression13744()
Ddtifmtts.cpp312 const DateFormat* dfmt = dtitvfmt->getDateFormat(); in testAPI() local
313 Calendar* fromCal = dfmt->getCalendar()->clone(); in testAPI()
314 Calendar* toCal = dfmt->getCalendar()->clone(); in testAPI()
/external/icu/icu4c/source/test/intltest/
Ddtptngts.cpp1370 … LocalPointer<DateFormat> dfmt(DateFormat::createTimeInstance(DateFormat::kShort, *localePtr)); in testJjMapping() local
1376 …if ((sdfmt = dynamic_cast<const SimpleDateFormat*>(reinterpret_cast<const DateFormat*>(dfmt.getAli… in testJjMapping()
1402 const char* dfmtCalType = (dfmt->getCalendar())->getType(); in testJjMapping()
1403 const char* validLoc = dfmt->getLocaleID(ULOC_VALID_LOCALE, status); in testJjMapping()
Ddtfmttst.cpp4389 LocalPointer<DateFormat> dfmt; in TestNonGregoFmtParse() local
4392 dfmt.adoptInstead(DateFormat::createDateInstance(itemPtr->style, locale)); in TestNonGregoFmtParse()
4394 dfmt.adoptInstead(new SimpleDateFormat(itemPtr->pattern, locale, status)); in TestNonGregoFmtParse()
4398 } else if (!dfmt.isValid()) { in TestNonGregoFmtParse()
4401 LocalPointer<Calendar>cal((dfmt->getCalendar())->clone()); in TestNonGregoFmtParse()
4416 dfmt->format(*cal, result, fpos); in TestNonGregoFmtParse()
4423 dfmt->parse(result, *cal, ppos); in TestNonGregoFmtParse()
5654 LocalPointer<DateFormat> dfmt(DateFormat::createDateTimeInstance( in TestParseRegression13744() local
5656 if (dfmt.isNull()) { in TestParseRegression13744()
5662 dfmt->parse(inDate, pos); in TestParseRegression13744()
Ddtifmtts.cpp312 const DateFormat* dfmt = dtitvfmt->getDateFormat(); in testAPI() local
313 Calendar* fromCal = dfmt->getCalendar()->clone(); in testAPI()
314 Calendar* toCal = dfmt->getCalendar()->clone(); in testAPI()
Dnumfmtst.cpp8612 DecimalFormat *dfmt = (DecimalFormat *) fmt.getAlias(); in Test11376_getAndSetPositivePrefix() local
8613 dfmt->setCurrency(USD); in Test11376_getAndSetPositivePrefix()
8618 dfmt->setPositivePrefix(dfmt->getPositivePrefix(result)); in Test11376_getAndSetPositivePrefix()
8621 assertEquals("", "$3.78", dfmt->format(3.78, appendTo, status)); in Test11376_getAndSetPositivePrefix()
8632 DecimalFormat *dfmt = (DecimalFormat *) fmt.getAlias(); in Test11376_getAndSetPositivePrefix() local
8634 assertEquals("", u" (unknown currency)", dfmt->getPositiveSuffix(result)); in Test11376_getAndSetPositivePrefix()
8635 dfmt->setCurrency(USD); in Test11376_getAndSetPositivePrefix()
8639 assertEquals("", " US dollars", dfmt->getPositiveSuffix(result)); in Test11376_getAndSetPositivePrefix()
8641 assertEquals("", "3.78 US dollars", dfmt->format(3.78, appendTo, status)); in Test11376_getAndSetPositivePrefix()
8642 assertEquals("", " US dollars", dfmt->getPositiveSuffix(result)); in Test11376_getAndSetPositivePrefix()
[all …]
/external/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)
/external/python/cpython2/Lib/logging/
Dconfig.py672 dfmt = config.get('datefmt', None)
673 result = logging.Formatter(fmt, dfmt)

12