Home
last modified time | relevance | path

Searched refs:default_value_ (Results 1 – 25 of 27) sorted by relevance

12

/external/chromium_org/third_party/webrtc/video_engine/test/auto_test/primitives/
Dinput_helpers.cc44 override_registry_(override_registry), default_value_(""), title_(title) { in InputBuilder()
54 if (!FLAGS_override.empty() && !default_value_.empty()) in AskForInput()
55 return default_value_; in AskForInput()
64 if (!default_value_.empty()) in ActuallyAskUser()
65 printf("Hit enter for default (%s):\n", default_value_.c_str()); in ActuallyAskUser()
77 if (input.empty() && !default_value_.empty()) in ActuallyAskUser()
78 return default_value_; in ActuallyAskUser()
95 assert(default_value_.empty() || input_validator->InputOk(default_value_)); in WithInputValidator()
103 default_value_ = default_value; in WithDefault()
Dinput_helpers.h65 std::string default_value_; variable
/external/chromium_org/media/cast/test/utility/
Dinput_builder.cc25 default_value_(default_value), in InputBuilder()
33 return default_value_; in GetStringInput()
36 if (!default_value_.empty()) in GetStringInput()
37 printf("Hit enter for default (%s):\n", default_value_.c_str()); in GetStringInput()
49 if (input.empty() && !default_value_.empty()) in GetStringInput()
50 return default_value_; in GetStringInput()
Dinput_builder.h39 const std::string default_value_; variable
/external/chromium_org/extensions/common/
Dfeature_switch.cc135 default_value_ = default_value == DEFAULT_ENABLED; in Init()
144 return default_value_; in IsEnabled()
156 if (!default_value_ && command_line_->HasSwitch(GetLegacyEnableFlag())) in IsEnabled()
159 if (default_value_ && command_line_->HasSwitch(GetLegacyDisableFlag())) in IsEnabled()
162 return default_value_; in IsEnabled()
Dfeature_switch.h79 bool default_value_; variable
/external/chromium_org/components/cloud_devices/common/
Ddescription_items.h144 void Reset() { default_value_ = false; } in Reset()
146 void set_default_value(bool value) { default_value_ = value; } in set_default_value()
148 bool default_value() const { return default_value_; } in default_value()
151 bool default_value_;
Ddescription_items_inl.h153 default_value_ = Traits::kDefault; in LoadFrom()
154 dict->GetBoolean(json::kKeyDefault, &default_value_); in LoadFrom()
163 if (default_value_ != Traits::kDefault) in SaveTo()
164 dict->SetBoolean(json::kKeyDefault, default_value_); in SaveTo()
/external/chromium_org/components/autofill/core/browser/
Dautofill_field.h65 void set_default_value(const std::string& value) { default_value_ = value; } in set_default_value()
66 const std::string& default_value() const { return default_value_; } in default_value()
120 std::string default_value_; variable
/external/chromium_org/chrome/browser/chromeos/drive/
Dfake_free_disk_space_getter.cc12 : default_value_(test_util::kLotsOfSpace) { in FakeFreeDiskSpaceGetter()
24 return default_value_; in AmountOfFreeDiskSpace()
Dfake_free_disk_space_getter.h22 void set_default_value(int64 value) { default_value_ = value; } in set_default_value()
37 int64 default_value_; variable
/external/chromium_org/chrome/browser/chromeos/options/
Dnetwork_property_ui_data.cc27 default_value_.reset(); in ParseOncProperty()
48 default_value_.reset(default_value->DeepCopy()); in ParseOncProperty()
Dnetwork_property_ui_data.h40 const base::Value* default_value() const { return default_value_.get(); } in default_value()
49 scoped_ptr<base::Value> default_value_; variable
/external/chromium_org/net/quic/
Dquic_config.cc68 default_value_(0) { in QuicNegotiableUint32()
75 default_value_ = default_value; in set()
82 return default_value_; in GetUint32()
104 default_value_, in ProcessPeerHello()
124 default_value_(0) { in QuicNegotiableTag()
133 default_value_ = default_value; in set()
140 return default_value_; in GetTag()
168 *out = &default_value_; in ReadVector()
Dquic_config.h105 uint32 default_value_; variable
147 QuicTag default_value_; variable
/external/chromium_org/chrome/common/extensions/
Dmanifest_unittest.cc29 ManifestUnitTest() : default_value_("test") {} in ManifestUnitTest()
59 std::string default_value_; member in extensions::ManifestUnitTest
/external/chromium_org/chrome/browser/profile_resetter/
Djtl_interpreter.cc220 default_value_(default_value.Pass()) { in CompareStoredValue()
223 DCHECK(default_value_); in CompareStoredValue()
229 actual_value = default_value_.get(); in Execute()
238 scoped_ptr<base::Value> default_value_; member in __anon8ae4aca00111::CompareStoredValue
/external/chromium_org/third_party/protobuf/src/google/protobuf/
Ddescriptor.pb.h943 ::std::string* default_value_;
3795 if (default_value_ != &::google::protobuf::internal::GetEmptyString()) { in clear_default_value()
3796 default_value_->clear(); in clear_default_value()
3801 return *default_value_; in default_value()
3805 if (default_value_ == &::google::protobuf::internal::GetEmptyString()) { in set_default_value()
3806 default_value_ = new ::std::string; in set_default_value()
3808 default_value_->assign(value); in set_default_value()
3812 if (default_value_ == &::google::protobuf::internal::GetEmptyString()) { in set_default_value()
3813 default_value_ = new ::std::string; in set_default_value()
3815 default_value_->assign(value); in set_default_value()
[all …]
Dextension_set.h850 : number_(number), default_value_(default_value) {} in ExtensionIdentifier()
853 return default_value_; in default_value()
858 typename TypeTraits::ConstType default_value_; variable
Ddynamic_message.cc261 new(field_ptr) TYPE(field->default_value_##TYPE()); \ in DynamicMessage()
Dgenerated_message_reflection.cc462 field->default_value_##TYPE(); \ in ClearField()
682 field->number(), field->default_value_##PASSTYPE()); \
/external/protobuf/src/google/protobuf/
Ddescriptor.pb.h894 ::std::string* default_value_;
3152 if (default_value_ != &_default_default_value_) { in clear_default_value()
3153 default_value_->clear(); in clear_default_value()
3158 return *default_value_; in default_value()
3162 if (default_value_ == &_default_default_value_) { in set_default_value()
3163 default_value_ = new ::std::string; in set_default_value()
3165 default_value_->assign(value); in set_default_value()
3169 if (default_value_ == &_default_default_value_) { in set_default_value()
3170 default_value_ = new ::std::string; in set_default_value()
3172 default_value_->assign(value); in set_default_value()
[all …]
Dextension_set.h767 : number_(number), default_value_(default_value) {} in ExtensionIdentifier()
770 return default_value_; in default_value()
775 typename TypeTraits::ConstType default_value_; variable
Ddynamic_message.cc249 new(field_ptr) TYPE(field->default_value_##TYPE()); \ in DynamicMessage()
Dgenerated_message_reflection.cc474 field->default_value_##TYPE(); \ in ClearField()
680 field->number(), field->default_value_##PASSTYPE()); \

12