Searched refs:CreateIntegerValue (Results 1 - 25 of 154) sorted by relevance

1234567

/external/chromium/chrome/browser/ui/webui/options/chromeos/
H A Dlanguage_options_util.cc15 return Value::CreateIntegerValue(in_value);
/external/chromium/base/json/
H A Djson_writer_unittest.cc82 period_dict.SetWithoutPathExpansion("a.b", Value::CreateIntegerValue(3));
83 period_dict.SetWithoutPathExpansion("c", Value::CreateIntegerValue(2));
86 Value::CreateIntegerValue(1));
92 period_dict3.Set("a.b", Value::CreateIntegerValue(2));
93 period_dict3.SetWithoutPathExpansion("a.b", Value::CreateIntegerValue(1));
/external/chromium_org/chrome/browser/content_settings/
H A Dcontent_settings_provider_unittest.cc25 Value::CreateIntegerValue(CONTENT_SETTING_BLOCK));
68 Value::CreateIntegerValue(CONTENT_SETTING_ALLOW));
77 Value::CreateIntegerValue(CONTENT_SETTING_BLOCK));
98 Value::CreateIntegerValue(CONTENT_SETTING_BLOCK));
H A Dcontent_settings_rule_unittest.cc45 base::Value::CreateIntegerValue(0)));
48 base::Value::CreateIntegerValue(0)));
52 base::Value::CreateIntegerValue(0)));
55 base::Value::CreateIntegerValue(0)));
H A Dcontent_settings_origin_identifier_value_map_unittest.cc26 Value::CreateIntegerValue(1));
28 scoped_ptr<Value> expected_value(Value::CreateIntegerValue(1));
72 Value::CreateIntegerValue(1));
123 Value::CreateIntegerValue(1));
128 Value::CreateIntegerValue(1));
153 Value::CreateIntegerValue(1));
159 Value::CreateIntegerValue(2));
193 Value::CreateIntegerValue(1));
198 Value::CreateIntegerValue(2));
H A Dcontent_settings_default_provider_unittest.cc52 Value::CreateIntegerValue(CONTENT_SETTING_BLOCK));
73 Value::CreateIntegerValue(CONTENT_SETTING_BLOCK));
104 Value::CreateIntegerValue(CONTENT_SETTING_BLOCK));
132 Value::CreateIntegerValue(CONTENT_SETTING_BLOCK));
142 Value::CreateIntegerValue(CONTENT_SETTING_BLOCK));
158 Value::CreateIntegerValue(CONTENT_SETTING_BLOCK));
216 Value::CreateIntegerValue(CONTENT_SETTING_BLOCK));
235 Value::CreateIntegerValue(CONTENT_SETTING_ALLOW));
H A Dcontent_settings_pref_provider_unittest.cc125 Value::CreateIntegerValue(CONTENT_SETTING_ALLOW));
172 Value::CreateIntegerValue(CONTENT_SETTING_ALLOW));
227 Value::CreateIntegerValue(CONTENT_SETTING_BLOCK));
289 Value::CreateIntegerValue(CONTENT_SETTING_BLOCK));
317 Value::CreateIntegerValue(CONTENT_SETTING_BLOCK));
338 Value::CreateIntegerValue(CONTENT_SETTING_BLOCK));
371 Value::CreateIntegerValue(CONTENT_SETTING_BLOCK));
408 Value::CreateIntegerValue(CONTENT_SETTING_ALLOW));
/external/chromium_org/chrome/browser/prefs/
H A Dincognito_mode_prefs_unittest.cc41 Value::CreateIntegerValue(IncognitoModePrefs::ENABLED));
46 Value::CreateIntegerValue(IncognitoModePrefs::DISABLED));
51 Value::CreateIntegerValue(IncognitoModePrefs::FORCED));
68 Value::CreateIntegerValue(-1));
/external/chromium_org/chrome/browser/policy/
H A Dconfiguration_policy_handler_unittest.cc110 POLICY_SCOPE_USER, base::Value::CreateIntegerValue(0), NULL);
116 POLICY_SCOPE_USER, base::Value::CreateIntegerValue(5), NULL);
122 POLICY_SCOPE_USER, base::Value::CreateIntegerValue(10), NULL);
130 POLICY_SCOPE_USER, base::Value::CreateIntegerValue(-5), NULL);
136 POLICY_SCOPE_USER, base::Value::CreateIntegerValue(15), NULL);
161 POLICY_SCOPE_USER, base::Value::CreateIntegerValue(0), NULL);
167 POLICY_SCOPE_USER, base::Value::CreateIntegerValue(5), NULL);
173 POLICY_SCOPE_USER, base::Value::CreateIntegerValue(10), NULL);
181 POLICY_SCOPE_USER, base::Value::CreateIntegerValue(-5), NULL);
187 POLICY_SCOPE_USER, base::Value::CreateIntegerValue(1
[all...]
H A Dpolicy_bundle_unittest.cc32 POLICY_SCOPE_USER, base::Value::CreateIntegerValue(123), NULL);
55 base::Value::CreateIntegerValue(value), NULL);
57 base::Value::CreateIntegerValue(value), NULL);
59 base::Value::CreateIntegerValue(value), NULL);
187 base::Value::CreateIntegerValue(0), NULL);
189 base::Value::CreateIntegerValue(1), NULL);
191 base::Value::CreateIntegerValue(0), NULL);
193 base::Value::CreateIntegerValue(1), NULL);
195 base::Value::CreateIntegerValue(2), NULL);
237 base::Value::CreateIntegerValue(12
[all...]
H A Dpolicy_service_impl_unittest.cc82 base::Value::CreateIntegerValue(14), NULL);
112 base::Value::CreateIntegerValue(13), NULL);
161 base::Value::CreateIntegerValue(13), NULL);
172 base::Value::CreateIntegerValue(13), NULL);
177 base::Value::CreateIntegerValue(123), NULL);
179 base::Value::CreateIntegerValue(123), NULL);
197 base::Value::CreateIntegerValue(456), NULL);
199 base::Value::CreateIntegerValue(456), NULL);
221 base::Value::CreateIntegerValue(789), NULL);
223 base::Value::CreateIntegerValue(78
[all...]
/external/chromium/chrome/browser/prefs/
H A Doverlay_persistent_pref_store_unittest.cc34 underlay_->SetValue(key, Value::CreateIntegerValue(42));
39 underlay_->SetValue(key, Value::CreateIntegerValue(43));
44 overlay_->SetValue(key, Value::CreateIntegerValue(44));
49 underlay_->SetValue(key, Value::CreateIntegerValue(45));
64 overlay_->SetValueSilently(key, Value::CreateIntegerValue(46));
71 underlay_->SetValue(key, Value::CreateIntegerValue(47));
72 overlay_->SetValue(key, Value::CreateIntegerValue(48));
82 underlay_->SetValue(key, Value::CreateIntegerValue(42));
95 overlay_->SetValue(key, Value::CreateIntegerValue(43));
/external/chromium_org/tools/json_schema_compiler/test/
H A Darrays_unittest.cc22 integers_value->Append(Value::CreateIntegerValue(1));
23 integers_value->Append(Value::CreateIntegerValue(2));
24 integers_value->Append(Value::CreateIntegerValue(3));
39 value->Set("val", Value::CreateIntegerValue(val));
123 not_ref_array->Append(Value::CreateIntegerValue(3));
133 integer_array->Append(Value::CreateIntegerValue(2));
134 integer_array->Append(Value::CreateIntegerValue(4));
135 integer_array->Append(Value::CreateIntegerValue(8));
149 any_array->Append(Value::CreateIntegerValue(1));
198 expected_argument->Append(Value::CreateIntegerValue(
[all...]
H A Dcallbacks_unittest.cc32 expected.Append(Value::CreateIntegerValue(5));
H A Didl_schemas_unittest.cc40 list.Append(Value::CreateIntegerValue(5));
84 list.Append(Value::CreateIntegerValue(7));
91 list.Append(Value::CreateIntegerValue(8));
124 list.Append(Value::CreateIntegerValue(33));
133 list.Append(Value::CreateIntegerValue(33));
135 sublist->Append(Value::CreateIntegerValue(34));
136 sublist->Append(Value::CreateIntegerValue(35));
H A Dsimple_api_unittest.cc16 value->SetWithoutPathExpansion("integer", Value::CreateIntegerValue(4));
27 expected.Append(Value::CreateIntegerValue(5));
33 params_value->Append(Value::CreateIntegerValue(6));
90 params_value->Append(Value::CreateIntegerValue(5));
152 expected.Append(Value::CreateIntegerValue(5));
/external/chromium_org/chrome/browser/task_profiler/
H A Dtask_profiler_data_serializer.cc38 Value::CreateIntegerValue(location.line_number));
60 Value::CreateIntegerValue(death_data.count));
62 Value::CreateIntegerValue(death_data.run_duration_sum));
64 Value::CreateIntegerValue(death_data.run_duration_max));
66 Value::CreateIntegerValue(death_data.run_duration_sample));
68 Value::CreateIntegerValue(death_data.queue_duration_sum));
70 Value::CreateIntegerValue(death_data.queue_duration_max));
72 Value::CreateIntegerValue(death_data.queue_duration_sample));
/external/chromium_org/chrome/browser/extensions/api/socket/
H A Dsocket_api.cc189 SetResult(Value::CreateIntegerValue(-1));
212 SetResult(Value::CreateIntegerValue(-1));
224 SetResult(Value::CreateIntegerValue(lookup_result));
235 SetResult(Value::CreateIntegerValue(result));
266 SetResult(Value::CreateIntegerValue(result));
278 SetResult(Value::CreateIntegerValue(result));
283 SetResult(Value::CreateIntegerValue(result));
288 SetResult(Value::CreateIntegerValue(result));
313 SetResult(Value::CreateIntegerValue(result));
326 SetResult(Value::CreateIntegerValue(resul
[all...]
/external/chromium/chrome/browser/extensions/
H A Dextension_browser_event_router.cc102 args.Append(Value::CreateIntegerValue(window_id));
284 args.Append(Value::CreateIntegerValue(tab_id));
287 object_args->Set(tab_keys::kNewWindowIdKey, Value::CreateIntegerValue(
289 object_args->Set(tab_keys::kNewPositionKey, Value::CreateIntegerValue(
307 args.Append(Value::CreateIntegerValue(
311 object_args->Set(tab_keys::kOldWindowIdKey, Value::CreateIntegerValue(
313 object_args->Set(tab_keys::kOldPositionKey, Value::CreateIntegerValue(
329 args.Append(Value::CreateIntegerValue(tab_id));
356 args.Append(Value::CreateIntegerValue(
360 object_args->Set(tab_keys::kWindowIdKey, Value::CreateIntegerValue(
[all...]
H A Dextension_messages_browsertest.cc18 args.Set(0, Value::CreateIntegerValue(source_port_id));
32 args.Set(0, Value::CreateIntegerValue(source_port_id));
40 args.Set(1, Value::CreateIntegerValue(source_port_id));
/external/chromium/chrome/browser/ui/webui/
H A Dsync_internals_ui_unittest.cc145 args.Append(Value::CreateIntegerValue(5));
159 args.Append(Value::CreateIntegerValue(5));
169 params.arguments.Append(Value::CreateIntegerValue(10));
187 params.arguments.Append(Value::CreateIntegerValue(5));
/external/chromium_org/chrome/browser/extensions/api/idltest/
H A Didltest_api.cc17 output->Append(Value::CreateIntegerValue(input_buffer[i]));
/external/chromium_org/chrome/browser/extensions/
H A Dbrowser_event_router.cc204 args->Append(Value::CreateIntegerValue(tab_id));
207 object_args->Set(tab_keys::kNewWindowIdKey, Value::CreateIntegerValue(
209 object_args->Set(tab_keys::kNewPositionKey, Value::CreateIntegerValue(
225 args->Append(Value::CreateIntegerValue(ExtensionTabUtil::GetTabId(contents)));
228 object_args->Set(tab_keys::kOldWindowIdKey, Value::CreateIntegerValue(
230 object_args->Set(tab_keys::kOldPositionKey, Value::CreateIntegerValue(
245 args->Append(Value::CreateIntegerValue(tab_id));
270 args->Append(Value::CreateIntegerValue(tab_id));
273 object_args->Set(tab_keys::kWindowIdKey, Value::CreateIntegerValue(
292 object_args->Set(tab_keys::kTabIdKey, Value::CreateIntegerValue(tab_i
[all...]
/external/chromium_org/chrome/browser/extensions/api/permissions/
H A Dpermissions_api_helpers_unittest.cc117 invalid_apis->Append(Value::CreateIntegerValue(3));
127 invalid_origins->Append(Value::CreateIntegerValue(3));
136 value->Set("origins", Value::CreateIntegerValue(2));
143 value->Set("permissions", Value::CreateIntegerValue(2));
152 value->Set("random", Value::CreateIntegerValue(3));
/external/chromium/chrome/common/
H A Djson_schema_validator_unittest_base.cc139 scoped_ptr<Value>(Value::CreateIntegerValue(42)).get(),
160 scoped_ptr<Value>(Value::CreateIntegerValue(42)).get(),
314 instance->Append(Value::CreateIntegerValue(42));
328 instance->Set(0, Value::CreateIntegerValue(42));
329 instance->Append(Value::CreateIntegerValue(42));
361 instance->Set(0, Value::CreateIntegerValue(42));
394 instance->Append(Value::CreateIntegerValue(42));
435 scoped_ptr<Value>(Value::CreateIntegerValue(1)).get(),
438 scoped_ptr<Value>(Value::CreateIntegerValue(50)).get(),
441 scoped_ptr<Value>(Value::CreateIntegerValue(10
[all...]

Completed in 374 milliseconds

1234567