/external/libchrome/base/json/ |
D | json_reader_unittest.cc | 115 double double_val; in TEST() local 117 double_val = 0.0; in TEST() 118 EXPECT_TRUE(root->GetAsDouble(&double_val)); in TEST() 119 EXPECT_DOUBLE_EQ(2147483648.0, double_val); in TEST() 123 double_val = 0.0; in TEST() 124 EXPECT_TRUE(root->GetAsDouble(&double_val)); in TEST() 125 EXPECT_DOUBLE_EQ(-2147483649.0, double_val); in TEST() 132 double double_val = 0.0; in TEST() local 133 EXPECT_TRUE(root->GetAsDouble(&double_val)); in TEST() 134 EXPECT_DOUBLE_EQ(43.1, double_val); in TEST() [all …]
|
/external/tensorflow/tensorflow/core/profiler/internal/ |
D | tfprof_tensor.h | 59 double double_val = 0.0; in AddValue() local 60 CHECK(absl::SimpleAtod(sstream.str(), &double_val)); // Crash OK in AddValue() 61 dim->add_value_double(double_val); in AddValue() 92 double double_val = 0.0; in BuildOutput() local 93 CHECK(absl::SimpleAtod(sstream.str(), &double_val)); // Crash OK in BuildOutput() 94 dim->add_value_double(double_val); in BuildOutput() 118 double double_val = 0.0; in BuildOutput() local 119 CHECK(absl::SimpleAtod(sstream.str(), &double_val)); // Crash OK in BuildOutput() 120 dim->add_value_double(double_val); in BuildOutput()
|
/external/tensorflow/tensorflow/c/kernels/ |
D | histogram_summary_op.cc | 91 const double double_val = static_cast<double>(values_array[i]); in HistogramSummaryOp_Compute() local 92 if (Eigen::numext::isnan(double_val)) { in HistogramSummaryOp_Compute() 98 } else if (Eigen::numext::isinf(double_val)) { in HistogramSummaryOp_Compute() 105 histo.Add(double_val); in HistogramSummaryOp_Compute()
|
/external/webrtc/rtc_base/experiments/ |
D | field_trial_units.cc | 37 double double_val; in ParseValueWithUnit() local 40 if (sscanf(str.c_str(), "%lf%" RTC_TRIAL_UNIT_LENGTH_STR "s", &double_val, in ParseValueWithUnit() 42 return ValueWithUnit{double_val, unit_char}; in ParseValueWithUnit()
|
/external/tensorflow/tensorflow/core/summary/ |
D | summary_converter.cc | 222 double double_val; in AddTensorAsHistogramToSummary() local 223 TF_RETURN_IF_ERROR(TensorValueAt<double>(t, i, &double_val)); in AddTensorAsHistogramToSummary() 224 if (Eigen::numext::isnan(double_val)) { in AddTensorAsHistogramToSummary() 226 } else if (Eigen::numext::isinf(double_val)) { in AddTensorAsHistogramToSummary() 230 histo.Add(double_val); in AddTensorAsHistogramToSummary()
|
/external/libtextclassifier/native/annotator/number/ |
D | number.cc | 108 double double_val; in TokensAreValidNumberPrefix() local 111 false, &int_val, &double_val); in TokensAreValidNumberPrefix() 165 double double_val; in TokensAreValidNumberSuffix() local 169 false, &int_val, &double_val); in TokensAreValidNumberSuffix()
|
/external/python/cpython3/Python/ |
D | structmember.c | 232 double double_val = PyFloat_AsDouble(v); in PyMember_SetOne() local 233 if ((double_val == -1) && PyErr_Occurred()) in PyMember_SetOne() 235 *(float*)addr = (float)double_val; in PyMember_SetOne()
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/ |
D | json_decode.c | 748 val.double_val = jsondec_number(d); in jsondec_double() 753 val.double_val = NAN; in jsondec_double() 755 val.double_val = INFINITY; in jsondec_double() 757 val.double_val = -INFINITY; in jsondec_double() 759 val.double_val = strtod(str.data, NULL); in jsondec_double() 767 if (val.double_val != INFINITY && val.double_val != -INFINITY && in jsondec_double() 768 (val.double_val > FLT_MAX || val.double_val < -FLT_MAX)) { in jsondec_double() 771 val.float_val = val.double_val; in jsondec_double() 1170 val.double_val = jsondec_number(d); in jsondec_wellknownvalue()
|
D | reflection.h | 14 double double_val; member
|
D | json_encode.c | 469 jsonenc_double(e, "%.17g", val.double_val); in jsonenc_value() 536 jsonenc_double(e, "%.17g", val.double_val); in jsonenc_scalar()
|
D | reflection.c | 136 val.double_val = upb_fielddef_defaultdouble(f); in upb_msg_get()
|
D | text_encode.c | 137 txtenc_printf(e, "%f", val.double_val); in txtenc_field()
|
/external/python/cpython2/Python/ |
D | structmember.c | 305 double double_val = PyFloat_AsDouble(v); in PyMember_SetOne() local 306 if ((double_val == -1) && PyErr_Occurred()) in PyMember_SetOne() 308 *(float*)addr = (float)double_val; in PyMember_SetOne()
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/ |
D | infer_derived_attribute.mlir | 18 // CHECK: double_val: 4
|
/external/flatbuffers/tests/ |
D | JavaScriptTest.js | 299 var double_val = 3.14159265359; 328 case 10: builder.addFieldFloat64(f, double_val, 0); break; 363 case 10: assert.strictEqual(view.getFloat64(field_offset, true), double_val); break;
|
D | phpTest.php | 216 $double_val = 3.14159265359; 266 $builder->addDoubleX($f, $double_val, 0); 320 $assert->strictEqual($view->getDouble($field_offset), $double_val);
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | const_op.cc | 70 b, proto_.double_val(0)), in Compile()
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | json_stream_parser.h | 126 double double_val; member
|
D | json_stream_parser.cc | 483 ow_->RenderDouble(key_, number.double_val); in ParseNumber() 506 if (!safe_strtod(number, &result->double_val)) { in ParseDoubleHelper() 510 !MathLimits<double>::IsFinite(result->double_val)) { in ParseDoubleHelper()
|
/external/tensorflow/tensorflow/core/framework/ |
D | tensor.proto | 53 repeated double double_val = 6 [packed = true]; field
|
/external/tensorflow/tensorflow/python/framework/ |
D | fast_tensor_util.pyx | 42 tensor_proto.double_val.append(nparray[i])
|
D | tensor_util.py | 130 tensor_proto.double_val.extend([x.item() for x in proto_values]) 623 values = np.fromiter(tensor.double_val, dtype=dtype)
|
/external/e2fsprogs/lib/support/ |
D | profile.c | 1618 double double_val; in profile_get_double() local 1635 double_val = strtod(value, &end_value); in profile_get_double() 1644 *ret_double = double_val; in profile_get_double()
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/bindings/lua/ |
D | msg.c | 255 ret.double_val = lupb_checkdouble(L, narg); in lupb_tomsgval() 310 lua_pushnumber(L, val.double_val); in lupb_pushmsgval()
|
/external/tensorflow/tensorflow/core/grappler/optimizers/data/ |
D | graph_utils_test.cc | 53 EXPECT_FLOAT_EQ(double_node->attr().at("value").tensor().double_val(0), 3.14); in TEST()
|