/external/llvm/examples/BrainF/ |
BrainFDriver.cpp | 110 std::error_code EC; 111 out = new raw_fd_ostream(OutputFilename, EC, sys::fs::F_None);
|
/frameworks/compile/libbcc/bcinfo/ |
BitcodeTranslator.cpp | 139 if (std::error_code EC = MOrErr.getError()) { 141 ALOGE("%s", EC.message().c_str());
|
/external/llvm/tools/llvm-objdump/ |
llvm-objdump.cpp | 246 void llvm::error(std::error_code EC) { 247 if (!EC) 250 outs() << ToolName << ": error reading file: " << EC.message() << ".\n"; 255 void llvm::report_error(StringRef File, std::error_code EC) { 256 assert(EC); 257 errs() << ToolName << ": '" << File << "': " << EC.message() << ".\n"; 390 if (std::error_code EC = SecOrErr.getError()) 391 return EC; 394 if (std::error_code EC = SymTabOrErr.getError()) 395 return EC; [all...] |
/external/llvm/lib/Support/ |
raw_ostream.cpp | 490 static int getFD(StringRef Filename, std::error_code &EC, 496 EC = std::error_code(); 505 EC = sys::fs::openFileForWrite(Filename, FD, Flags); 506 if (EC) 512 raw_fd_ostream::raw_fd_ostream(StringRef Filename, std::error_code &EC, 514 : raw_fd_ostream(getFD(Filename, EC, Flags), true) {} 531 std::error_code EC = status(FD, Status); 532 SupportsSeeking = !EC && Status.type() == sys::fs::file_type::regular_file; 707 std::error_code EC; 708 static raw_fd_ostream S("-", EC, sys::fs::F_None) [all...] |
FileUtilities.cpp | 180 if (std::error_code EC = F1OrErr.getError()) { 182 *Error = EC.message(); 188 if (std::error_code EC = F2OrErr.getError()) { 190 *Error = EC.message();
|
/external/llvm/tools/llvm-readobj/ |
COFFDumper.cpp | 142 if (std::error_code EC = resolveSymbol(Section, Offset, Symbol)) 143 return EC; 145 if (std::error_code EC = NameOrErr.getError()) 146 return EC; [all...] |
ARMWinEHPrinter.cpp | 205 if (std::error_code EC = Address.getError()) 206 return EC; 571 if (std::error_code EC = Name.getError()) 572 report_fatal_error(EC.message()); 605 if (std::error_code EC = FunctionNameOrErr.getError()) 606 report_fatal_error(EC.message()); 609 if (std::error_code EC = FunctionAddressOrErr.getError()) 610 report_fatal_error(EC.message()); 623 if (std::error_code EC = Name.getError()) 624 report_fatal_error(EC.message()) [all...] |
/external/autotest/client/site_tests/hardware_EC/ |
hardware_EC.py | 8 # This is a hardware test for EC. The test uses ectool to check if the EC can 10 # checks basic EC functionality, such as FAN and temperature sensor. 17 from autotest_lib.client.cros import ec as cros_ec 33 ec = cros_ec.EC() 35 if not ec.hello(): 36 raise error.TestError('EC communication failed') 40 ec.set_fanspeed(10000) 42 max_reading = ec.get_fanspeed( [all...] |
/external/autotest/server/cros/servo/ |
chrome_ec.py | 31 # ec/include/ec_commands.h 56 """Manages control of a Chrome EC. 58 We control the Chrome EC via the UART of a Servo board. Chrome EC 200 """Reboot EC with given flags. 205 default: EC soft reboot; 206 'hard': EC hard/cold reboot; 207 'ap-off': Leave AP off after EC reboot (by default, EC turns 216 'The flag %s of EC reboot command is invalid.' % flag [all...] |
/external/clang/lib/Driver/ |
MinGWToolChain.cpp | 28 std::error_code EC; 29 for (llvm::sys::fs::directory_iterator LI(LibDir, EC), LE; !EC && LI != LE; 30 LI = LI.increment(EC)) {
|
/external/clang/lib/Frontend/Rewrite/ |
FixItRewriter.cpp | 95 std::error_code EC; 100 OS.reset(new llvm::raw_fd_ostream(Filename, EC, llvm::sys::fs::F_None)); 102 if (EC) { 104 << EC.message();
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
RuntimeDyldMachOX86_64.h | 161 if (auto EC = SubtrahendNameOrErr.getError()) 162 report_fatal_error(EC.message()); 171 if (auto EC = MinuendNameOrErr.getError()) 172 report_fatal_error(EC.message());
|
RuntimeDyldCOFFX86_64.h | 155 if (std::error_code EC = TargetNameOrErr.getError()) 156 report_fatal_error(EC.message());
|
/external/llvm/lib/Object/ |
Object.cpp | 102 if (std::error_code ec = SecOrErr.getError()) 103 report_fatal_error(ec.message()); 131 if (std::error_code ec = (*unwrap(SI))->getName(ret)) 132 report_fatal_error(ec.message()); 142 if (std::error_code ec = (*unwrap(SI))->getContents(ret)) 143 report_fatal_error(ec.message()); 179 if (std::error_code EC = Ret.getError()) 180 report_fatal_error(EC.message()); 186 if (std::error_code EC = Ret.getError()) 187 report_fatal_error(EC.message()) [all...] |
/external/llvm/lib/Target/ |
TargetMachineC.cpp | 224 std::error_code EC; 225 raw_fd_ostream dest(Filename, EC, sys::fs::F_None); 226 if (EC) { 227 *ErrorMessage = strdup(EC.message().c_str());
|
/external/llvm/tools/llvm-size/ |
llvm-size.cpp | 82 /// @brief If ec is not success, print the error and return true. 83 static bool error(std::error_code ec) { 84 if (!ec) 87 outs() << ToolName << ": error reading file: " << ec.message() << ".\n"; 420 if (std::error_code EC = BinaryOrErr.getError()) { 421 errs() << ToolName << ": " << file << ": " << EC.message() << ".\n"; 438 if (std::error_code EC = ChildOrErr.getError()) { 439 errs() << ToolName << ": " << file << ": " << EC.message() << ".\n"; 499 if (std::error_code EC = i->getError()) { 500 errs() << ToolName << ": " << file << ": " << EC.message( [all...] |
/external/boringssl/src/crypto/ec/ |
p256-x86_64.c | 23 #include <openssl/ec.h> 34 #include "../ec/internal.h" 260 OPENSSL_PUT_ERROR(EC, ERR_R_MALLOC_FAILURE); 269 OPENSSL_PUT_ERROR(EC, ERR_R_MALLOC_FAILURE); 273 OPENSSL_PUT_ERROR(EC, ERR_R_BN_LIB); 308 OPENSSL_PUT_ERROR(EC, EC_R_COORDINATES_OUT_OF_RANGE); 406 OPENSSL_PUT_ERROR(EC, ERR_R_MALLOC_FAILURE); 430 OPENSSL_PUT_ERROR(EC, ERR_R_BN_LIB); 535 OPENSSL_PUT_ERROR(EC, EC_R_POINT_AT_INFINITY); 542 OPENSSL_PUT_ERROR(EC, EC_R_COORDINATES_OUT_OF_RANGE) [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
HTMLDiagnostics.cpp | 108 if (std::error_code ec = llvm::sys::fs::create_directories(Directory)) { 110 << Directory << "': " << ec.message() << '\n'; 296 if (std::error_code EC = 299 << "' absolute: " << EC.message() << '\n'; 302 if (std::error_code EC = 305 << "': " << EC.message() << '\n'; 311 std::error_code EC; 323 EC = llvm::sys::fs::openFileForWrite(Model, 327 if (EC && EC != llvm::errc::file_exists) [all...] |
/external/llvm/lib/ProfileData/ |
CoverageMapping.cpp | 194 if (std::error_code EC = ProfileReader.getFunctionCounts( 196 if (EC == instrprof_error::hash_mismatch) { 199 } else if (EC != instrprof_error::unknown_function) 200 return EC; 233 if (std::error_code EC = CounterMappingBuff.getError()) 234 return EC; 237 if (std::error_code EC = CoverageReaderOrErr.getError()) 238 return EC; 241 if (auto EC = ProfileReaderOrErr.getError()) 242 return EC; [all...] |
/external/llvm/tools/verify-uselistorder/ |
verify-uselistorder.cpp | 112 if (auto EC = sys::fs::createTemporaryFile("uselistorder", Ext, Vector)) { 113 errs() << "verify-uselistorder: error: " << EC.message() << "\n"; 127 std::error_code EC; 128 raw_fd_ostream OS(Filename, EC, sys::fs::F_None); 129 if (EC) { 130 errs() << "verify-uselistorder: error: " << EC.message() << "\n"; 140 std::error_code EC; 141 raw_fd_ostream OS(Filename, EC, sys::fs::F_Text); 142 if (EC) { 143 errs() << "verify-uselistorder: error: " << EC.message() << "\n" [all...] |
/external/llvm/include/llvm/Object/ |
ELFObjectFile.h | 300 ELFObjectFile(MemoryBufferRef Object, std::error_code &EC); 409 if (std::error_code EC = SectionOrErr.getError()) 410 return EC; 518 if (std::error_code EC = ESecOrErr.getError()) 519 return EC; 616 if (std::error_code EC = SymSecOrErr.getError()) 617 report_fatal_error(EC.message()); 652 if (std::error_code EC = R.getError()) 653 report_fatal_error(EC.message()); 739 ELFObjectFile<ELFT>::ELFObjectFile(MemoryBufferRef Object, std::error_code &EC) [all...] |
/external/clang/lib/Frontend/ |
CompilerInstance.cpp | 145 std::error_code EC; 151 DiagOpts->DiagnosticLogFile, EC, 153 if (EC) { 155 << DiagOpts->DiagnosticLogFile << EC.message(); 557 if (std::error_code ec = 560 << OF.TempFilename << OF.Filename << ec.message(); 594 std::error_code EC; 596 OutputPath, EC, Binary, RemoveFileOnSignal, InFile, Extension, 600 << EC.message(); 664 std::error_code EC [all...] |
/external/llvm/unittests/Support/ |
Path.cpp | 520 std::error_code EC = fs::status(TempPath2.c_str(), B); 521 EXPECT_EQ(EC, errc::no_such_file_or_directory); 650 std::error_code ec; local 651 for (fs::directory_iterator i(".", ec), e; i != e; i.increment(ec)) 652 ASSERT_NO_ERROR(ec); 668 + "/recursive", ec), e; i != e; i.increment(ec)){ 669 ASSERT_NO_ERROR(ec); 781 std::error_code EC; [all...] |
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
BitcodeReader.cpp | 361 std::error_code EC, const Twine &Message) { 362 BitcodeDiagnosticInfo DI(EC, DS_Error, Message); 364 return EC; 368 std::error_code EC) { 369 return Error(DiagnosticHandler, EC, EC.message()); [all...] |
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
BitcodeReader.cpp | 599 std::error_code EC, const Twine &Message) { 600 BitcodeDiagnosticInfo DI(EC, DS_Error, Message); 602 return EC; 606 std::error_code EC) { 607 return Error(DiagnosticHandler, EC, EC.message()); [all...] |