Home
last modified time | relevance | path

Searched refs:GetDouble (Results 1 – 25 of 123) sorted by relevance

12345

/external/chromium_org/cc/test/
Dlayer_tree_json_parser.cc34 success &= list->GetDouble(0, &position_x); in ParseTreeFromValue()
35 success &= list->GetDouble(1, &position_y); in ParseTreeFromValue()
56 success &= bounds->GetDouble(0, &image_width); in ParseTreeFromValue()
57 success &= bounds->GetDouble(1, &image_height); in ParseTreeFromValue()
94 if (dict->GetDouble("Opacity", &opacity)) in ParseTreeFromValue()
155 success &= list->GetDouble(i, &transform[i]); in ParseTreeFromValue()
/external/chromium_org/net/http/
Dtransport_security_persister.cc238 !parsed->GetDouble(kExpiry, &expiry)) { in Deserialize()
246 parsed->GetDouble(kDynamicSPKIHashesExpiry, in Deserialize()
273 if (parsed->GetDouble(kStsObserved, &sts_observed)) { in Deserialize()
275 } else if (parsed->GetDouble(kCreated, &sts_observed)) { in Deserialize()
284 if (parsed->GetDouble(kPkpObserved, &pkp_observed)) { in Deserialize()
286 } else if (parsed->GetDouble(kCreated, &pkp_observed)) { in Deserialize()
/external/chromium_org/content/browser/webui/
Dweb_ui_message_handler.cc20 if (value->GetDouble(0, &double_value)) { in ExtractIntegerValue()
33 if (value->GetDouble(0, out_value)) in ExtractDoubleValue()
/external/chromium_org/chrome/browser/devtools/
Ddevtools_network_protocol_handler.cc73 if (!params->GetDouble(names::kParamLatency, &latency)) in EmulateNetworkConditions()
79 if (!params->GetDouble(names::kParamDownloadThroughput, &download_throughput)) in EmulateNetworkConditions()
85 if (!params->GetDouble(names::kParamUploadThroughput, &upload_throughput)) in EmulateNetworkConditions()
/external/chromium_org/chrome/test/chromedriver/chrome/
Dgeolocation_override_manager_unittest.cc60 ASSERT_TRUE(command.params.GetDouble("latitude", &latitude)); in AssertGeolocationCommand()
61 ASSERT_TRUE(command.params.GetDouble("longitude", &longitude)); in AssertGeolocationCommand()
62 ASSERT_TRUE(command.params.GetDouble("accuracy", &accuracy)); in AssertGeolocationCommand()
Dmobile_emulation_override_manager_unittest.cc65 ASSERT_TRUE(command.params.GetDouble("deviceScaleFactor", in AssertDeviceMetricsCommand()
70 ASSERT_TRUE(command.params.GetDouble("fontScaleFactor", &font_scale_factor)); in AssertDeviceMetricsCommand()
/external/chromium_org/chrome/common/extensions/manifest_handlers/
Dtheme_handler.cc76 !color_list->GetDouble(3, &alpha))) || in LoadColors()
104 !tint_list->GetDouble(0, &v) || in LoadTints()
105 !tint_list->GetDouble(1, &v) || in LoadTints()
106 !tint_list->GetDouble(2, &v)) { in LoadTints()
/external/chromium_org/base/
Dvalues_unittest.cc90 ASSERT_TRUE(mixed_list->GetDouble(1, &double_value)); in TEST()
92 ASSERT_TRUE(mixed_list->GetDouble(2, &double_value)); in TEST()
870 EXPECT_FALSE(main_dict.GetDouble("bool", NULL)); in TEST()
871 EXPECT_TRUE(main_dict.GetDouble("int", NULL)); in TEST()
872 EXPECT_TRUE(main_dict.GetDouble("double", NULL)); in TEST()
873 EXPECT_FALSE(main_dict.GetDouble("string", NULL)); in TEST()
874 EXPECT_FALSE(main_dict.GetDouble("binary", NULL)); in TEST()
875 EXPECT_FALSE(main_dict.GetDouble("dict", NULL)); in TEST()
876 EXPECT_FALSE(main_dict.GetDouble("list", NULL)); in TEST()
877 EXPECT_FALSE(main_dict.GetDouble("DNE", NULL)); in TEST()
[all …]
/external/chromium_org/chrome/browser/chromeos/policy/
Ddevice_status_collector.cc132 if (location->GetDouble(kLatitude, &position.latitude) && in DeviceStatusCollector()
133 location->GetDouble(kLongitude, &position.longitude) && in DeviceStatusCollector()
134 location->GetDouble(kAltitude, &position.altitude) && in DeviceStatusCollector()
135 location->GetDouble(kAccuracy, &position.accuracy) && in DeviceStatusCollector()
136 location->GetDouble(kAltitudeAccuracy, &position.altitude_accuracy) && in DeviceStatusCollector()
137 location->GetDouble(kHeading, &position.heading) && in DeviceStatusCollector()
138 location->GetDouble(kSpeed, &position.speed) && in DeviceStatusCollector()
/external/chromium_org/chrome/browser/ui/webui/ntp/
Dnew_tab_page_handler.cc126 CHECK(args->GetDouble(0, &page_id_double)); in HandlePageSelected()
130 CHECK(args->GetDouble(1, &index_double)); in HandlePageSelected()
149 if (!args->GetString(0, &histogram_name) || !args->GetDouble(1, &duration)) { in HandleLogTimeToClick()
Dntp_login_handler.cc151 bool success = args->GetDouble(0, &x); in HandleShowSyncLoginUI()
153 success = args->GetDouble(1, &y); in HandleShowSyncLoginUI()
155 success = args->GetDouble(2, &width); in HandleShowSyncLoginUI()
157 success = args->GetDouble(3, &height); in HandleShowSyncLoginUI()
Drecently_closed_tabs_handler.cc72 CHECK(args->GetDouble(0, &session_to_restore)); in HandleReopenTab()
75 CHECK(args->GetDouble(1, &index)); in HandleReopenTab()
/external/lldb/test/python_api/sbdata/
DTestSBData.py276 self.assertTrue( fabs(data2.GetDouble(error,0) - 3.14) < 0.5, 'double data2[0] = 3.14')
278 self.assertTrue( fabs(data2.GetDouble(error,8) - 6.28) < 0.5, 'double data2[1] = 6.28')
280 self.assertTrue( fabs(data2.GetDouble(error,16) - 2.71) < 0.5, 'double data2[2] = 2.71')
331 self.assertTrue( fabs(data2.GetDouble(error,0) - 3.14) < 0.5, 'set double data2[0] = 3.14')
332 self.assertTrue( fabs(data2.GetDouble(error,8) - 6.28) < 0.5, 'set double data2[1] = 6.28')
333 self.assertTrue( fabs(data2.GetDouble(error,16) - 2.71) < 0.5, 'set double data2[2] = 2.71')
/external/chromium_org/chrome/browser/ui/
Dgesture_prefs_observer_factory_aura.cc153 prefs_->GetDouble(prefs::kSemiLongPressTimeInSeconds)); in Update()
155 prefs_->GetDouble(prefs::kMaxSeparationForGestureTouchesInPixels)); in Update()
164 static_cast<float>(prefs_->GetDouble(overscroll_prefs[i].pref_name))); in UpdateOverscrollPrefs()
/external/chromium_org/printing/
Dprint_settings_conversion.cc28 !custom_margins->GetDouble(kSettingMarginTop, in GetCustomMarginsFromJobSettings()
30 !custom_margins->GetDouble(kSettingMarginBottom, in GetCustomMarginsFromJobSettings()
32 !custom_margins->GetDouble(kSettingMarginLeft, in GetCustomMarginsFromJobSettings()
34 !custom_margins->GetDouble(kSettingMarginRight, in GetCustomMarginsFromJobSettings()
/external/chromium_org/chrome/browser/ui/webui/
Dgesture_config_ui.cc63 base::FundamentalValue js_pref_value(prefs->GetDouble(pref_name.c_str())); in UpdatePreferenceValue()
88 if (!args->GetString(0, &pref_name) || !args->GetDouble(1, &value)) return; in SetPreferenceValue()
Dmetrics_handler.cc56 !args->GetDouble(1, &value) || in HandleRecordInHistogram()
57 !args->GetDouble(2, &boundary_value)) { in HandleRecordInHistogram()
/external/chromium_org/chrome/test/chromedriver/
Delement_util.cc32 if (!dict_value->GetDouble("x", &x) || in ParseFromValue()
33 !dict_value->GetDouble("y", &y)) in ParseFromValue()
46 if (!dict_value->GetDouble("width", &width) || in ParseFromValue()
47 !dict_value->GetDouble("height", &height)) in ParseFromValue()
62 if (!dict_value->GetDouble("left", &x) || in ParseFromValue()
63 !dict_value->GetDouble("top", &y) || in ParseFromValue()
64 !dict_value->GetDouble("width", &width) || in ParseFromValue()
65 !dict_value->GetDouble("height", &height)) in ParseFromValue()
Dsession_commands.cc367 if (!params.GetDouble("ms", &ms_double)) in ExecuteSetTimeout()
396 if (!params.GetDouble("ms", &ms) || ms < 0) in ExecuteSetScriptTimeout()
408 if (!params.GetDouble("ms", &ms) || ms < 0) in ExecuteImplicitlyWait()
490 if (!params.GetDouble("x", &x) || !params.GetDouble("y", &y)) in ExecuteSetWindowPosition()
542 if (!params.GetDouble("width", &width) || in ExecuteSetWindowSize()
543 !params.GetDouble("height", &height)) in ExecuteSetWindowSize()
/external/chromium_org/components/network_time/
Dnetwork_time_tracker.cc47 if (time_mapping->GetDouble("local", &local_time_js) && in NetworkTimeTracker()
48 time_mapping->GetDouble("network", &network_time_js)) { in NetworkTimeTracker()
/external/chromium_org/chrome/browser/chromeos/login/screens/
Dscreen_context.h55 double GetDouble(const KeyType& key) const;
56 double GetDouble(const KeyType& key, double default_value) const;
/external/chromium_org/base/prefs/
Dpref_member_unittest.cc154 EXPECT_EQ(0.0, prefs.GetDouble(kDoublePref)); in TEST()
161 EXPECT_EQ(1.0, prefs.GetDouble(kDoublePref)); in TEST()
166 EXPECT_EQ(3.0, prefs.GetDouble(kDoublePref)); in TEST()
/external/chromium_org/chrome/browser/sync/test/integration/
Dpreferences_helper.cc148 reference_value = GetVerifierPrefs()->GetDouble(pref_name); in DoublePrefMatches()
150 reference_value = GetPrefs(0)->GetDouble(pref_name); in DoublePrefMatches()
153 if (reference_value != GetPrefs(i)->GetDouble(pref_name)) { in DoublePrefMatches()
/external/chromium_org/chrome/browser/chromeos/audio/
Daudio_devices_pref_handler_impl.cc118 device_volume_settings_->GetDouble(device_id_str, &value); in GetVolumeGainPrefValue()
201 double old_volume = local_state_->GetDouble(prefs::kAudioVolumePercent); in MigrateDeviceVolumeSettings()
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/
Ddisplay_overscan_handler.cc153 if (!args->GetDouble(1, &length)) { in HandleMove()
184 if (!args->GetDouble(1, &length)) { in HandleResize()

12345