Searched refs:Err (Results 1 - 25 of 38) sorted by relevance

12

/freebsd-10-stable/contrib/diff/lib/
H A Dxstrtol.h58 # define _STRTOL_ERROR(Exit_code, Str, Argument_type_string, Err) \
61 switch ((Err)) \
85 # define STRTOL_FATAL_ERROR(Str, Argument_type_string, Err) \
86 _STRTOL_ERROR (exit_failure, Str, Argument_type_string, Err)
88 # define STRTOL_FAIL_WARN(Str, Argument_type_string, Err) \
89 _STRTOL_ERROR (0, Str, Argument_type_string, Err)
/freebsd-10-stable/gnu/usr.bin/grep/
H A Dxstrtol.h32 # define _STRTOL_ERROR(Exit_code, Str, Argument_type_string, Err) \
35 switch ((Err)) \
58 # define STRTOL_FATAL_ERROR(Str, Argument_type_string, Err) \
59 _STRTOL_ERROR (2, Str, Argument_type_string, Err)
61 # define STRTOL_FAIL_WARN(Str, Argument_type_string, Err) \
62 _STRTOL_ERROR (0, Str, Argument_type_string, Err)
/freebsd-10-stable/contrib/llvm/include/llvm/IRReader/
H A DIRReader.h31 Module *getLazyIRModule(MemoryBuffer *Buffer, SMDiagnostic &Err,
38 Module *getLazyIRFileModule(const std::string &Filename, SMDiagnostic &Err,
45 Module *ParseIR(MemoryBuffer *Buffer, SMDiagnostic &Err, LLVMContext &Context);
50 Module *ParseIRFile(const std::string &Filename, SMDiagnostic &Err,
/freebsd-10-stable/contrib/llvm/lib/AsmParser/
H A DParser.cpp27 SMDiagnostic &Err,
34 return LLParser(F, SM, Err, M).Run() ? 0 : M;
38 if (LLParser(F, SM, Err, M2.get()).Run())
43 Module *llvm::ParseAssemblyFile(const std::string &Filename, SMDiagnostic &Err, argument
47 Err = SMDiagnostic(Filename, SourceMgr::DK_Error,
52 return ParseAssembly(File.take(), 0, Err, Context);
56 SMDiagnostic &Err, LLVMContext &Context) {
61 return ParseAssembly(F, M, Err, Context);
25 ParseAssembly(MemoryBuffer *F, Module *M, SMDiagnostic &Err, LLVMContext &Context) argument
55 ParseAssemblyString(const char *AsmString, Module *M, SMDiagnostic &Err, LLVMContext &Context) argument
/freebsd-10-stable/contrib/llvm/lib/IRReader/
H A DIRReader.cpp34 Module *llvm::getLazyIRModule(MemoryBuffer *Buffer, SMDiagnostic &Err, argument
41 Err = SMDiagnostic(Buffer->getBufferIdentifier(), SourceMgr::DK_Error,
50 return ParseAssembly(Buffer, 0, Err, Context);
53 Module *llvm::getLazyIRFileModule(const std::string &Filename, SMDiagnostic &Err, argument
57 Err = SMDiagnostic(Filename, SourceMgr::DK_Error,
62 return getLazyIRModule(File.take(), Err, Context);
65 Module *llvm::ParseIR(MemoryBuffer *Buffer, SMDiagnostic &Err, argument
74 Err = SMDiagnostic(Buffer->getBufferIdentifier(), SourceMgr::DK_Error,
81 return ParseAssembly(Buffer, 0, Err, Context);
84 Module *llvm::ParseIRFile(const std::string &Filename, SMDiagnostic &Err, argument
[all...]
/freebsd-10-stable/contrib/llvm/tools/llvm-as/
H A Dllvm-as.cpp95 SMDiagnostic Err; local
96 OwningPtr<Module> M(ParseAssemblyFile(InputFilename, Err, Context));
98 Err.print(argv[0], errs());
103 std::string Err; local
104 if (verifyModule(*M.get(), ReturnStatusAction, &Err)) {
107 errs() << Err;
/freebsd-10-stable/contrib/llvm/include/llvm/Support/
H A DDataStream.h34 std::string *Err);
/freebsd-10-stable/contrib/llvm/include/llvm/Assembly/
H A DParser.h58 SMDiagnostic &Err, ///< Error result info.
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Frontend/
H A DDependencyGraph.cpp103 std::string Err; local
104 llvm::raw_fd_ostream OS(OutputFile.c_str(), Err);
105 if (!Err.empty()) {
107 << OutputFile << Err; local
H A DDependencyFile.cpp174 std::string Err; local
175 llvm::raw_fd_ostream OS(OutputFile.c_str(), Err);
176 if (!Err.empty()) {
178 << OutputFile << Err; local
/freebsd-10-stable/contrib/llvm/include/llvm/MC/MCParser/
H A DMCAsmLexer.h114 std::string Err; member in class:llvm::MCAsmLexer
128 Err = err;
159 return Err;
/freebsd-10-stable/contrib/llvm/lib/Support/
H A DHost.cpp490 std::string Err;
491 DataStreamer *DS = getDataFileStreamer("/proc/cpuinfo", &Err);
493 DEBUG(dbgs() << "Unable to open /proc/cpuinfo: " << Err << "\n");
577 std::string Err;
578 DataStreamer *DS = getDataFileStreamer("/proc/cpuinfo", &Err);
580 DEBUG(dbgs() << "Unable to open /proc/cpuinfo: " << Err << "\n");
631 std::string Err;
632 DataStreamer *DS = getDataFileStreamer("/proc/cpuinfo", &Err);
634 DEBUG(dbgs() << "Unable to open /proc/cpuinfo: " << Err << "\n");
674 std::string Err; local
[all...]
/freebsd-10-stable/contrib/llvm/tools/llvm-link/
H A Dllvm-link.cpp58 SMDiagnostic Err; local
62 Result = ParseIRFile(FN, Err, Context);
65 Err.print(argv0, errs());
/freebsd-10-stable/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldELF.h26 error_code Check(error_code Err) { argument
27 if (Err) {
28 report_fatal_error(Err.message());
30 return Err;
/freebsd-10-stable/contrib/sqlite3/tea/win/
H A Dnmakehlp.c63 pipeinfo Err = {INVALID_HANDLE_VALUE, '\0'}; variable
225 CreatePipe(&Err.pipe, &h, &sa, 0);
286 pipeThreads[1] = CreateThread(NULL, 0, ReadFromPipe, &Err, 0, &threadID);
309 || strstr(Err.buffer, "D4002") != NULL
311 || strstr(Err.buffer, "D9002") != NULL
313 || strstr(Err.buffer, "D2021") != NULL);
360 CreatePipe(&Err.pipe, &h, &sa, 0);
415 pipeThreads[1] = CreateThread(NULL, 0, ReadFromPipe, &Err, 0, &threadID);
437 strstr(Err.buffer, "LNK1117") != NULL ||
439 strstr(Err
[all...]
/freebsd-10-stable/contrib/llvm/tools/bugpoint/
H A DBugDriver.cpp87 SMDiagnostic Err; local
88 Module *Result = ParseIRFile(Filename, Err, Ctxt);
90 Err.print("bugpoint", errs());
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Rewrite/Frontend/
H A DFixItRewriter.cpp89 std::string Err; local
94 OS.reset(new llvm::raw_fd_ostream(Filename.c_str(), Err,
97 if (!Err.empty()) {
99 << Filename << Err; local
/freebsd-10-stable/usr.bin/make/
H A Dcond.c96 * All Non-Terminal functions (CondE, CondF and CondT) return Err on error.
108 Err enumerator in enum:__anon11959
487 t = Err;
496 return (Err);
795 t = Err;
881 * True, False or Err.
897 t = Err;
903 if (t != Err) {
905 t = Err;
925 * True, False or Err
[all...]
/freebsd-10-stable/contrib/llvm/tools/lli/
H A Dlli.cpp296 SMDiagnostic Err; local
297 Module *Mod = ParseIRFile(InputFile, Err, Context);
299 Err.print(argv[0], errs());
396 Module *XMod = ParseIRFile(ExtraModules[i], Err, Context);
398 Err.print(argv[0], errs());
/freebsd-10-stable/contrib/llvm/lib/ExecutionEngine/JIT/
H A DJIT.h98 std::string *Err,
105 return ExecutionEngine::createJIT(M, Err, JMM, OptLevel, GVsWithCode,
97 create(Module *M, std::string *Err, JITMemoryManager *JMM, CodeGenOpt::Level OptLevel = CodeGenOpt::Default, bool GVsWithCode = true, Reloc::Model RM = Reloc::Default, CodeModel::Model CMM = CodeModel::JITDefault) argument
H A DJITMemoryManager.cpp688 raw_string_ostream Err(ErrorStr);
706 Err << "Corrupt free list; points to " << FreeRange;
711 Err << "Next and Prev pointers do not match.";
733 Err << "Found free header at " << Hdr << " that is not in free list.";
740 Err << "Block size in header points out of current MemoryBlock.";
744 Err << "End of block size marker (" << *Marker << ") "
751 Err << "Hdr->PrevAllocated (" << Hdr->PrevAllocated << ") != "
755 Err << "The first header should have PrevAllocated true.";
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Lex/
H A DLiteralSupport.cpp1473 static const char *resyncUTF8(const char *Err, const char *End) {
1474 if (Err == End)
1476 End = Err + std::min<unsigned>(getNumBytesForUTF8(*Err), End-Err);
1477 while (++Err != End && (*Err & 0xC0) == 0x80)
1479 return Err;
/freebsd-10-stable/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenAction.cpp403 llvm::SMDiagnostic Err; local
404 TheModule.reset(ParseIR(MainFileCopy, Err, *VMContext));
408 SM.getFileEntryForID(SM.getMainFileID()), Err.getLineNo(),
409 Err.getColumnNo() + 1);
413 StringRef Msg = Err.getMessage();
/freebsd-10-stable/contrib/llvm/lib/Support/Unix/
H A DProgram.inc141 if (int Err = posix_spawn_file_actions_addopen(
144 return MakeErrMsg(ErrMsg, "Cannot dup2", Err);
229 if (int Err = posix_spawn_file_actions_adddup2(FileActions, 1, 2))
230 return !MakeErrMsg(ErrMsg, "Can't redirect stderr to stdout", Err);
245 int Err = posix_spawn(&PID, Program.str().c_str(), FileActions, /*attrp*/0,
251 if (Err)
252 return !MakeErrMsg(ErrMsg, "posix_spawn failed", Err);
/freebsd-10-stable/contrib/llvm/tools/llc/
H A Dllc.cpp204 SMDiagnostic Err; local
214 M.reset(ParseIRFile(InputFilename, Err, Context));
217 Err.print(argv[0], errs());

Completed in 302 milliseconds

12