Home
last modified time | relevance | path

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

12345678910>>...16

/third_party/icu/icu4c/source/i18n/
DdecNumberLocal.h305 #define DFBYTE(df, off) ((df)->bytes[DECBYTES-1-(off)]) argument
306 #define DFWORD(df, off) ((df)->words[DECWORDS-1-(off)]) argument
309 #define DFBYTE(df, off) ((df)->bytes[off]) argument
310 #define DFWORD(df, off) ((df)->words[off]) argument
315 #define DFISSIGNED(df) (DFWORD(df, 0)&0x80000000) argument
316 #define DFISSPECIAL(df) ((DFWORD(df, 0)&0x78000000)==0x78000000) argument
317 #define DFISINF(df) ((DFWORD(df, 0)&0x7c000000)==0x78000000) argument
318 #define DFISNAN(df) ((DFWORD(df, 0)&0x7c000000)==0x7c000000) argument
319 #define DFISQNAN(df) ((DFWORD(df, 0)&0x7e000000)==0x7c000000) argument
320 #define DFISSNAN(df) ((DFWORD(df, 0)&0x7e000000)==0x7e000000) argument
[all …]
Dunum.cpp158 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); in unum_clone() local
159 if (df != NULL) { in unum_clone()
160 res = df->clone(); in unum_clone()
564 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); in unum_getAttribute() local
565 if (df != NULL) { in unum_getAttribute()
567 return df->getAttribute(attr, ignoredStatus); in unum_getAttribute()
609 DecimalFormat* df = dynamic_cast<DecimalFormat*>(nf); in unum_setAttribute() local
610 if (df != NULL) { in unum_setAttribute()
612 df->setAttribute(attr, newValue, ignoredStatus); in unum_setAttribute()
621 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); in unum_getDoubleAttribute() local
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
DdecNumberLocal.h305 #define DFBYTE(df, off) ((df)->bytes[DECBYTES-1-(off)]) argument
306 #define DFWORD(df, off) ((df)->words[DECWORDS-1-(off)]) argument
309 #define DFBYTE(df, off) ((df)->bytes[off]) argument
310 #define DFWORD(df, off) ((df)->words[off]) argument
315 #define DFISSIGNED(df) (DFWORD(df, 0)&0x80000000) argument
316 #define DFISSPECIAL(df) ((DFWORD(df, 0)&0x78000000)==0x78000000) argument
317 #define DFISINF(df) ((DFWORD(df, 0)&0x7c000000)==0x78000000) argument
318 #define DFISNAN(df) ((DFWORD(df, 0)&0x7c000000)==0x7c000000) argument
319 #define DFISQNAN(df) ((DFWORD(df, 0)&0x7e000000)==0x7c000000) argument
320 #define DFISSNAN(df) ((DFWORD(df, 0)&0x7e000000)==0x7e000000) argument
[all …]
Dunum.cpp161 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); in unum_clone() local
162 if (df != NULL) { in unum_clone()
163 res = df->clone(); in unum_clone()
545 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); in unum_getAttribute() local
546 if (df != NULL) { in unum_getAttribute()
548 return df->getAttribute(attr, ignoredStatus); in unum_getAttribute()
590 DecimalFormat* df = dynamic_cast<DecimalFormat*>(nf); in unum_setAttribute() local
591 if (df != NULL) { in unum_setAttribute()
593 df->setAttribute(attr, newValue, ignoredStatus); in unum_setAttribute()
602 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); in unum_getDoubleAttribute() local
[all …]
/third_party/node/deps/icu-small/source/i18n/
DdecNumberLocal.h305 #define DFBYTE(df, off) ((df)->bytes[DECBYTES-1-(off)]) argument
306 #define DFWORD(df, off) ((df)->words[DECWORDS-1-(off)]) argument
309 #define DFBYTE(df, off) ((df)->bytes[off]) argument
310 #define DFWORD(df, off) ((df)->words[off]) argument
315 #define DFISSIGNED(df) (DFWORD(df, 0)&0x80000000) argument
316 #define DFISSPECIAL(df) ((DFWORD(df, 0)&0x78000000)==0x78000000) argument
317 #define DFISINF(df) ((DFWORD(df, 0)&0x7c000000)==0x78000000) argument
318 #define DFISNAN(df) ((DFWORD(df, 0)&0x7c000000)==0x7c000000) argument
319 #define DFISQNAN(df) ((DFWORD(df, 0)&0x7e000000)==0x7c000000) argument
320 #define DFISSNAN(df) ((DFWORD(df, 0)&0x7e000000)==0x7e000000) argument
[all …]
Dunum.cpp172 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); in unum_clone() local
173 if (df != nullptr) { in unum_clone()
174 res = df->clone(); in unum_clone()
578 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); in unum_getAttribute() local
579 if (df != nullptr) { in unum_getAttribute()
581 return df->getAttribute(attr, ignoredStatus); in unum_getAttribute()
623 DecimalFormat* df = dynamic_cast<DecimalFormat*>(nf); in unum_setAttribute() local
624 if (df != nullptr) { in unum_setAttribute()
626 df->setAttribute(attr, newValue, ignoredStatus); in unum_setAttribute()
635 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); in unum_getDoubleAttribute() local
[all …]
/third_party/mbedtls/tests/suites/
Dtest_suite_ctr_drbg.data33 CTR_DRBG NIST Validation (AES-256 use df,True,256,128,0,0) #0
37 CTR_DRBG NIST Validation (AES-256 use df,True,256,128,0,0) #1
41 CTR_DRBG NIST Validation (AES-256 use df,True,256,128,0,0) #2
45 CTR_DRBG NIST Validation (AES-256 use df,True,256,128,0,0) #3
49 CTR_DRBG NIST Validation (AES-256 use df,True,256,128,0,0) #4
53 CTR_DRBG NIST Validation (AES-256 use df,True,256,128,0,0) #5
57 CTR_DRBG NIST Validation (AES-256 use df,True,256,128,0,0) #6
61 CTR_DRBG NIST Validation (AES-256 use df,True,256,128,0,0) #7
65 CTR_DRBG NIST Validation (AES-256 use df,True,256,128,0,0) #8
69 CTR_DRBG NIST Validation (AES-256 use df,True,256,128,0,0) #9
[all …]
/third_party/icu/icu4c/source/test/intltest/
Ddcfmapts.cpp137 DecimalFormat df("0", {"en", status}, status); in testAPI() local
139 assertEquals("pat 0: ", 0, df.getGroupingSize()); in testAPI()
140 assertEquals("pat 0: ", (UBool) false, (UBool) df.isGroupingUsed()); in testAPI()
141 df.setGroupingUsed(false); in testAPI()
142 assertEquals("pat 0 then disabled: ", 0, df.getGroupingSize()); in testAPI()
143 assertEquals("pat 0 then disabled: ", u"1111", df.format(1111, result.remove())); in testAPI()
144 df.setGroupingUsed(true); in testAPI()
145 assertEquals("pat 0 then enabled: ", 0, df.getGroupingSize()); in testAPI()
146 assertEquals("pat 0 then enabled: ", u"1111", df.format(1111, result.remove())); in testAPI()
149 DecimalFormat df("#,##0", {"en", status}, status); in testAPI() local
[all …]
Dmiscdtfm.cpp165 SimpleDateFormat *df = new SimpleDateFormat(UnicodeString("E hh:mm"), *symbols, status); in test4099975() local
168 format0 = df->format(d, format0); in test4099975()
170 localizedPattern0 = df->toLocalizedPattern(localizedPattern0, status); in test4099975()
174 format1 = df->format(d, format1); in test4099975()
180 localizedPattern1 = df->toLocalizedPattern(localizedPattern1, status); in test4099975()
187 delete df; in test4099975()
197 SimpleDateFormat *df = new SimpleDateFormat(UnicodeString("E hh:mm"), status); in test4099975() local
199 df->setDateFormatSymbols(*symbols); in test4099975()
201 format0 = df->format(d, format0); in test4099975()
203 localizedPattern0 = df->toLocalizedPattern(localizedPattern0, status); in test4099975()
[all …]
Dnumrgts.cpp293 DecimalFormat *df = new DecimalFormat(status); in Test4088161() local
296 df->setMinimumFractionDigits(0); in Test4088161()
297 df->setMaximumFractionDigits(16); in Test4088161()
301 logln(UnicodeString("maxFractionDigits = ") + df->getMaximumFractionDigits()); in Test4088161()
303 logln(" format(d) = '" + df->format(d, sBuf1, fp1) + "'"); in Test4088161()
304 df->setMaximumFractionDigits(17); in Test4088161()
307 logln(UnicodeString("maxFractionDigits = ") + df->getMaximumFractionDigits()); in Test4088161()
308 sBuf2 = df->format(d, sBuf2, fp2); in Test4088161()
313 delete df; in Test4088161()
329 DecimalFormat *df = new DecimalFormat("#,##0.0", *symbols, status); in Test4087245() local
[all …]
Dnumfmtst.cpp436 DecimalFormat df(u"0.00 ; -0.00", {"en-us", status}, status); in Test20186_SpacesAroundSemicolon() local
437 expect2(df, 1, u"1.00 "); in Test20186_SpacesAroundSemicolon()
438 expect2(df, -1, u" -1.00"); in Test20186_SpacesAroundSemicolon()
440 df = DecimalFormat(u"0.00;", {"en-us", status}, status); in Test20186_SpacesAroundSemicolon()
441 expect2(df, 1, u"1.00"); in Test20186_SpacesAroundSemicolon()
442 expect2(df, -1, u"-1.00"); in Test20186_SpacesAroundSemicolon()
444 df = DecimalFormat(u"0.00;0.00", {"en-us", status}, status); in Test20186_SpacesAroundSemicolon()
445 expect2(df, 1, u"1.00"); in Test20186_SpacesAroundSemicolon()
446 expect(df, -1, u"1.00"); // parses as 1, not -1 in Test20186_SpacesAroundSemicolon()
448 df = DecimalFormat(u" 0.00 ; -0.00 ", {"en-us", status}, status); in Test20186_SpacesAroundSemicolon()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatTest.java263 DecimalFormat df = new DecimalFormat("0.00 ; -0.00"); in Test20186_SpacesAroundSemicolon() local
264 expect2(df, 1, "1.00 "); in Test20186_SpacesAroundSemicolon()
265 expect2(df, -1, " -1.00"); in Test20186_SpacesAroundSemicolon()
267 df = new DecimalFormat("0.00;"); in Test20186_SpacesAroundSemicolon()
268 expect2(df, 1, "1.00"); in Test20186_SpacesAroundSemicolon()
269 expect2(df, -1, "-1.00"); in Test20186_SpacesAroundSemicolon()
271 df = new DecimalFormat("0.00;0.00"); in Test20186_SpacesAroundSemicolon()
272 expect2(df, 1, "1.00"); in Test20186_SpacesAroundSemicolon()
273 expect(df, -1, "1.00"); // parses as 1, not -1 in Test20186_SpacesAroundSemicolon()
275 df = new DecimalFormat(" 0.00 ; -0.00 "); in Test20186_SpacesAroundSemicolon()
[all …]
DNumberRegressionTests.java101 DecimalFormat df = new DecimalFormat(); in Test4088161() local
103 df.setMinimumFractionDigits(0); in Test4088161()
104 df.setMaximumFractionDigits(16); in Test4088161()
108 logln("maxFractionDigits = " + df.getMaximumFractionDigits()); in Test4088161()
109 logln(" format(d) = '" + df.format(d, sBuf1, fp1) + "'"); in Test4088161()
110 df.setMaximumFractionDigits(17); in Test4088161()
113 logln("maxFractionDigits = " + df.getMaximumFractionDigits()); in Test4088161()
114 df.format(d, sBuf2, fp2); in Test4088161()
125 DecimalFormat df = new DecimalFormat("#,##0.0", symbols); in Test4087245() local
130 df.format(n, buf1, new FieldPosition(0))); in Test4087245()
[all …]
DNumberFormatRegressionTest.java85 DateFormat df = DateFormat.getDateInstance(DateFormat.SHORT, loc); in TestJ691() local
87 df.setCalendar(cal); in TestJ691()
88 df.setNumberFormat(nf); in TestJ691()
92 df.setLenient(true); in TestJ691()
94 ulocdat = df.parse(udt); in TestJ691()
99 String outString = df.format(ulocdat); in TestJ691()
231 … DecimalFormat df = new DecimalFormat("#,##0.###", new DecimalFormatSymbols(new ULocale("en_US"))); in TestJB5509() local
232 df.setParseStrict(true); in TestJB5509()
235 df.parse(data[i]); in TestJB5509()
406 DecimalFormat df = new DecimalFormat("0", EN); in TestGroupingEnabledDisabledGetters() local
[all …]
DDateFormatMiscTests.java81 SimpleDateFormat df = new SimpleDateFormat("E hh:mm", symbols); in Test4099975new() local
82 SimpleDateFormat dfClone = (SimpleDateFormat) df.clone(); in Test4099975new()
84 logln(df.toLocalizedPattern()); in Test4099975new()
85 String s0 = df.format(d); in Test4099975new()
89 logln(df.toLocalizedPattern()); in Test4099975new()
90 String s1 = df.format(d); in Test4099975new()
95 if (!df.equals(dfClone)) { in Test4099975new()
102 SimpleDateFormat df = new SimpleDateFormat("E hh:mm"); in Test4099975new() local
103 df.setDateFormatSymbols(symbols); in Test4099975new()
104 SimpleDateFormat dfClone = (SimpleDateFormat) df.clone(); in Test4099975new()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DNumberFormatTest.java266 DecimalFormat df = new DecimalFormat("0.00 ; -0.00"); in Test20186_SpacesAroundSemicolon() local
267 expect2(df, 1, "1.00 "); in Test20186_SpacesAroundSemicolon()
268 expect2(df, -1, " -1.00"); in Test20186_SpacesAroundSemicolon()
270 df = new DecimalFormat("0.00;"); in Test20186_SpacesAroundSemicolon()
271 expect2(df, 1, "1.00"); in Test20186_SpacesAroundSemicolon()
272 expect2(df, -1, "-1.00"); in Test20186_SpacesAroundSemicolon()
274 df = new DecimalFormat("0.00;0.00"); in Test20186_SpacesAroundSemicolon()
275 expect2(df, 1, "1.00"); in Test20186_SpacesAroundSemicolon()
276 expect(df, -1, "1.00"); // parses as 1, not -1 in Test20186_SpacesAroundSemicolon()
278 df = new DecimalFormat(" 0.00 ; -0.00 "); in Test20186_SpacesAroundSemicolon()
[all …]
DNumberRegressionTests.java104 DecimalFormat df = new DecimalFormat(); in Test4088161() local
106 df.setMinimumFractionDigits(0); in Test4088161()
107 df.setMaximumFractionDigits(16); in Test4088161()
111 logln("maxFractionDigits = " + df.getMaximumFractionDigits()); in Test4088161()
112 logln(" format(d) = '" + df.format(d, sBuf1, fp1) + "'"); in Test4088161()
113 df.setMaximumFractionDigits(17); in Test4088161()
116 logln("maxFractionDigits = " + df.getMaximumFractionDigits()); in Test4088161()
117 df.format(d, sBuf2, fp2); in Test4088161()
128 DecimalFormat df = new DecimalFormat("#,##0.0", symbols); in Test4087245() local
133 df.format(n, buf1, new FieldPosition(0))); in Test4087245()
[all …]
DNumberFormatRegressionTest.java88 DateFormat df = DateFormat.getDateInstance(DateFormat.SHORT, loc); in TestJ691() local
90 df.setCalendar(cal); in TestJ691()
91 df.setNumberFormat(nf); in TestJ691()
95 df.setLenient(true); in TestJ691()
97 ulocdat = df.parse(udt); in TestJ691()
102 String outString = df.format(ulocdat); in TestJ691()
234 … DecimalFormat df = new DecimalFormat("#,##0.###", new DecimalFormatSymbols(new ULocale("en_US"))); in TestJB5509() local
235 df.setParseStrict(true); in TestJB5509()
238 df.parse(data[i]); in TestJB5509()
409 DecimalFormat df = new DecimalFormat("0", EN); in TestGroupingEnabledDisabledGetters() local
[all …]
DDateFormatMiscTests.java84 SimpleDateFormat df = new SimpleDateFormat("E hh:mm", symbols); in Test4099975new() local
85 SimpleDateFormat dfClone = (SimpleDateFormat) df.clone(); in Test4099975new()
87 logln(df.toLocalizedPattern()); in Test4099975new()
88 String s0 = df.format(d); in Test4099975new()
92 logln(df.toLocalizedPattern()); in Test4099975new()
93 String s1 = df.format(d); in Test4099975new()
98 if (!df.equals(dfClone)) { in Test4099975new()
105 SimpleDateFormat df = new SimpleDateFormat("E hh:mm"); in Test4099975new() local
106 df.setDateFormatSymbols(symbols); in Test4099975new()
107 SimpleDateFormat dfClone = (SimpleDateFormat) df.clone(); in Test4099975new()
[all …]
/third_party/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()
220 DurationFormat df; in TestSimpleXMLDuration() local
227 df = DurationFormat.getInstance(new ULocale("en")); in TestSimpleXMLDuration()
229 out = df.format(d); in TestSimpleXMLDuration()
238 df = DurationFormat.getInstance(new ULocale("en")); in TestSimpleXMLDuration()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/duration/
DICUDurationTest.java180 DurationFormat df; in TestBasics() local
184 df = DurationFormat.getInstance(new ULocale("it")); in TestBasics()
185 formatted = df.formatDurationFromNow(4096); in TestBasics()
193 formatted = df.formatDurationFromNowTo(new Date(0)); in TestBasics()
203 formatted = df.formatDurationFrom(1000*3600*24, new Date(0).getTime()); in TestBasics()
211 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 …]
/third_party/ffmpeg/libavfilter/
Dvf_xbr.c90 #define df(A, B) pixel_diff(A, B, r2y) macro
91 #define eq(A, B) (df(A, B) < 155)
96 … const unsigned e = df(PE,PC) + df(PE,PG) + df(PI,H5) + df(PI,F4) + (df(PH,PF)<<2); \
97 … const unsigned i = df(PH,PD) + df(PH,I5) + df(PF,I4) + df(PF,PB) + (df(PE,PI)<<2); \
99 … const unsigned px = df(PE,PF) <= df(PE,PH) ? PF : PH; \
103 … const unsigned ke = df(PF,PG); \
104 … const unsigned ki = df(PH,PC); \
130 … const unsigned e = df(PE,PC) + df(PE,PG) + df(PI,H5) + df(PI,F4) + (df(PH,PF)<<2); \
131 … const unsigned i = df(PH,PD) + df(PH,I5) + df(PF,I4) + df(PF,PB) + (df(PE,PI)<<2); \
133 … const unsigned px = df(PE,PF) <= df(PE,PH) ? PF : PH; \
[all …]
/third_party/nghttp2/tests/
Dfailmalloc_test.c45 data_feed *df; member
49 static void data_feed_init(data_feed *df, nghttp2_bufs *bufs) { in data_feed_init() argument
56 assert(data_length <= sizeof(df->data)); in data_feed_init()
57 memcpy(df->data, buf->pos, data_length); in data_feed_init()
58 df->datamark = df->data; in data_feed_init()
59 df->datalimit = df->data + data_length; in data_feed_init()
74 data_feed *df = ((my_user_data *)user_data)->df; in data_feed_recv_callback() local
75 size_t avail = (size_t)(df->datalimit - df->datamark); in data_feed_recv_callback()
80 memcpy(data, df->datamark, wlen); in data_feed_recv_callback()
81 df->datamark += wlen; in data_feed_recv_callback()
[all …]
/third_party/musl/porting/liteos_a/kernel/src/math/
Dacos.c62 double z,w,s,c,df; in acos() local
96 df = s; in acos()
97 SET_LOW_WORD(df,0); in acos()
98 c = (z-df*df)/(s+df); in acos()
100 return 2*(df+w); in acos()
/third_party/musl/src/math/
Dacos.c62 double z,w,s,c,df; in acos() local
96 df = s; in acos()
97 SET_LOW_WORD(df,0); in acos()
98 c = (z-df*df)/(s+df); in acos()
100 return 2*(df+w); in acos()

12345678910>>...16