/external/smali/util/src/main/java/org/jf/util/ |
NumberUtils.java | 124 String asDouble = format.format(doubleValue); 127 int decimalPoint = asDouble.indexOf('.'); 128 int exponent = asDouble.indexOf("E"); 129 int zeros = asDouble.indexOf("000"); 131 asDouble = asDouble.substring(0, zeros) + asDouble.substring(exponent); 133 int nines = asDouble.indexOf("999"); 135 asDouble = asDouble.substring(0, nines) + asDouble.substring(exponent) [all...] |
/external/jsoncpp/src/test_lib_json/ |
main.cpp | 265 JSONTEST_ASSERT_EQUAL(0.0, null_.asDouble()); 329 JSONTEST_ASSERT_EQUAL(1.0, true_.asDouble()); 337 JSONTEST_ASSERT_EQUAL(0.0, false_.asDouble()); 387 JSONTEST_ASSERT_EQUAL(0.0, val.asDouble()); 415 JSONTEST_ASSERT_EQUAL(0.0, val.asDouble()); 443 JSONTEST_ASSERT_EQUAL(0.0, val.asDouble()); 471 JSONTEST_ASSERT_EQUAL(0.0, val.asDouble()); 499 JSONTEST_ASSERT_EQUAL(0.0, val.asDouble()); 527 JSONTEST_ASSERT_EQUAL(0.0, val.asDouble()); 554 JSONTEST_ASSERT_EQUAL((1 << 20), val.asDouble()); [all...] |
/external/xmlrpcpp/src/ |
XmlRpcValue.h | 49 XmlRpcValue(double value) : _type(TypeDouble) { _value.asDouble = value; } 90 operator double&() { assertTypeOrInvalid(TypeDouble); return _value.asDouble; } 179 double asDouble;
|
XmlRpcValue.cpp | 129 case TypeDouble: _value.asDouble = rhs._value.asDouble; break; 158 case TypeDouble: return _value.asDouble == other._value.asDouble; 356 _value.asDouble = dvalue; 364 snprintf(buf, sizeof(buf)-1, getDoubleFormat().c_str(), _value.asDouble); 568 case TypeDouble: os << _value.asDouble; break;
|
/external/jsoncpp/ |
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/webrtc/webrtc/base/ |
json.cc | 31 s << in.asDouble(); 108 *out = in.asDouble();
|
json_unittest.cc | 272 EXPECT_EQ(in[i], out[i].asDouble());
|
/external/jsoncpp/src/lib_json/ |
json_writer.cpp | 211 document_ += valueToString(value.asDouble()); 275 pushValue(valueToString(value.asDouble())); 498 pushValue(valueToString(value.asDouble()));
|
json_value.cpp | 658 double Value::asDouble() const { 723 return (isNumeric() && asDouble() == 0.0) || [all...] |
/cts/libs/json/src/com/android/json/stream/ |
JsonReader.java | 459 double asDouble = Double.parseDouble(value); // don't catch this NumberFormatException 460 result = (long) asDouble; 461 if ((double) result != asDouble) { 490 double asDouble = Double.parseDouble(value); // don't catch this NumberFormatException 491 result = (int) asDouble; 492 if ((double) result != asDouble) { [all...] |
/frameworks/base/core/java/android/util/ |
JsonReader.java | 488 double asDouble = Double.parseDouble(value); // don't catch this NumberFormatException 489 result = (long) asDouble; 490 if ((double) result != asDouble) { 519 double asDouble = Double.parseDouble(value); // don't catch this NumberFormatException 520 result = (int) asDouble; 521 if ((double) result != asDouble) { [all...] |
/external/icu/icu4c/source/test/intltest/ |
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/deqp/framework/common/ |
tcuFloat.hpp | 107 double asDouble (void) const; 175 inline double Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::asDouble (void) const
|
/external/flatbuffers/docs/source/ |
FlexBuffers.md | 116 vec[2].AsDouble(); // 4.0
|
/external/jsoncpp/src/jsontestrunner/ |
main.cpp | 87 normalizeFloatingPointStr(value.asDouble()).c_str());
|
/external/flatbuffers/include/flatbuffers/ |
flexbuffers.h | 411 double AsDouble() const { 434 float AsFloat() const { return static_cast<float>(AsDouble()); } 464 return flatbuffers::NumToString(AsDouble()); [all...] |
/prebuilts/ndk/r13/sources/third_party/shaderc/third_party/glslang/hlsl/ |
hlslParseables.cpp | 398 { "asdouble", "S", "D", "S,", "U,", EShLangAll }, 399 { "asdouble", "V2", "D", "V2,", "U,", EShLangAll }, [all...] |
hlslParseHelper.cpp | [all...] |
/libcore/ojluni/src/main/java/java/lang/invoke/ |
Transformers.java | 329 private double asDouble; 363 asDouble = (double) value; 385 case 'D' : { writer.putNextDouble(asDouble); break; } [all...] |
/external/protobuf/conformance/third_party/jsoncpp/ |
jsoncpp.cpp | [all...] |
json.h | 729 double asDouble() const; [all...] |
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
vktSampleVerifierUtil.cpp | 624 const Interval fpInterval = internalFormat.roundOut(Interval(fp16.asDouble()), false);
|
/external/jsoncpp/include/json/ |
value.h | 273 double asDouble() const;
|
/external/flatbuffers/tests/ |
test.cpp | [all...] |
/prebuilts/devtools/tools/lib/ |
monkeyrunner.jar | |