/external/chromium_org/cc/test/ |
D | layer_tree_json_parser.cc | 34 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/ |
D | transport_security_persister.cc | 238 !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/ |
D | web_ui_message_handler.cc | 20 if (value->GetDouble(0, &double_value)) { in ExtractIntegerValue() 33 if (value->GetDouble(0, out_value)) in ExtractDoubleValue()
|
/external/chromium_org/chrome/browser/devtools/ |
D | devtools_network_protocol_handler.cc | 73 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/ |
D | geolocation_override_manager_unittest.cc | 60 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()
|
D | mobile_emulation_override_manager_unittest.cc | 65 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/ |
D | theme_handler.cc | 76 !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/ |
D | values_unittest.cc | 90 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/ |
D | device_status_collector.cc | 132 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/ |
D | new_tab_page_handler.cc | 126 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()
|
D | ntp_login_handler.cc | 151 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()
|
D | recently_closed_tabs_handler.cc | 72 CHECK(args->GetDouble(0, &session_to_restore)); in HandleReopenTab() 75 CHECK(args->GetDouble(1, &index)); in HandleReopenTab()
|
/external/lldb/test/python_api/sbdata/ |
D | TestSBData.py | 276 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/ |
D | gesture_prefs_observer_factory_aura.cc | 153 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/ |
D | print_settings_conversion.cc | 28 !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/ |
D | gesture_config_ui.cc | 63 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()
|
D | metrics_handler.cc | 56 !args->GetDouble(1, &value) || in HandleRecordInHistogram() 57 !args->GetDouble(2, &boundary_value)) { in HandleRecordInHistogram()
|
/external/chromium_org/chrome/test/chromedriver/ |
D | element_util.cc | 32 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()
|
D | session_commands.cc | 367 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/ |
D | network_time_tracker.cc | 47 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/ |
D | screen_context.h | 55 double GetDouble(const KeyType& key) const; 56 double GetDouble(const KeyType& key, double default_value) const;
|
/external/chromium_org/base/prefs/ |
D | pref_member_unittest.cc | 154 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/ |
D | preferences_helper.cc | 148 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/ |
D | audio_devices_pref_handler_impl.cc | 118 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/ |
D | display_overscan_handler.cc | 153 if (!args->GetDouble(1, &length)) { in HandleMove() 184 if (!args->GetDouble(1, &length)) { in HandleResize()
|