Home
last modified time | relevance | path

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

/external/icu/icu4c/source/samples/cal/
Dcal.c428 UDateFormat *dfmt; in print_month() local
439 dfmt = udat_open(UDAT_PATTERN,UDAT_PATTERN,NULL,NULL,0,pat, len,status); in print_month()
442 udat_format(dfmt, ucal_getMillis(c, status), s, BUF_SIZE, 0, status); in print_month()
446 get_days(dfmt, days, useLongNames, fdow, status); in print_month()
530 udat_close(dfmt); in print_month()
545 UDateFormat *dfmt; in print_year() local
562 dfmt = udat_open(UDAT_PATTERN,UDAT_PATTERN,NULL,NULL,0,pat, len, status); in print_year()
565 udat_format(dfmt, ucal_getMillis(left_cal, status), s, BUF_SIZE, 0, status); in print_year()
568 get_days(dfmt, days, useLongNames, fdow, status); in print_year()
569 get_months(dfmt, months, useLongNames, status); in print_year()
[all …]
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DDateFormatTest.java185 DateFormat dfmt = DateFormat.getDateInstance(DateFormat.FULL, thTHTH); in TestThaiDigit() local
188 ((java.text.SimpleDateFormat)dfmt).applyPattern(pattern); in TestThaiDigit()
192 String str1 = dfmt.format(d); in TestThaiDigit()
/external/llvm/lib/Target/AMDGPU/
DVIInstrFormats.td67 bits<4> dfmt;
81 let Inst{22-19} = dfmt;
DSIIntrinsics.td32 llvm_i32_ty, // dfmt(imm)
DSIInstrFormats.td494 bits<4> dfmt;
508 let Inst{22-19} = dfmt;
DSIInstrInfo.td109 SDTCisVT<6, i32>, // dfmt(imm)
2237 i1imm:$addr64, i8imm:$dfmt, i8imm:$nfmt, VGPR_32:$vaddr,
2239 opName#" $vdata, $offset, $offen, $idxen, $glc, $addr64, $dfmt,"
2251 i8imm:$dfmt, i8imm:$nfmt, VGPR_32:$vaddr, SReg_128:$srsrc,
2253 opName#" $dst, $offset, $offen, $idxen, $glc, $addr64, $dfmt,"
DSIInstructions.td3017 i32:$soffset, imm:$inst_offset, imm:$dfmt,
3022 (as_i1imm $glc), 0, (as_i8imm $dfmt), (as_i8imm $nfmt), $vaddr, $rsrc,
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatTest.java4184 …DateFormat dfmt = (item.style >= 0)? DateFormat.getDateInstance(item.style, locale): new SimpleDat… in TestMonthPatterns() local
4193 dfmt.format(rootChineseCalendar, result, fpos); in TestMonthPatterns()
4206 dfmt.parse(result.toString(), rootChineseCalendar, ppos); in TestMonthPatterns()
4301 DateFormat dfmt = null; in TestNonGregoFmtParse() local
4303 dfmt = DateFormat.getDateInstance(item.style, locale); in TestNonGregoFmtParse()
4305 dfmt = new SimpleDateFormat(item.pattern, locale); in TestNonGregoFmtParse()
4307 Calendar cal = dfmt.getCalendar(); in TestNonGregoFmtParse()
4315 dfmt.format(cal, result, fpos); in TestNonGregoFmtParse()
4322 dfmt.parse(result.toString(), cal, ppos); in TestNonGregoFmtParse()
4446 DateFormat dfmt = DateFormat.getDateInstance(DateFormat.RELATIVE_LONG, locale); in TestContext() local
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatTest.java4188 …DateFormat dfmt = (item.style >= 0)? DateFormat.getDateInstance(item.style, locale): new SimpleDat… in TestMonthPatterns() local
4197 dfmt.format(rootChineseCalendar, result, fpos); in TestMonthPatterns()
4210 dfmt.parse(result.toString(), rootChineseCalendar, ppos); in TestMonthPatterns()
4305 DateFormat dfmt = null; in TestNonGregoFmtParse() local
4307 dfmt = DateFormat.getDateInstance(item.style, locale); in TestNonGregoFmtParse()
4309 dfmt = new SimpleDateFormat(item.pattern, locale); in TestNonGregoFmtParse()
4311 Calendar cal = dfmt.getCalendar(); in TestNonGregoFmtParse()
4319 dfmt.format(cal, result, fpos); in TestNonGregoFmtParse()
4326 dfmt.parse(result.toString(), cal, ppos); in TestNonGregoFmtParse()
4450 DateFormat dfmt = DateFormat.getDateInstance(DateFormat.RELATIVE_LONG, locale); in TestContext() local
[all …]
/external/jetty/src/java/org/eclipse/jetty/util/resource/
DResource.java518 DateFormat dfmt=DateFormat.getDateTimeInstance(DateFormat.MEDIUM, in getListHTML() local
539 buf.append(dfmt.format(new Date(item.lastModified()))); in getListHTML()
/external/icu/icu4c/source/test/intltest/
Ddtifmtts.cpp297 const DateFormat* dfmt = dtitvfmt->getDateFormat(); in testAPI() local
298 Calendar* fromCal = dfmt->getCalendar()->clone(); in testAPI()
299 Calendar* toCal = dfmt->getCalendar()->clone(); in testAPI()
Dnumfmtst.cpp8575 DecimalFormat *dfmt = (DecimalFormat *) fmt.getAlias(); in Test11376_getAndSetPositivePrefix() local
8576 dfmt->setCurrency(USD); in Test11376_getAndSetPositivePrefix()
8581 dfmt->setPositivePrefix(dfmt->getPositivePrefix(result)); in Test11376_getAndSetPositivePrefix()
8584 assertEquals("", "$3.78", dfmt->format(3.78, appendTo, status)); in Test11376_getAndSetPositivePrefix()
8595 DecimalFormat *dfmt = (DecimalFormat *) fmt.getAlias(); in Test11376_getAndSetPositivePrefix() local
8599 assertEquals("", tripleIntlCurrency, dfmt->getPositiveSuffix(result)); in Test11376_getAndSetPositivePrefix()
8600 dfmt->setCurrency(USD); in Test11376_getAndSetPositivePrefix()
8604 assertEquals("", " US dollars", dfmt->getPositiveSuffix(result)); in Test11376_getAndSetPositivePrefix()
8606 assertEquals("", "3.78 US dollars", dfmt->format(3.78, appendTo, status)); in Test11376_getAndSetPositivePrefix()
8607 assertEquals("", " US dollars", dfmt->getPositiveSuffix(result)); in Test11376_getAndSetPositivePrefix()
[all …]
Ddtfmttst.cpp4293 DateFormat * dfmt = NULL; in TestNonGregoFmtParse() local
4296 dfmt = DateFormat::createDateInstance(itemPtr->style, locale); in TestNonGregoFmtParse()
4298 dfmt = new SimpleDateFormat(itemPtr->pattern, locale, status); in TestNonGregoFmtParse()
4302 } else if (dfmt == NULL) { in TestNonGregoFmtParse()
4305 Calendar * cal = (dfmt->getCalendar())->clone(); in TestNonGregoFmtParse()
4320 dfmt->format(*cal, result, fpos); in TestNonGregoFmtParse()
4327 dfmt->parse(result, *cal, ppos); in TestNonGregoFmtParse()
4344 delete dfmt; in TestNonGregoFmtParse()
Dcalregts.cpp2003 DateFormat& dfmt = *(DateFormat*)&fmt; in Test4197699() local
2011 logln(UnicodeString("Ok: ") + dfmt.format(cal.getTime(status), str.remove())); in Test4197699()
2013 errln(UnicodeString("FAIL: ") + dfmt.format(cal.getTime(status), str.remove()) in Test4197699()
2018 logln(dfmt.format(cal.getTime(status), str.remove())); in Test4197699()
/external/mesa3d/src/gallium/drivers/radeon/
DSIInstrInfo.td469 i8imm:$dfmt, i8imm:$nfmt, VReg_32:$vaddr, GPR4Align<SReg_128>:$srsrc,
480 i1imm:$addr64, i8imm:$dfmt, i8imm:$nfmt, VReg_32:$vaddr,