Home
last modified time | relevance | path

Searched refs:CreateIntegerValue (Results 1 – 25 of 136) sorted by relevance

123456

/external/chromium_org/chrome/browser/policy/
Dconfiguration_policy_handler_unittest.cc116 POLICY_SCOPE_USER, base::Value::CreateIntegerValue(0), NULL); in TEST()
122 POLICY_SCOPE_USER, base::Value::CreateIntegerValue(5), NULL); in TEST()
128 POLICY_SCOPE_USER, base::Value::CreateIntegerValue(10), NULL); in TEST()
136 POLICY_SCOPE_USER, base::Value::CreateIntegerValue(-5), NULL); in TEST()
142 POLICY_SCOPE_USER, base::Value::CreateIntegerValue(15), NULL); in TEST()
167 POLICY_SCOPE_USER, base::Value::CreateIntegerValue(0), NULL); in TEST()
173 POLICY_SCOPE_USER, base::Value::CreateIntegerValue(5), NULL); in TEST()
179 POLICY_SCOPE_USER, base::Value::CreateIntegerValue(10), NULL); in TEST()
187 POLICY_SCOPE_USER, base::Value::CreateIntegerValue(-5), NULL); in TEST()
193 POLICY_SCOPE_USER, base::Value::CreateIntegerValue(15), NULL); in TEST()
[all …]
/external/chromium/chrome/browser/prefs/
Doverlay_persistent_pref_store_unittest.cc34 underlay_->SetValue(key, Value::CreateIntegerValue(42)); in TEST_F()
39 underlay_->SetValue(key, Value::CreateIntegerValue(43)); in TEST_F()
44 overlay_->SetValue(key, Value::CreateIntegerValue(44)); in TEST_F()
49 underlay_->SetValue(key, Value::CreateIntegerValue(45)); in TEST_F()
64 overlay_->SetValueSilently(key, Value::CreateIntegerValue(46)); in TEST_F()
71 underlay_->SetValue(key, Value::CreateIntegerValue(47)); in TEST_F()
72 overlay_->SetValue(key, Value::CreateIntegerValue(48)); in TEST_F()
82 underlay_->SetValue(key, Value::CreateIntegerValue(42)); in TEST_F()
95 overlay_->SetValue(key, Value::CreateIntegerValue(43)); in TEST_F()
/external/chromium_org/chrome/browser/content_settings/
Dcontent_settings_origin_identifier_value_map_unittest.cc26 Value::CreateIntegerValue(1)); in TEST()
28 scoped_ptr<Value> expected_value(Value::CreateIntegerValue(1)); in TEST()
72 Value::CreateIntegerValue(1)); in TEST()
123 Value::CreateIntegerValue(1)); in TEST()
128 Value::CreateIntegerValue(1)); in TEST()
153 Value::CreateIntegerValue(1)); in TEST()
159 Value::CreateIntegerValue(2)); in TEST()
193 Value::CreateIntegerValue(1)); in TEST()
198 Value::CreateIntegerValue(2)); in TEST()
Dcontent_settings_default_provider_unittest.cc52 Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); in TEST_F()
73 Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); in TEST_F()
104 Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); in TEST_F()
132 Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); in TEST_F()
142 Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); in TEST_F()
158 Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); in TEST_F()
216 Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); in TEST_F()
235 Value::CreateIntegerValue(CONTENT_SETTING_ALLOW)); in TEST_F()
Dcontent_settings_provider_unittest.cc25 Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); in TEST()
68 Value::CreateIntegerValue(CONTENT_SETTING_ALLOW)); in TEST()
77 Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); in TEST()
98 Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); in TEST()
Dcontent_settings_rule_unittest.cc45 base::Value::CreateIntegerValue(0))); in TEST()
48 base::Value::CreateIntegerValue(0))); in TEST()
52 base::Value::CreateIntegerValue(0))); in TEST()
55 base::Value::CreateIntegerValue(0))); in TEST()
Dcontent_settings_pref_provider_unittest.cc125 Value::CreateIntegerValue(CONTENT_SETTING_ALLOW)); in TEST_F()
174 Value::CreateIntegerValue(CONTENT_SETTING_ALLOW)); in TEST_F()
229 Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); in TEST_F()
291 Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); in TEST_F()
319 Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); in TEST_F()
340 Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); in TEST_F()
373 Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); in TEST_F()
410 Value::CreateIntegerValue(CONTENT_SETTING_ALLOW)); in TEST_F()
Dcontent_settings_policy_provider_unittest.cc64 Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); in TEST_F()
88 Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); in TEST_F()
124 Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); in TEST_F()
190 Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); in TEST_F()
Dcontent_settings_default_provider.cc217 Value::CreateIntegerValue(kDefaultSettings[content_type])); in SetWebsiteSetting()
309 Value::CreateIntegerValue(kDefaultSettings[i])); in ForceDefaultsToBeExplicit()
324 Value::CreateIntegerValue(int_value)); in GetSettingsFromDictionary()
334 Value::CreateIntegerValue(CONTENT_SETTING_BLOCK)); in GetSettingsFromDictionary()
/external/chromium_org/chrome/browser/task_profiler/
Dtask_profiler_data_serializer.cc38 Value::CreateIntegerValue(location.line_number)); in LocationSnapshotToValue()
60 Value::CreateIntegerValue(death_data.count)); in DeathDataSnapshotToValue()
62 Value::CreateIntegerValue(death_data.run_duration_sum)); in DeathDataSnapshotToValue()
64 Value::CreateIntegerValue(death_data.run_duration_max)); in DeathDataSnapshotToValue()
66 Value::CreateIntegerValue(death_data.run_duration_sample)); in DeathDataSnapshotToValue()
68 Value::CreateIntegerValue(death_data.queue_duration_sum)); in DeathDataSnapshotToValue()
70 Value::CreateIntegerValue(death_data.queue_duration_max)); in DeathDataSnapshotToValue()
72 Value::CreateIntegerValue(death_data.queue_duration_sample)); in DeathDataSnapshotToValue()
/external/chromium_org/components/policy/core/common/
Dpolicy_bundle_unittest.cc31 POLICY_SCOPE_USER, base::Value::CreateIntegerValue(123), NULL); in AddTestPolicies()
54 base::Value::CreateIntegerValue(value), NULL); in AddTestPoliciesWithParams()
56 base::Value::CreateIntegerValue(value), NULL); in AddTestPoliciesWithParams()
58 base::Value::CreateIntegerValue(value), NULL); in AddTestPoliciesWithParams()
186 base::Value::CreateIntegerValue(0), NULL); in TEST()
188 base::Value::CreateIntegerValue(1), NULL); in TEST()
190 base::Value::CreateIntegerValue(0), NULL); in TEST()
192 base::Value::CreateIntegerValue(1), NULL); in TEST()
194 base::Value::CreateIntegerValue(2), NULL); in TEST()
236 base::Value::CreateIntegerValue(123), in TEST()
[all …]
Dpolicy_service_impl_unittest.cc78 base::Value::CreateIntegerValue(14), NULL); in OnPolicyUpdated()
108 base::Value::CreateIntegerValue(13), NULL); in SetUp()
157 base::Value::CreateIntegerValue(13), NULL); in TEST_F()
168 base::Value::CreateIntegerValue(13), NULL); in TEST_F()
173 base::Value::CreateIntegerValue(123), NULL); in TEST_F()
175 base::Value::CreateIntegerValue(123), NULL); in TEST_F()
193 base::Value::CreateIntegerValue(456), NULL); in TEST_F()
195 base::Value::CreateIntegerValue(456), NULL); in TEST_F()
217 base::Value::CreateIntegerValue(789), NULL); in TEST_F()
219 base::Value::CreateIntegerValue(789), NULL); in TEST_F()
[all …]
/external/chromium/chrome/browser/extensions/
Dextension_browser_event_router.cc102 args.Append(Value::CreateIntegerValue(window_id)); in DispatchSimpleBrowserEvent()
284 args.Append(Value::CreateIntegerValue(tab_id)); in TabInsertedAt()
287 object_args->Set(tab_keys::kNewWindowIdKey, Value::CreateIntegerValue( in TabInsertedAt()
289 object_args->Set(tab_keys::kNewPositionKey, Value::CreateIntegerValue( in TabInsertedAt()
307 args.Append(Value::CreateIntegerValue( in TabDetachedAt()
311 object_args->Set(tab_keys::kOldWindowIdKey, Value::CreateIntegerValue( in TabDetachedAt()
313 object_args->Set(tab_keys::kOldPositionKey, Value::CreateIntegerValue( in TabDetachedAt()
329 args.Append(Value::CreateIntegerValue(tab_id)); in TabClosingAt()
356 args.Append(Value::CreateIntegerValue( in TabSelectedAt()
360 object_args->Set(tab_keys::kWindowIdKey, Value::CreateIntegerValue( in TabSelectedAt()
[all …]
Dextension_messages_browsertest.cc18 args.Set(0, Value::CreateIntegerValue(source_port_id)); in DispatchOnConnect()
32 args.Set(0, Value::CreateIntegerValue(source_port_id)); in DispatchOnDisconnect()
40 args.Set(1, Value::CreateIntegerValue(source_port_id)); in DispatchOnMessage()
/external/chromium/base/json/
Djson_writer_unittest.cc82 period_dict.SetWithoutPathExpansion("a.b", Value::CreateIntegerValue(3)); in TEST()
83 period_dict.SetWithoutPathExpansion("c", Value::CreateIntegerValue(2)); in TEST()
86 Value::CreateIntegerValue(1)); in TEST()
92 period_dict3.Set("a.b", Value::CreateIntegerValue(2)); in TEST()
93 period_dict3.SetWithoutPathExpansion("a.b", Value::CreateIntegerValue(1)); in TEST()
/external/chromium_org/tools/json_schema_compiler/test/
Darrays_unittest.cc22 integers_value->Append(Value::CreateIntegerValue(1)); in CreateBasicArrayTypeDictionary()
23 integers_value->Append(Value::CreateIntegerValue(2)); in CreateBasicArrayTypeDictionary()
24 integers_value->Append(Value::CreateIntegerValue(3)); in CreateBasicArrayTypeDictionary()
39 value->Set("val", Value::CreateIntegerValue(val)); in CreateItemValue()
123 not_ref_array->Append(Value::CreateIntegerValue(3)); in TEST()
133 integer_array->Append(Value::CreateIntegerValue(2)); in TEST()
134 integer_array->Append(Value::CreateIntegerValue(4)); in TEST()
135 integer_array->Append(Value::CreateIntegerValue(8)); in TEST()
149 any_array->Append(Value::CreateIntegerValue(1)); in TEST()
198 expected_argument->Append(Value::CreateIntegerValue(1)); in TEST()
[all …]
Didl_schemas_unittest.cc40 list.Append(Value::CreateIntegerValue(5)); in TEST()
84 list.Append(Value::CreateIntegerValue(7)); in TEST()
91 list.Append(Value::CreateIntegerValue(8)); in TEST()
124 list.Append(Value::CreateIntegerValue(33)); in TEST()
133 list.Append(Value::CreateIntegerValue(33)); in TEST()
135 sublist->Append(Value::CreateIntegerValue(34)); in TEST()
136 sublist->Append(Value::CreateIntegerValue(35)); in TEST()
Dsimple_api_unittest.cc16 value->SetWithoutPathExpansion("integer", Value::CreateIntegerValue(4)); in CreateTestTypeDictionary()
27 expected.Append(Value::CreateIntegerValue(5)); in TEST()
33 params_value->Append(Value::CreateIntegerValue(6)); in TEST()
90 params_value->Append(Value::CreateIntegerValue(5)); in TEST()
152 expected.Append(Value::CreateIntegerValue(5)); in TEST()
Dchoices_unittest.cc27 *List(Value::CreateIntegerValue(6)))); in TEST()
34 *List(List(Value::CreateIntegerValue(2), in TEST()
35 Value::CreateIntegerValue(6), in TEST()
36 Value::CreateIntegerValue(8)).release()))); in TEST()
74 Value::CreateIntegerValue(5)); in TEST()
96 Value::CreateIntegerValue(6)); in TEST()
/external/chromium/chrome/common/
Djson_schema_validator_unittest_base.cc139 scoped_ptr<Value>(Value::CreateIntegerValue(42)).get(), in TestEnum()
160 scoped_ptr<Value>(Value::CreateIntegerValue(42)).get(), in TestChoices()
314 instance->Append(Value::CreateIntegerValue(42)); in TestArrayTuple()
328 instance->Set(0, Value::CreateIntegerValue(42)); in TestArrayTuple()
329 instance->Append(Value::CreateIntegerValue(42)); in TestArrayTuple()
361 instance->Set(0, Value::CreateIntegerValue(42)); in TestArrayTuple()
394 instance->Append(Value::CreateIntegerValue(42)); in TestArrayNonTuple()
435 scoped_ptr<Value>(Value::CreateIntegerValue(1)).get(), in TestNumber()
438 scoped_ptr<Value>(Value::CreateIntegerValue(50)).get(), in TestNumber()
441 scoped_ptr<Value>(Value::CreateIntegerValue(100)).get(), in TestNumber()
[all …]
/external/chromium_org/chrome/browser/prefs/
Dincognito_mode_prefs_unittest.cc41 Value::CreateIntegerValue(IncognitoModePrefs::ENABLED)); in TEST_F()
46 Value::CreateIntegerValue(IncognitoModePrefs::DISABLED)); in TEST_F()
51 Value::CreateIntegerValue(IncognitoModePrefs::FORCED)); in TEST_F()
68 Value::CreateIntegerValue(-1)); in TEST_F()
/external/chromium_org/chrome/browser/net/
Dproxy_policy_handler_unittest.cc84 base::Value::CreateIntegerValue( in TEST_F()
99 base::Value::CreateIntegerValue( in TEST_F()
119 base::Value::CreateIntegerValue( in TEST_F()
131 base::Value::CreateIntegerValue( in TEST_F()
153 base::Value::CreateIntegerValue( in TEST_F()
231 base::Value::CreateIntegerValue( in TEST_F()
253 base::Value::CreateIntegerValue( in TEST_F()
280 POLICY_SCOPE_USER, base::Value::CreateIntegerValue(i), NULL); in TEST_F()
/external/chromium/chrome/browser/ui/webui/
Dsync_internals_ui_unittest.cc145 args.Append(Value::CreateIntegerValue(5)); in TEST_F()
159 args.Append(Value::CreateIntegerValue(5)); in TEST_F()
169 params.arguments.Append(Value::CreateIntegerValue(10)); in TEST_F()
187 params.arguments.Append(Value::CreateIntegerValue(5)); in TEST_F()
/external/chromium/chrome/browser/ui/webui/options/
Dcookies_view_handler.cc98 args.Append(Value::CreateIntegerValue(start)); in TreeNodesAdded()
116 args.Append(Value::CreateIntegerValue(start)); in TreeNodesRemoved()
117 args.Append(Value::CreateIntegerValue(count)); in TreeNodesRemoved()
/external/chromium/base/
Dvalues_unittest.cc62 mixed_list->Set(1, Value::CreateIntegerValue(42)); in TEST_F()
328 FundamentalValue* original_int = Value::CreateIntegerValue(42); in TEST_F()
344 FundamentalValue* original_list_element_0 = Value::CreateIntegerValue(0); in TEST_F()
346 FundamentalValue* original_list_element_1 = Value::CreateIntegerValue(1); in TEST_F()
497 scoped_ptr<Value> i42(Value::CreateIntegerValue(42)); in TEST_F()
498 scoped_ptr<Value> j42(Value::CreateIntegerValue(42)); in TEST_F()
499 scoped_ptr<Value> i17(Value::CreateIntegerValue(17)); in TEST_F()
520 FundamentalValue* original_int = Value::CreateIntegerValue(42); in TEST_F()
536 FundamentalValue* original_list_element_0 = Value::CreateIntegerValue(0); in TEST_F()
538 FundamentalValue* original_list_element_1 = Value::CreateIntegerValue(1); in TEST_F()

123456