HomeSort by relevance Sort by last modified time
    Searched refs:ErrMsg (Results 1 - 25 of 44) sorted by null

1 2

  /external/llvm/utils/not/
not.cpp 18 std::string ErrMsg;
20 &ErrMsg);
22 errs() << "Error: " << ErrMsg << "\n";
  /external/llvm/lib/Support/
Program.cpp 31 std::string* ErrMsg) {
33 if (prg.Execute(path, args, envp, redirects, memoryLimit, ErrMsg))
34 return prg.Wait(path, secondsToWait, ErrMsg);
45 std::string* ErrMsg) {
47 prg.Execute(path, args, envp, redirects, memoryLimit, ErrMsg);
GraphWriter.cpp 56 std::string ErrMsg;
66 if (sys::Program::ExecuteAndWait(Graphviz, &args[0],0,0,0,0,&ErrMsg)) {
67 errs() << "Error: " << ErrMsg << "\n";
91 &args[0],0,0,0,0,&ErrMsg)) {
92 errs() << "Error: " << ErrMsg << "\n";
156 if (sys::Program::ExecuteAndWait(prog, &args[0], 0, 0, 0, 0, &ErrMsg)) {
157 errs() << "Error: " << ErrMsg << "\n";
169 ErrMsg.clear();
171 if (sys::Program::ExecuteAndWait(gv, &args[0],0,0,0,0,&ErrMsg))
172 errs() << "Error: " << ErrMsg << "\n"
    [all...]
  /external/llvm/include/llvm/Support/
Program.h 79 std::string* ErrMsg = 0 ///< If non-zero, provides a pointer to a string
100 std::string* ErrMsg ///< If non-zero, provides a pointer to a string
110 ( std::string* ErrMsg = 0 ///< If non-zero, provides a pointer to a string
141 std::string* ErrMsg = 0);
150 std::string* ErrMsg = 0);
Memory.h 53 /// a null memory block and fills in *ErrMsg.
58 std::string *ErrMsg = 0);
65 /// in *ErrMsg.
67 static bool ReleaseRWX(MemoryBlock &block, std::string *ErrMsg = 0);
78 static bool setExecutable(MemoryBlock &M, std::string *ErrMsg = 0);
83 static bool setWritable(MemoryBlock &M, std::string *ErrMsg = 0);
Signals.h 30 bool RemoveFileOnSignal(const Path &Filename, std::string* ErrMsg = 0);
IRReader.h 40 std::string ErrMsg;
41 Module *M = getLazyBitcodeModule(Buffer, Context, &ErrMsg);
44 ErrMsg);
81 std::string ErrMsg;
82 Module *M = ParseBitcodeFile(Buffer, Context, &ErrMsg);
85 ErrMsg);
DynamicLibrary.h 59 /// instance on failure (see isValid()). \p *errMsg will only be modified
65 std::string *errMsg = 0);
73 std::string *ErrMsg = 0) {
74 return !getPermanentLibrary(Filename, ErrMsg).isValid();
PathV1.h 109 /// @param ErrMsg Optional place for an error message if an error occurs
112 static Path GetTemporaryDirectory(std::string* ErrMsg = 0);
439 std::string* ErrMsg ///< Optional place to return an error message.
498 bool makeUnique( bool reuse_current /*= true*/, std::string* ErrMsg );
513 bool makeReadableOnDisk(std::string* ErrMsg = 0);
518 bool makeWriteableOnDisk(std::string* ErrMsg = 0);
524 bool makeExecutableOnDisk(std::string* ErrMsg = 0);
547 std::string* ErrMsg = 0 ///< Optional place to put error messages.
558 std::string* ErrMsg = 0 ///< Optional place to put error messages.
573 std::string* ErrMsg = 0 ///< Optional place to put error message
    [all...]
  /frameworks/compile/libbcc/bcinfo/BitReader_2_7/
BitReader_2_7.h 38 std::string *ErrMsg);
42 std::string *ErrMsg);
46 std::string *ErrMsg);
  /external/llvm/lib/Support/Unix/
