Home
last modified time | relevance | path

Searched refs:dvalue (Results 1 – 21 of 21) sorted by relevance

/external/iproute2/netem/
Dpareto.c21 double dvalue; in main() local
26 dvalue = (double)i/(double)65536; in main()
27 dvalue = 1.0/pow(dvalue, 1.0/a); in main()
28 dvalue -= 1.5; in main()
29 dvalue *= (4.0/3.0)*(double)TABLEFACTOR; in main()
30 if (dvalue > 32767) in main()
31 dvalue = 32767; in main()
33 printf(" %d", (int)rint(dvalue)); in main()
Dparetonormal.c36 double dvalue; in paretovalue() local
39 dvalue = (double)i/(double)65536; in paretovalue()
40 dvalue = 1.0/pow(dvalue, 1.0/a); in paretovalue()
41 dvalue -= 1.5; in paretovalue()
42 dvalue *= (4.0/3.0)*(double)TABLEFACTOR; in paretovalue()
43 if (dvalue > 32767) in paretovalue()
44 dvalue = 32767; in paretovalue()
45 return (int)rint(dvalue); in paretovalue()
/external/grpc-grpc/third_party/nanopb/tests/encode_unittests/
Dencode_unittests.c151 double dvalue; in main() local
162 dvalue = 0.0; in main()
163 TEST(WRITES(pb_enc_fixed64(&s, NULL, &dvalue), "\x00\x00\x00\x00\x00\x00\x00\x00")) in main()
164 dvalue = 99.0; in main()
165 TEST(WRITES(pb_enc_fixed64(&s, NULL, &dvalue), "\x00\x00\x00\x00\x00\xc0\x58\x40")) in main()
166 dvalue = -12345678.0; in main()
167 TEST(WRITES(pb_enc_fixed64(&s, NULL, &dvalue), "\x00\x00\x00\xc0\x29\x8c\x67\xc1")) in main()
/external/nanopb-c/tests/encode_unittests/
Dencode_unittests.c151 double dvalue; in main() local
162 dvalue = 0.0; in main()
163 TEST(WRITES(pb_enc_fixed64(&s, NULL, &dvalue), "\x00\x00\x00\x00\x00\x00\x00\x00")) in main()
164 dvalue = 99.0; in main()
165 TEST(WRITES(pb_enc_fixed64(&s, NULL, &dvalue), "\x00\x00\x00\x00\x00\xc0\x58\x40")) in main()
166 dvalue = -12345678.0; in main()
167 TEST(WRITES(pb_enc_fixed64(&s, NULL, &dvalue), "\x00\x00\x00\xc0\x29\x8c\x67\xc1")) in main()
/external/v8/src/asmjs/
Dasm-parser.cc442 double dvalue = 0.0; in ValidateModuleVar() local
444 if (CheckForDouble(&dvalue)) { in ValidateModuleVar()
446 WasmInitExpr(dvalue)); in ValidateModuleVar()
455 if (CheckForDouble(&dvalue)) { in ValidateModuleVar()
457 WasmInitExpr(-dvalue)); in ValidateModuleVar()
515 double dvalue = 0.0; in ValidateModuleVarFromGlobal() local
517 if (CheckForDouble(&dvalue)) { in ValidateModuleVarFromGlobal()
519 dvalue = -dvalue; in ValidateModuleVarFromGlobal()
522 WasmInitExpr(DoubleToFloat32(dvalue))); in ValidateModuleVarFromGlobal()
524 dvalue = uvalue; in ValidateModuleVarFromGlobal()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Bitcode/
Dupgrade-dbg-value.ll1 ; Test upgrade of dbg.dvalue intrinsics with offsets.
/external/vixl/src/
Dutils-vixl.cc208 Float16::Float16(double dvalue) { in Float16() argument
210 Float16ToRawbits(FPToFloat16(dvalue, FPTieEven, kIgnoreDefaultNaN)); in Float16()
Dutils-vixl.h241 explicit Float16(double dvalue);
289 SimFloat16(double dvalue) : Float16(dvalue) {} // NOLINT(runtime/explicit) in SimFloat16() argument
/external/icu/android_icu4j/src/main/java/android/icu/math/
DBigDecimal.java517 int dvalue = 0; in BigDecimal() local
603 dvalue = UCharacter.digit(sj, 10); // check base in BigDecimal()
604 if (dvalue < 0) in BigDecimal()
607 dvalue = ((sj)) - (('0')); in BigDecimal()
608 exp = (exp * 10) + dvalue; in BigDecimal()
665 dvalue = UCharacter.digit(sj, 10); in BigDecimal()
666 if (dvalue < 0) in BigDecimal()
668 mant[i] = (byte) dvalue; in BigDecimal()
/external/icu/icu4c/source/test/cintltst/
Dcnmdptst.c611 double dvalue; in TestDoubleAttribute() local
625 dvalue=unum_getDoubleAttribute(def, attr); in TestDoubleAttribute()
628 dvalue = mydata[i]; in TestDoubleAttribute()
629 unum_setDoubleAttribute(def, attr, dvalue); in TestDoubleAttribute()
/external/clang/lib/Driver/
DMSVCToolChain.cpp183 double dvalue = strtod(numBuf, NULL); in getSystemRegistryString()
184 if (dvalue > bestValue) { in getSystemRegistryString()
195 bestValue = dvalue; in getSystemRegistryString()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/math/
DBigDecimal.java533 int dvalue = 0; in BigDecimal() local
619 dvalue = UCharacter.digit(sj, 10); // check base in BigDecimal()
620 if (dvalue < 0) in BigDecimal()
623 dvalue = ((sj)) - (('0')); in BigDecimal()
624 exp = (exp * 10) + dvalue; in BigDecimal()
681 dvalue = UCharacter.digit(sj, 10); in BigDecimal()
682 if (dvalue < 0) in BigDecimal()
684 mant[i] = (byte) dvalue; in BigDecimal()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/math/
DBigDecimal.java531 int dvalue = 0; in BigDecimal() local
617 dvalue = Character.digit(sj, 10); // check base in BigDecimal()
618 if (dvalue < 0) in BigDecimal()
621 dvalue = ((int) (sj)) - ((int) ('0')); in BigDecimal()
622 exp = (exp * 10) + dvalue; in BigDecimal()
679 dvalue = Character.digit(sj, 10); in BigDecimal()
680 if (dvalue < 0) in BigDecimal()
682 mant[i] = (byte) dvalue; in BigDecimal()
/external/v8/src/execution/ppc/
Dsimulator-ppc.cc253 double dvalue; in Debug() local
261 dvalue = GetRegisterPairDoubleValue(i); in Debug()
262 PrintF(" (%f)\n", dvalue); in Debug()
280 dvalue = GetRegisterPairDoubleValue(i); in Debug()
281 PrintF(" (%f)\n", dvalue); in Debug()
294 dvalue = GetFPDoubleRegisterValue(i); in Debug()
295 uint64_t as_words = bit_cast<uint64_t>(dvalue); in Debug()
297 RegisterName(DoubleRegister::from_code(i)), dvalue, in Debug()
317 } else if (GetFPDoubleValue(arg1, &dvalue)) { in Debug()
318 uint64_t as_words = bit_cast<uint64_t>(dvalue); in Debug()
[all …]
/external/v8/src/execution/arm/
Dsimulator-arm.cc237 double dvalue; in Debug() local
245 dvalue = GetRegisterPairDoubleValue(i); in Debug()
246 PrintF(" (%f)\n", dvalue); in Debug()
252 dvalue = GetVFPDoubleRegisterValue(i); in Debug()
253 uint64_t as_words = bit_cast<uint64_t>(dvalue); in Debug()
255 dvalue, static_cast<uint32_t>(as_words >> 32), in Debug()
264 } else if (GetVFPDoubleValue(arg1, &dvalue)) { in Debug()
265 uint64_t as_words = bit_cast<uint64_t>(dvalue); in Debug()
266 PrintF("%s: %f 0x%08x %08x\n", arg1, dvalue, in Debug()
/external/golang-protobuf/protoc-gen-go/generator/
Dgenerator.go2314 dvalue := g.getterDefault(field, goTypeName)
2354 getterDef: dvalue,
2381 getterDef: dvalue,
/external/v8/src/execution/s390/
Dsimulator-s390.cc283 double dvalue; in Debug() local
291 dvalue = GetRegisterPairDoubleValue(i); in Debug()
292 PrintF(" (%f)\n", dvalue); in Debug()
306 dvalue = GetRegisterPairDoubleValue(i); in Debug()
307 PrintF(" (%f)\n", dvalue); in Debug()
324 dvalue = GetFPDoubleRegisterValue(i); in Debug()
325 uint64_t as_words = bit_cast<uint64_t>(dvalue); in Debug()
327 RegisterName(DoubleRegister::from_code(i)), dvalue, in Debug()
347 } else if (GetFPDoubleValue(arg1, &dvalue)) { in Debug()
348 uint64_t as_words = bit_cast<uint64_t>(dvalue); in Debug()
[all …]
/external/python/cffi/testing/cffi1/
Dtest_verify1.py2000 lib.dvalue = 0
/external/v8/src/execution/mips/
Dsimulator-mips.cc400 double dvalue; in Debug() local
402 dvalue = GetFPURegisterValueDouble(fpuregnum); in Debug()
404 value, dvalue); in Debug()
/external/python/cffi/testing/cffi0/
Dtest_verify.py2035 lib.dvalue = 0
/external/v8/src/execution/mips64/
Dsimulator-mips64.cc359 double dvalue; in Debug() local
374 dvalue = GetFPURegisterValueDouble(fpuregnum); in Debug()
376 FPURegisters::Name(fpuregnum), value, dvalue); in Debug()