Home
last modified time | relevance | path

Searched refs:double_value (Results 1 – 25 of 64) sorted by relevance

123

/external/chromium_org/content/browser/webui/
Dweb_ui_message_handler.cc19 double double_value; in ExtractIntegerValue() local
20 if (value->GetDouble(0, &double_value)) { in ExtractIntegerValue()
21 *out_int = static_cast<int>(double_value); in ExtractIntegerValue()
/external/chromium_org/chromeos/network/
Dmanaged_state.cc133 double double_value; in GetUInt32Value() local
134 if (!value.GetAsDouble(&double_value) || double_value < 0) { in GetUInt32Value()
138 new_value = static_cast<uint32>(double_value); in GetUInt32Value()
/external/chromium_org/chrome/browser/ui/cocoa/applescript/
Dapple_event_util.mm40 double double_value;
41 value->GetAsDouble(&double_value);
44 bytes:&double_value
45 length:sizeof(double_value)];
/external/chromium_org/components/policy/core/common/
Dmac_util.cc59 double double_value = 0.0; in PropertyToValue() local
60 if (CFNumberGetValue(number, kCFNumberDoubleType, &double_value)) { in PropertyToValue()
62 new base::FundamentalValue(double_value)); in PropertyToValue()
Dpolicy_test_utils.cc79 double double_value; in ValueToProperty() local
80 if (value->GetAsDouble(&double_value)) { in ValueToProperty()
82 kCFAllocatorDefault, kCFNumberDoubleType, &double_value); in ValueToProperty()
Dregistry_dict_win.cc88 double double_value = 0; in ConvertValue() local
89 if (value.GetAsDouble(&double_value) || in ConvertValue()
91 base::StringToDouble(string_value, &double_value))) { in ConvertValue()
93 new base::FundamentalValue(double_value)); in ConvertValue()
/external/chromium_org/content/child/
Dplugin_param_traits.cc24 double_value(0), in NPVariant_Param()
46 WriteParam(m, p.double_value); in Write()
78 result = ReadParam(m, iter, &r->double_value); in Read()
103 LogParam(p.double_value, l); in Log()
Dplugin_param_traits.h52 double double_value; member
/external/chromium_org/content/browser/android/java/
Dgin_java_script_to_java_types_coercion.cc134 double double_value, in CoerceJavaScriptDoubleToJavaValue() argument
144 result.b = static_cast<jbyte>(RoundDoubleToInt(double_value)); in CoerceJavaScriptDoubleToJavaValue()
153 result.s = static_cast<jshort>(RoundDoubleToInt(double_value)); in CoerceJavaScriptDoubleToJavaValue()
156 result.i = RoundDoubleToInt(double_value); in CoerceJavaScriptDoubleToJavaValue()
159 result.j = RoundDoubleToLong(double_value); in CoerceJavaScriptDoubleToJavaValue()
162 result.f = static_cast<jfloat>(double_value); in CoerceJavaScriptDoubleToJavaValue()
165 result.d = double_value; in CoerceJavaScriptDoubleToJavaValue()
175 env, base::StringPrintf("%.6lg", double_value)) in CoerceJavaScriptDoubleToJavaValue()
721 double double_value; in CoerceJavaScriptValueToJavaValue() local
722 value->GetAsDouble(&double_value); in CoerceJavaScriptValueToJavaValue()
[all …]
/external/chromium_org/device/nfc/
Dnfc_ndef_record_unittest.cc129 double double_value; in TEST() local
137 NfcNdefRecord::kFieldTargetSize, &double_value)); in TEST()
138 EXPECT_EQ(kTestTargetSize, static_cast<uint32>(double_value)); in TEST()
217 double double_value; in TEST() local
227 NfcNdefRecord::kFieldTargetSize, &double_value)); in TEST()
228 EXPECT_EQ(kTestTargetSize, static_cast<uint32>(double_value)); in TEST()
Dnfc_chromeos_unittest.cc717 double double_value; in TEST_F() local
718 EXPECT_TRUE(result.GetDouble(nfc_record::kSizeProperty, &double_value)); in TEST_F()
719 EXPECT_EQ(kSize, double_value); in TEST_F()
754 EXPECT_TRUE(result.GetDouble(nfc_record::kSizeProperty, &double_value)); in TEST_F()
755 EXPECT_EQ(kSize, double_value); in TEST_F()
814 double double_value; in TEST_F() local
816 NfcNdefRecord::kFieldTargetSize, &double_value)); in TEST_F()
817 EXPECT_EQ(kSize, double_value); in TEST_F()
843 NfcNdefRecord::kFieldTargetSize, &double_value)); in TEST_F()
844 EXPECT_EQ(kSize, double_value); in TEST_F()
/external/lldb/tools/lldb-perf/common/stepping/
Dstepping-testcase.cpp9 double_value(in_double), in struct_for_copying()
20 double double_value; member
/external/chromium_org/native_client_sdk/src/examples/api/audio/
Daudio.cc129 double double_value; in HandleMessage() local
130 if (stream >> double_value) { in HandleMessage()
131 SetFrequency(double_value); in HandleMessage()
/external/chromium_org/base/prefs/
Dpref_value_map_unittest.cc46 double double_value = 0.; in TEST() local
47 EXPECT_TRUE(result->GetAsDouble(&double_value)); in TEST()
48 EXPECT_DOUBLE_EQ(5.5, double_value); in TEST()
/external/chromium_org/chrome/browser/prefs/
Dpref_hash_calculator_unittest.cc84 scoped_ptr<base::Value> double_value( in TEST() local
119 ASSERT_EQ(base::Value::TYPE_DOUBLE, double_value->GetType()); in TEST()
148 "pref.path", double_value.get(), kExpectedDoubleValue)); in TEST()
173 everything.Set("double", double_value.release()); in TEST()
/external/chromium_org/chrome/browser/chromeos/login/screens/
Dscreen_context_unittest.cc109 double double_value; in TEST_F() local
114 rv = changes.GetDouble("key2", &double_value); in TEST_F()
118 ASSERT_DOUBLE_EQ(3.14159, double_value); in TEST_F()
/external/chromium_org/content/renderer/java/
Dgin_java_bridge_value_converter.cc151 double double_value = value->Value(); in FromV8Number() local
152 if (base::IsFinite(double_value)) in FromV8Number()
154 *out = GinJavaBridgeValue::CreateNonFiniteValue(double_value).release(); in FromV8Number()
/external/lldb/test/functionalities/return-value/
Dcall-func.c334 double double_value = -23.45; in main() local
336 return_double (double_value); in main()
/external/chromium_org/dbus/
Dvalues_util.cc231 double double_value = 0; in AppendBasicTypeValueData() local
232 bool success = value.GetAsDouble(&double_value); in AppendBasicTypeValueData()
234 writer->AppendDouble(double_value); in AppendBasicTypeValueData()
Dmessage_unittest.cc68 double double_value = 0; in TEST() local
91 ASSERT_TRUE(reader.PopDouble(&double_value)); in TEST()
108 EXPECT_DOUBLE_EQ(8.0, double_value); in TEST()
183 double double_value = 0; in TEST() local
206 ASSERT_TRUE(reader.PopVariantOfDouble(&double_value)); in TEST()
223 EXPECT_DOUBLE_EQ(8.0, double_value); in TEST()
/external/chromium_org/content/browser/accessibility/
Daccessibility_tree_formatter_win.cc244 double double_value; in ToString() local
245 value->GetAsDouble(&double_value); in ToString()
250 double_value), in ToString()
/external/chromium_org/base/json/
Djson_writer_unittest.cc166 FundamentalValue double_value(1e10); in TEST() local
168 &double_value, in TEST()
Djson_value_serializer_unittest.cc190 double double_value = 0.0; in TEST() local
191 ASSERT_TRUE(root_dict->GetDouble("double", &double_value)); in TEST()
192 ASSERT_DOUBLE_EQ(3.14, double_value); in TEST()
/external/chromium_org/content/child/npapi/
Dnpobject_util.cc173 param->double_value = variant.value.doubleValue; in CreateNPVariantParam()
251 result->value.doubleValue = param.double_value; in CreateNPVariant()
/external/chromium_org/components/json_schema/
Djson_schema_validator.cc350 double double_value = 0; in GetJSONSchemaType() local
351 value->GetAsDouble(&double_value); in GetJSONSchemaType()
352 if (std::abs(double_value) <= std::pow(2.0, DBL_MANT_DIG) && in GetJSONSchemaType()
353 double_value == floor(double_value)) { in GetJSONSchemaType()

123