Home
last modified time | relevance | path

Searched refs:bad_message (Results 1 – 25 of 26) sorted by relevance

12

/external/chromium_org/chrome/browser/extensions/api/declarative_content/
Dcontent_action_unittest.cc27 bool bad_message = false; in TEST() local
32 result = ContentAction::Create(NULL, *ParseJson("[]"), &error, &bad_message); in TEST()
33 EXPECT_TRUE(bad_message); in TEST()
39 result = ContentAction::Create(NULL, *ParseJson("{}"), &error, &bad_message); in TEST()
40 EXPECT_TRUE(bad_message); in TEST()
50 &error, &bad_message); in TEST()
60 bool bad_message = false; in TEST() local
68 &bad_message); in TEST()
70 EXPECT_FALSE(bad_message); in TEST()
80 bool bad_message = false; in TEST() local
[all …]
Dcontent_action.cc35 *bad_message = true; \
52 bool* bad_message) { in Create() argument
137 bool* bad_message) { in Create() argument
139 *bad_message = false; in Create()
153 extension, action_dict, error, bad_message); in Create()
Dcontent_action.h64 bool* bad_message);
/external/chromium_org/chrome/browser/extensions/api/declarative/
Ddeduping_factory_unittest.cc61 bool* bad_message) { in CreateFoo() argument
67 *bad_message = true; in CreateFoo()
94 bool bad_message = false; in TEST() local
98 factory.Instantiate(kTypeName, d1.get(), &error, &bad_message)); in TEST()
100 factory.Instantiate(kTypeName, d2.get(), &error, &bad_message)); in TEST()
108 factory.Instantiate(kTypeName, d3.get(), &error, &bad_message)); in TEST()
114 factory.Instantiate(kTypeName, d2.get(), &error, &bad_message)); in TEST()
122 factory.Instantiate(kTypeName, d1.get(), &error, &bad_message)); in TEST()
125 factory.Instantiate(kTypeName, d2.get(), &error, &bad_message)); in TEST()
139 bool bad_message = false; in TEST() local
[all …]
Ddeduping_factory.h73 bool* bad_message);
117 bool* bad_message) { in Instantiate() argument
122 *bad_message = true; in Instantiate()
136 (*factory_method)(instance_type, value, error, bad_message); in Instantiate()
137 if (!new_object.get() || !error->empty() || *bad_message) in Instantiate()
146 (*factory_method)(instance_type, value, error, bad_message); in Instantiate()
147 if (!new_object.get() || !error->empty() || *bad_message) in Instantiate()
Ddeclarative_rule.h152 bool* bad_message);
358 bool* bad_message) { in Create() argument
360 *bad_message = false; in Create()
367 ActionT::Create(extension, **i, error, bad_message); in Create()
368 if (!error->empty() || *bad_message) in Create()
446 bool bad_message = false; in Create() local
448 ActionSet::Create(extension, rule->actions, error, &bad_message); in Create()
449 if (bad_message) { in Create()
456 if (!error->empty() || bad_message) in Create()
Ddeclarative_rule_unittest.cc223 bool* bad_message) { in Create() argument
233 *bad_message = true; in Create()
/external/chromium_org/chrome/browser/extensions/api/proxy/
Dproxy_api_helpers_unittest.cc75 bool bad_message = false; in TEST() local
82 &bad_message)); in TEST()
85 EXPECT_FALSE(bad_message); in TEST()
90 &bad_message)); in TEST()
91 EXPECT_TRUE(bad_message); in TEST()
100 bool bad_message = false; in TEST() local
110 &bad_message)); in TEST()
113 EXPECT_FALSE(bad_message); in TEST()
121 &bad_message)); in TEST()
124 EXPECT_FALSE(bad_message); in TEST()
[all …]
Dproxy_api_helpers.h55 bool* bad_message);
59 bool* bad_message);
63 bool* bad_message);
67 bool* bad_message);
72 bool* bad_message);
76 bool* bad_message);
99 bool* bad_message);
107 bool* bad_message);
Dproxy_api_helpers.cc63 bool* bad_message) { in GetProxyModeFromExtensionPref() argument
71 *bad_message = true; in GetProxyModeFromExtensionPref()
80 bool* bad_message){ in GetPacMandatoryFromExtensionPref() argument
91 *bad_message = true; in GetPacMandatoryFromExtensionPref()
101 bool* bad_message) { in GetPacUrlFromExtensionPref() argument
112 *bad_message = true; in GetPacUrlFromExtensionPref()
127 bool* bad_message) { in GetPacDataFromExtensionPref() argument
137 *bad_message = true; in GetPacDataFromExtensionPref()
153 bool* bad_message) { in GetProxyServer() argument
169 *bad_message = true; in GetProxyServer()
[all …]
Dproxy_api.cc95 bool* bad_message) { in ExtensionToBrowserPref() argument
115 config, &mode_enum, error, bad_message) || in ExtensionToBrowserPref()
117 config, &pac_mandatory, error, bad_message) || in ExtensionToBrowserPref()
119 config, &pac_url, error, bad_message) || in ExtensionToBrowserPref()
121 config, &pac_data, error, bad_message) || in ExtensionToBrowserPref()
123 config, &proxy_rules_string, error, bad_message) || in ExtensionToBrowserPref()
125 config, &bypass_list, error, bad_message)) { in ExtensionToBrowserPref()
Dproxy_api.h36 bool* bad_message) OVERRIDE;
/external/chromium_org/chrome/browser/extensions/api/declarative_webrequest/
Dwebrequest_action_unittest.cc58 bool bad_message = false; in CreateSetOfActions() local
61 WebRequestActionSet::Create(NULL, actions, &error, &bad_message)); in CreateSetOfActions()
63 EXPECT_FALSE(bad_message); in CreateSetOfActions()
183 bool bad_message = false; in TEST() local
189 result = WebRequestAction::Create(NULL, empty_list, &error, &bad_message); in TEST()
190 EXPECT_TRUE(bad_message); in TEST()
196 result = WebRequestAction::Create(NULL, input, &error, &bad_message); in TEST()
197 EXPECT_TRUE(bad_message); in TEST()
203 result = WebRequestAction::Create(NULL, input, &error, &bad_message); in TEST()
210 result = WebRequestAction::Create(NULL, input, &error, &bad_message); in TEST()
[all …]
Dwebrequest_condition_attribute.h96 bool* bad_message);
126 bool* bad_message);
161 bool* bad_message);
195 bool* bad_message);
225 bool* bad_message);
254 bool* bad_message);
Dwebrequest_action.cc49 *bad_message = true; \
119 bool* bad_message) { in CallConstructorFactoryMethod() argument
127 bool* bad_message) { in CreateRedirectRequestAction() argument
142 bool* bad_message) { in CreateRedirectRequestByRegExAction() argument
168 bool* bad_message) { in CreateSetRequestHeaderAction() argument
192 bool* bad_message) { in CreateRemoveRequestHeaderAction() argument
209 bool* bad_message) { in CreateAddResponseHeaderAction() argument
233 bool* bad_message) { in CreateRemoveResponseHeaderAction() argument
257 bool* bad_message) { in CreateIgnoreRulesAction() argument
284 bool* bad_message) { in CreateRequestCookieAction() argument
[all …]
Dwebrequest_condition_attribute.cc116 bool bad_message = false; in Create() local
118 name, value, error, &bad_message); in Create()
139 bool* bad_message) { in Create() argument
224 bool* bad_message) { in Create() argument
581 bool* bad_message) { in Create() argument
655 bool* bad_message) { in Create() argument
729 bool* bad_message) { in Create() argument
835 bool* bad_message) { in Create() argument
Dwebrequest_rules_registry_unittest.cc707 bool bad_message = false; in TEST() local
709 WebRequestActionSet::Create(NULL, rule.actions, &error, &bad_message); in TEST()
711 ASSERT_FALSE(bad_message); in TEST()
734 bool bad_message = false; in TEST() local
736 WebRequestActionSet::Create(NULL, actions, &error, &bad_message)); in TEST()
738 ASSERT_FALSE(bad_message); in TEST()
Dwebrequest_action.h140 bool* bad_message);
/external/chromium_org/extensions/browser/
Dextension_function.h206 void set_bad_message(bool bad_message) { bad_message_ = bad_message; } in set_bad_message() argument
392 bool bad_message) = 0;
/external/chromium_org/chrome/browser/extensions/api/preference/
Dpreference_api.cc123 bool* bad_message) OVERRIDE { in ExtensionToBrowserPref() argument
137 bool* bad_message) OVERRIDE { in ExtensionToBrowserPref() argument
647 bool bad_message = false; in RunSync() local
649 transformer->ExtensionToBrowserPref(value, &error, &bad_message)); in RunSync()
652 bad_message_ = bad_message; in RunSync()
Dpreference_api.h156 bool* bad_message) = 0;
/external/chromium_org/chrome/browser/extensions/
Dextension_function_test_utils.cc227 bool bad_message) OVERRIDE { in OnSendResponse() argument
228 ASSERT_FALSE(bad_message); in OnSendResponse()
/external/chromium_org/components/breakpad/browser/
Dcrash_handler_host_linux.cc207 const bool bad_message = (msg_size != expected_msg_size || in OnFileCanReadWithoutBlocking() local
246 if (bad_message) { in OnFileCanReadWithoutBlocking()
/external/libcxx/test/diagnostics/syserr/
Derrc.pass.cpp26 static_assert(static_cast<int>(std::errc::bad_message) == EBADMSG, ""); in main()
/external/libcxx/include/
Dsystem_error127 bad_message, // EBADMSG
259 bad_message = EBADMSG,

12