Home
last modified time | relevance | path

Searched refs:df (Results 1 – 25 of 342) sorted by relevance

12345678910>>...14

/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
DDecimalFormatTest.java23 DecimalFormat df = new DecimalFormat("#,#0.00"); in testClone() local
27 testEHCS(df, df2, dfn); in testClone()
41 DecimalFormat df = new DecimalFormat(); in testDecimalFormat() local
42 assertEquals("9,223,372,036,854,775,807", df.format(lmax)); in testDecimalFormat()
49 DecimalFormat df = new DecimalFormat("#,##0.000"); in testDecimalFormatString() local
50 assertEquals("23.330", df.format(dsmall)); in testDecimalFormatString()
58 DecimalFormat df = new DecimalFormat("#,##0.000", sym); in testDecimalFormatStringDecimalFormatSymbols() local
59 assertEquals("23,330", df.format(dsmall)); in testDecimalFormatStringDecimalFormatSymbols()
67 DecimalFormat df = new DecimalFormat("#,##0.000", sym); in testGetDecimalFormatSymbols() local
68 assertEquals(sym, df.getDecimalFormatSymbols()); in testGetDecimalFormatSymbols()
[all …]
DDateFormatTest.java70 DateFormat df = DateFormat.getInstance(); in testHashCode() local
72 testEHCS(df, eq, aDF); in testHashCode()
79 DateFormat df = new DateFormat(java.text.DateFormat.getInstance()); in testDateFormat() local
80 assertEquals(DateFormat.getInstance(), df); in testDateFormat() local
269 DateFormat df = DateFormat.getTimeInstance(DateFormat.SHORT); in testSetCalendar() local
270 df.setCalendar(cal); in testSetCalendar()
271 assertEquals("8:17 AM", df.format(aDate)); in testSetCalendar()
280 DateFormat df = DateFormat.getTimeInstance(DateFormat.SHORT); in testGetCalendar() local
281 df.setCalendar(cal); in testGetCalendar()
282 assertEquals(cal, df.getCalendar()); in testGetCalendar()
[all …]
/external/icu/icu4c/source/i18n/
DdecNumberLocal.h300 #define DFBYTE(df, off) ((df)->bytes[DECBYTES-1-(off)]) argument
301 #define DFWORD(df, off) ((df)->words[DECWORDS-1-(off)]) argument
304 #define DFBYTE(df, off) ((df)->bytes[off]) argument
305 #define DFWORD(df, off) ((df)->words[off]) argument
310 #define DFISSIGNED(df) (DFWORD(df, 0)&0x80000000) argument
311 #define DFISSPECIAL(df) ((DFWORD(df, 0)&0x78000000)==0x78000000) argument
312 #define DFISINF(df) ((DFWORD(df, 0)&0x7c000000)==0x78000000) argument
313 #define DFISNAN(df) ((DFWORD(df, 0)&0x7c000000)==0x7c000000) argument
314 #define DFISQNAN(df) ((DFWORD(df, 0)&0x7e000000)==0x7c000000) argument
315 #define DFISSNAN(df) ((DFWORD(df, 0)&0x7e000000)==0x7e000000) argument
[all …]
Dunum.cpp154 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); in unum_clone() local
155 if (df != NULL) { in unum_clone()
156 res = df->clone(); in unum_clone()
488 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); in unum_getAttribute() local
489 if (df != NULL) { in unum_getAttribute()
491 return df->getAttribute( attr, ignoredStatus ); in unum_getAttribute()
509 DecimalFormat* df = dynamic_cast<DecimalFormat*>(nf); in unum_setAttribute() local
510 if (df != NULL) { in unum_setAttribute()
512 df->setAttribute(attr, newValue, ignoredStatus); in unum_setAttribute()
521 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); in unum_getDoubleAttribute() local
[all …]
/external/v8/test/intl/date-format/
Dtimezone.js34 df = Intl.DateTimeFormat(undefined, {timeZone: 'UtC'});
35 assertEquals('UTC', df.resolvedOptions().timeZone);
37 df = Intl.DateTimeFormat(undefined, {timeZone: 'gmt'});
38 assertEquals('UTC', df.resolvedOptions().timeZone);
40 df = Intl.DateTimeFormat(undefined, {timeZone: 'America/Los_Angeles'});
41 assertEquals('America/Los_Angeles', df.resolvedOptions().timeZone);
43 df = Intl.DateTimeFormat(undefined, {timeZone: 'Europe/Belgrade'});
44 assertEquals('Europe/Belgrade', df.resolvedOptions().timeZone);
47 df = Intl.DateTimeFormat(undefined, {timeZone: 'Etc/UTC'});
48 assertEquals('UTC', df.resolvedOptions().timeZone);
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberRegression.java94 DecimalFormat df = new DecimalFormat(); in Test4088161() local
96 df.setMinimumFractionDigits(0); in Test4088161()
97 df.setMaximumFractionDigits(16); in Test4088161()
101 logln("maxFractionDigits = " + df.getMaximumFractionDigits()); in Test4088161()
102 logln(" format(d) = '" + df.format(d, sBuf1, fp1) + "'"); in Test4088161()
103 df.setMaximumFractionDigits(17); in Test4088161()
106 logln("maxFractionDigits = " + df.getMaximumFractionDigits()); in Test4088161()
107 df.format(d, sBuf2, fp2); in Test4088161()
117 DecimalFormat df = new DecimalFormat("#,##0.0", symbols); in Test4087245() local
122 df.format(n, buf1, new FieldPosition(0))); in Test4087245()
[all …]
DDateFormatMiscTests.java76 SimpleDateFormat df = new SimpleDateFormat("E hh:mm", symbols); in Test4099975new() local
77 SimpleDateFormat dfClone = (SimpleDateFormat) df.clone(); in Test4099975new()
79 logln(df.toLocalizedPattern()); in Test4099975new()
80 String s0 = df.format(d); in Test4099975new()
84 logln(df.toLocalizedPattern()); in Test4099975new()
85 String s1 = df.format(d); in Test4099975new()
90 if (!df.equals(dfClone)) { in Test4099975new()
97 SimpleDateFormat df = new SimpleDateFormat("E hh:mm"); in Test4099975new() local
98 df.setDateFormatSymbols(symbols); in Test4099975new()
99 SimpleDateFormat dfClone = (SimpleDateFormat) df.clone(); in Test4099975new()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DNumberRegression.java98 DecimalFormat df = new DecimalFormat(); in Test4088161() local
100 df.setMinimumFractionDigits(0); in Test4088161()
101 df.setMaximumFractionDigits(16); in Test4088161()
105 logln("maxFractionDigits = " + df.getMaximumFractionDigits()); in Test4088161()
106 logln(" format(d) = '" + df.format(d, sBuf1, fp1) + "'"); in Test4088161()
107 df.setMaximumFractionDigits(17); in Test4088161()
110 logln("maxFractionDigits = " + df.getMaximumFractionDigits()); in Test4088161()
111 df.format(d, sBuf2, fp2); in Test4088161()
121 DecimalFormat df = new DecimalFormat("#,##0.0", symbols); in Test4087245() local
126 df.format(n, buf1, new FieldPosition(0))); in Test4087245()
[all …]
DDateFormatMiscTests.java80 SimpleDateFormat df = new SimpleDateFormat("E hh:mm", symbols); in Test4099975new() local
81 SimpleDateFormat dfClone = (SimpleDateFormat) df.clone(); in Test4099975new()
83 logln(df.toLocalizedPattern()); in Test4099975new()
84 String s0 = df.format(d); in Test4099975new()
88 logln(df.toLocalizedPattern()); in Test4099975new()
89 String s1 = df.format(d); in Test4099975new()
94 if (!df.equals(dfClone)) { in Test4099975new()
101 SimpleDateFormat df = new SimpleDateFormat("E hh:mm"); in Test4099975new() local
102 df.setDateFormatSymbols(symbols); in Test4099975new()
103 SimpleDateFormat dfClone = (SimpleDateFormat) df.clone(); in Test4099975new()
[all …]
/external/icu/icu4c/source/test/intltest/
Dmiscdtfm.cpp166 SimpleDateFormat *df = new SimpleDateFormat(UnicodeString("E hh:mm"), *symbols, status); in test4099975() local
169 format0 = df->format(d, format0); in test4099975()
171 localizedPattern0 = df->toLocalizedPattern(localizedPattern0, status); in test4099975()
175 format1 = df->format(d, format1); in test4099975()
181 localizedPattern1 = df->toLocalizedPattern(localizedPattern1, status); in test4099975()
188 delete df; in test4099975()
198 SimpleDateFormat *df = new SimpleDateFormat(UnicodeString("E hh:mm"), status); in test4099975() local
200 df->setDateFormatSymbols(*symbols); in test4099975()
202 format0 = df->format(d, format0); in test4099975()
204 localizedPattern0 = df->toLocalizedPattern(localizedPattern0, status); in test4099975()
[all …]
Ddcfmapts.cpp447 DecimalFormat *df = new DecimalFormat(status); in TestCurrencyPluralInfo() local
453 df->adoptCurrencyPluralInfo(cpi); in TestCurrencyPluralInfo()
455 df->getCurrencyPluralInfo(); in TestCurrencyPluralInfo()
457 df->setCurrencyPluralInfo(cpi1); in TestCurrencyPluralInfo()
459 delete df; in TestCurrencyPluralInfo()
609 LocalPointer<DecimalFormat> df(new DecimalFormat("###", status), status); in TestFixedDecimal() local
614 FixedDecimal fd = df->getFixedDecimal(44, status); in TestFixedDecimal()
620 fd = df->getFixedDecimal(-44, status); in TestFixedDecimal()
626 df.adoptInsteadAndCheckErrorCode(new DecimalFormat("###.00##", status), status); in TestFixedDecimal()
628 fd = df->getFixedDecimal(123.456, status); in TestFixedDecimal()
[all …]
Dnumrgts.cpp288 DecimalFormat *df = new DecimalFormat(status); in Test4088161() local
291 df->setMinimumFractionDigits(0); in Test4088161()
292 df->setMaximumFractionDigits(16); in Test4088161()
296 logln(UnicodeString("maxFractionDigits = ") + df->getMaximumFractionDigits()); in Test4088161()
298 logln(" format(d) = '" + df->format(d, sBuf1, fp1) + "'"); in Test4088161()
299 df->setMaximumFractionDigits(17); in Test4088161()
302 logln(UnicodeString("maxFractionDigits = ") + df->getMaximumFractionDigits()); in Test4088161()
303 sBuf2 = df->format(d, sBuf2, fp2); in Test4088161()
308 delete df; in Test4088161()
324 DecimalFormat *df = new DecimalFormat("#,##0.0", *symbols, status); in Test4087245() local
[all …]
/external/v8/test/mjsunit/regress/
Dregress-crbug-364374.js10 df = new Intl.DateTimeFormat('en-US', {'timeZone': 'eUrope/isLe_OF_man'}) variable
11 assertEquals('Europe/Isle_of_Man', df.resolvedOptions().timeZone);
13 df = new Intl.DateTimeFormat('en-US', {'timeZone': 'africa/Dar_eS_salaam'}) variable
14 assertEquals('Africa/Dar_es_Salaam', df.resolvedOptions().timeZone);
16 df = new Intl.DateTimeFormat('en-US', {'timeZone': 'America/port_of_spain'}) variable
17 assertEquals('America/Port_of_Spain', df.resolvedOptions().timeZone);
20 df = new Intl.DateTimeFormat('en-US', {'timeZone': 'America/north_Dakota/new_salem'}) variable
21 assertEquals('America/North_Dakota/New_Salem', df.resolvedOptions().timeZone);
42 df = new Intl.DateTimeFormat('en-US', {'timeZone': 'America/port-aU-pRince'}) variable
43 assertEquals('America/Port-au-Prince', df.resolvedOptions().timeZone);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/
DICUDurationTest.java181 DurationFormat df; in TestBasics() local
185 df = DurationFormat.getInstance(new ULocale("it")); in TestBasics()
186 formatted = df.formatDurationFromNow(4096); in TestBasics()
194 formatted = df.formatDurationFromNowTo(new Date(0)); in TestBasics()
204 formatted = df.formatDurationFrom(1000*3600*24, new Date(0).getTime()); in TestBasics()
212 formatted = df.format(new Long(1000*3600*24*2)); in TestBasics()
223 DurationFormat df; in TestSimpleXMLDuration() local
230 df = DurationFormat.getInstance(new ULocale("en")); in TestSimpleXMLDuration()
232 out = df.format(d); in TestSimpleXMLDuration()
241 df = DurationFormat.getInstance(new ULocale("en")); in TestSimpleXMLDuration()
[all …]
DRegressionTest.java34 DurationFormat df = DurationFormat.getInstance(ul); in TestDisallowedMillis() local
35 String result = df.formatDurationFromNow(500); in TestDisallowedMillis()
48 DurationFormatter df = pfs.newDurationFormatterFactory() in TestDisallowedMillis() local
51 String result = df.formatDurationFromNow(500); in TestDisallowedMillis()
67 DurationFormatter df = pfs.newDurationFormatterFactory() in TestDisallowedMillis() local
70 String result = df.formatDurationFromNow(500); in TestDisallowedMillis()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
DICUDurationTest.java177 DurationFormat df; in TestBasics() local
181 df = DurationFormat.getInstance(new ULocale("it")); in TestBasics()
182 formatted = df.formatDurationFromNow(4096); in TestBasics()
190 formatted = df.formatDurationFromNowTo(new Date(0)); in TestBasics()
200 formatted = df.formatDurationFrom(1000*3600*24, new Date(0).getTime()); in TestBasics()
208 formatted = df.format(new Long(1000*3600*24*2)); in TestBasics()
219 DurationFormat df; in TestSimpleXMLDuration() local
226 df = DurationFormat.getInstance(new ULocale("en")); in TestSimpleXMLDuration()
228 out = df.format(d); in TestSimpleXMLDuration()
237 df = DurationFormat.getInstance(new ULocale("en")); in TestSimpleXMLDuration()
[all …]
/external/tcpdump/tests/
Dgeonet_and_calm_fast.out3 GeoNet src:00:0c:42:6d:54:df; v:0 NH:0-Any HT:1-0-Beacon HopLim:1 Payload:0 GN_ADDR:00:00:00:0c:42:…
6 GeoNet src:00:0c:42:6d:54:df; v:0 NH:0-Any HT:1-0-Beacon HopLim:1 Payload:0 GN_ADDR:00:00:00:0c:42:…
9 GeoNet src:00:0c:42:6d:54:df; v:0 NH:0-Any HT:1-0-Beacon HopLim:1 Payload:0 GN_ADDR:00:00:00:0c:42:…
12 GeoNet src:00:0c:42:6d:54:df; v:0 NH:0-Any HT:1-0-Beacon HopLim:1 Payload:0 GN_ADDR:00:00:00:0c:42:…
15 GeoNet src:00:0c:42:6d:54:df; v:0 NH:0-Any HT:1-0-Beacon HopLim:1 Payload:0 GN_ADDR:00:00:00:0c:42:…
21 GeoNet src:00:0c:42:6d:54:df; v:0 NH:0-Any HT:1-0-Beacon HopLim:1 Payload:0 GN_ADDR:00:00:00:0c:42:…
29 GeoNet src:00:0c:42:6d:54:df; v:0 NH:0-Any HT:1-0-Beacon HopLim:1 Payload:0 GN_ADDR:00:00:00:0c:42:…
32 GeoNet src:00:0c:42:6d:54:df; v:0 NH:0-Any HT:1-0-Beacon HopLim:1 Payload:0 GN_ADDR:00:00:00:0c:42:…
35 GeoNet src:00:0c:42:6d:54:df; v:0 NH:0-Any HT:1-0-Beacon HopLim:1 Payload:0 GN_ADDR:00:00:00:0c:42:…
38 GeoNet src:00:0c:42:6d:54:df; v:0 NH:0-Any HT:1-0-Beacon HopLim:1 Payload:0 GN_ADDR:00:00:00:0c:42:…
[all …]
/external/chromium-trace/catapult/dashboard/dashboard/
Dttest.py62 df = _DegreesOfFreedom(stats1, stats2)
63 p = _LookupPValue(t, df)
64 return TTestResult(t, df, p)
130 df = math_utils.Divide(
136 return max(1.0, df)
212 def _LookupPValue(t, df): argument
224 assert df >= 1.0, 'Degrees of freedom must at least 1.0.'
228 t_table_row = _TABLE[bisect.bisect(_TABLE, (df + 1,)) - 1][1]
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
DChiSquaredDistributionImpl.java51 public ChiSquaredDistributionImpl(double df) { in ChiSquaredDistributionImpl() argument
52 this(df, new GammaDistributionImpl(df / 2.0, 2.0)); in ChiSquaredDistributionImpl()
64 public ChiSquaredDistributionImpl(double df, GammaDistribution g) { in ChiSquaredDistributionImpl() argument
67 setDegreesOfFreedomInternal(df); in ChiSquaredDistributionImpl()
79 public ChiSquaredDistributionImpl(double df, double inverseCumAccuracy) { in ChiSquaredDistributionImpl() argument
81 gamma = new GammaDistributionImpl(df / 2.0, 2.0); in ChiSquaredDistributionImpl()
82 setDegreesOfFreedomInternal(df); in ChiSquaredDistributionImpl()
DTDistributionImpl.java267 final double df = getDegreesOfFreedom(); in getNumericalMean() local
269 if (df > 1) { in getNumericalMean()
290 final double df = getDegreesOfFreedom(); in getNumericalVariance() local
292 if (df > 2) { in getNumericalVariance()
293 return df / (df - 2); in getNumericalVariance()
296 if (df > 1 && df <= 2) { in getNumericalVariance()
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DISO8601Converter.java314 DecimalFormat df = new DecimalFormat("0000", new DecimalFormatSymbols(Locale.ENGLISH)); in render() local
315 buffer.append(df.format(dateTime.getYear())); in render()
322 df.applyPattern("'-'00"); in render()
323 buffer.append(df.format(dateTime.getMonth())); in render()
330 buffer.append(df.format(dateTime.getDay())); in render()
341 df.applyPattern("00"); in render()
342 buffer.append(df.format(dateTime.getHour())); in render()
344 buffer.append(df.format(dateTime.getMinute())); in render()
351 df.applyPattern(":00.#########"); in render()
352 buffer.append(df.format(seconds)); in render()
[all …]
/external/libmtp/
DChangeLog1 2009-09-12 Linus Walleij <triad@df.lth.se>
6 2009-09-11 Linus Walleij <triad@df.lth.se>
11 2009-08-27 Linus Walleij <triad@df.lth.se>
19 2009-08-27 Linus Walleij <triad@df.lth.se>
23 2009-08-25 Linus Walleij <triad@df.lth.se>
28 2009-08-23 Linus Walleij <triad@df.lth.se>
41 2009-08-12 Linus Walleij <triad@df.lth.se>
49 2009-08-02 Linus Walleij <triad@df.lth.se>
56 2009-07-24 Linus Walleij <triad@df.lth.se>
62 2009-07-24 Linus Walleij <triad@df.lth.se>
[all …]
/external/llvm/lib/Target/Mips/
DMipsMSAInstrFormats.td82 class MSA_2R_FILL_FMT<bits<8> major, bits<2> df, bits<6> minor>: MSAInst {
87 let Inst{17-16} = df;
93 class MSA_2R_FILL_D_FMT<bits<8> major, bits<2> df, bits<6> minor>: MSAInst {
98 let Inst{17-16} = df;
104 class MSA_2R_FMT<bits<8> major, bits<2> df, bits<6> minor>: MSAInst {
109 let Inst{17-16} = df;
115 class MSA_2RF_FMT<bits<9> major, bits<1> df, bits<6> minor>: MSAInst {
120 let Inst{16} = df;
126 class MSA_3R_FMT<bits<3> major, bits<2> df, bits<6> minor>: MSAInst {
132 let Inst{22-21} = df;
[all …]
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DDateFormatTest.java42 DateFormat df = getJDKInstance(dstyle, tstyle, loc, method); in checkGetInstance() local
44 boolean isIcuImpl = (df instanceof com.ibm.icu.impl.jdkadapter.SimpleDateFormatICU); in checkGetInstance()
57 if (!df.equals(dfIcu)) { in checkGetInstance()
70 DateFormat df; in getJDKInstance() local
73 df = DateFormat.getTimeInstance(tstyle, loc); in getJDKInstance()
76 df = DateFormat.getDateInstance(dstyle, loc); in getJDKInstance()
79 df = DateFormat.getDateTimeInstance(dstyle, tstyle, loc); in getJDKInstance()
85 return df; in getJDKInstance()
133 DateFormat df = getJDKInstance(dstyle, tstyle, iculoc, null); in TestICUEquivalent() local
139 String dstr1 = df.format(d); in TestICUEquivalent()
[all …]
/external/fdlibm/
De_acos.c67 double z,p,q,r,w,s,c,df; local
96 df = s;
97 __LO(df) = 0;
98 c = (z-df*df)/(s+df);
103 return 2.0*(df+w);

12345678910>>...14