Searched refs:error_msg (Results 1 - 25 of 90) sorted by relevance

1234

/external/chromium_org/content/common/input/
H A Dgesture_event_stream_validator_unittest.cc27 std::string error_msg; local
31 EXPECT_TRUE(validator.Validate(event, &error_msg));
32 EXPECT_TRUE(error_msg.empty());
35 EXPECT_TRUE(validator.Validate(event, &error_msg));
36 EXPECT_TRUE(error_msg.empty());
39 EXPECT_TRUE(validator.Validate(event, &error_msg));
40 EXPECT_TRUE(error_msg.empty());
45 std::string error_msg; local
50 EXPECT_FALSE(validator.Validate(event, &error_msg));
51 EXPECT_FALSE(error_msg
79 std::string error_msg; local
93 std::string error_msg; local
104 std::string error_msg; local
122 std::string error_msg; local
161 std::string error_msg; local
197 std::string error_msg; local
[all...]
H A Dgesture_event_stream_validator.cc22 std::string* error_msg) {
23 DCHECK(error_msg);
24 error_msg->clear();
28 error_msg->append("Scroll begin during scroll\n");
30 error_msg->append("Scroll begin during pinch\n");
36 error_msg->append("Scroll update outside of scroll\n");
41 error_msg->append("Scroll end outside of scroll\n");
43 error_msg->append("Ending scroll while pinching\n");
48 error_msg->append("Pinch begin during pinch\n");
53 error_msg
21 Validate(const blink::WebGestureEvent& event, std::string* error_msg) argument
[all...]
H A Dtouch_event_stream_validator_unittest.cc20 std::string error_msg; local
23 EXPECT_TRUE(validator.Validate(event, &error_msg));
24 EXPECT_TRUE(error_msg.empty());
28 EXPECT_TRUE(validator.Validate(event, &error_msg));
29 EXPECT_TRUE(error_msg.empty());
33 EXPECT_TRUE(validator.Validate(event, &error_msg));
34 EXPECT_TRUE(error_msg.empty());
38 EXPECT_TRUE(validator.Validate(event, &error_msg));
39 EXPECT_TRUE(error_msg.empty());
43 EXPECT_TRUE(validator.Validate(event, &error_msg));
60 std::string error_msg; local
77 std::string error_msg; local
93 std::string error_msg; local
115 std::string error_msg; local
124 std::string error_msg; local
136 std::string error_msg; local
[all...]
H A Dtouch_event_stream_validator.cc34 std::string* error_msg) {
35 DCHECK(error_msg);
36 error_msg->clear();
42 error_msg->append("Touch event is empty.\n");
47 error_msg->append("Touch event has invalid type.\n");
64 error_msg->append("Previously active touch point not in new event.\n");
76 error_msg->append("Active touch point not found in previous event.\n");
81 error_msg->append("Pressed touch point id already exists.\n");
87 error_msg->append("Undefined WebTouchPoint state.\n");
92 error_msg
33 Validate(const WebTouchEvent& event, std::string* error_msg) argument
[all...]
H A Dinput_event_stream_validator.cc34 std::string* error_msg) {
35 DCHECK(error_msg);
40 return gesture_validator_.Validate(gesture, error_msg);
43 return touch_validator_.Validate(touch, error_msg);
33 ValidateImpl(const blink::WebInputEvent& event, std::string* error_msg) argument
H A Dgesture_event_stream_validator.h27 bool Validate(const blink::WebGestureEvent& event, std::string* error_msg);
H A Dtouch_event_stream_validator.h24 bool Validate(const blink::WebTouchEvent& event, std::string* error_msg);
H A Dinput_event_stream_validator.h29 bool ValidateImpl(const blink::WebInputEvent&, std::string* error_msg);
/external/chromium_org/chrome/test/chromedriver/
H A Dkeycode_text_conversion_ozone.cc13 std::string* error_msg) {
15 *error_msg = std::string("Not Implemented");
22 std::string* error_msg) {
23 *error_msg = std::string("Not Implemented");
11 ConvertKeyCodeToText( ui::KeyboardCode key_code, int modifiers, std::string* text, std::string* error_msg) argument
20 ConvertCharToKeyCode( base::char16 key, ui::KeyboardCode* key_code, int *necessary_modifiers, std::string* error_msg) argument
H A Dkeycode_text_conversion.h19 // error occurs |error_msg| will be set to the error message and will return
24 std::string* error_msg);
28 // If an error occurs |error_msg| will be set to the error message, otherwise
33 std::string* error_msg);
H A Dkeycode_text_conversion_win.cc15 std::string* error_msg) {
19 *error_msg = std::string();
39 std::string* error_msg) {
44 *error_msg = std::string();
13 ConvertKeyCodeToText( ui::KeyboardCode key_code, int modifiers, std::string* text, std::string* error_msg) argument
37 ConvertCharToKeyCode( base::char16 key, ui::KeyboardCode* key_code, int *necessary_modifiers, std::string* error_msg) argument
H A Dutil.cc189 std::string* error_msg) {
194 *error_msg = "invalid file header signature";
198 *error_msg = "invalid version";
202 *error_msg = "invalid bit flag";
206 *error_msg = "invalid compression method";
210 *error_msg = "invalid file last modified time";
214 *error_msg = "invalid file last modified date";
218 *error_msg = "invalid crc";
223 *error_msg = "invalid compressed size";
227 *error_msg
188 FromBytes(const std::string& bytes, ZipEntry* zip, std::string* error_msg) argument
[all...]
H A Dkeycode_text_conversion_unittest.cc21 std::string error_msg; local
23 character, &actual_key_code, &actual_modifiers, &error_msg));
48 std::string error_msg; local
50 character_utf16, &actual_key_code, &actual_modifiers, &error_msg));
55 std::string error_msg; local
57 EXPECT_TRUE(ConvertKeyCodeToText(key_code, modifiers, &text, &error_msg));
H A Dkey_converter.cc256 std::string error_msg;
281 key_code, webdriver_modifiers, &unmodified_text, &error_msg))
282 return Status(kUnknownError, error_msg);
285 &error_msg))
286 return Status(kUnknownError, error_msg);
290 ConvertCharToKeyCode(key, &key_code, &necessary_modifiers, &error_msg);
291 if (!error_msg.empty())
292 return Status(kUnknownError, error_msg);
295 if (!ConvertKeyCodeToText(key_code, 0, &unmodified_text, &error_msg))
296 return Status(kUnknownError, error_msg);
[all...]
H A Dkeycode_text_conversion_x.cc182 std::string* error_msg) {
183 *error_msg = std::string();
195 *error_msg =
235 std::string* error_msg) {
240 *error_msg = std::string();
249 test_code, test_modifiers, &conv_string, error_msg))
257 test_code, test_modifiers, &conv_string, error_msg))
180 ConvertKeyCodeToText( ui::KeyboardCode key_code, int modifiers, std::string* text, std::string* error_msg) argument
231 ConvertCharToKeyCode( base::char16 key, ui::KeyboardCode* key_code, int* necessary_modifiers, std::string* error_msg) argument
/external/chromium_org/cloud_print/gcp20/prototype/
H A Dprinter_unittest.cc15 std::string error_msg; local
19 &error_code, &error_msg));
20 ASSERT_TRUE(!!value) << error_msg;
/external/chromium_org/third_party/libxml/src/
H A Dcheck-xinclude-test-suite.py28 error_msg = '' variable
32 global error_msg
36 if len(error_msg) < 300:
37 if len(error_msg) == 0 or error_msg[-1] == '\n':
38 error_msg = error_msg + " >>" + str
40 error_msg = error_msg + str
46 global error_msg
[all...]
H A Dcheck-xml-test-suite.py26 error_msg = '' variable
29 global error_msg
32 if len(error_msg) < 300:
33 if len(error_msg) == 0 or error_msg[-1] == '\n':
34 error_msg = error_msg + " >>" + str
36 error_msg = error_msg + str
75 global error_msg
[all...]
/external/chromium_org/tools/
H A Drun-bisect-manual-test.py130 error_msg = ''
132 error_msg += 'Error: missing required parameter: --good_revision\n'
134 error_msg += 'Error: missing required parameter: --bad_revision\n'
136 if error_msg:
137 print error_msg
/external/chromium_org/chromeos/app_mode/
H A Dkiosk_oem_manifest_parser.cc32 std::string error_msg; local
36 serializer->Deserialize(&error_code, &error_msg));
/external/lldb/source/Commands/
H A DCommandObjectMultiword.cpp145 std::string error_msg; local
148 error_msg.assign ("ambiguous command ");
150 error_msg.assign ("invalid command ");
152 error_msg.append ("'");
153 error_msg.append (GetCommandName());
154 error_msg.append (" ");
155 error_msg.append (sub_command);
156 error_msg.append ("'");
160 error_msg.append (" Possible completions:");
163 error_msg
[all...]
/external/chromium_org/base/test/
H A Dvalues_test_util.cc66 std::string error_msg; local
69 NULL, &error_msg));
71 ADD_FAILURE() << "Failed to parse \"" << json << "\": " << error_msg; local
/external/chromium_org/content/browser/media/capture/
H A Dcontent_video_capture_device_core.cc221 std::string error_msg("Invalid frame_rate: ");
222 error_msg += base::DoubleToString(params.requested_format.frame_rate);
223 DVLOG(1) << error_msg;
224 client->OnError(error_msg);
230 std::string error_msg = base::StringPrintf( local
232 DVLOG(1) << error_msg;
233 client->OnError(error_msg);
239 std::string error_msg = local
241 DVLOG(1) << error_msg;
242 client->OnError(error_msg);
[all...]
/external/chromium_org/tools/json_schema_compiler/test/
H A Dtest_util.cc17 std::string error_msg; local
22 &error_msg));
24 CHECK(result) << error_msg;
/external/chromium_org/chrome/browser/extensions/api/proxy/
H A Dproxy_api.cc66 std::string error_msg; local
68 base::SStringPrintf(&error_msg,
72 error_msg = base::UTF16ToUTF8(error);
74 dict->SetString(keys::kProxyEventDetails, error_msg);

Completed in 4076 milliseconds

1234