Home
last modified time | relevance | path

Searched refs:double_val (Results 1 – 23 of 23) sorted by relevance

/third_party/python/Python/
Dstructmember.c237 double double_val = PyFloat_AsDouble(v); in PyMember_SetOne() local
238 if ((double_val == -1) && PyErr_Occurred()) in PyMember_SetOne()
240 *(float*)addr = (float)double_val; in PyMember_SetOne()
/third_party/protobuf/php/ext/google/protobuf/
Dconvert.c382 return to_double(php_val, &upb_val->double_val); in Convert_PhpToUpb()
384 if (!to_double(php_val, &upb_val->double_val)) return false; in Convert_PhpToUpb()
385 upb_val->float_val = upb_val->double_val; in Convert_PhpToUpb()
455 ZVAL_DOUBLE(php_val, upb_val.double_val); in Convert_UpbToPhp()
Dphp-upb.c5701 val.double_val = upb_fielddef_defaultdouble(f); in upb_msg_get()
5704 val.double_val = upb_fielddef_defaultbool(f); in upb_msg_get()
6721 val.double_val = jsondec_number(d); in jsondec_double()
6726 val.double_val = UPB_NAN; in jsondec_double()
6728 val.double_val = UPB_INFINITY; in jsondec_double()
6730 val.double_val = -UPB_INFINITY; in jsondec_double()
6732 val.double_val = strtod(str.data, NULL); in jsondec_double()
6740 if (val.double_val != UPB_INFINITY && val.double_val != -UPB_INFINITY && in jsondec_double()
6741 (val.double_val > FLT_MAX || val.double_val < -FLT_MAX)) { in jsondec_double()
6744 val.float_val = val.double_val; in jsondec_double()
[all …]
Dphp-upb.h3644 double double_val; member
/third_party/grpc/third_party/upb/upb/
Djson_decode.c748 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()
Dreflection.h14 double double_val; member
Djson_encode.c469 jsonenc_double(e, "%.17g", val.double_val); in jsonenc_value()
536 jsonenc_double(e, "%.17g", val.double_val); in jsonenc_scalar()
Dreflection.c136 val.double_val = upb_fielddef_defaultdouble(f); in upb_msg_get()
Dtext_encode.c137 txtenc_printf(e, "%f", val.double_val); in txtenc_field()
/third_party/flatbuffers/tests/
DJavaScriptTest.js365 var double_val = 3.14159265359;
394 case 10: builder.addFieldFloat64(f, double_val, 0); break;
429 case 10: assert.strictEqual(view.getFloat64(field_offset, true), double_val); break;
DphpTest.php216 $double_val = 3.14159265359;
266 $builder->addDoubleX($f, $double_val, 0);
320 $assert->strictEqual($view->getDouble($field_offset), $double_val);
Dtest.cpp1345 const double double_val = 3.14159265359; in FuzzTest1() local
1375 case 10: builder.AddElement<double>(off, double_val, 0); break; in FuzzTest1()
1405 case 10: CompareTableFieldValue(table, off, double_val); break; in FuzzTest1()
/third_party/protobuf/src/google/protobuf/util/internal/
Djson_stream_parser.h126 double double_val; member
Djson_stream_parser.cc531 ow_->RenderDouble(key_, number.double_val); in ParseNumber()
554 if (!safe_strtod(number, &result->double_val)) { in ParseDoubleHelper()
557 if (!loose_float_number_conversion_ && !std::isfinite(result->double_val)) { in ParseDoubleHelper()
/third_party/node/test/js-native-api/test_object/
Dtest_object.c338 double double_val; in Inflate() local
339 NAPI_CALL(env, napi_get_value_double(env, value, &double_val)); in Inflate()
340 NAPI_CALL(env, napi_create_double(env, double_val + 1, &value)); in Inflate()
/third_party/mindspore/third_party/proto/tensorflow/
Dtensor.proto53 repeated double double_val = 6 [packed = true]; field
/third_party/e2fsprogs/lib/support/
Dprofile.c1618 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()
/third_party/grpc/third_party/upb/upb/bindings/lua/
Dmsg.c255 ret.double_val = lupb_checkdouble(L, narg); in lupb_tomsgval()
310 lua_pushnumber(L, val.double_val); in lupb_pushmsgval()
/third_party/mindspore/mindspore/ccsrc/debug/debugger/
Ddebug_graph.proto107 optional double double_val = 6; // double field
/third_party/mindspore/mindspore/ccsrc/utils/
Danf_ir.proto106 optional double double_val = 6; // double field
/third_party/flatbuffers/tests/rust_usage_test/tests/
Dintegration_test.rs1429 let double_val: f64 = 3.14159265359; in table_of_mixed_scalars_fuzz() localVariable
1462 10 => {builder.push_slot::<f64>(f, double_val, 0.0);} in table_of_mixed_scalars_fuzz()
1506 10 => { assert_eq!(double_val, table.get::<f64>(f, Some(0.0)).unwrap()); } in table_of_mixed_scalars_fuzz()
/third_party/protobuf/ruby/ext/google/protobuf_c/
Dupb.c5222 val.double_val = upb_fielddef_defaultdouble(f); in upb_msg_get()
5225 val.double_val = upb_fielddef_defaultbool(f); in upb_msg_get()
Dupb.h3410 double double_val; member