Home
last modified time | relevance | path

Searched refs:error_msg (Results 1 – 25 of 92) sorted by relevance

1234

/external/chromium_org/content/common/input/
Dgesture_event_stream_validator_unittest.cc27 std::string error_msg; in TEST() local
31 EXPECT_TRUE(validator.Validate(event, &error_msg)); in TEST()
32 EXPECT_TRUE(error_msg.empty()); in TEST()
35 EXPECT_TRUE(validator.Validate(event, &error_msg)); in TEST()
36 EXPECT_TRUE(error_msg.empty()); in TEST()
39 EXPECT_TRUE(validator.Validate(event, &error_msg)); in TEST()
40 EXPECT_TRUE(error_msg.empty()); in TEST()
45 std::string error_msg; in TEST() local
50 EXPECT_FALSE(validator.Validate(event, &error_msg)); in TEST()
51 EXPECT_FALSE(error_msg.empty()); in TEST()
[all …]
Dtouch_event_stream_validator_unittest.cc20 std::string error_msg; in TEST() local
23 EXPECT_TRUE(validator.Validate(event, &error_msg)); in TEST()
24 EXPECT_TRUE(error_msg.empty()); in TEST()
28 EXPECT_TRUE(validator.Validate(event, &error_msg)); in TEST()
29 EXPECT_TRUE(error_msg.empty()); in TEST()
33 EXPECT_TRUE(validator.Validate(event, &error_msg)); in TEST()
34 EXPECT_TRUE(error_msg.empty()); in TEST()
38 EXPECT_TRUE(validator.Validate(event, &error_msg)); in TEST()
39 EXPECT_TRUE(error_msg.empty()); in TEST()
43 EXPECT_TRUE(validator.Validate(event, &error_msg)); in TEST()
[all …]
Dgesture_event_stream_validator.cc22 std::string* error_msg) { in Validate() argument
23 DCHECK(error_msg); in Validate()
24 error_msg->clear(); in Validate()
28 error_msg->append("Scroll begin during scroll\n"); in Validate()
30 error_msg->append("Scroll begin during pinch\n"); in Validate()
36 error_msg->append("Scroll update outside of scroll\n"); in Validate()
41 error_msg->append("Scroll end outside of scroll\n"); in Validate()
43 error_msg->append("Ending scroll while pinching\n"); in Validate()
48 error_msg->append("Pinch begin during pinch\n"); in Validate()
53 error_msg->append("Pinch update outside of pinch\n"); in Validate()
[all …]
Dtouch_event_stream_validator.cc34 std::string* error_msg) { in Validate() argument
35 DCHECK(error_msg); in Validate()
36 error_msg->clear(); in Validate()
42 error_msg->append("Touch event is empty.\n"); in Validate()
47 error_msg->append("Touch event has invalid type.\n"); in Validate()
64 error_msg->append("Previously active touch point not in new event.\n"); in Validate()
76 error_msg->append("Active touch point not found in previous event.\n"); in Validate()
81 error_msg->append("Pressed touch point id already exists.\n"); in Validate()
87 error_msg->append("Undefined WebTouchPoint state.\n"); in Validate()
92 error_msg->append("Released touch point outside touchend.\n"); in Validate()
[all …]
Dinput_event_stream_validator.cc34 std::string* error_msg) { in ValidateImpl() argument
35 DCHECK(error_msg); in ValidateImpl()
40 return gesture_validator_.Validate(gesture, error_msg); in ValidateImpl()
43 return touch_validator_.Validate(touch, error_msg); in ValidateImpl()
/external/chromium_org/third_party/libxml/src/
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
79 error_msg = ''
100 global error_msg
104 error_msg = ''
[all …]
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
50 error_msg = ''
60 global error_msg
161 if error_msg != '':
[all …]
/external/chromium_org/chrome/test/chromedriver/
Dutil.cc189 std::string* error_msg) { in FromBytes()
194 *error_msg = "invalid file header signature"; in FromBytes()
198 *error_msg = "invalid version"; in FromBytes()
202 *error_msg = "invalid bit flag"; in FromBytes()
206 *error_msg = "invalid compression method"; in FromBytes()
210 *error_msg = "invalid file last modified time"; in FromBytes()
214 *error_msg = "invalid file last modified date"; in FromBytes()
218 *error_msg = "invalid crc"; in FromBytes()
223 *error_msg = "invalid compressed size"; in FromBytes()
227 *error_msg = "invalid compressed size"; in FromBytes()
[all …]
Dkeycode_text_conversion_ozone.cc13 std::string* error_msg) { in ConvertKeyCodeToText() argument
15 *error_msg = std::string("Not Implemented"); in ConvertKeyCodeToText()
22 std::string* error_msg) { in ConvertCharToKeyCode() argument
23 *error_msg = std::string("Not Implemented"); in ConvertCharToKeyCode()
Dkey_converter.cc256 std::string error_msg; in ConvertKeysToKeyEvents() local
281 key_code, webdriver_modifiers, &unmodified_text, &error_msg)) in ConvertKeysToKeyEvents()
282 return Status(kUnknownError, error_msg); in ConvertKeysToKeyEvents()
285 &error_msg)) in ConvertKeysToKeyEvents()
286 return Status(kUnknownError, error_msg); in ConvertKeysToKeyEvents()
290 ConvertCharToKeyCode(key, &key_code, &necessary_modifiers, &error_msg); in ConvertKeysToKeyEvents()
291 if (!error_msg.empty()) in ConvertKeysToKeyEvents()
292 return Status(kUnknownError, error_msg); in ConvertKeysToKeyEvents()
295 if (!ConvertKeyCodeToText(key_code, 0, &unmodified_text, &error_msg)) in ConvertKeysToKeyEvents()
296 return Status(kUnknownError, error_msg); in ConvertKeysToKeyEvents()
[all …]
Dkeycode_text_conversion_win.cc15 std::string* error_msg) { in ConvertKeyCodeToText() argument
19 *error_msg = std::string(); in ConvertKeyCodeToText()
39 std::string* error_msg) { in ConvertCharToKeyCode() argument
44 *error_msg = std::string(); in ConvertCharToKeyCode()
Dkeycode_text_conversion_unittest.cc21 std::string error_msg; in CheckCharToKeyCode16() local
23 character, &actual_key_code, &actual_modifiers, &error_msg)); in CheckCharToKeyCode16()
48 std::string error_msg; in CheckCantConvertChar() local
50 character_utf16, &actual_key_code, &actual_modifiers, &error_msg)); in CheckCantConvertChar()
55 std::string error_msg; in ConvertKeyCodeToTextNoError() local
57 EXPECT_TRUE(ConvertKeyCodeToText(key_code, modifiers, &text, &error_msg)); in ConvertKeyCodeToTextNoError()
Dkeycode_text_conversion_mac.mm18 std::string* error_msg) {
28 *error_msg = std::string();
78 std::string* error_msg) {
83 *error_msg = std::string();
95 if (!ConvertKeyCodeToText(code, 0, &key_string, error_msg))
100 code, kShiftKeyModifierMask, &key_string_utf8_tmp, error_msg))
Dkeycode_text_conversion_x.cc182 std::string* error_msg) { in ConvertKeyCodeToText() argument
183 *error_msg = std::string(); in ConvertKeyCodeToText()
195 *error_msg = in ConvertKeyCodeToText()
235 std::string* error_msg) { in ConvertCharToKeyCode() argument
240 *error_msg = std::string(); in ConvertCharToKeyCode()
249 test_code, test_modifiers, &conv_string, error_msg)) in ConvertCharToKeyCode()
257 test_code, test_modifiers, &conv_string, error_msg)) in ConvertCharToKeyCode()
Dkeycode_text_conversion.h24 std::string* error_msg);
33 std::string* error_msg);
/external/lldb/source/Commands/
DCommandObjectMultiword.cpp145 std::string error_msg; in Execute() local
148 error_msg.assign ("ambiguous command "); in Execute()
150 error_msg.assign ("invalid command "); in Execute()
152 error_msg.append ("'"); in Execute()
153 error_msg.append (GetCommandName()); in Execute()
154 error_msg.append (" "); in Execute()
155 error_msg.append (sub_command); in Execute()
156 error_msg.append ("'"); in Execute()
160 error_msg.append (" Possible completions:"); in Execute()
163 error_msg.append ("\n\t"); in Execute()
[all …]
/external/chromium_org/tools/
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/content/browser/media/capture/
Dcontent_video_capture_device_core.cc221 std::string error_msg("Invalid frame_rate: "); in AllocateAndStart() local
222 error_msg += base::DoubleToString(params.requested_format.frame_rate); in AllocateAndStart()
223 DVLOG(1) << error_msg; in AllocateAndStart()
224 client->OnError(error_msg); in AllocateAndStart()
230 std::string error_msg = base::StringPrintf( in AllocateAndStart() local
232 DVLOG(1) << error_msg; in AllocateAndStart()
233 client->OnError(error_msg); in AllocateAndStart()
239 std::string error_msg = in AllocateAndStart() local
241 DVLOG(1) << error_msg; in AllocateAndStart()
242 client->OnError(error_msg); in AllocateAndStart()
/external/chromium_org/cloud_print/gcp20/prototype/
Dprinter_unittest.cc15 std::string error_msg; in TEST() local
19 &error_code, &error_msg)); in TEST()
20 ASSERT_TRUE(!!value) << error_msg; in TEST()
/external/chromium_org/ash/system/chromeos/network/
Dnetwork_state_notifier.cc160 base::string16 error_msg = l10n_util::GetStringFUTF16( in UpdateCellularOutOfCredits() local
167 error_msg, in UpdateCellularOutOfCredits()
300 base::string16 error_msg; in ShowConnectErrorNotification() local
303 error_msg = l10n_util::GetStringFUTF16( in ShowConnectErrorNotification()
309 error_msg = l10n_util::GetStringFUTF16( in ShowConnectErrorNotification()
312 error_msg = l10n_util::GetStringFUTF16(IDS_NETWORK_CONNECTION_ERROR_MESSAGE, in ShowConnectErrorNotification()
325 error_msg, in ShowConnectErrorNotification()
/external/chromium_org/extensions/renderer/resources/
Dtest_custom_bindings.js196 var error_msg = "API Test Error in " + testName(currentTest);
198 error_msg += ": " + message;
204 error_msg += "\nActual: " + JSON.stringify(actual) +
207 chromeTest.fail(error_msg);
212 chromeTest.fail(error_msg +
216 chromeTest.fail(error_msg +
/external/chromium_org/base/test/
Dvalues_test_util.cc66 std::string error_msg; in ParseJson() local
69 NULL, &error_msg)); in ParseJson()
71 ADD_FAILURE() << "Failed to parse \"" << json << "\": " << error_msg; in ParseJson()
/external/chromium_org/chrome/browser/extensions/api/proxy/
Dproxy_api.cc66 std::string error_msg; in OnPACScriptError() local
68 base::SStringPrintf(&error_msg, in OnPACScriptError()
72 error_msg = base::UTF16ToUTF8(error); in OnPACScriptError()
74 dict->SetString(keys::kProxyEventDetails, error_msg); in OnPACScriptError()
/external/chromium_org/tools/json_schema_compiler/test/
Dtest_util.cc17 std::string error_msg; in ReadJson() local
22 &error_msg)); in ReadJson()
24 CHECK(result) << error_msg; in ReadJson()
/external/chromium_org/chromeos/app_mode/
Dkiosk_oem_manifest_parser.cc32 std::string error_msg; in Load() local
36 serializer->Deserialize(&error_code, &error_msg)); in Load()

1234