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

1234

/external/chromium_org/chrome/test/chromedriver/
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.cc16 std::string* error_msg) {
20 *error_msg = std::string();
40 std::string* error_msg) {
45 *error_msg = std::string();
14 ConvertKeyCodeToText( ui::KeyboardCode key_code, int modifiers, std::string* text, std::string* error_msg) argument
38 ConvertCharToKeyCode( char16 key, ui::KeyboardCode* key_code, int *necessary_modifiers, std::string* error_msg) argument
H A Dutil.cc180 std::string* error_msg) {
185 *error_msg = "invalid file header signature";
189 *error_msg = "invalid version";
193 *error_msg = "invalid bit flag";
197 *error_msg = "invalid compression method";
201 *error_msg = "invalid file last modified time";
205 *error_msg = "invalid file last modified date";
209 *error_msg = "invalid crc";
214 *error_msg = "invalid compressed size";
218 *error_msg
179 FromBytes(const std::string& bytes, ZipEntry* zip, std::string* error_msg) argument
[all...]
H A Dkeycode_text_conversion_unittest.cc24 std::string error_msg; local
26 character_utf16, &actual_key_code, &actual_modifiers, &error_msg));
37 std::string error_msg; local
39 character_utf16, &actual_key_code, &actual_modifiers, &error_msg));
44 std::string error_msg; local
46 EXPECT_TRUE(ConvertKeyCodeToText(key_code, modifiers, &text, &error_msg));
H A Dkey_converter.cc255 std::string error_msg;
280 key_code, webdriver_modifiers, &unmodified_text, &error_msg))
281 return Status(kUnknownError, error_msg);
284 &error_msg))
285 return Status(kUnknownError, error_msg);
289 ConvertCharToKeyCode(key, &key_code, &necessary_modifiers, &error_msg);
290 if (!error_msg.empty())
291 return Status(kUnknownError, error_msg);
294 if (!ConvertKeyCodeToText(key_code, 0, &unmodified_text, &error_msg))
295 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( char16 key, ui::KeyboardCode* key_code, int* necessary_modifiers, std::string* error_msg) argument
/external/chromium_org/tools/
H A Drun-bisect-manual-test.py94 error_msg = ''
96 error_msg += 'Error: missing required parameter: --browser\n'
98 error_msg += 'Error: missing required parameter: --working_directory\n'
100 error_msg += 'Error: missing required parameter: --good_revision\n'
102 error_msg += 'Error: missing required parameter: --bad_revision\n'
104 if error_msg:
105 print error_msg
/external/chromium_org/chrome/common/
H A Dautomation_constants.cc50 Error::Error(const std::string& error_msg) argument
51 : code_(kUnknownError), message_(error_msg) { }
53 Error::Error(ErrorCode code, const std::string& error_msg) argument
54 : code_(code), message_(error_msg) { }
H A Dautomation_constants.h103 explicit Error(const std::string& error_msg);
106 Error(ErrorCode code, const std::string& 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/chrome/test/webdriver/
H A Dwebdriver_util_unittest.cc40 std::string error_msg; local
41 ASSERT_TRUE(UnzipSoleFile(temp_dir.path(), data, &file, &error_msg))
42 << error_msg;
H A Dwebdriver_util.cc54 std::string* error_msg) {
57 *error_msg = "Unable to create temp dir";
63 *error_msg = "Could not write file to temp dir";
67 *error_msg = "Could not unzip archive";
77 std::string* error_msg) {
80 *error_msg = "Could not decode base64 zip data";
83 return UnzipArchive(unzip_dir, zip_data, error_msg);
167 std::string* error_msg) {
172 *error_msg = "Invalid file header signature";
176 *error_msg
52 UnzipArchive(const base::FilePath& unzip_dir, const std::string& bytes, std::string* error_msg) argument
75 Base64DecodeAndUnzip(const base::FilePath& unzip_dir, const std::string& base64, std::string* error_msg) argument
166 FromBytes(const std::string& bytes, ZipEntry* zip, std::string* error_msg) argument
348 UnzipEntry(const base::FilePath& unzip_dir, const std::string& bytes, std::string* error_msg) argument
363 UnzipSoleFile(const base::FilePath& unzip_dir, const std::string& bytes, base::FilePath* file, std::string* error_msg) argument
[all...]
H A Dwebdriver_key_converter.h37 std::string* error_msg);
/external/chromium_org/chrome/test/functional/media/
H A 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)
H A 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/net/gaia/
H A Dgaia_authenticator.cc325 results->error_msg = i->second;
338 const string& error_msg = results->error_msg; local
339 if (error_msg == "BadAuthentication" || error_msg == "badauth") {
341 } else if (error_msg == "NotVerified" || error_msg == "nv") {
343 } else if (error_msg == "TermsNotAgreed" || error_msg == "tna") {
345 } else if (error_msg
[all...]
/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/chromium_org/chrome/test/webdriver/commands/
H A Dfile_upload_command.cc49 std::string error_msg; local
51 if (!UnzipSoleFile(upload_dir, zip_data, &upload, &error_msg)) {
52 response->SetError(new Error(kUnknownError, error_msg));
/external/chromium/chrome/browser/extensions/
H A Dexternal_pref_extension_loader.cc20 std::string error_msg; local
21 Value* extensions = serializer->Deserialize(NULL, &error_msg);
23 LOG(WARNING) << "Unable to deserialize json data: " << error_msg
/external/chromium/chrome/browser/policy/
H A Dconfig_dir_policy_provider.cc35 std::string error_msg; local
36 scoped_ptr<Value> value(deserializer.Deserialize(&error_code, &error_msg));
39 << config_file_iter->value() << ": " << error_msg;
/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/device/bluetooth/
H A Dbluetooth_socket_win.cc20 TCHAR error_msg[1024]; local
25 error_msg,
28 return base::SysWideToUTF8(error_msg);
/external/chromium/chrome/common/
H A Djson_pref_store.cc45 std::string error_msg; local
47 value_.reset(serializer.Deserialize(&error_code, &error_msg));
49 HandleErrors(value_.get(), path, error_code, error_msg, &error_);
68 const std::string& error_msg,
85 const std::string& error_msg,
89 DLOG(ERROR) << "Error while loading JSON file: " << error_msg;
252 std::string error_msg; local
255 scoped_ptr<Value> value(serializer.Deserialize(&error_code, &error_msg));
261 error_msg,
81 HandleErrors( const Value* value, const FilePath& path, int error_code, const std::string& error_msg, PersistentPrefStore::PrefReadError* error) argument
/external/chromium/chrome/browser/importer/
H A Dprofile_import_process_client.h45 virtual void OnImportFinished(bool succeeded, const std::string& error_msg);
48 virtual void OnImportItemFailed(const std::string& error_msg);

Completed in 1581 milliseconds

1234