HomeSort by relevance Sort by last modified time
    Searched refs:error_msg (Results 1 - 25 of 165) sorted by null

1 2 3 4 5 6 7

  /external/chromium_org/content/common/input/
gesture_event_stream_validator_unittest.cc 27 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.empty())
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...]
gesture_event_stream_validator.cc 22 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->append("Pinch update outside of pinch\n")
    [all...]
touch_event_stream_validator_unittest.cc 20 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...]
touch_event_stream_validator.cc 34 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->append("Released touch point outside touchend.\n")
    [all...]
input_event_stream_validator.cc 34 std::string* error_msg) {
35 DCHECK(error_msg);
40 return gesture_validator_.Validate(gesture, error_msg);
43 return touch_validator_.Validate(touch, error_msg);
touch_event_stream_validator.h 24 bool Validate(const blink::WebTouchEvent& event, std::string* error_msg);
  /external/chromium_org/chrome/test/chromedriver/
keycode_text_conversion_ozone.cc 13 std::string* error_msg) {
15 *error_msg = std::string("Not Implemented");
22 std::string* error_msg) {
23 *error_msg = std::string("Not Implemented");
keycode_text_conversion.h 19 // 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);
  /art/runtime/base/
scoped_flock_test.cc 27 std::string error_msg; local
35 &error_msg));
37 ASSERT_FALSE(file_lock.Init("/guaranteed/not/to/exist", &error_msg));
scoped_flock.h 39 bool Init(const char* filename, std::string* error_msg);
43 bool Init(File* file, std::string* error_msg);
scoped_flock.cc 28 bool ScopedFlock::Init(const char* filename, std::string* error_msg) {
35 *error_msg = StringPrintf("Failed to open file '%s': %s", filename, strerror(errno));
40 *error_msg = StringPrintf("Failed to lock file '%s': %s", filename, strerror(errno));
46 *error_msg = StringPrintf("Failed to fstat file '%s': %s", filename, strerror(errno));
64 bool ScopedFlock::Init(File* file, std::string* error_msg) {
68 *error_msg = StringPrintf("Failed to duplicate open file '%s': %s",
74 *error_msg = StringPrintf("Failed to lock file '%s': %s", file->GetPath().c_str(), strerror(errno));
  /external/chromium_org/cloud_print/gcp20/prototype/
printer_unittest.cc 15 std::string error_msg; local
19 &error_code, &error_msg));
20 ASSERT_TRUE(!!value) << error_msg;
  /art/runtime/
mem_map_test.cc 35 std::string error_msg; local
44 &error_msg);
47 ASSERT_TRUE(base0 != nullptr) << error_msg;
57 &error_msg);
59 EXPECT_EQ(m0->Begin(), base0) << error_msg;
128 std::string error_msg; local
134 &error_msg));
135 ASSERT_TRUE(map.get() != nullptr) << error_msg;
136 ASSERT_TRUE(error_msg.empty());
142 &error_msg));
150 std::string error_msg; local
165 std::string error_msg; local
209 std::string error_msg; local
224 std::string error_msg; local
240 std::string error_msg; local
253 std::string error_msg; local
267 std::string error_msg; local
    [all...]
