Home
last modified time | relevance | path

Searched refs:in_value (Results 1 – 25 of 56) sorted by relevance

123

/external/chromium_org/extensions/common/
Dvalue_builder.cc19 int in_value) { in Set() argument
20 dict_->SetWithoutPathExpansion(path, new base::FundamentalValue(in_value)); in Set()
25 double in_value) { in Set() argument
26 dict_->SetWithoutPathExpansion(path, new base::FundamentalValue(in_value)); in Set()
31 const std::string& in_value) { in Set() argument
32 dict_->SetWithoutPathExpansion(path, new base::StringValue(in_value)); in Set()
37 const string16& in_value) { in Set() argument
38 dict_->SetWithoutPathExpansion(path, new base::StringValue(in_value)); in Set()
43 DictionaryBuilder& in_value) { in Set() argument
44 dict_->SetWithoutPathExpansion(path, in_value.Build().release()); in Set()
[all …]
Dvalue_builder.h59 DictionaryBuilder& Set(const std::string& path, int in_value);
60 DictionaryBuilder& Set(const std::string& path, double in_value);
61 DictionaryBuilder& Set(const std::string& path, const std::string& in_value);
62 DictionaryBuilder& Set(const std::string& path, const string16& in_value);
63 DictionaryBuilder& Set(const std::string& path, DictionaryBuilder& in_value);
64 DictionaryBuilder& Set(const std::string& path, ListBuilder& in_value);
68 DictionaryBuilder& SetBoolean(const std::string& path, bool in_value);
87 ListBuilder& Append(int in_value);
88 ListBuilder& Append(double in_value);
89 ListBuilder& Append(const std::string& in_value);
[all …]
/external/chromium_org/base/
Dvalues.cc93 FundamentalValue* Value::CreateBooleanValue(bool in_value) { in CreateBooleanValue() argument
94 return new FundamentalValue(in_value); in CreateBooleanValue()
98 FundamentalValue* Value::CreateIntegerValue(int in_value) { in CreateIntegerValue() argument
99 return new FundamentalValue(in_value); in CreateIntegerValue()
103 FundamentalValue* Value::CreateDoubleValue(double in_value) { in CreateDoubleValue() argument
104 return new FundamentalValue(in_value); in CreateDoubleValue()
108 StringValue* Value::CreateStringValue(const std::string& in_value) { in CreateStringValue() argument
109 return new StringValue(in_value); in CreateStringValue()
113 StringValue* Value::CreateStringValue(const string16& in_value) { in CreateStringValue() argument
114 return new StringValue(in_value); in CreateStringValue()
[all …]
Dvalues.h74 static FundamentalValue* CreateBooleanValue(bool in_value);
75 static FundamentalValue* CreateIntegerValue(int in_value);
76 static FundamentalValue* CreateDoubleValue(double in_value);
77 static StringValue* CreateStringValue(const std::string& in_value);
78 static StringValue* CreateStringValue(const string16& in_value);
132 explicit FundamentalValue(bool in_value);
133 explicit FundamentalValue(int in_value);
134 explicit FundamentalValue(double in_value);
155 explicit StringValue(const std::string& in_value);
158 explicit StringValue(const string16& in_value);
[all …]
Dvalue_conversions.cc19 StringValue* CreateFilePathValue(const FilePath& in_value) { in CreateFilePathValue() argument
20 return new StringValue(in_value.AsUTF8Unsafe()); in CreateFilePathValue()
/external/chromium/base/
Dvalues.cc73 FundamentalValue* Value::CreateBooleanValue(bool in_value) { in CreateBooleanValue() argument
74 return new FundamentalValue(in_value); in CreateBooleanValue()
78 FundamentalValue* Value::CreateIntegerValue(int in_value) { in CreateIntegerValue() argument
79 return new FundamentalValue(in_value); in CreateIntegerValue()
83 FundamentalValue* Value::CreateDoubleValue(double in_value) { in CreateDoubleValue() argument
84 return new FundamentalValue(in_value); in CreateDoubleValue()
88 StringValue* Value::CreateStringValue(const std::string& in_value) { in CreateStringValue() argument
89 return new StringValue(in_value); in CreateStringValue()
93 StringValue* Value::CreateStringValue(const string16& in_value) { in CreateStringValue() argument
94 return new StringValue(in_value); in CreateStringValue()
[all …]
Dvalues.h67 static FundamentalValue* CreateBooleanValue(bool in_value);
68 static FundamentalValue* CreateIntegerValue(int in_value);
69 static FundamentalValue* CreateDoubleValue(double in_value);
70 static StringValue* CreateStringValue(const std::string& in_value);
71 static StringValue* CreateStringValue(const string16& in_value);
128 explicit FundamentalValue(bool in_value);
129 explicit FundamentalValue(int in_value);
130 explicit FundamentalValue(double in_value);
153 explicit StringValue(const std::string& in_value);
156 explicit StringValue(const string16& in_value);
[all …]
Dvalue_conversions.cc39 StringValue* CreateFilePathValue(const FilePath& in_value) { in CreateFilePathValue() argument
40 return new StringValue(FilePathToUTF8(in_value)); in CreateFilePathValue()
/external/chromium/chrome/browser/prefs/
Dproxy_prefs.cc37 bool IntToProxyMode(int in_value, ProxyMode* out_value) { in IntToProxyMode() argument
39 if (in_value < 0 || in_value >= kModeCount) in IntToProxyMode()
41 *out_value = static_cast<ProxyMode>(in_value); in IntToProxyMode()
46 bool StringToProxyMode(const std::string& in_value, ProxyMode* out_value) { in StringToProxyMode() argument
49 if (in_value == kProxyModeNames[i]) in StringToProxyMode()
Dproxy_prefs.h47 bool IntToProxyMode(int in_value, ProxyMode* out_value);
48 bool StringToProxyMode(const std::string& in_value,
/external/chromium_org/chrome/browser/prefs/
Dproxy_prefs.cc33 bool IntToProxyMode(int in_value, ProxyMode* out_value) { in IntToProxyMode() argument
35 if (in_value < 0 || in_value >= kModeCount) in IntToProxyMode()
37 *out_value = static_cast<ProxyMode>(in_value); in IntToProxyMode()
41 bool StringToProxyMode(const std::string& in_value, ProxyMode* out_value) { in StringToProxyMode() argument
44 if (in_value == kProxyModeNames[i]) in StringToProxyMode()
Dincognito_mode_prefs.cc24 bool IncognitoModePrefs::IntToAvailability(int in_value, in IntToAvailability() argument
26 if (in_value < 0 || in_value >= AVAILABILITY_NUM_TYPES) { in IntToAvailability()
30 *out_value = static_cast<Availability>(in_value); in IntToAvailability()
Dproxy_prefs.h62 bool IntToProxyMode(int in_value, ProxyMode* out_value);
63 bool StringToProxyMode(const std::string& in_value, ProxyMode* out_value);
/external/chromium/chrome/browser/chromeos/
Dproxy_cros_settings_provider.cc35 Value* in_value) { in DoSet() argument
36 if (!in_value) { in DoSet()
50 if (in_value->GetAsString(&val)) { in DoSet()
56 if (in_value->GetAsString(&val)) { in DoSet()
62 if (in_value->GetAsInteger(&val)) { in DoSet()
68 if (in_value->GetAsString(&val)) { in DoSet()
75 if (in_value->GetAsInteger(&val)) { in DoSet()
82 if (in_value->GetAsString(&val)) { in DoSet()
89 if (in_value->GetAsInteger(&val)) { in DoSet()
96 if (in_value->GetAsInteger(&val)) { in DoSet()
[all …]
Dcros_settings.cc47 void CrosSettings::Set(const std::string& path, Value* in_value) { in Set() argument
52 provider->Set(path, in_value); in Set()
56 void CrosSettings::SetBoolean(const std::string& path, bool in_value) { in SetBoolean() argument
58 Set(path, Value::CreateBooleanValue(in_value)); in SetBoolean()
61 void CrosSettings::SetInteger(const std::string& path, int in_value) { in SetInteger() argument
63 Set(path, Value::CreateIntegerValue(in_value)); in SetInteger()
66 void CrosSettings::SetDouble(const std::string& path, double in_value) { in SetDouble() argument
68 Set(path, Value::CreateDoubleValue(in_value)); in SetDouble()
72 const std::string& in_value) { in SetString() argument
74 Set(path, Value::CreateStringValue(in_value)); in SetString()
Dcros_settings.h40 void Set(const std::string& path, Value* in_value);
51 void SetBoolean(const std::string& path, bool in_value);
52 void SetInteger(const std::string& path, int in_value);
53 void SetDouble(const std::string& path, double in_value);
54 void SetString(const std::string& path, const std::string& in_value);
Dcros_settings_provider.h20 void Set(const std::string& path, Value* in_value);
31 virtual void DoSet(const std::string& path, Value* in_value) = 0;
/external/chromium_org/chrome/browser/chromeos/
Dproxy_cros_settings_parser.cc119 const base::Value* in_value, in SetProxyPrefValue() argument
121 if (!in_value) { in SetProxyPrefValue()
132 if (in_value->GetAsString(&val)) { in SetProxyPrefValue()
141 if (in_value->GetAsString(&val)) { in SetProxyPrefValue()
147 if (in_value->GetAsInteger(&val)) { in SetProxyPrefValue()
153 if (in_value->GetAsString(&val)) { in SetProxyPrefValue()
160 if (in_value->GetAsInteger(&val)) { in SetProxyPrefValue()
167 if (in_value->GetAsString(&val)) { in SetProxyPrefValue()
174 if (in_value->GetAsInteger(&val)) { in SetProxyPrefValue()
181 if (in_value->GetAsInteger(&val)) { in SetProxyPrefValue()
[all …]
/external/chromium/chrome/browser/ui/webui/options/chromeos/
Dlanguage_options_util.cc10 Value* CreateValue(const char* in_value) { in CreateValue() argument
11 return Value::CreateStringValue(in_value); in CreateValue()
14 Value* CreateValue(int in_value) { in CreateValue() argument
15 return Value::CreateIntegerValue(in_value); in CreateValue()
/external/chromium_org/remoting/host/
Din_memory_host_config.cc37 const std::string& in_value) { in SetString() argument
39 values_->SetString(path, in_value); in SetString()
42 void InMemoryHostConfig::SetBoolean(const std::string& path, bool in_value) { in SetBoolean() argument
44 values_->SetBoolean(path, in_value); in SetBoolean()
Din_memory_host_config.h34 const std::string& in_value) OVERRIDE;
35 virtual void SetBoolean(const std::string& path, bool in_value) OVERRIDE;
/external/chromium_org/chrome/browser/chromeos/settings/
Dcros_settings.h47 void Set(const std::string& path, const base::Value& in_value);
62 void SetBoolean(const std::string& path, bool in_value);
63 void SetInteger(const std::string& path, int in_value);
64 void SetDouble(const std::string& path, double in_value);
65 void SetString(const std::string& path, const std::string& in_value);
Dcros_settings.cc73 void CrosSettings::Set(const std::string& path, const base::Value& in_value) { in Set() argument
78 provider->Set(path, in_value); in Set()
102 void CrosSettings::SetBoolean(const std::string& path, bool in_value) { in SetBoolean() argument
104 base::FundamentalValue value(in_value); in SetBoolean()
108 void CrosSettings::SetInteger(const std::string& path, int in_value) { in SetInteger() argument
110 base::FundamentalValue value(in_value); in SetInteger()
114 void CrosSettings::SetDouble(const std::string& path, double in_value) { in SetDouble() argument
116 base::FundamentalValue value(in_value); in SetDouble()
121 const std::string& in_value) { in SetString() argument
123 base::StringValue value(in_value); in SetString()
/external/chromium_org/chrome/browser/policy/
Dconfiguration_policy_pref_store_unittest.cc54 base::ListValue* in_value = new base::ListValue(); in TEST_F() local
55 in_value->Append(base::Value::CreateStringValue("test1")); in TEST_F()
56 in_value->Append(base::Value::CreateStringValue("test2,")); in TEST_F()
59 POLICY_SCOPE_USER, in_value, NULL); in TEST_F()
64 EXPECT_TRUE(in_value->Equals(value)); in TEST_F()
/external/chromium_org/chromeos/settings/
Dcros_settings_provider.h45 void Set(const std::string& path, const base::Value& in_value);
71 const base::Value& in_value) = 0;

123