/art/dexdump/ |
dexdump_test.cc | 44 bool Exec(const std::vector<std::string>& args, std::string* error_msg) { 50 return ::art::Exec(exec_argv, error_msg); 58 std::string error_msg; local 59 ASSERT_FALSE(Exec({}, &error_msg)) << error_msg; 63 std::string error_msg; local 64 ASSERT_FALSE(Exec({"-o", "/joho", dex_file_}, &error_msg)) << error_msg; 68 std::string error_msg; local 69 ASSERT_FALSE(Exec({"-c", "-i", dex_file_}, &error_msg)) << error_msg 73 std::string error_msg; local 79 std::string error_msg; local [all...] |
/art/dexlist/ |
dexlist_test.cc | 44 bool Exec(const std::vector<std::string>& args, std::string* error_msg) { 54 return ::art::Exec(exec_argv, error_msg); 62 std::string error_msg; local 63 ASSERT_FALSE(Exec({}, &error_msg)) << error_msg; 67 std::string error_msg; local 68 ASSERT_FALSE(Exec({"-o", "/joho", dex_file_}, &error_msg)) << error_msg; 72 std::string error_msg; local 73 ASSERT_FALSE(Exec({"-m", "joho", dex_file_}, &error_msg)) << error_msg 77 std::string error_msg; local 82 std::string error_msg; local [all...] |
/art/oatdump/ |
oatdump_test.cc | 61 bool Exec(Mode mode, const std::vector<std::string>& args, std::string* error_msg) { 80 return ::art::Exec(exec_argv, error_msg); 91 std::string error_msg; local 92 ASSERT_TRUE(Exec(kModeArt, {}, &error_msg)) << error_msg; 96 std::string error_msg; local 97 ASSERT_TRUE(Exec(kModeOat, {}, &error_msg)) << error_msg; 101 std::string error_msg; local 102 ASSERT_TRUE(Exec(kModeArt, {"--no-dump:vmap"}, &error_msg)) << error_msg 106 std::string error_msg; local 111 std::string error_msg; local 116 std::string error_msg; local 121 std::string error_msg; local [all...] |
/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 | 42 bool Init(const char* filename, int flags, bool block, std::string* error_msg); 44 bool Init(const char* filename, std::string* error_msg); 48 bool Init(File* file, std::string* error_msg);
|
file_magic.cc | 29 ScopedFd OpenAndReadMagic(const char* filename, uint32_t* magic, std::string* error_msg) { 33 *error_msg = StringPrintf("Unable to open '%s' : %s", filename, strerror(errno)); 38 *error_msg = StringPrintf("Failed to find magic in '%s'", filename); 42 *error_msg = StringPrintf("Failed to seek to beginning of file '%s' : %s", filename,
|
file_magic.h | 28 ScopedFd OpenAndReadMagic(const char* filename, uint32_t* magic, std::string* error_msg);
|
/external/autotest/client/site_tests/platform_CryptohomeTPMReOwn/ |
platform_CryptohomeTPMReOwn.py | 46 error_msg = "TPM never became ready" 47 self.job.set_state("client_status", error_msg) 53 error_msg = "Cryptohome mount failed" 54 self.job.set_state("client_status", error_msg) 62 error_msg = 'Cryptohome did not create a TPM-wrapped keyset.' 63 self.job.set_state("client_status", error_msg) 76 error_msg = 'TPM never became ready' 77 self.job.set_state("client_status", error_msg) 83 error_msg = 'Cryptohome mount failed' 84 self.job.set_state("client_status", 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/runtime/arch/arm64/ |
instruction_set_features_arm64_test.cc | 25 std::string error_msg; local 27 InstructionSetFeatures::FromVariant(kArm64, "default", &error_msg)); 28 ASSERT_TRUE(arm64_features.get() != nullptr) << error_msg;
|
/art/runtime/arch/mips/ |
instruction_set_features_mips_test.cc | 24 std::string error_msg; local 26 InstructionSetFeatures::FromVariant(kMips, "default", &error_msg)); 27 ASSERT_TRUE(mips_features.get() != nullptr) << error_msg;
|
/art/runtime/arch/mips64/ |
instruction_set_features_mips64_test.cc | 24 std::string error_msg; local 26 InstructionSetFeatures::FromVariant(kMips64, "default", &error_msg)); 27 ASSERT_TRUE(mips64_features.get() != nullptr) << error_msg;
|
/art/runtime/arch/x86_64/ |
instruction_set_features_x86_64_test.cc | 24 std::string error_msg; local 26 InstructionSetFeatures::FromVariant(kX86_64, "default", &error_msg)); 27 ASSERT_TRUE(x86_64_features.get() != nullptr) << error_msg;
|
/art/runtime/ |
zip_archive_test.cc | 34 std::string error_msg; local 35 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::Open(GetLibCoreDexFileNames()[0].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());
|
mem_map_test.cc | 39 std::string error_msg; local 46 &error_msg)); 52 std::string error_msg; local 62 &error_msg); 65 ASSERT_TRUE(base0 != nullptr) << error_msg; 75 &error_msg); 77 EXPECT_EQ(m0->Begin(), base0) << error_msg; 146 std::string error_msg; local 153 &error_msg)); 154 ASSERT_TRUE(map.get() != nullptr) << error_msg; 183 std::string error_msg; local 197 std::string error_msg; local 219 std::string error_msg; local 277 std::string error_msg; local 300 std::string error_msg; local 317 std::string error_msg; local 332 std::string error_msg; local 347 std::string error_msg; local 370 std::string error_msg; local [all...] |
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;
|
oat_file_test.cc | 75 std::string error_msg; local 78 EXPECT_TRUE(OatFile::CheckStaticDexFileDependencies(nullptr, &error_msg)) << error_msg; 79 EXPECT_TRUE(OatFile::CheckStaticDexFileDependencies("", &error_msg)) << error_msg; 82 EXPECT_FALSE(OatFile::CheckStaticDexFileDependencies("abc", &error_msg)); 83 EXPECT_FALSE(OatFile::CheckStaticDexFileDependencies("abc*123*def", &error_msg)); 84 EXPECT_FALSE(OatFile::CheckStaticDexFileDependencies("abc*def*", &error_msg)); 87 EXPECT_FALSE(OatFile::CheckStaticDexFileDependencies("abc*123*", &error_msg)); 95 EXPECT_TRUE(OatFile::CheckStaticDexFileDependencies(encoding1.c_str(), &error_msg)) [all...] |
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) { 61 error_msg)); 63 DCHECK(!error_msg->empty()); 70 *error_msg = std::string(ErrorCodeString(error)); 91 ZipArchive* ZipArchive::Open(const char* filename, std::string* error_msg) { 97 *error_msg = std::string(ErrorCodeString(error)); 106 ZipArchive* ZipArchive::OpenFromFd(int fd, const char* filename, std::string* error_msg) { 113 *error_msg = std::string(ErrorCodeString(error)) [all...] |
/external/strace/ |
exit.c | 6 error_msg("_exit returned!");
|
/art/compiler/ |
elf_writer.cc | 44 std::string error_msg; local 49 &error_msg)); 50 CHECK(elf_file.get() != nullptr) << error_msg; 52 bool success = elf_file->GetLoadedSize(oat_loaded_size, &error_msg); 53 CHECK(success) << error_msg; 60 std::string error_msg; local 61 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file, true, false, /*low_4gb*/false, &error_msg)); 62 CHECK(elf_file.get() != nullptr) << error_msg;
|
/external/v8/build/android/pylib/remote/device/ |
remote_device_helper.py | 15 def TestHttpResponse(response, error_msg): 20 error_msg: Error message to display if bad response is seen. 24 '%s (%d: %s)' % (error_msg, response.status_code, response.reason))
|
/art/runtime/arch/arm/ |
instruction_set_features_arm_test.cc | 25 std::string error_msg; local 27 InstructionSetFeatures::FromVariant(kArm, "krait", &error_msg)); 28 ASSERT_TRUE(krait_features.get() != nullptr) << error_msg; 39 InstructionSetFeatures::FromVariant(kArm, "denver", &error_msg)); 40 ASSERT_TRUE(denver_features.get() != nullptr) << error_msg; 52 InstructionSetFeatures::FromVariant(kArm, "arm7", &error_msg)); 53 ASSERT_TRUE(arm7_features.get() != nullptr) << error_msg; 65 InstructionSetFeatures::FromVariant(kArm, "arm6", &error_msg)); 67 EXPECT_NE(error_msg.size(), 0U); 71 std::string error_msg; local [all...] |
/art/runtime/arch/x86/ |
instruction_set_features_x86_test.cc | 24 std::string error_msg; local 26 InstructionSetFeatures::FromVariant(kX86, "default", &error_msg)); 27 ASSERT_TRUE(x86_features.get() != nullptr) << error_msg; 37 std::string error_msg; local 39 InstructionSetFeatures::FromVariant(kX86, "atom", &error_msg)); 40 ASSERT_TRUE(x86_features.get() != nullptr) << error_msg; 49 InstructionSetFeatures::FromVariant(kX86, "default", &error_msg)); 50 ASSERT_TRUE(x86_default_features.get() != nullptr) << error_msg; 59 InstructionSetFeatures::FromVariant(kX86_64, "atom", &error_msg)); 60 ASSERT_TRUE(x86_64_features.get() != nullptr) << error_msg; 74 std::string error_msg; local [all...] |
/external/strace/linux/mips/ |
get_scno.c | 10 error_msg("stray syscall exit: v0 = %ld",
|
/external/libxml2/ |
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...] |