Unix.h 70 /// This function builds an error message into \p ErrMsg using the \p prefix
78 std::string* ErrMsg, const std::string& prefix, int errnum = -1) {
79 if (!ErrMsg)
83 *ErrMsg = prefix + ": " + llvm::sys::StrError(errnum);
  /external/clang/lib/AST/
InheritViz.cpp 138 std::string ErrMsg;
139 sys::Path Filename = sys::Path::GetTemporaryDirectory(&ErrMsg);
141 llvm::errs() << "Error: " << ErrMsg << "\n";
145 if (Filename.makeUnique(true,&ErrMsg)) {
146 llvm::errs() << "Error: " << ErrMsg << "\n";
152 llvm::raw_fd_ostream O(Filename.c_str(), ErrMsg);
154 if (ErrMsg.empty()) {
  /external/llvm/lib/Archive/
ArchiveWriter.cpp 159 std::string* ErrMsg) {
162 if (ErrMsg)
163 *ErrMsg = "Can not add a non-existent file to archive";
171 const sys::FileStatus *FSInfo = mbr->path.getFileStatus(false, ErrMsg);
208 std::string* ErrMsg
222 if (ErrMsg)
223 *ErrMsg = ec.message();
238 GetBitcodeSymbols(data, fSize, FullMemberName, Context, symbols, ErrMsg);
258 if (ErrMsg)
259 *ErrMsg = "Can't parse bitcode member: " + member.getPath().str(
    [all...]
Archive.cpp 69 bool ArchiveMember::replaceWith(const sys::Path& newFile, std::string* ErrMsg) {
72 if (ErrMsg)
73 *ErrMsg = "Can not replace an archive member with a non-existent file";
123 const sys::FileStatus *FSinfo = path.getFileStatus(false, ErrMsg);
151 Archive::mapToMemory(std::string* ErrMsg) {
154 if (ErrMsg)
155 *ErrMsg = ec.message();
221 std::string* ErrMsg) {
224 if (ErrMsg) *ErrMsg = "Could not open file '" + fName.str() + "'" + ":
    [all...]
ArchiveInternals.h 78 std::string* ErrMsg);
84 std::string* ErrMsg);
  /external/llvm/tools/llvm-ar/
llvm-ar.cpp 278 std::set<sys::Path>& result, std::string* ErrMsg) {
282 if (path.getDirectoryContents(content, ErrMsg))
289 const sys::FileStatus *Status = PwS.getFileStatus(false, ErrMsg);
294 if (recurseDirectories(*I, moreResults, ErrMsg))
308 bool buildPaths(bool checkExistence, std::string* ErrMsg) {
324 if (recurseDirectories(aPath, dirpaths, ErrMsg))
352 bool doPrint(std::string* ErrMsg) {
353 if (buildPaths(false, ErrMsg))
404 doDisplayTable(std::string* ErrMsg) {
405 if (buildPaths(false, ErrMsg))
    [all...]
  /external/llvm/tools/llvm-ld/
llvm-ld.cpp 265 std::string &ErrMsg ) {
282 return sys::Program::ExecuteAndWait(llc, &args[0], 0, 0, 0, 0, &ErrMsg);
289 std::string& ErrMsg) {
304 return sys::Program::ExecuteAndWait(llc, &args[0], 0, 0, 0, 0, &ErrMsg);
329 std::string& ErrMsg) {
403 gcc, &Args[0], const_cast<const char **>(clean_env), 0, 0, 0, &ErrMsg);
417 std::string ErrMsg;
423 if (0 != sys::CopyFile(sys::Path(OutputFilename), llvmstub, &ErrMsg))
424 PrintAndExit(ErrMsg, M);
626 std::string ErrMsg;
    [all...]
  /external/webkit/Source/ThirdParty/ANGLE/src/compiler/preprocessor/
compile.h 85 const char *ErrMsg;
  /external/llvm/include/llvm/Bitcode/
ReaderWriter.h 31 /// in *ErrMsg with an error description if ErrMsg is non-null.
34 std::string *ErrMsg = 0);
39 /// of 'buffer'. On error, this returns "", and fills in *ErrMsg
40 /// if ErrMsg is non-null.
43 std::string *ErrMsg = 0);
46 /// If an error occurs, this returns null and fills in *ErrMsg if it is
49 std::string *ErrMsg = 0);
  /external/llvm/tools/bugpoint/
FindBugs.cpp 33 std::string &ErrMsg) {
83 return debugCodeGeneratorCrash(ErrMsg);
101 debugCodeGeneratorCrash(ErrMsg);
BugDriver.cpp 149 bool BugDriver::run(std::string &ErrMsg) {
153 return runManyPasses(PassesToRun, ErrMsg);
178 return debugCodeGeneratorCrash(ErrMsg);
190 return debugCodeGeneratorCrash(ErrMsg);
207 return debugCodeGeneratorCrash(ErrMsg);
214 return debugCodeGeneratorCrash(ErrMsg);
224 return debugCodeGeneratorCrash(ErrMsg);
OptimizerDriver.cpp 115 std::string ErrMsg;
116 if (uniqueFilename.makeUnique(true, &ErrMsg)) {
118 << ErrMsg << "\n";
125 if (inputFilename.makeUnique(true, &ErrMsg)) {
127 << ErrMsg << "\n";
207 Timeout, MemoryLimit, &ErrMsg);
224 outs() << "Execute failed: " << ErrMsg << "\n";
226 outs() << "Crashed: " << ErrMsg << "\n";
  /external/llvm/lib/Support/Windows/
Windows.h 33 inline bool MakeErrMsg(std::string* ErrMsg, const std::string& prefix) {
34 if (!ErrMsg)
39 *ErrMsg = prefix + buffer;
  /frameworks/compile/slang/BitWriter_2_9/
ReaderWriter_2_9.h 33 /// in *ErrMsg with an error description if ErrMsg is non-null.
36 std::string *ErrMsg = 0);
41 /// of 'buffer'. On error, this returns "", and fills in *ErrMsg
42 /// if ErrMsg is non-null.
45 std::string *ErrMsg = 0);
48 /// If an error occurs, this returns null and fills in *ErrMsg if it is
51 std::string *ErrMsg = 0);
  /external/llvm/lib/Linker/
LinkArchives.cpp 114 std::string ErrMsg;
116 Archive::OpenAndLoadSymbols(Filename, Context, &ErrMsg));
122 "': " + ErrMsg);
145 if (!arch->findModulesDefiningSymbols(UndefinedSymbols, Modules, &ErrMsg))
147 "': " + ErrMsg);

Completed in 708 milliseconds

1 2