/art/imgdiag/ |
imgdiag_test.cc | 86 bool Exec(pid_t image_diff_pid, const std::string& boot_image, std::string* error_msg) { 115 return ::art::Exec(exec_argv, error_msg); 119 bool ExecDefaultBootImage(pid_t image_diff_pid, std::string* error_msg) { 120 return Exec(image_diff_pid, boot_image_location_, error_msg); 141 std::string error_msg; local 142 ASSERT_TRUE(ExecDefaultBootImage(getpid(), &error_msg)) << "Failed to execute -- because: " 143 << error_msg; local 150 std::string error_msg; local 152 &error_msg)) << "Incorrectly executed"; 153 UNUSED(error_msg); [all...] |
/external/libxml2/ |
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/base/ |
scoped_flock.cc | 28 bool ScopedFlock::Init(const char* filename, std::string* error_msg) { 29 return Init(filename, O_CREAT | O_RDWR, true, error_msg); 32 bool ScopedFlock::Init(const char* filename, int flags, bool block, std::string* error_msg) { 39 *error_msg = StringPrintf("Failed to open file '%s': %s", filename, strerror(errno)); 49 *error_msg = StringPrintf("Failed to lock file '%s': %s", filename, strerror(errno)); 55 *error_msg = StringPrintf("Failed to fstat file '%s': %s", filename, strerror(errno)); 85 bool ScopedFlock::Init(File* file, std::string* error_msg) { 89 *error_msg = StringPrintf("Failed to duplicate open file '%s': %s", 95 *error_msg = StringPrintf(
|
/art/runtime/ |
elf_file.h | 45 std::string* error_msg, 46 uint8_t* requested_base = nullptr); // TODO: move arg to before error_msg. 52 std::string* error_msg); 56 bool Load(File* file, bool executable, bool low_4gb, std::string* error_msg); 78 bool GetLoadedSize(size_t* size, std::string* error_msg) const; 82 static bool Strip(File* file, std::string* error_msg);
|
oat_file.cc | 93 std::string* error_msg); 99 std::string* error_msg) const = 0; 108 std::string* error_msg) = 0; 112 std::string* error_msg); 116 bool Setup(const char* abs_dex_location, std::string* error_msg); 141 std::string* error_msg) { 151 error_msg)) { 155 if (!ret->ComputeFields(requested_base, elf_filename, error_msg)) { 161 if (!ret->Setup(abs_dex_location, error_msg)) { 170 std::string* error_msg) { 977 LOG(ERROR) << "Failed to dlopen: " << filename << " with error " << *error_msg; local 1369 std::string error_msg; local [all...] |
elf_file.cc | 63 std::string* error_msg, 76 if (!elf_file->Setup(file, prot, flags, low_4gb, error_msg)) { 87 std::string* error_msg) { 91 if (!elf_file->Setup(file, prot, flags, low_4gb, error_msg)) { 102 std::string* error_msg) { 106 *error_msg = StringPrintf("Failed to get length of file: '%s' fd=%d: %s", 112 *error_msg = StringPrintf("File size of %zd bytes not large enough to contain ELF header of " 129 error_msg), 130 error_msg)) { 136 *error_msg = StringPrintf("File size of %zd bytes not large enough to contain ELF program [all...] |
oat_file_assistant.cc | 120 bool OatFileAssistant::Lock(std::string* error_msg) { 121 CHECK(error_msg != nullptr); 125 *error_msg = "Failed to determine lock file"; 130 if (!flock_.Init(lock_file_name.c_str(), error_msg)) { 206 OatFileAssistant::MakeUpToDate(CompilerFilter::Filter target, std::string* error_msg) { 209 case kDex2OatNeeded: return GenerateOatFile(target, error_msg); 210 case kPatchOatNeeded: return RelocateOatFile(OdexFileName(), error_msg); 211 case kSelfPatchOatNeeded: return RelocateOatFile(OatFileName(), error_msg); 273 std::string error_msg; local 282 std::unique_ptr<const DexFile> dex_file = oat_dex_file->OpenDexFile(&error_msg); 320 std::string error_msg; local 403 std::string error_msg; local 410 << dex_location_ << ": " << error_msg; local 502 std::string error_msg; local 861 std::string error_msg; local 892 std::string error_msg; local 903 << odex_file_name << ": " << error_msg; local 933 std::string error_msg; local 944 << oat_file_name << ": " << error_msg; local 1032 std::string error_msg; local [all...] |
/external/autotest/client/site_tests/audio_Aplay/ |
audio_Aplay.py | 74 error_msg = 'invalid response from aplay' 77 raise error.TestError('%s: %s' % (error_msg, results)) 82 (error_msg, sorted(set(expected) - result_set)))
|
/external/strace/linux/arm/ |
get_scno.c | 53 error_msg("pid %d unknown syscall trap 0x%08lx", 77 error_msg("pid %d stray syscall exit:"
|
/art/compiler/ |
elf_writer_test.cc | 66 std::string error_msg; local 71 &error_msg)); 72 CHECK(ef.get() != nullptr) << error_msg; 78 std::string error_msg; local 83 &error_msg)); 84 CHECK(ef.get() != nullptr) << error_msg; 90 std::string error_msg; local 95 &error_msg)); 96 CHECK(ef.get() != nullptr) << error_msg; 97 CHECK(ef->Load(file.get(), false, /*low_4gb*/false, &error_msg)) << error_msg [all...] |
/art/runtime/arch/ |
instruction_set_features_test.cc | 46 std::string error_msg; local 48 InstructionSetFeatures::FromVariant(kRuntimeISA, dex2oat_isa_variant, &error_msg)); 49 ASSERT_TRUE(property_features.get() != nullptr) << error_msg; 79 std::string error_msg; local 81 InstructionSetFeatures::FromVariant(kRuntimeISA, dex2oat_isa_variant, &error_msg)); 82 ASSERT_TRUE(base_features.get() != nullptr) << error_msg; 85 base_features->AddFeaturesFromString(dex2oat_isa_features, &error_msg)); 86 ASSERT_TRUE(property_features.get() != nullptr) << error_msg; 116 std::string error_msg; local 118 InstructionSetFeatures::FromVariant(kRuntimeISA, "default", &error_msg)); [all...] |
instruction_set_features.cc | 34 std::string* error_msg) { 39 result = ArmInstructionSetFeatures::FromVariant(variant, error_msg); 42 result = Arm64InstructionSetFeatures::FromVariant(variant, error_msg); 45 result = MipsInstructionSetFeatures::FromVariant(variant, error_msg); 48 result = Mips64InstructionSetFeatures::FromVariant(variant, error_msg); 51 result = X86InstructionSetFeatures::FromVariant(variant, error_msg); 54 result = X86_64InstructionSetFeatures::FromVariant(variant, error_msg); 60 CHECK_EQ(result == nullptr, error_msg->size() != 0); 213 const std::string& feature_list, std::string* error_msg) const { 215 *error_msg = "No instruction set features specified" [all...] |
/art/cmdline/ |
cmdline.h | 66 std::string error_msg; local 68 &cache_filename, &error_msg)) { 139 std::string error_msg; local 163 ParseStatus parse_status = ParseCustom(option, &error_msg); 170 fprintf(stderr, "%s\n", error_msg.c_str()); 180 ParseStatus checks_status = ParseChecks(&error_msg); 182 fprintf(stderr, "%s\n", error_msg.c_str()); 226 bool ParseCheckBootImage(std::string* error_msg) { 228 *error_msg = "--boot-image must be specified"; 239 *error_msg = "Boot image location must have a / in it" 311 std::string error_msg; local [all...] |
/art/runtime/arch/x86/ |
instruction_set_features_x86.h | 29 std::string* error_msg, 71 std::string* error_msg) const OVERRIDE { 72 return AddFeaturesFromSplitString(smp, features, false, error_msg); 77 bool x86_64, std::string* error_msg) const;
|
/art/runtime/arch/x86_64/ |
instruction_set_features_x86_64.h | 29 std::string* error_msg) { 30 return X86InstructionSetFeatures::FromVariant(variant, error_msg, true) 71 std::string* error_msg) const OVERRIDE { 72 return X86InstructionSetFeatures::AddFeaturesFromSplitString(smp, features, true, error_msg);
|
/external/strace/linux/alpha/ |
get_scno.c | 19 error_msg("stray syscall exit: r0 = %ld", scno);
|
/external/strace/linux/sh/ |
get_scno.c | 19 error_msg("Detected glibc bug: bogus system call"
|
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/compiler/ |
plugin.h | 80 // generation is successful. If the code geneartion fails, error_msg may be 84 string* error_msg);
|
/external/v8/src/wasm/ |
wasm-result.h | 43 error_msg.Reset(nullptr); 51 base::SmartArrayPointer<char> error_msg; member in struct:v8::internal::wasm::Result 62 error_msg = that.error_msg; 75 } else if (result.error_msg.get() != nullptr) { 78 os << result.error_msg.get() << " @" << offset; 80 os << result.error_msg.get() << " @+" << offset;
|
/art/runtime/gc/space/ |
image_space.h | 49 std::string* error_msg) 55 std::string* error_msg) 65 // reason in error_msg. 68 std::string* error_msg); 169 std::string* error_msg) 172 OatFile* OpenOatFile(const char* image, std::string* error_msg) const 175 bool ValidateOatFile(std::string* error_msg) const
|
image_space.cc | 82 std::string* error_msg) { 87 *error_msg = "Failed to generate image because no boot class path specified"; 137 return Exec(arg_vector, error_msg); 170 std::string error_msg; local 171 if (!GetDalvikCacheFilename(image_location, dalvik_cache.c_str(), cache_filename, &error_msg)) { 172 LOG(WARNING) << error_msg; 194 InstructionSet isa, std::string* error_msg) { 227 return Exec(argv, error_msg); 230 static ImageHeader* ReadSpecificImageHeader(const char* filename, std::string* error_msg) { 233 *error_msg = StringPrintf("Unable to read image header for %s", filename) 241 std::string error_msg; local [all...] |
/system/tools/aidl/ |
type_namespace.cpp | 102 string error_msg; local 103 const ValidatableType* return_type = GetValidatableType(raw_type, &error_msg); 108 << error_msg; 122 string error_msg; local 123 const ValidatableType* t = GetValidatableType(a.GetType(), &error_msg); 125 LOG(ERROR) << error_prefix << error_msg; local
|
/art/runtime/arch/arm/ |
instruction_set_features_arm.h | 29 std::string* error_msg); 76 std::string* error_msg) const OVERRIDE;
|
/art/runtime/arch/arm64/ |
instruction_set_features_arm64.h | 29 std::string* error_msg); 75 std::string* error_msg) const OVERRIDE;
|
/art/runtime/arch/mips64/ |
instruction_set_features_mips64.h | 29 std::string* error_msg); 64 std::string* error_msg) const OVERRIDE;
|