Searched refs:EC (Results 26 - 50 of 95) sorted by relevance

1234

/freebsd-10.3-release/contrib/llvm/include/llvm/Support/
H A DMemory.h62 /// \p EC [out] returns an object describing any error that occurs.
74 /// otherwise a null MemoryBlock is with \p EC describing the error.
80 error_code &EC);
H A DErrorOr.h119 ErrorOr(llvm::error_code EC) : HasError(true) { argument
120 new (getError()) error_code(EC);
/freebsd-10.3-release/contrib/llvm/tools/llvm-ar/
H A Dllvm-ar.cpp56 static void failIfError(error_code EC, Twine Context = "") { argument
57 if (!EC)
62 fail(EC.message());
63 fail(Context + ": " + EC.message());
670 error_code EC = OldMember->getAsBinary(Binary); local
671 if (EC) { // FIXME: check only for "not an object file" errors.
913 error_code EC = MemoryBuffer::getFile(ArchiveName, Buf, -1, false); local
914 if (EC && EC != llvm::errc::no_such_file_or_directory) {
916 << "': " << EC
[all...]
/freebsd-10.3-release/contrib/llvm/lib/Support/Unix/
H A DMemory.inc86 error_code &EC) {
87 EC = error_code::success();
98 EC = error_code(errno, system_category());
124 return allocateMappedMemory(NumBytes, 0, PFlags, EC);
126 EC = error_code(errno, system_category());
/freebsd-10.3-release/contrib/llvm/lib/IR/
H A DModule.cpp412 error_code EC = Materializer->Materialize(GV);
413 if (!EC)
416 *ErrInfo = EC.message();
428 error_code EC = Materializer->MaterializeModule(this);
429 if (!EC)
432 *ErrInfo = EC.message();
/freebsd-10.3-release/contrib/llvm/tools/macho-dump/
H A Dmacho-dump.cpp99 error_code EC; local
101 E = Obj.section_rel_end(Index); I != E; I.increment(EC), ++RelNum) {
204 error_code EC; local
207 I.increment(EC), ++SymNum) {
383 if (error_code EC = createBinary(InputFile, Binary))
384 return Error("unable to read input: '" + EC.message() + "'");
/freebsd-10.3-release/contrib/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp642 if (error_code EC = ParseAttrKind(Record[++i], &Kind))
643 return EC;
648 if (error_code EC = ParseAttrKind(Record[++i], &Kind))
649 return EC;
1671 if (error_code EC = ParseAttributeBlock())
1672 return EC;
1675 if (error_code EC = ParseAttributeGroupBlock())
1676 return EC;
1679 if (error_code EC = ParseTypeTable())
1680 return EC;
[all...]
/freebsd-10.3-release/contrib/llvm/lib/Transforms/Scalar/
H A DSampleProfile.cpp157 error_code EC; local
158 EC = MemoryBuffer::getFile(Filename, Buffer);
159 if (EC)
161 EC.message());
/freebsd-10.3-release/contrib/llvm/tools/bugpoint/
H A DMiscompilation.cpp966 error_code EC = sys::fs::createTemporaryFile("bugpoint.test", "bc", local
968 if (EC) {
970 << EC.message() << "\n";
985 EC = sys::fs::createTemporaryFile("bugpoint.safe", "bc", SafeModuleFD,
987 if (EC) {
989 << EC.message() << "\n";
1060 error_code EC = sys::fs::createTemporaryFile("bugpoint.test", "bc", local
1062 if (EC) {
1064 << EC.message() << "\n";
1078 EC
[all...]
H A DToolRunner.cpp144 error_code EC = sys::fs::createTemporaryFile( local
146 if (EC) {
147 errs() << "Error making unique filename: " << EC.message() << "\n";
480 error_code EC = local
482 if (EC) {
483 errs() << "Error making unique filename: " << EC.message() << "\n";
717 error_code EC = local
719 if (EC) {
720 errs() << "Error making unique filename: " << EC.message() << "\n";
827 error_code EC local
[all...]
H A DExtractFunction.cpp368 error_code EC = sys::fs::createUniqueFile( local
370 if (EC) {
372 errs() << "Error creating temporary file: " << EC.message() << "\n";
/freebsd-10.3-release/contrib/llvm/lib/Support/
H A DGraphWriter.cpp71 error_code EC = sys::fs::createTemporaryFile(Name, "dot", FD, Filename); local
72 if (EC) {
73 errs() << "Error: " << EC.message() << "\n";
H A Draw_ostream.cpp447 error_code EC = sys::fs::openFileForWrite(Filename, FD, Flags); local
449 if (EC) {
451 EC.message();
/freebsd-10.3-release/crypto/heimdal/lib/gssapi/krb5/
H A Dcfx.c442 * In Wrap tokens with confidentiality, the EC field is
446 token->EC[0] = (ec >> 8) & 0xFF;
447 token->EC[1] = (ec >> 0) & 0xFF;
451 * In Wrap tokens without confidentiality, the EC field is
459 token->EC[0] = 0;
460 token->EC[1] = 0;
469 * both the EC and RRC fields in the appended checksum
621 token->EC[0] = (k5tsize >> 8) & 0xFF;
622 token->EC[1] = (k5tsize >> 0) & 0xFF;
785 ec = (token->EC[
[all...]
/freebsd-10.3-release/contrib/llvm/lib/Target/PowerPC/
H A DPPCCTRLoops.cpp431 const SCEV *EC = SE->getExitCount(L, *I); local
433 (*I)->getName() << ": " << *EC << "\n");
434 if (isa<SCEVCouldNotCompute>(EC))
436 if (const SCEVConstant *ConstEC = dyn_cast<SCEVConstant>(EC)) {
439 } else if (!SE->isLoopInvariant(EC, L))
442 if (SE->getTypeSizeInBits(EC->getType()) > (TT.isArch64Bit() ? 64 : 32))
483 ExitCount = EC;
/freebsd-10.3-release/sys/kgssapi/krb5/
H A Dkrb5_mech.c1407 int flags, EC; local
1430 EC = mlen % mblen;
1432 EC = 0;
1433 ctlen = blen + mlen + EC + 16;
1446 if (M_TRAILINGSPACE(mlast) >= EC + 16 + cklen) {
1448 mlast->m_len += EC + 16 + cklen;
1451 tm->m_len = EC + 16 + cklen;
1457 * plus space for the plaintext and a checksum. EC is
1467 EC = cklen;
1489 /* EC
1785 int sealed, flags, EC, RRC; local
[all...]
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Frontend/
H A DCompilerInstance.cpp552 llvm::error_code EC = local
556 EC == llvm::errc::no_such_file_or_directory) {
558 EC = llvm::sys::fs::create_directories(Parent);
559 if (!EC) {
560 EC = llvm::sys::fs::createUniqueFile(TempPath.str(), fd, TempPath);
564 if (!EC) {
1049 llvm::error_code EC; local
1053 Dir(ModuleCachePathNative.str(), EC), DirEnd;
1054 Dir != DirEnd && !EC; Dir.increment(EC)) {
[all...]
H A DFrontendAction.cpp243 llvm::error_code EC; local
247 for (llvm::sys::fs::directory_iterator Dir(DirNative.str(), EC), DirEnd;
248 Dir != DirEnd && !EC; Dir.increment(EC)) {
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Lex/
H A DPPLexerChange.cpp429 llvm::error_code EC; local
430 for (recursive_directory_iterator Entry(Dir->getName(), EC), End;
431 Entry != End && !EC; Entry.increment(EC)) {
H A DHeaderSearch.cpp1131 llvm::error_code EC; local
1137 for (llvm::sys::fs::directory_iterator Dir(DirNative.str(), EC), DirEnd;
1138 Dir != DirEnd && !EC; Dir.increment(EC)) {
1191 llvm::error_code EC;
1194 for (llvm::sys::fs::directory_iterator Dir(DirNative.str(), EC), DirEnd;
1195 Dir != DirEnd && !EC; Dir.increment(EC)) {
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Driver/
H A DCompilation.cpp91 if (llvm::error_code EC = llvm::sys::fs::remove(File)) {
98 << EC.message();
/freebsd-10.3-release/contrib/llvm/lib/Transforms/Utils/
H A DSpecialCaseList.cpp59 if (error_code EC = MemoryBuffer::getFile(Path, File)) {
60 Error = (Twine("Can't open file '") + Path + "': " + EC.message()).str();
/freebsd-10.3-release/contrib/llvm/lib/LTO/
H A DLTOCodeGenerator.cpp208 error_code EC = sys::fs::createTemporaryFile("lto-llvm", "o", FD, Filename); local
209 if (EC) {
210 errMsg = EC.message();
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Tooling/
H A DTooling.cpp146 llvm::error_code EC = llvm::sys::fs::make_absolute(AbsolutePath); local
147 assert(!EC);
148 (void)EC;
/freebsd-10.3-release/contrib/llvm/tools/clang/tools/driver/
H A Ddriver.cpp300 llvm::error_code EC = llvm::sys::Process::GetArgumentVector( local
302 if (EC) {
303 llvm::errs() << "error: couldn't get arguments: " << EC.message() << '\n';

Completed in 298 milliseconds

1234