Home
last modified time | relevance | path

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

/external/smali/util/src/main/java/org/jf/util/
DNumberUtils.java124 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/
Dmain.cpp265 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/
DXmlRpcValue.cpp129 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()
DXmlRpcValue.h49 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/
Ditrbnf.cpp512 LLAssert(llong(llong::kD32).asDouble() == llong::kD32);
515 LLAssert(llong(0, 1).asDouble() == 1);
516 LLAssert(llong(1, 0).asDouble() == llong::kD32);
517 LLAssert(llong((uint32_t)-1, (uint32_t)-1).asDouble() == -1);
520 LLAssert(llong().asDouble() == 0);
563 LLAssert(llong((double)0).asDouble() == (double)0);
564 LLAssert(llong((double)1).asDouble() == (double)1);
565 LLAssert(llong((double)0x7fffffff).asDouble() == (double)0x7fffffff);
566 LLAssert(llong((double)0x80000000).asDouble() == (double)0x80000000);
567 LLAssert(llong((double)0x80000001).asDouble() == (double)0x80000001);
[all …]
/external/jsoncpp/src/lib_json/
Djson_writer.cpp211 document_ += valueToString(value.asDouble()); in writeValue()
275 pushValue(valueToString(value.asDouble())); in writeValue()
498 pushValue(valueToString(value.asDouble())); in writeValue()
Djson_value.cpp658 double Value::asDouble() const { in asDouble() function in Json::Value
723 return (isNumeric() && asDouble() == 0.0) || in isConvertibleTo()
/external/deqp/framework/common/
DtcuFloat.hpp107 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/
Djson.cc31 s << in.asDouble(); in GetStringFromJson()
108 *out = in.asDouble(); in GetDoubleFromJson()
Djson_unittest.cc272 EXPECT_EQ(in[i], out[i].asDouble()); in TEST()
/external/jsoncpp/
DNEWS.txt31 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/
Dmain.cpp87 normalizeFloatingPointStr(value.asDouble()).c_str()); in printValueTree()
/external/jsoncpp/include/json/
Dvalue.h273 double asDouble() const;
/external/caliper/lib/
Dgson-2.2.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.jface_3.6.1.M20100825-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/robolectric/v3/runtime/
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...