Searched refs:df (Results 1 - 25 of 239) sorted by relevance

12345678910

/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
H A DDecimalFormatTest.java23 DecimalFormat df = new DecimalFormat("#,#0.00");
27 testEHCS(df, df2, dfn);
41 DecimalFormat df = new DecimalFormat();
42 assertEquals("9,223,372,036,854,775,807", df.format(lmax));
49 DecimalFormat df = new DecimalFormat("#,##0.000");
50 assertEquals("23.330", df.format(dsmall));
58 DecimalFormat df = new DecimalFormat("#,##0.000", sym);
59 assertEquals("23,330", df.format(dsmall));
67 DecimalFormat df = new DecimalFormat("#,##0.000", sym);
68 assertEquals(sym, df
[all...]
H A DDateFormatTest.java70 DateFormat df = DateFormat.getInstance();
72 testEHCS(df, eq, aDF);
79 DateFormat df = new DateFormat(java.text.DateFormat.getInstance());
80 assertEquals(DateFormat.getInstance(), df);
269 DateFormat df = DateFormat.getTimeInstance(DateFormat.SHORT);
270 df.setCalendar(cal);
271 assertEquals("8:17 AM", df.format(aDate));
280 DateFormat df = DateFormat.getTimeInstance(DateFormat.SHORT);
281 df.setCalendar(cal);
282 assertEquals(cal, df
[all...]
/external/v8/test/intl/date-format/
H A Dtimezone.js31 // var df = Intl.DateTimeFormat();
32 // assertEquals(getDefaultTimeZone(), df.resolvedOptions().timeZone);
34 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
[all...]
/external/v8/test/mjsunit/regress/
H A Dregress-crbug-487322.js17 df = new Intl.DateTimeFormat('en-US', {'timeZone': 'Asia/Ulaanbaatar'})
18 assertEquals('Asia/Ulaanbaatar', df.resolvedOptions().timeZone);
20 df = new Intl.DateTimeFormat('en-US', {'timeZone': 'Asia/Ulan_Bator'})
21 assertEquals('Asia/Ulaanbaatar', df.resolvedOptions().timeZone);
H A Dregress-crbug-364374.js10 df = new Intl.DateTimeFormat('en-US', {'timeZone': 'eUrope/isLe_OF_man'})
11 assertEquals('Europe/Isle_of_Man', df.resolvedOptions().timeZone);
13 df = new Intl.DateTimeFormat('en-US', {'timeZone': 'africa/Dar_eS_salaam'})
14 assertEquals('Africa/Dar_es_Salaam', df.resolvedOptions().timeZone);
16 df = new Intl.DateTimeFormat('en-US', {'timeZone': 'America/port_of_spain'})
17 assertEquals('America/Port_of_Spain', df.resolvedOptions().timeZone);
20 df = new Intl.DateTimeFormat('en-US', {'timeZone': 'America/north_Dakota/new_salem'})
21 assertEquals('America/North_Dakota/New_Salem', df.resolvedOptions().timeZone);
42 df = new Intl.DateTimeFormat('en-US', {'timeZone': 'America/port-aU-pRince'})
43 assertEquals('America/Port-au-Prince', df
[all...]
/external/autotest/server/cros/
H A Dchaos_shadow_ap_list.conf9 [00:1c:df:0c:a6:d0]
14 bss = 00:1c:df:0c:a6:d0
15 wan mac = 00:1c:df:0c:a6:d1
/external/icu/icu4c/source/i18n/
H A DdecNumberLocal.h293 /* Refer to a 32-bit word or byte in a decFloat (df) by big-endian */
300 #define DFBYTE(df, off) ((df)->bytes[DECBYTES-1-(off)])
301 #define DFWORD(df, off) ((df)->words[DECWORDS-1-(off)])
304 #define DFBYTE(df, off) ((df)->bytes[off])
305 #define DFWORD(df, off) ((df)->words[off])
310 #define DFISSIGNED(df) (DFWOR
[all...]
/external/clang/test/Lexer/
H A Dconstants.c24 'df', // expected-warning {{multi-character character constant}}
42 int d = 'df'; // no warning.
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
H A DChiSquaredDistributionImpl.java49 * @param df degrees of freedom.
51 public ChiSquaredDistributionImpl(double df) { argument
52 this(df, new GammaDistributionImpl(df / 2.0, 2.0));
57 * @param df degrees of freedom.
64 public ChiSquaredDistributionImpl(double df, GammaDistribution g) { argument
67 setDegreesOfFreedomInternal(df);
74 * @param df degrees of freedom.
79 public ChiSquaredDistributionImpl(double df, double inverseCumAccuracy) { argument
81 gamma = new GammaDistributionImpl(df / 2.
[all...]
H A DTDistributionImpl.java257 * For degrees of freedom parameter df, the mean is
259 * <li>if <code>df &gt; 1</code> then <code>0</code></li>
267 final double df = getDegreesOfFreedom();
269 if (df > 1) {
279 * For degrees of freedom parameter df, the variance is
281 * <li>if <code>df &gt; 2</code> then <code>df / (df - 2)</code> </li>
282 * <li>if <code>1 &lt; df &lt;= 2</code> then <code>positive infinity</code></li>
290 final double df
[all...]
/external/chromium-trace/catapult/dashboard/dashboard/
H A Dttest.py34 TTestResult = collections.namedtuple('TTestResult', ('t', 'df', 'p'))
62 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):
218 df: Number of degrees of freedom.
224 assert df >= 1.0, 'Degrees of freedom must at least 1.0.'
226 # bisect.bisect will return the index at which (df
[all...]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/
H A DRegressionTest.java34 DurationFormat df = DurationFormat.getInstance(ul);
35 String result = df.formatDurationFromNow(500);
48 DurationFormatter df = pfs.newDurationFormatterFactory()
51 String result = df.formatDurationFromNow(500);
67 DurationFormatter df = pfs.newDurationFormatterFactory()
70 String result = df.formatDurationFromNow(500);
H A DICUDurationTest.java181 DurationFormat df;
185 df = DurationFormat.getInstance(new ULocale("it"));
186 formatted = df.formatDurationFromNow(4096);
194 formatted = df.formatDurationFromNowTo(new Date(0));
204 formatted = df.formatDurationFrom(1000*3600*24, new Date(0).getTime());
212 formatted = df.format(new Long(1000*3600*24*2));
223 DurationFormat df;
230 df = DurationFormat.getInstance(new ULocale("en"));
232 out = df.format(d);
241 df
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
H A DRegressionTest.java30 DurationFormat df = DurationFormat.getInstance(ul);
31 String result = df.formatDurationFromNow(500);
44 DurationFormatter df = pfs.newDurationFormatterFactory()
47 String result = df.formatDurationFromNow(500);
63 DurationFormatter df = pfs.newDurationFormatterFactory()
66 String result = df.formatDurationFromNow(500);
H A DICUDurationTest.java177 DurationFormat df;
181 df = DurationFormat.getInstance(new ULocale("it"));
182 formatted = df.formatDurationFromNow(4096);
190 formatted = df.formatDurationFromNowTo(new Date(0));
200 formatted = df.formatDurationFrom(1000*3600*24, new Date(0).getTime());
208 formatted = df.format(new Long(1000*3600*24*2));
219 DurationFormat df;
226 df = DurationFormat.getInstance(new ULocale("en"));
228 out = df.format(d);
237 df
[all...]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
H A DDateFormatMiscTests.java80 SimpleDateFormat df = new SimpleDateFormat("E hh:mm", symbols);
81 SimpleDateFormat dfClone = (SimpleDateFormat) df.clone();
83 logln(df.toLocalizedPattern());
84 String s0 = df.format(d);
88 logln(df.toLocalizedPattern());
89 String s1 = df.format(d);
94 if (!df.equals(dfClone)) {
101 SimpleDateFormat df = new SimpleDateFormat("E hh:mm");
102 df.setDateFormatSymbols(symbols);
103 SimpleDateFormat dfClone = (SimpleDateFormat) df
[all...]
H A DNumberRegression.java98 DecimalFormat df = new DecimalFormat();
100 df.setMinimumFractionDigits(0);
101 df.setMaximumFractionDigits(16);
105 logln("maxFractionDigits = " + df.getMaximumFractionDigits());
106 logln(" format(d) = '" + df.format(d, sBuf1, fp1) + "'");
107 df.setMaximumFractionDigits(17);
110 logln("maxFractionDigits = " + df.getMaximumFractionDigits());
111 df.format(d, sBuf2, fp2);
121 DecimalFormat df = new DecimalFormat("#,##0.0", symbols);
126 df
689 roundingTest(DecimalFormat df, double x, String expected) argument
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DDateFormatMiscTests.java76 SimpleDateFormat df = new SimpleDateFormat("E hh:mm", symbols);
77 SimpleDateFormat dfClone = (SimpleDateFormat) df.clone();
79 logln(df.toLocalizedPattern());
80 String s0 = df.format(d);
84 logln(df.toLocalizedPattern());
85 String s1 = df.format(d);
90 if (!df.equals(dfClone)) {
97 SimpleDateFormat df = new SimpleDateFormat("E hh:mm");
98 df.setDateFormatSymbols(symbols);
99 SimpleDateFormat dfClone = (SimpleDateFormat) df
[all...]
/external/icu/icu4c/source/test/intltest/
H A Dmiscdtfm.cpp166 SimpleDateFormat *df = new SimpleDateFormat(UnicodeString("E hh:mm"), *symbols, status); local
169 format0 = df->format(d, format0);
171 localizedPattern0 = df->toLocalizedPattern(localizedPattern0, status);
172 failure(status, "df->toLocalizedPattern");
175 format1 = df->format(d, format1);
181 localizedPattern1 = df->toLocalizedPattern(localizedPattern1, status);
182 failure(status, "df->toLocalizedPattern");
188 delete df;
198 SimpleDateFormat *df = new SimpleDateFormat(UnicodeString("E hh:mm"), status);
200 df
258 SimpleDateFormat *df = new SimpleDateFormat(UnicodeString("E hh:mm"), status); local
[all...]
H A Ddcfmapts.cpp447 DecimalFormat *df = new DecimalFormat(status); local
453 df->adoptCurrencyPluralInfo(cpi);
455 df->getCurrencyPluralInfo();
457 df->setCurrencyPluralInfo(cpi1);
459 delete df;
609 LocalPointer<DecimalFormat> df(new DecimalFormat("###", status), status);
614 FixedDecimal fd = df->getFixedDecimal(44, status);
620 fd = df->getFixedDecimal(-44, status);
626 df.adoptInsteadAndCheckErrorCode(new DecimalFormat("###.00##", status), status);
628 fd = df
[all...]
/external/skia/tests/
H A DDrawFilterTest.cpp33 SkAutoTUnref<TestFilter> df(new TestFilter);
38 canvas->setDrawFilter(df);
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/impl/
H A DYMDDateFormatter.java26 private SimpleDateFormat df; // cache field in class:YMDDateFormatter
55 this.df = new SimpleDateFormat("yyyy/mm/dd", locale);
56 this.df.setTimeZone(timeZone);
73 // if (df == null) {
78 return df.format(date);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/
H A DYMDDateFormatter.java24 private SimpleDateFormat df; // cache field in class:YMDDateFormatter
53 this.df = new SimpleDateFormat("yyyy/mm/dd", locale);
54 this.df.setTimeZone(timeZone);
71 // if (df == null) {
76 return df.format(date);
/external/fdlibm/
H A 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);
/external/valgrind/none/tests/x86/
H A Dbug152818-x86.c101 int df; local
131 df = (idx >= (sizeof(lens)/sizeof(lens[0]))/2);
136 if (df)
152 if (df)
172 if (df)
188 if (df)
208 printf ("DF = %d, count = %2d ", df, len);

Completed in 2463 milliseconds

12345678910