Home
last modified time | relevance | path

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

12345678910

/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.cpp144 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); in unum_clone() local
145 if (df != NULL) { in unum_clone()
146 res = df->clone(); in unum_clone()
478 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); in unum_getAttribute() local
479 if (df != NULL) { in unum_getAttribute()
481 return df->getAttribute( attr, ignoredStatus ); in unum_getAttribute()
499 DecimalFormat* df = dynamic_cast<DecimalFormat*>(nf); in unum_setAttribute() local
500 if (df != NULL) { in unum_setAttribute()
502 df->setAttribute(attr, newValue, ignoredStatus); in unum_setAttribute()
511 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); in unum_getDoubleAttribute() local
[all …]
/external/v8/test/intl/date-format/
Dtimezone.js30 var df = Intl.DateTimeFormat(); variable
31 assertEquals(getDefaultTimeZone(), df.resolvedOptions().timeZone);
33 df = Intl.DateTimeFormat(undefined, {timeZone: 'UtC'});
34 assertEquals('UTC', df.resolvedOptions().timeZone);
36 df = Intl.DateTimeFormat(undefined, {timeZone: 'gmt'});
37 assertEquals('UTC', df.resolvedOptions().timeZone);
39 df = Intl.DateTimeFormat(undefined, {timeZone: 'America/Los_Angeles'});
40 assertEquals('America/Los_Angeles', df.resolvedOptions().timeZone);
42 df = Intl.DateTimeFormat(undefined, {timeZone: 'Europe/Belgrade'});
43 assertEquals('Europe/Belgrade', 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 …]
DNumberFormatRegressionTest.java77 DateFormat df = DateFormat.getDateInstance(DateFormat.SHORT, loc); in TestJ691() local
79 df.setCalendar(cal); in TestJ691()
80 df.setNumberFormat(nf); in TestJ691()
84 df.setLenient(true); in TestJ691()
86 ulocdat = df.parse(udt); in TestJ691()
91 String outString = df.format(ulocdat); in TestJ691()
223 … DecimalFormat df = new DecimalFormat("#,##0.###", new DecimalFormatSymbols(new ULocale("en_US"))); in TestJB5509() local
224 df.setParseStrict(true); in TestJB5509()
227 df.parse(data[i]); in TestJB5509()
/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 …]
Dnumrgts.cpp287 DecimalFormat *df = new DecimalFormat(status); in Test4088161() local
290 df->setMinimumFractionDigits(0); in Test4088161()
291 df->setMaximumFractionDigits(16); in Test4088161()
295 logln(UnicodeString("maxFractionDigits = ") + df->getMaximumFractionDigits()); in Test4088161()
297 logln(" format(d) = '" + df->format(d, sBuf1, fp1) + "'"); in Test4088161()
298 df->setMaximumFractionDigits(17); in Test4088161()
301 logln(UnicodeString("maxFractionDigits = ") + df->getMaximumFractionDigits()); in Test4088161()
302 sBuf2 = df->format(d, sBuf2, fp2); in Test4088161()
307 delete df; in Test4088161()
323 DecimalFormat *df = new DecimalFormat("#,##0.0", *symbols, status); in Test4087245() local
[all …]
Ddcfmapts.cpp443 DecimalFormat *df = new DecimalFormat(status); in TestCurrencyPluralInfo() local
448 df->adoptCurrencyPluralInfo(cpi); in TestCurrencyPluralInfo()
450 df->getCurrencyPluralInfo(); in TestCurrencyPluralInfo()
452 df->setCurrencyPluralInfo(cpi1); in TestCurrencyPluralInfo()
454 delete df; in TestCurrencyPluralInfo()
604 LocalPointer<DecimalFormat> df(new DecimalFormat("###", status), status); in TestFixedDecimal() local
606 FixedDecimal fd = df->getFixedDecimal(44, status); in TestFixedDecimal()
611 df.adoptInsteadAndCheckErrorCode(new DecimalFormat("###.00##", status), status); in TestFixedDecimal()
613 fd = df->getFixedDecimal(123.456, status); in TestFixedDecimal()
622 df.adoptInsteadAndCheckErrorCode(new DecimalFormat("###", status), status); in TestFixedDecimal()
[all …]
/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 …]
DRegressionTest.java30 DurationFormat df = DurationFormat.getInstance(ul); in TestDisallowedMillis() local
31 String result = df.formatDurationFromNow(500); in TestDisallowedMillis()
44 DurationFormatter df = pfs.newDurationFormatterFactory() in TestDisallowedMillis() local
47 String result = df.formatDurationFromNow(500); in TestDisallowedMillis()
63 DurationFormatter df = pfs.newDurationFormatterFactory() in TestDisallowedMillis() local
66 String result = df.formatDurationFromNow(500); in TestDisallowedMillis()
/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/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/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);
/external/llvm/lib/Target/Mips/
DMipsMSAInstrFormats.td92 class MSA_2R_FILL_FMT<bits<8> major, bits<2> df, bits<6> minor>: MSAInst {
97 let Inst{17-16} = df;
103 class MSA_2R_FILL_D_FMT<bits<8> major, bits<2> df, bits<6> minor>: MSA64Inst {
108 let Inst{17-16} = df;
114 class MSA_2R_FMT<bits<8> major, bits<2> df, bits<6> minor>: MSAInst {
119 let Inst{17-16} = df;
125 class MSA_2RF_FMT<bits<9> major, bits<1> df, bits<6> minor>: MSAInst {
130 let Inst{16} = df;
136 class MSA_3R_FMT<bits<3> major, bits<2> df, bits<6> minor>: MSAInst {
142 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/valgrind/none/tests/x86/
Dbug152818-x86.c101 int df; in main() local
131 df = (idx >= (sizeof(lens)/sizeof(lens[0]))/2); in main()
136 if (df) in main()
152 if (df) in main()
172 if (df) in main()
188 if (df) in main()
208 printf ("DF = %d, count = %2d ", df, len); in main()
/external/icu/icu4c/source/test/cintltst/
Dcdtrgtst.c56 UDateFormat *df; in Test4029195() local
63 df = udat_open(UDAT_DEFAULT,UDAT_DEFAULT ,"en_US", NULL, 0, NULL, 0, &status); in Test4029195()
70 resultlengthneeded=udat_toPattern(df, TRUE, NULL, resultlength, &status); in Test4029195()
76 udat_toPattern(df, TRUE, pat, resultlength, &status); in Test4029195()
82 fmdt = myFormatit(df, today); in Test4029195()
92 udat_applyPattern(df, TRUE, temp, u_strlen(temp)); in Test4029195()
94 todayS =myFormatit(df, today); in Test4029195()
97 d1=udat_parse(df, todayS, u_strlen(todayS), &parsepos, &status); in Test4029195()
103 rt =myFormatit(df, d1); in Test4029195()
113 udat_close(df); in Test4029195()
[all …]
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/
DGlobalizationPreferencesTest.java1168 DateFormat df; in TestDateFormat() local
1175 df = gp.getDateFormat(GlobalizationPreferences.DF_SHORT, GlobalizationPreferences.DF_NONE); in TestDateFormat()
1176 pattern = ((SimpleDateFormat)df).toPattern(); in TestDateFormat()
1190 df = gp.getDateFormat(GlobalizationPreferences.DF_SHORT, GlobalizationPreferences.DF_NONE); in TestDateFormat()
1191 pattern = ((SimpleDateFormat)df).toPattern(); in TestDateFormat()
1203 df = gp.getDateFormat(GlobalizationPreferences.DF_FULL, GlobalizationPreferences.DF_NONE); in TestDateFormat()
1204 pattern = ((SimpleDateFormat)df).toPattern(); in TestDateFormat()
1210 df = gp.getDateFormat(GlobalizationPreferences.DF_LONG, GlobalizationPreferences.DF_NONE); in TestDateFormat()
1211 pattern = ((SimpleDateFormat)df).toPattern(); in TestDateFormat()
1217 df = gp.getDateFormat(GlobalizationPreferences.DF_MEDIUM, GlobalizationPreferences.DF_NONE); in TestDateFormat()
[all …]
/external/jemalloc/test/include/test/
Dmath.h5 double pt_chi2(double p, double df, double ln_gamma_df_2);
222 pt_chi2(double p, double df, double ln_gamma_df_2) in pt_chi2() argument
228 assert(df > 0.0); in pt_chi2()
233 xx = 0.5 * df; in pt_chi2()
236 if (df < -1.24 * log(p)) { in pt_chi2()
242 if (df > 0.32) { in pt_chi2()
248 p1 = 0.222222 / df; in pt_chi2()
249 ch = df * pow(x * sqrt(p1) + 1.0 - p1, 3.0); in pt_chi2()
251 if (ch > 2.2 * df + 6.0) { in pt_chi2()
/external/opencv/ml/src/
Dmlsvm.cpp1325 CvSVMDecisionFunc* df = 0; in do_train() local
1333 CV_CALL( decision_func = df = in do_train()
1334 (CvSVMDecisionFunc*)cvAlloc( sizeof(df[0]) )); in do_train()
1336 df->rho = 0; in do_train()
1338 responses->data.i, 0, 0, temp_storage, alpha, df->rho )) in do_train()
1344 sv_total = df->sv_count = sv_count; in do_train()
1345 CV_CALL( df->alpha = (double*)cvMemStorageAlloc( storage, sv_count*sizeof(df->alpha[0])) ); in do_train()
1354 df->alpha[k++] = alpha[i]; in do_train()
1382 CV_CALL( decision_func = df = (CvSVMDecisionFunc*)cvAlloc( in do_train()
1383 (class_count*(class_count-1)/2)*sizeof(df[0]))); in do_train()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/
DYMDDateFormatter.java24 private SimpleDateFormat df; // cache field in YMDDateFormatter
53 this.df = new SimpleDateFormat("yyyy/mm/dd", locale); in YMDDateFormatter()
54 this.df.setTimeZone(timeZone); in YMDDateFormatter()
76 return df.format(date); in format()

12345678910