zip_archive_test.cc 34 std::string error_msg; local
35 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::Open(GetLibCoreDexFileName().c_str(), &error_msg));
36 ASSERT_TRUE(zip_archive.get() != nullptr) << error_msg;
37 ASSERT_TRUE(error_msg.empty());
38 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find("classes.dex", &error_msg));
40 ASSERT_TRUE(error_msg.empty());
46 bool success = zip_entry->ExtractToFile(*file, &error_msg);
47 ASSERT_TRUE(success) << error_msg;
48 ASSERT_TRUE(error_msg.empty());
zip_archive.h 39 bool ExtractToFile(File& file, std::string* error_msg);
41 std::string* error_msg);
61 static ZipArchive* Open(const char* filename, std::string* error_msg);
62 static ZipArchive* OpenFromFd(int fd, const char* filename, std::string* error_msg);
64 ZipEntry* Find(const char* name, std::string* error_msg) const;
zip_archive.cc 43 bool ZipEntry::ExtractToFile(File& file, std::string* error_msg) {
46 *error_msg = std::string(ErrorCodeString(error));
54 std::string* error_msg) {
60 PROT_READ | PROT_WRITE, false, error_msg));
62 DCHECK(!error_msg->empty());
69 *error_msg = std::string(ErrorCodeString(error));
90 ZipArchive* ZipArchive::Open(const char* filename, std::string* error_msg) {
96 *error_msg = std::string(ErrorCodeString(error));
105 ZipArchive* ZipArchive::OpenFromFd(int fd, const char* filename, std::string* error_msg) {
112 *error_msg = std::string(ErrorCodeString(error))
    [all...]
dex_file_verifier_test.cc 105 std::string* error_msg) {
126 bool success = DexFile::Open(location, location, error_msg, &tmp);
127 CHECK(success) << error_msg;
153 std::string error_msg; local
155 &error_msg));
156 ASSERT_TRUE(raw.get() != nullptr) << error_msg;
170 std::string* error_msg) {
191 if (!DexFile::Open(location, location, error_msg, &tmp)) {
202 std::string* error_msg) {
213 error_msg));
221 std::string error_msg; local
230 std::string error_msg; local
239 std::string error_msg; local
    [all...]
oat_file.cc 47 std::string* error_msg) {
53 return oat_file->Setup(error_msg) ? oat_file.release() : nullptr;
58 std::string* error_msg) {
64 return oat_file->Setup(error_msg) ? oat_file.release() : nullptr;
72 std::string* error_msg) {
82 ret.reset(OpenDlopen(filename, location, requested_base, error_msg));
92 *error_msg = StringPrintf("Failed to open oat filename for reading: %s", strerror(errno));
96 error_msg));
105 OatFile* OatFile::OpenWritable(File* file, const std::string& location, std::string* error_msg) {
107 return OpenElfFile(file, location, nullptr, nullptr, true, false, error_msg);
    [all...]
  /prebuilts/misc/common/swig/include/2.0.11/d/
dexception.swg 17 %{ char error_msg[256];
18 sprintf(error_msg, "C++ $1_type exception thrown, value: %d", $1);
19 SWIG_DSetPendingException(SWIG_DException, error_msg);
  /art/compiler/
elf_stripper.h 31 static bool Strip(File* file, std::string* error_msg);
elf_writer.cc 44 std::string error_msg; local
45 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file, false, false, &error_msg));
46 CHECK(elf_file.get() != nullptr) << error_msg;
elf_writer_test.cc 90 std::string error_msg; local
91 std::unique_ptr<ElfFile> ef(ElfFile::Open(file.get(), false, false, &error_msg));
92 CHECK(ef.get() != nullptr) << error_msg;
98 std::string error_msg; local
99 std::unique_ptr<ElfFile> ef(ElfFile::Open(file.get(), false, false, &error_msg));
100 CHECK(ef.get() != nullptr) << error_msg;
106 std::string error_msg; local
107 std::unique_ptr<ElfFile> ef(ElfFile::Open(file.get(), false, true, &error_msg));
108 CHECK(ef.get() != nullptr) << error_msg;
109 CHECK(ef->Load(false, &error_msg)) << error_msg
    [all...]
  /external/chromium_org/third_party/libxml/src/
check-xinclude-test-suite.py 28 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...]
check-xml-test-suite.py 26 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...]
  /art/runtime/verifier/
method_verifier_test.cc 38 std::string error_msg; local
39 ASSERT_TRUE(MethodVerifier::VerifyClass(klass, true, &error_msg) == MethodVerifier::kNoFailure)
40 << error_msg;

Completed in 804 milliseconds

1 2 3 4 5 6 7