/external/smali/util/src/main/java/org/jf/util/ |
D | NumberUtils.java | 124 String asDouble = format.format(doubleValue); in isLikelyDouble() local 127 int decimalPoint = asDouble.indexOf('.'); in isLikelyDouble() 128 int exponent = asDouble.indexOf("E"); in isLikelyDouble() 129 int zeros = asDouble.indexOf("000"); in isLikelyDouble() 131 asDouble = asDouble.substring(0, zeros) + asDouble.substring(exponent); in isLikelyDouble() 133 int nines = asDouble.indexOf("999"); in isLikelyDouble() 135 asDouble = asDouble.substring(0, nines) + asDouble.substring(exponent); in isLikelyDouble() 139 return asDouble.length() < asLong.length(); in isLikelyDouble()
|
/external/jsoncpp/src/test_lib_json/ |
D | main.cpp | 265 JSONTEST_ASSERT_EQUAL(0.0, null_.asDouble()); in JSONTEST_FIXTURE() 329 JSONTEST_ASSERT_EQUAL(1.0, true_.asDouble()); in JSONTEST_FIXTURE() 337 JSONTEST_ASSERT_EQUAL(0.0, false_.asDouble()); in JSONTEST_FIXTURE() 387 JSONTEST_ASSERT_EQUAL(0.0, val.asDouble()); in JSONTEST_FIXTURE() 415 JSONTEST_ASSERT_EQUAL(0.0, val.asDouble()); in JSONTEST_FIXTURE() 443 JSONTEST_ASSERT_EQUAL(0.0, val.asDouble()); in JSONTEST_FIXTURE() 471 JSONTEST_ASSERT_EQUAL(0.0, val.asDouble()); in JSONTEST_FIXTURE() 499 JSONTEST_ASSERT_EQUAL(0.0, val.asDouble()); in JSONTEST_FIXTURE() 527 JSONTEST_ASSERT_EQUAL(0.0, val.asDouble()); in JSONTEST_FIXTURE() 554 JSONTEST_ASSERT_EQUAL((1 << 20), val.asDouble()); in JSONTEST_FIXTURE() [all …]
|
/external/xmlrpcpp/src/ |
D | XmlRpcValue.cpp | 129 case TypeDouble: _value.asDouble = rhs._value.asDouble; break; in operator =() 158 case TypeDouble: return _value.asDouble == other._value.asDouble; in operator ==() 356 _value.asDouble = dvalue; in doubleFromXml() 364 snprintf(buf, sizeof(buf)-1, getDoubleFormat().c_str(), _value.asDouble); in doubleToXml() 568 case TypeDouble: os << _value.asDouble; break; in write()
|
D | XmlRpcValue.h | 49 XmlRpcValue(double value) : _type(TypeDouble) { _value.asDouble = value; } in XmlRpcValue() 90 operator double&() { assertTypeOrInvalid(TypeDouble); return _value.asDouble; } 179 double asDouble; member
|
/external/icu/icu4c/source/test/intltest/ |
D | itrbnf.cpp | 515 LLAssert(llong(llong::kD32).asDouble() == llong::kD32); 518 LLAssert(llong(0, 1).asDouble() == 1); 519 LLAssert(llong(1, 0).asDouble() == llong::kD32); 520 LLAssert(llong((uint32_t)-1, (uint32_t)-1).asDouble() == -1); 523 LLAssert(llong().asDouble() == 0); 566 LLAssert(llong((double)0).asDouble() == (double)0); 567 LLAssert(llong((double)1).asDouble() == (double)1); 568 LLAssert(llong((double)0x7fffffff).asDouble() == (double)0x7fffffff); 569 LLAssert(llong((double)0x80000000).asDouble() == (double)0x80000000); 570 LLAssert(llong((double)0x80000001).asDouble() == (double)0x80000001); [all …]
|
/external/jsoncpp/src/lib_json/ |
D | json_writer.cpp | 211 document_ += valueToString(value.asDouble()); in writeValue() 275 pushValue(valueToString(value.asDouble())); in writeValue() 498 pushValue(valueToString(value.asDouble())); in writeValue()
|
D | json_value.cpp | 658 double Value::asDouble() const { in asDouble() function in Json::Value 723 return (isNumeric() && asDouble() == 0.0) || in isConvertibleTo()
|
/external/deqp/framework/common/ |
D | tcuFloat.hpp | 107 double asDouble (void) const; 175 inline double Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::asDouble (void) … in asDouble() function in tcu::Float
|
/external/webrtc/webrtc/base/ |
D | json.cc | 31 s << in.asDouble(); in GetStringFromJson() 108 *out = in.asDouble(); in GetDoubleFromJson()
|
D | json_unittest.cc | 272 EXPECT_EQ(in[i], out[i].asDouble()); in TEST()
|
/external/jsoncpp/ |
D | NEWS.txt | 31 representable using an Int64, or asDouble() combined with minInt64 and 134 float (avoid lost of precision warning caused by used of asDouble()
|
/external/jsoncpp/src/jsontestrunner/ |
D | main.cpp | 87 normalizeFloatingPointStr(value.asDouble()).c_str()); in printValueTree()
|
/external/jsoncpp/include/json/ |
D | value.h | 273 double asDouble() const;
|
/external/protobuf/conformance/third_party/jsoncpp/ |
D | jsoncpp.cpp | 3168 double Value::asDouble() const { in asDouble() function in Json::Value 3234 return (isNumeric() && asDouble() == 0.0) || in isConvertibleTo() 4317 document_ += valueToString(value.asDouble()); in writeValue() 4387 pushValue(valueToString(value.asDouble())); in writeValue() 4604 pushValue(valueToString(value.asDouble())); in writeValue() 4885 pushValue(valueToString(value.asDouble(), useSpecialFloats_, precision_)); in writeValue()
|
D | json.h | 729 double asDouble() const;
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktSampleVerifierUtil.cpp | 624 const Interval fpInterval = internalFormat.roundOut(Interval(fp16.asDouble()), false); in convertFP16()
|