Home
last modified time | relevance | path

Searched refs:CreateDoubleValue (Results 1 – 25 of 31) sorted by relevance

12

/external/chromium_org/chrome/browser/ui/webui/task_manager/
Dtask_manager_handler.cc309 return Value::CreateDoubleValue(model_->GetCPUUsage(i)); in CreateColumnValue()
315 return Value::CreateDoubleValue(private_memory); in CreateColumnValue()
322 return Value::CreateDoubleValue(shared_memory); in CreateColumnValue()
329 return Value::CreateDoubleValue(physical_memory); in CreateColumnValue()
346 return Value::CreateDoubleValue(model_->GetNetworkUsage(i)); in CreateColumnValue()
354 return Value::CreateDoubleValue(resource_stats.images.size); in CreateColumnValue()
363 return Value::CreateDoubleValue(resource_stats.scripts.size); in CreateColumnValue()
370 return Value::CreateDoubleValue(resource_stats.cssStyleSheets.size); in CreateColumnValue()
377 return Value::CreateDoubleValue(fps); in CreateColumnValue()
389 return Value::CreateDoubleValue(value); in CreateColumnValue()
[all …]
/external/chromium/chrome/common/
Djson_schema_validator_unittest_base.cc444 scoped_ptr<Value>(Value::CreateDoubleValue(88.88)).get(), in TestNumber()
449 scoped_ptr<Value>(Value::CreateDoubleValue(0.5)).get(), in TestNumber()
455 scoped_ptr<Value>(Value::CreateDoubleValue(100.1)).get(), in TestNumber()
475 scoped_ptr<Value>(Value::CreateDoubleValue(42)).get())); in TestTypeClassifier()
478 Value::CreateDoubleValue(pow(2.0, DBL_MANT_DIG))).get())); in TestTypeClassifier()
481 Value::CreateDoubleValue(pow(-2.0, DBL_MANT_DIG))).get())); in TestTypeClassifier()
486 scoped_ptr<Value>(Value::CreateDoubleValue(88.8)).get())); in TestTypeClassifier()
488 scoped_ptr<Value>(Value::CreateDoubleValue( in TestTypeClassifier()
491 scoped_ptr<Value>(Value::CreateDoubleValue( in TestTypeClassifier()
523 scoped_ptr<Value>(Value::CreateDoubleValue(88.8)).get(), in TestTypes()
[all …]
Dcommon_param_traits_unittest.cc120 input.Set(0, Value::CreateDoubleValue(42.42)); in TEST()
151 sublist->Set(0, Value::CreateDoubleValue(42.42)); in TEST()
/external/chromium/base/json/
Djson_writer_unittest.cc32 root = Value::CreateDoubleValue(1.0); in TEST()
38 root = Value::CreateDoubleValue(0.2); in TEST()
44 root = Value::CreateDoubleValue(-0.8); in TEST()
Djson_reader.cc399 return Value::CreateDoubleValue(num_double); in DecodeNumber()
/external/chromium_org/chrome/browser/policy/
Dconfiguration_policy_handler_unittest.cc415 expected.reset(base::Value::CreateDoubleValue(0.0)); in TEST()
423 expected.reset(base::Value::CreateDoubleValue(0.05)); in TEST()
431 expected.reset(base::Value::CreateDoubleValue(0.1)); in TEST()
441 expected.reset(base::Value::CreateDoubleValue(0.0)); in TEST()
449 expected.reset(base::Value::CreateDoubleValue(0.1)); in TEST()
470 expected.reset(base::Value::CreateDoubleValue(0.0)); in TEST()
478 expected.reset(base::Value::CreateDoubleValue(0.05)); in TEST()
486 expected.reset(base::Value::CreateDoubleValue(0.1)); in TEST()
/external/chromium_org/components/user_prefs/
Dpref_registry_syncable.cc43 return Value::CreateDoubleValue(val); in CreateLocaleDefaultValue()
97 Value::CreateDoubleValue(default_value), in RegisterDoublePref()
/external/chromium_org/base/prefs/
Dpref_registry_simple.cc29 RegisterPreference(path, base::Value::CreateDoubleValue(default_value)); in RegisterDoublePref()
/external/chromium/chrome/browser/policy/
Duser_policy_cache.cc245 return Value::CreateDoubleValue(value.double_value()); in DecodeValue()
284 list->Append(Value::CreateDoubleValue(*i)); in DecodeValue()
/external/chromium_org/chrome/browser/ui/webui/quota_internals/
Dquota_internals_handler.cc38 base::Value::CreateDoubleValue(static_cast<double>(available_space))); in ReportAvailableSpace()
/external/chromium_org/base/
Dvalues.cc103 FundamentalValue* Value::CreateDoubleValue(double in_value) { in CreateDoubleValue() function in base::Value
234 return CreateDoubleValue(double_value_); in DeepCopy()
414 Set(path, CreateDoubleValue(in_value)); in SetDouble()
452 SetWithoutPathExpansion(path, CreateDoubleValue(in_value)); in SetDoubleWithoutPathExpansion()
1036 Append(CreateDoubleValue(in_value)); in AppendDouble()
/external/chromium/chrome/browser/prefs/
Dpref_service.cc62 return Value::CreateDoubleValue(val); in CreateLocaleDefaultValue()
271 RegisterPreference(path, Value::CreateDoubleValue(default_value)); in RegisterDoublePref()
546 SetUserPrefValue(path, Value::CreateDoubleValue(value)); in SetDouble()
/external/chromium_org/chrome/browser/profiles/
Doff_the_record_profile_impl_unittest.cc63 change.host, Value::CreateDoubleValue(level)); in OnZoomLevelChanged()
/external/chromium_org/components/policy/core/common/
Dregistry_dict_win.cc89 return make_scoped_ptr(base::Value::CreateDoubleValue(int_value)); in ConvertValue()
92 return make_scoped_ptr(base::Value::CreateDoubleValue(double_value)); in ConvertValue()
Dpolicy_loader_mac.cc146 return base::Value::CreateDoubleValue(double_value); in CreateValueFromProperty()
Dschema_map_unittest.cc173 base::Value::CreateDoubleValue(1.2), NULL); in TEST_F()
/external/chromium_org/tools/json_schema_compiler/test/
Dcrossref_unittest.cc16 value->SetWithoutPathExpansion("number", Value::CreateDoubleValue(1.1)); in CreateTestTypeDictionary()
Dsimple_api_unittest.cc15 value->SetWithoutPathExpansion("number", Value::CreateDoubleValue(1.1)); in CreateTestTypeDictionary()
Darrays_unittest.cc29 numbers_value->Append(Value::CreateDoubleValue(6.1)); in CreateBasicArrayTypeDictionary()
/external/chromium/base/
Dvalues.cc83 FundamentalValue* Value::CreateDoubleValue(double in_value) { in CreateDoubleValue() function in Value
194 return CreateDoubleValue(double_value_); in DeepCopy()
371 Set(path, CreateDoubleValue(in_value)); in SetDouble()
Dvalues_unittest.cc63 mixed_list->Set(2, Value::CreateDoubleValue(88.8)); in TEST_F()
330 FundamentalValue* original_double = Value::CreateDoubleValue(3.14); in TEST_F()
522 FundamentalValue* original_double = Value::CreateDoubleValue(3.14); in TEST_F()
Dvalues.h69 static FundamentalValue* CreateDoubleValue(double in_value);
/external/chromium/chrome/browser/chromeos/
Dcros_settings.cc68 Set(path, Value::CreateDoubleValue(in_value)); in SetDouble()
/external/chromium_org/components/policy/core/browser/
Dconfiguration_policy_handler.cc270 prefs->SetValue(pref_path_, base::Value::CreateDoubleValue( in ApplyPolicySettings()
/external/chromium_org/cc/base/
Dmath_util.cc605 return scoped_ptr<base::Value>(base::Value::CreateDoubleValue( in AsValueSafely()
610 return scoped_ptr<base::Value>(base::Value::CreateDoubleValue( in AsValueSafely()

12