Searched defs:value (Results 276 - 300 of 7904) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/cc/debug/
H A Drendering_stats_unittest.cc16 scoped_refptr<base::debug::TracedValue> value = local
18 value->BeginArray("list_value");
19 list.AddToTracedValue(value.get());
20 value->EndArray();
21 return value->ToString();
/external/chromium_org/chrome/browser/chromeos/drive/
H A Dfake_free_disk_space_getter.h22 void set_default_value(int64 value) { default_value_ = value; } argument
24 // Pushes the given value to the back of the fake value list.
26 // If the fake value list is empty, AmountOfFreeDiskSpace() will return
28 // Otherwise, AmountOfFreeDiskSpace() will return the value at the front of
30 void PushFakeValue(int64 value);
/external/chromium_org/chrome/browser/extensions/api/location/
H A Dlocation_api.cc23 bool IsNegative(double* value) { argument
24 return value && *value < 0.0;
/external/chromium_org/chrome/browser/extensions/api/messaging/
H A Dnative_messaging_policy_handler_unittest.cc80 base::Value* value = NULL; local
93 EXPECT_TRUE(prefs.GetValue(kTestPref, &value));
94 EXPECT_TRUE(base::Value::Equals(&expected, value));
105 EXPECT_TRUE(prefs.GetValue(kTestPref, &value));
106 EXPECT_TRUE(base::Value::Equals(&expected, value));
115 EXPECT_TRUE(prefs.GetValue(kTestPref, &value));
116 EXPECT_TRUE(base::Value::Equals(&expected, value));
/external/chromium_org/chrome/browser/extensions/
H A Dzipfile_installer.h35 void set_be_noisy_on_failure(bool value) { be_noisy_on_failure_ = value; } argument
/external/chromium_org/chrome/browser/net/
H A Ddisk_cache_dir_policy_handler.cc24 const base::Value* value = policies.GetValue(policy_name()); local
26 if (value && value->GetAsString(&string_value)) {
H A Ddisk_cache_dir_policy_handler_unittest.cc41 // Use a variable in the value. It should be expanded by the handler.
50 const base::Value* value; local
51 ASSERT_TRUE(prefs_.GetValue(prefs::kDiskCacheDir, &value));
53 ASSERT_TRUE(value->GetAsString(&out));
/external/chromium_org/chrome/browser/policy/
H A Dfile_selection_dialogs_policy_handler.cc25 const base::Value* value = policies.GetValue(policy_name()); local
26 if (value && value->GetAsBoolean(&allow_dialogs)) {
H A Dfile_selection_dialogs_policy_handler_unittest.cc51 const base::Value* value = NULL; local
52 EXPECT_TRUE(prefs_.GetValue(prefs::kPromptForDownload, &value));
53 ASSERT_TRUE(value);
55 bool result = value->GetAsBoolean(&prompt_for_download);
/external/chromium_org/chrome/browser/supervised_user/
H A Dsupervised_user_pref_mapping_service_unittest.cc53 const base::Value* value = shared_settings_service_->GetValue( local
56 value->GetAsInteger(&avatar_index);
H A Dsupervised_user_shared_settings_update.cc15 scoped_ptr<base::Value> value,
20 value_(value.Pass()),
38 const base::Value* value = service_->GetValue(su_id, key); local
39 callback_.Run(value->Equals(value_.get()));
11 SupervisedUserSharedSettingsUpdate( SupervisedUserSharedSettingsService* service, const std::string& su_id, const std::string& key, scoped_ptr<base::Value> value, const base::Callback<void(bool)>& success_callback) argument
/external/chromium_org/chrome/browser/sync/
H A Dsync_policy_handler.cc24 const base::Value* value = policies.GetValue(policy_name()); local
26 if (value && value->GetAsBoolean(&disable_sync) && disable_sync)
27 prefs->SetValue(sync_driver::prefs::kSyncManaged, value->DeepCopy());
H A Dsync_policy_handler_unittest.cc53 const base::Value* value = NULL; local
54 EXPECT_TRUE(prefs.GetValue(sync_driver::prefs::kSyncManaged, &value));
55 ASSERT_TRUE(value);
57 bool result = value->GetAsBoolean(&sync_managed);
/external/chromium_org/chrome/browser/ui/autofill/
H A Dloading_animation.h32 double value; member in struct:autofill::LoadingAnimation::AnimationFrame
/external/chromium_org/chrome/browser/ui/webui/ntp/
H A Dntp_user_data_logger_unittest.cc30 base::HistogramBase::Sample value) {
34 return histogram ? histogram->SnapshotSamples()->GetCount(value) : 0;
29 GetBinCount(const std::string& histogram_name, base::HistogramBase::Sample value) argument
/external/chromium_org/chrome/common/extensions/permissions/
H A Dmedia_galleries_permission_unittest.cc21 void CheckFromValue(APIPermission* permission, base::ListValue* value, argument
25 EXPECT_EQ(success_expected, permission->FromValue(value, &error, &unhandled));
38 scoped_ptr<base::ListValue> value(new base::ListValue());
39 value->AppendString(MediaGalleriesPermission::kAllAutoDetectedPermission);
40 value->AppendString(MediaGalleriesPermission::kReadPermission);
41 CheckFromValue(permission.get(), value.get(), true);
43 value.reset(new base::ListValue());
44 value->AppendString(MediaGalleriesPermission::kAllAutoDetectedPermission);
45 value->AppendString(MediaGalleriesPermission::kCopyToPermission);
46 value
[all...]
/external/chromium_org/chrome/installer/util/
H A Dchannel_info.h19 // parameter ("ap") client state value for a product.
23 // Initialize an instance from the "ap" value in a given registry key.
24 // Returns false if the value is present but could not be read from the
25 // registry. Returns true if the value was not present or could be read.
27 // An absent "ap" value is treated identically to an empty "ap" value.
30 // Writes the info to the "ap" value in a given registry key.
31 // Returns false if the value could not be written to the registry.
34 const std::wstring& value() const { return value_; } function in class:installer::ChannelInfo
35 void set_value(const std::wstring& value) { value argument
[all...]
/external/chromium_org/chrome/test/logging/win/
H A Dmof_data_parser.cc14 bool MofDataParser::ReadString(base::StringPiece* value) { argument
23 value->set(reinterpret_cast<const char*>(scan_),
/external/chromium_org/chrome/test/remoting/
H A Dqunit_browser_test_runner.cc26 scoped_ptr<base::Value> value; local
27 value.reset(reader.Read(result, base::JSON_ALLOW_TRAILING_COMMAS));
31 ASSERT_TRUE(value->GetAsDictionary(&dict_value));
44 << file.value() << "> does not exist.";
/external/chromium_org/chrome/utility/
H A Dweb_resource_unpacker.cc27 scoped_ptr<base::Value> value; local
29 value.reset(base::JSONReader::Read(resource_data_));
30 if (!value.get()) {
35 if (!value->IsType(base::Value::TYPE_DICTIONARY)) {
39 parsed_json_.reset(static_cast<base::DictionaryValue*>(value.release()));
/external/chromium_org/chromeos/settings/
H A Dcros_settings_provider.cc24 const base::Value& value) {
33 DoSet(path, value);
23 Set(const std::string& path, const base::Value& value) argument
/external/chromium_org/components/copresence/
H A Dtimed_map_unittest.cc15 Value() : value(0) {}
16 explicit Value(int new_value) : value(new_value) {}
18 int value; member in struct:__anon6408::Value
40 EXPECT_EQ(0, map.GetValue(0).value);
44 EXPECT_EQ(0x7331, map.GetValue(0x1337).value);
48 EXPECT_EQ(0xf00d, map.GetValue(0xbaad).value);
49 EXPECT_EQ(0x7331, map.GetValue(0x1337).value);
56 EXPECT_EQ(0x5678, map.GetValue(0x1234).value);
57 EXPECT_EQ(0xf00d, map.GetValue(0xbaad).value);
58 EXPECT_EQ(0x7331, map.GetValue(0x1337).value);
[all...]
/external/chromium_org/components/metrics/
H A Dmetrics_hashes.cc15 // Converts the 8-byte prefix of an MD5 hash into a uint64 value.
17 uint64 value; local
18 DCHECK_GE(hash.size(), sizeof(value));
19 memcpy(&value, hash.data(), sizeof(value));
20 return base::HostToNet64(value);
/external/chromium_org/components/policy/core/browser/
H A Dautofill_policy_handler.cc24 const base::Value* value = policies.GetValue(policy_name()); local
26 if (value && value->GetAsBoolean(&auto_fill_enabled) && !auto_fill_enabled)
H A Dautofill_policy_handler_unittest.cc53 const base::Value* value = NULL; local
54 EXPECT_TRUE(prefs.GetValue(autofill::prefs::kAutofillEnabled, &value));
55 ASSERT_TRUE(value);
57 bool result = value->GetAsBoolean(&autofill_enabled);

Completed in 3175 milliseconds

<<11121314151617181920>>