/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; in AddValue() local 60 CHECK(strings::safe_strtod(sstream.str().c_str(), &double_val)); in AddValue() 61 dim->add_value_double(double_val); in AddValue() 94 double double_val; in BuildOutput() local 95 CHECK(strings::safe_strtod(sstream.str().c_str(), &double_val)); in BuildOutput() 96 dim->add_value_double(double_val); in BuildOutput() 122 double double_val; in BuildOutput() local 123 CHECK(strings::safe_strtod(sstream.str().c_str(), &double_val)); in BuildOutput() 124 dim->add_value_double(double_val); in BuildOutput()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | summary_op.cc | 90 const double double_val = static_cast<double>(flat(i)); in Compute() local 91 if (Eigen::numext::isnan(double_val)) { in Compute() 95 } else if (Eigen::numext::isinf(double_val)) { in Compute() 100 histo.Add(double_val); in Compute()
|
/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/python/cpython3/Python/ |
D | structmember.c | 233 double double_val = PyFloat_AsDouble(v); in PyMember_SetOne() local 234 if ((double_val == -1) && PyErr_Occurred()) in PyMember_SetOne() 236 *(float*)addr = (float)double_val; in PyMember_SetOne()
|
/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/webrtc/webrtc/base/ |
D | win32regkey_unittest.cc | 370 double double_val = 0; in RegKeyStaticFunctionsTest() local 444 EXPECT_SUCCEEDED(RegKey::GetValue(kFullRkey1, kValNameDouble, &double_val)); in RegKeyStaticFunctionsTest() 445 EXPECT_EQ(double_val, kDoubleVal); in RegKeyStaticFunctionsTest() 452 EXPECT_FAILED(RegKey::GetValue(kFullRkey1, kValNameDouble, &double_val)); in RegKeyStaticFunctionsTest()
|
/external/flatbuffers/tests/ |
D | JavaScriptTest.js | 297 var double_val = 3.14159265359; 326 case 10: builder.addFieldFloat64(f, double_val, 0); break; 361 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);
|
D | test.cpp | 973 const double double_val = 3.14159265359; in FuzzTest1() local 1003 case 10: builder.AddElement<double>(off, double_val, 0); break; in FuzzTest1() 1033 case 10: CompareTableFieldValue(table, off, double_val); break; in FuzzTest1()
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | json_stream_parser.h | 117 double double_val; member
|
D | json_stream_parser.cc | 473 ow_->RenderDouble(key_, number.double_val); in ParseNumber() 529 if (!safe_strtod(number, &result->double_val)) { in ParseNumberHelper()
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | const_op.cc | 70 b, proto_.double_val(0)), in Compile()
|
/external/tensorflow/tensorflow/core/framework/ |
D | tensor.proto | 51 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 | 129 tensor_proto.double_val.extend([x.item() for x in proto_values]) 622 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/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()
|
/external/flatbuffers/tests/rust_usage_test/tests/ |
D | integration_test.rs | 1025 let double_val: f64 = 3.14159265359; in table_of_mixed_scalars_fuzz() localVariable 1058 10 => {builder.push_slot::<f64>(f, double_val, 0.0);} in table_of_mixed_scalars_fuzz() 1102 10 => { assert_eq!(double_val, table.get::<f64>(f, Some(0.0)).unwrap()); } in table_of_mixed_scalars_fuzz()
|
/external/v8/src/s390/ |
D | simulator-s390.cc | 6395 int64_t double_val = get_d_register(r2); in EVALUATE() local 6396 set_register(r1, double_val); in EVALUATE()
|