Home
last modified time | relevance | path

Searched refs:dval (Results 1 – 25 of 31) sorted by relevance

12

/third_party/FreeBSD/contrib/gdtoa/
Dstrtod.c146 dval(&rv) = 0.;
350 dval(&rv) = y;
356 dval(&rv) = tens[k - 9] * dval(&rv) + z;
381 /* rv = */ rounded_product(dval(&rv), tens[e]);
398 dval(&rv) *= tens[i];
405 /* rv = */ rounded_product(dval(&rv), tens[e]);
411 /* rv = */ rounded_product(dval(&rv), tens[e]);
425 /* rv = */ rounded_quotient(dval(&rv), tens[-e]);
457 dval(&rv) *= tens[i];
480 dval(&rv0) = 1e300;
[all …]
Dstrtodg.c185 b = d2b(dval(d), &e, &bdif);
359 dval(&rv) = 0.;
551 dval(&rv) = y;
553 dval(&rv) = tens[k - 9] * dval(&rv) + z;
566 /* rv = */ rounded_product(dval(&rv), tens[e]);
580 dval(&rv) *= tens[i];
586 dval(&adj) = dval(&rv);
588 /* adj = */ rounded_product(dval(&adj), tens[e2]);
593 dval(&rv) = dval(&adj);
595 /* rv = */ rounded_product(dval(&rv), tens[e2]);
[all …]
Dsmisc.c83 dval(&da) = b2d(a, &ka);
84 dval(&db) = b2d(b, &kb);
90 dval(&da) *= 1 << k;
96 dval(&db) *= 1 << k;
106 return dval(&da) / dval(&db);
Dulp.c69 return dval(&a);
Dgdtoaimp.h300 #define dval(x) (x)->d macro
/third_party/FreeBSD/sys/dev/usb/
Dusb_hid.c228 int32_t dval; in hid_get_item() local
240 dval = s->usages_min[s->iusage] + s->ousage; in hid_get_item()
241 c->usage = dval; in hid_get_item()
242 s->usage_last = dval; in hid_get_item()
243 if (dval == s->usages_max[s->iusage]) { in hid_get_item()
251 dval = s->usage_last; in hid_get_item()
296 dval = 0; in hid_get_item()
300 dval = (int8_t)hid_get_byte(s, 1); in hid_get_item()
304 dval = hid_get_byte(s, 1); in hid_get_item()
305 dval |= hid_get_byte(s, 1) << 8; in hid_get_item()
[all …]
/third_party/python/Python/
Ddtoa.c192 #define dval(x) (x)->d macro
941 return dval(&u); in ulp()
978 return dval(&d); in b2d()
1114 dval(&da) = b2d(a, &ka); in ratio()
1115 dval(&db) = b2d(b, &kb); in ratio()
1123 return dval(&da) / dval(&db); in ratio()
1403 dval(rv) += sulp(rv, bc); in bigcomp()
1422 return dval(&rv); in _Py_dg_stdnan()
1434 return sign ? -dval(&rv) : dval(&rv); in _Py_dg_infinity()
1452 dval(&rv) = 0.; in _Py_dg_strtod()
[all …]
Dgetargs.c825 double dval = PyFloat_AsDouble(arg); in convertsimple() local
826 if (dval == -1.0 && PyErr_Occurred()) in convertsimple()
829 *p = (float) dval; in convertsimple()
835 double dval = PyFloat_AsDouble(arg); in convertsimple() local
836 if (dval == -1.0 && PyErr_Occurred()) in convertsimple()
839 *p = dval; in convertsimple()
/third_party/gstreamer/gstreamer/plugins/tracers/
Dgstrusage.c99 GstClockTime nval, GstClockTime * dts, GstClockTime * dval) in update_trace_value() argument
123 *dval = GST_CLOCK_DIFF (lv->val, nval); in update_trace_value()
132 *dval = nval; in update_trace_value()
/third_party/glslang/glslang/MachineIndependent/preprocessor/
DPpScanner.cpp328 ppToken->dval = (double)wholeNumber; in lFloatConst()
330 ppToken->dval = (double)wholeNumber / exponentValue; in lFloatConst()
332 ppToken->dval = (double)wholeNumber * exponentValue; in lFloatConst()
335 ppToken->dval = 0.0; in lFloatConst()
349 strtodStream >> ppToken->dval; in lFloatConst()
357 ppToken->dval = 0.0; in lFloatConst()
DPpContext.h111 ival == right.ival && dval == right.dval && i64val == right.i64val &&
123 double dval; member
/third_party/benchmark/test/
Doutput_test.h135 double dval = GetAs<double>(entry_name); in GetCounterAs() local
136 T tval = static_cast<T>(dval); in GetCounterAs()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/duration/impl/
DPeriodFormatterData.java402 int dval = count % 1000; in appendCountValue() local
404 dval /= 100; in appendCountValue()
406 dval /= 10; in appendCountValue()
409 appendDigits(dval, decimalDigits, decimalDigits, sb); in appendCountValue()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/
DPeriodFormatterData.java400 int dval = count % 1000; in appendCountValue() local
402 dval /= 100; in appendCountValue()
404 dval /= 10; in appendCountValue()
407 appendDigits(dval, decimalDigits, decimalDigits, sb); in appendCountValue()
/third_party/skia/third_party/externals/sfntly/cpp/src/test/tinyxml/
Dtinyxml.cpp720 int TiXmlElement::QueryDoubleAttribute( const char* name, double* dval ) const in QueryDoubleAttribute()
725 return attrib->QueryDoubleValue( dval ); in QueryDoubleAttribute()
730 int TiXmlElement::QueryDoubleAttribute( const std::string& name, double* dval ) const in QueryDoubleAttribute()
735 return attrib->QueryDoubleValue( dval ); in QueryDoubleAttribute()
1243 int TiXmlAttribute::QueryDoubleValue( double* dval ) const in QueryDoubleValue()
1245 if ( TIXML_SSCANF( value.c_str(), "%lf", dval ) == 1 ) in QueryDoubleValue()
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/test/tinyxml/
Dtinyxml.cpp720 int TiXmlElement::QueryDoubleAttribute( const char* name, double* dval ) const in QueryDoubleAttribute()
725 return attrib->QueryDoubleValue( dval ); in QueryDoubleAttribute()
730 int TiXmlElement::QueryDoubleAttribute( const std::string& name, double* dval ) const in QueryDoubleAttribute()
735 return attrib->QueryDoubleValue( dval ); in QueryDoubleAttribute()
1243 int TiXmlAttribute::QueryDoubleValue( double* dval ) const in QueryDoubleValue()
1245 if ( TIXML_SSCANF( value.c_str(), "%lf", dval ) == 1 ) in QueryDoubleValue()
/third_party/glslang/glslang/HLSL/
DhlslScanContext.cpp553 … case PpAtomConstFloat16: parserToken->d = ppToken.dval; return EHTokFloat16Constant; in tokenizeClass()
554 … case PpAtomConstFloat: parserToken->d = ppToken.dval; return EHTokFloatConstant; in tokenizeClass()
555 … case PpAtomConstDouble: parserToken->d = ppToken.dval; return EHTokDoubleConstant; in tokenizeClass()
/third_party/python/Lib/
Doptparse.py852 dval = dict[attr]
853 if dval is not None:
854 setattr(self, attr, dval)
/third_party/python/Objects/
Dlongobject.c296 PyLong_FromDouble(double dval) in PyLong_FromDouble() argument
309 if (-int_max < dval && dval < int_max) { in PyLong_FromDouble()
310 return PyLong_FromLong((long)dval); in PyLong_FromDouble()
317 if (Py_IS_INFINITY(dval)) { in PyLong_FromDouble()
322 if (Py_IS_NAN(dval)) { in PyLong_FromDouble()
327 if (dval < 0.0) { in PyLong_FromDouble()
329 dval = -dval; in PyLong_FromDouble()
331 frac = frexp(dval, &expo); /* dval = frac*2**expo; 0.0 <= frac < 1.0 */ in PyLong_FromDouble()
/third_party/mesa3d/src/freedreno/perfcntrs/
Dfdperf.c302 uint32_t dval = delta(group->last[ctr], val); in resample_counter() local
303 group->current[ctr] = (float)dval * 1000000.0 / (float)dt; in resample_counter()
/third_party/glslang/glslang/MachineIndependent/
DScan.cpp897 …case PpAtomConstFloat: parserToken->sType.lex.d = ppToken.dval; return FLOATCONST… in tokenize()
903 …case PpAtomConstDouble: parserToken->sType.lex.d = ppToken.dval; return DOUBLECONS… in tokenize()
904 …case PpAtomConstFloat16: parserToken->sType.lex.d = ppToken.dval; return FLOAT16CON… in tokenize()
/third_party/mesa3d/src/nouveau/codegen/
Dnv50_ir_ra.cpp1838 LValue *dval = (*d)->get()->asLValue(); in run() local
1844 std::vector<ValueRef *> refs(dval->uses.begin(), dval->uses.end()); in run()
1859 tmp = unspill(usei, dval, slot); in run()
1874 spill(defi, slot, dval); in run()
Dnv50_ir.cpp342 ImmediateValue::ImmediateValue(Program *prog, double dval) in ImmediateValue() argument
350 reg.data.f64 = dval; in ImmediateValue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULibCalls.cpp968 double dval = (getArgType(FInfo) == AMDGPULibFunc::F32) in fold_pow() local
971 int ival = (int)dval; in fold_pow()
972 if ((double)ival == dval) { in fold_pow()
/third_party/alsa-lib/src/pcm/
Dpcm_ladspa.c1268 double dval; in snd_pcm_ladspa_parse_controls() local
1281 if (snd_config_get_ireal(n, &dval) < 0) { in snd_pcm_ladspa_parse_controls()
1291 io->controls[uval] = (LADSPA_Data)dval; in snd_pcm_ladspa_parse_controls()

12