/external/llvm/unittests/ProfileData/ |
SampleProfTest.cpp | 35 static ::testing::AssertionResult NoError(std::error_code EC) { 36 if (!EC) 38 return ::testing::AssertionFailure() << "error " << EC.value() << ": " 39 << EC.message(); 91 std::error_code EC; 92 EC = Writer->write(Profiles); 93 ASSERT_TRUE(NoError(EC)); 100 EC = Reader->read(); 101 ASSERT_TRUE(NoError(EC));
|
/frameworks/compile/libbcc/tools/bcc_strip_attr/ |
bcc_strip_attr.cpp | 133 std::error_code EC; 134 tool_output_file Out(OutputFilename.c_str(), EC, 136 if (EC) { 137 errs() << EC.message() << '\n';
|
/frameworks/compile/slang/ |
llvm-rs-as.cpp | 88 std::error_code EC; 90 (new tool_output_file(OutputFilename.c_str(), EC, llvm::sys::fs::F_None)); 91 if (EC) { 93 errs() << EC.message() << '\n';
|
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/ProfileData/ |
SampleProfWriter.h | 47 if (std::error_code EC = writeHeader(ProfileMap)) 48 return EC; 51 if (std::error_code EC = write(Profile)) 52 return EC;
|
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/ProfileData/ |
SampleProfWriter.h | 47 if (std::error_code EC = writeHeader(ProfileMap)) 48 return EC; 51 if (std::error_code EC = write(Profile)) 52 return EC;
|
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/ProfileData/ |
SampleProfWriter.h | 47 if (std::error_code EC = writeHeader(ProfileMap)) 48 return EC; 51 if (std::error_code EC = write(Profile)) 52 return EC;
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/ProfileData/ |
SampleProfWriter.h | 47 if (std::error_code EC = writeHeader(ProfileMap)) 48 return EC; 51 if (std::error_code EC = write(Profile)) 52 return EC;
|
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/ProfileData/ |
SampleProfWriter.h | 47 if (std::error_code EC = writeHeader(ProfileMap)) 48 return EC; 51 if (std::error_code EC = write(Profile)) 52 return EC;
|
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/ProfileData/ |
SampleProfWriter.h | 47 if (std::error_code EC = writeHeader(ProfileMap)) 48 return EC; 51 if (std::error_code EC = write(Profile)) 52 return EC;
|
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/ProfileData/ |
SampleProfWriter.h | 47 if (std::error_code EC = writeHeader(ProfileMap)) 48 return EC; 51 if (std::error_code EC = write(Profile)) 52 return EC;
|
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/ProfileData/ |
SampleProfWriter.h | 47 if (std::error_code EC = writeHeader(ProfileMap)) 48 return EC; 51 if (std::error_code EC = write(Profile)) 52 return EC;
|
/external/llvm/tools/llvm-profdata/ |
llvm-profdata.cpp | 66 static void exitWithErrorCode(std::error_code EC, StringRef Whence = "") { 67 exitWithError(EC.message(), Whence); 129 std::error_code EC; 130 raw_fd_ostream Output(OutputFilename.data(), EC, sys::fs::F_None); 131 if (EC) 132 exitWithErrorCode(EC, OutputFilename); 174 if (std::error_code EC = WriterOrErr.getError()) 175 exitWithErrorCode(EC, OutputFilename); 183 if (std::error_code EC = ReaderOrErr.getError()) 184 exitWithErrorCode(EC, Input.Filename) [all...] |
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
MemoryBuffer.cpp | 211 uint64_t Offset, std::error_code &EC) 213 getLegalMapSize(Len, Offset), getLegalMapOffset(Offset), EC) { 214 if (!EC) { 271 std::error_code EC = sys::fs::openFileForRead(Filename, FD); 272 if (EC) 273 return EC; 350 std::error_code EC = sys::fs::status(FD, Status); 351 if (EC) 352 return EC; 369 std::error_code EC; [all...] |
/external/llvm/tools/gold/ |
gold-plugin.cpp | 410 std::error_code EC = BDI->getError(); 411 if (EC == BitcodeError::InvalidBitcodeSignature) 480 if (std::error_code EC = BufferOrErr.getError()) { 481 message(LDPL_ERROR, EC.message().c_str()); 491 std::error_code EC = ObjOrErr.getError(); 492 if (EC == object::object_error::invalid_file_type || 493 EC == object::object_error::bitcode_section_not_found) 498 if (EC) { 500 EC.message().c_str()); 679 if (std::error_code EC = ObjOrErr.getError() [all...] |
/external/llvm/include/llvm/DebugInfo/CodeView/ |
ModuleSubstream.h | 76 if (auto EC = ModuleSubstream::initialize(Stream, Info)) 77 return EC;
|
/external/llvm/include/llvm/DebugInfo/PDB/Raw/ |
ModInfo.h | 69 if (auto EC = pdb::ModInfo::initialize(Stream, Info)) 70 return EC;
|
/external/llvm/lib/DebugInfo/CodeView/ |
CodeViewError.cpp | 54 std::error_code EC = convertToErrorCode(); 56 ErrMsg += EC.message() + " ";
|
/external/llvm/lib/DebugInfo/PDB/DIA/ |
DIAError.cpp | 46 std::error_code EC = convertToErrorCode(); 48 ErrMsg += EC.message() + " ";
|
/external/llvm/lib/DebugInfo/PDB/ |
GenericError.cpp | 54 std::error_code EC = convertToErrorCode(); 56 ErrMsg += EC.message() + " ";
|
/external/llvm/lib/DebugInfo/PDB/Raw/ |
RawError.cpp | 54 std::error_code EC = convertToErrorCode(); 56 ErrMsg += EC.message() + " ";
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
Interpreter.cpp | 38 if (std::error_code EC = M->materializeAll()) { 40 *ErrStr = EC.message();
|
/external/llvm/tools/obj2yaml/ |
obj2yaml.cpp | 57 if (std::error_code EC = dumpInput(InputFilename)) { 58 errs() << "Error: '" << EC.message() << "'\n";
|
/external/llvm/unittests/Support/ |
MemoryBufferTest.cpp | 81 std::error_code EC = MB.getError(); 82 ASSERT_FALSE(EC); 155 std::error_code EC = Buf.getError(); 156 EXPECT_FALSE(EC); 200 std::error_code EC = MB.getError(); 201 ASSERT_FALSE(EC); 215 EC = MB2.getError(); 216 ASSERT_FALSE(EC);
|
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/DebugInfo/CodeView/ |
ModuleSubstream.h | 79 if (auto EC = codeview::ModuleSubstream::initialize(Stream, Info)) 80 return EC;
|
RecordSerialization.h | 107 if (auto EC = consume(Reader, Field)) 108 return EC; 128 if (auto EC = Reader.readCString(Field)) 129 return EC; 240 if (auto EC = consume(Reader, X)) 241 return EC; 246 if (auto EC = consume(__VA_ARGS__)) \ 247 return std::move(EC);
|