Home
last modified time | relevance | path

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

1234

/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.cc184 std::string* error_msg) { in FromBytes()
189 *error_msg = "invalid file header signature"; in FromBytes()
193 *error_msg = "invalid version"; in FromBytes()
197 *error_msg = "invalid bit flag"; in FromBytes()
201 *error_msg = "invalid compression method"; in FromBytes()
205 *error_msg = "invalid file last modified time"; in FromBytes()
209 *error_msg = "invalid file last modified date"; in FromBytes()
213 *error_msg = "invalid crc"; in FromBytes()
218 *error_msg = "invalid compressed size"; in FromBytes()
222 *error_msg = "invalid compressed size"; in FromBytes()
[all …]
Dkey_converter.cc255 std::string error_msg; in ConvertKeysToKeyEvents() local
280 key_code, webdriver_modifiers, &unmodified_text, &error_msg)) in ConvertKeysToKeyEvents()
281 return Status(kUnknownError, error_msg); in ConvertKeysToKeyEvents()
284 &error_msg)) in ConvertKeysToKeyEvents()
285 return Status(kUnknownError, error_msg); in ConvertKeysToKeyEvents()
289 ConvertCharToKeyCode(key, &key_code, &necessary_modifiers, &error_msg); in ConvertKeysToKeyEvents()
290 if (!error_msg.empty()) in ConvertKeysToKeyEvents()
291 return Status(kUnknownError, error_msg); in ConvertKeysToKeyEvents()
294 if (!ConvertKeyCodeToText(key_code, 0, &unmodified_text, &error_msg)) in ConvertKeysToKeyEvents()
295 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/chromium/chrome/common/net/gaia/
Dgaia_authenticator.cc325 results->error_msg = i->second; in ExtractAuthErrorFrom()
338 const string& error_msg = results->error_msg; in ExtractAuthErrorFrom() local
339 if (error_msg == "BadAuthentication" || error_msg == "badauth") { in ExtractAuthErrorFrom()
341 } else if (error_msg == "NotVerified" || error_msg == "nv") { in ExtractAuthErrorFrom()
343 } else if (error_msg == "TermsNotAgreed" || error_msg == "tna") { in ExtractAuthErrorFrom()
345 } else if (error_msg == "Unknown" || error_msg == "unknown") { in ExtractAuthErrorFrom()
347 } else if (error_msg == "AccountDeleted" || error_msg == "adel") { in ExtractAuthErrorFrom()
349 } else if (error_msg == "AccountDisabled" || error_msg == "adis") { in ExtractAuthErrorFrom()
351 } else if (error_msg == "CaptchaRequired" || error_msg == "cr") { in ExtractAuthErrorFrom()
353 } else if (error_msg == "ServiceUnavailable" || error_msg == "ire") { in ExtractAuthErrorFrom()
/external/chromium_org/tools/
Drun-bisect-manual-test.py106 error_msg = ''
108 error_msg += 'Error: missing required parameter: --good_revision\n'
110 error_msg += 'Error: missing required parameter: --bad_revision\n'
112 if error_msg:
113 print error_msg
/external/chromium_org/chrome/test/functional/media/
Dmedia_scrub_perf.py48 error_msg = 'Scrubbing tests timed out.'
50 error_msg = self.GetDOMValue('errorMsg')
51 if error_msg:
52 self.fail('Error while running the test: %s' % error_msg)
Dmedia_seek_perf.py70 error_msg = 'Seek tests timed out.'
72 error_msg = self.GetDOMValue('errorMsg', unique_url)
93 if error_msg:
94 logging.error('Error while running %s: %s.', graph_name, error_msg)
/external/chromium/chrome/common/
Djson_pref_store.cc45 std::string error_msg; in ReadFileAndReport() local
47 value_.reset(serializer.Deserialize(&error_code, &error_msg)); in ReadFileAndReport()
49 HandleErrors(value_.get(), path, error_code, error_msg, &error_); in ReadFileAndReport()
68 const std::string& error_msg,
85 const std::string& error_msg, in HandleErrors() argument
89 DLOG(ERROR) << "Error while loading JSON file: " << error_msg; in HandleErrors()
252 std::string error_msg; in ReadPrefs() local
255 scoped_ptr<Value> value(serializer.Deserialize(&error_code, &error_msg)); in ReadPrefs()
261 error_msg, in ReadPrefs()
/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.cc146 string16 error_msg = l10n_util::GetStringFUTF16( in UpdateCellularOutOfCredits() local
153 error_msg, in UpdateCellularOutOfCredits()
260 string16 error_msg; in ShowConnectErrorNotification() local
263 error_msg = l10n_util::GetStringFUTF16( in ShowConnectErrorNotification()
268 error_msg = l10n_util::GetStringFUTF16( in ShowConnectErrorNotification()
271 error_msg = l10n_util::GetStringFUTF16( in ShowConnectErrorNotification()
284 error_msg, in ShowConnectErrorNotification()
/external/chromium_org/chrome/renderer/resources/extensions/
Dtest_custom_bindings.js192 var error_msg = "API Test Error in " + testName(currentTest);
194 error_msg += ": " + message;
200 error_msg += "\nActual: " + JSON.stringify(actual) +
203 chromeTest.fail(error_msg);
208 chromeTest.fail(error_msg +
212 chromeTest.fail(error_msg +
/external/chromium/chrome/browser/policy/
Dconfig_dir_policy_provider.cc35 std::string error_msg; in Load() local
36 scoped_ptr<Value> value(deserializer.Deserialize(&error_code, &error_msg)); in Load()
39 << config_file_iter->value() << ": " << error_msg; in Load()
/external/chromium/chrome/common/extensions/
Dextension_unittest.cc524 std::string error_msg; in TEST() local
529 action.reset(extension.LoadExtensionActionHelper(&input, &error_msg)); in TEST()
531 ASSERT_TRUE(error_msg.empty()); in TEST()
548 action.reset(extension.LoadExtensionActionHelper(&input, &error_msg)); in TEST()
550 ASSERT_TRUE(error_msg.empty()); in TEST()
560 action.reset(extension.LoadExtensionActionHelper(&input, &error_msg)); in TEST()
562 ASSERT_TRUE(error_msg.empty()); in TEST()
571 action.reset(extension.LoadExtensionActionHelper(copy.get(), &error_msg)); in TEST()
577 action.reset(extension.LoadExtensionActionHelper(copy.get(), &error_msg)); in TEST()
580 ASSERT_TRUE(error_msg.empty()); in TEST()
[all …]
/external/chromium_org/device/bluetooth/
Dbluetooth_socket_win.cc20 TCHAR error_msg[1024]; in FormatErrorMessage() local
25 error_msg, in FormatErrorMessage()
28 return base::SysWideToUTF8(error_msg); in FormatErrorMessage()
/external/chromium/chrome/browser/extensions/
Dexternal_pref_extension_loader.cc20 std::string error_msg; in ExtractPrefs() local
21 Value* extensions = serializer->Deserialize(NULL, &error_msg); in ExtractPrefs()
23 LOG(WARNING) << "Unable to deserialize json data: " << error_msg in ExtractPrefs()
/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
69 &error_msg, "line: %d: %s", line_number, UTF16ToUTF8(error).c_str()); in OnPACScriptError()
71 error_msg = UTF16ToUTF8(error); in OnPACScriptError()
73 dict->SetString(keys::kProxyEventDetails, error_msg); in OnPACScriptError()
/external/chromium_org/base/prefs/
Djson_pref_store.cc68 std::string error_msg; in DoReading() local
70 base::Value* value = serializer.Deserialize(&error_code, &error_msg); in DoReading()
71 HandleErrors(value, path, error_code, error_msg, error); in DoReading()
79 const std::string& error_msg,
99 const std::string& error_msg, in HandleErrors() argument
103 DVLOG(1) << "Error while loading JSON file: " << error_msg in HandleErrors()
/external/chromium_org/chrome/browser/chromeos/extensions/
Ddefault_app_order.cc34 std::string error_msg; in ReadExternalOrdinalFile() local
35 base::Value* value = serializer.Deserialize(NULL, &error_msg); in ReadExternalOrdinalFile()
38 << error_msg << ", file=" << path.value(); in ReadExternalOrdinalFile()

1234