/external/llvm/bindings/go/llvm/ |
SupportBindings.h | 22 // stable C API and adds an extra ErrMsg parameter to retrieve the error 24 void LLVMLoadLibraryPermanently2(const char *Filename, char **ErrMsg);
|
SupportBindings.cpp | 19 void LLVMLoadLibraryPermanently2(const char *Filename, char **ErrMsg) { 22 *ErrMsg = static_cast<char *>(malloc(ErrMsgStr.size() + 1)); 23 memcpy(static_cast<void *>(*ErrMsg),
|
/external/llvm/tools/obj2yaml/ |
Error.h | 36 Obj2YamlError(std::string ErrMsg) : ErrMsg(std::move(ErrMsg)) {} 37 Obj2YamlError(obj2yaml_error C, std::string ErrMsg) 38 : ErrMsg(std::move(ErrMsg)), Code(C) {} 40 const std::string &getErrorMessage() const { return ErrMsg; } 44 std::string ErrMsg;
|
/external/swiftshader/third_party/LLVM/utils/not/ |
not.cpp | 18 std::string ErrMsg; 20 &ErrMsg); 22 errs() << "Error: " << ErrMsg << "\n";
|
/external/swiftshader/third_party/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);
|
/external/swiftshader/third_party/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); 43 Err = SMDiagnostic(Buffer->getBufferIdentifier(), ErrMsg); 80 std::string ErrMsg; 81 Module *M = ParseBitcodeFile(Buffer, Context, &ErrMsg); 83 Err = SMDiagnostic(Buffer->getBufferIdentifier(), 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();
|
/external/llvm/lib/Support/Unix/ |
Unix.h | 51 /// This function builds an error message into \p ErrMsg using the \p prefix 59 std::string* ErrMsg, const std::string& prefix, int errnum = -1) { 60 if (!ErrMsg) 64 *ErrMsg = prefix + ": " + llvm::sys::StrError(errnum);
|
/external/llvm/utils/not/ |
not.cpp | 42 std::string ErrMsg; 44 &ErrMsg); 54 errs() << "Error: " << ErrMsg << "\n";
|
/external/spirv-llvm/lib/SPIRV/libSPIRV/ |
SPIRVError.h | 51 #define SPIRVCK(Condition,ErrCode,ErrMsg) \ 52 getErrorLog().checkError(Condition, SPIRVEC_##ErrCode, std::string()+ErrMsg,\ 56 #define SPIRVCKRT(Condition,ErrCode,ErrMsg) \ 58 std::string()+ErrMsg, #Condition, __FILE__, __LINE__))\ 81 SPIRVErrorCode getError(std::string& ErrMsg) { 82 ErrMsg = ErrorMsg; 85 void setError(SPIRVErrorCode ErrCode, const std::string& ErrMsg) { 87 ErrorMsg = ErrMsg;
|
/external/llvm/lib/Support/ |
Program.cpp | 28 unsigned memoryLimit, std::string *ErrMsg); 32 unsigned memoryLimit, std::string *ErrMsg, 35 if (Execute(PI, Program, args, envp, redirects, memoryLimit, ErrMsg)) { 39 PI, secondsToWait, /*WaitUntilTerminates=*/secondsToWait == 0, ErrMsg); 51 unsigned memoryLimit, std::string *ErrMsg, 56 if (!Execute(PI, Program, args, envp, redirects, memoryLimit, ErrMsg))
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
Program.cpp | 28 unsigned memoryLimit, std::string *ErrMsg); 32 unsigned memoryLimit, std::string *ErrMsg, 35 if (Execute(PI, Program, args, envp, redirects, memoryLimit, ErrMsg)) { 39 PI, secondsToWait, /*WaitUntilTerminates=*/secondsToWait == 0, ErrMsg); 51 unsigned memoryLimit, std::string *ErrMsg, 56 if (!Execute(PI, Program, args, envp, redirects, memoryLimit, ErrMsg))
|
/external/llvm/lib/DebugInfo/CodeView/ |
CodeViewError.cpp | 53 ErrMsg = "CodeView Error: "; 56 ErrMsg += EC.message() + " "; 58 ErrMsg += Context; 61 void CodeViewError::log(raw_ostream &OS) const { OS << ErrMsg << "\n"; } 63 const std::string &CodeViewError::getErrorMessage() const { return ErrMsg; }
|
/external/llvm/lib/DebugInfo/PDB/DIA/ |
DIAError.cpp | 45 ErrMsg = "DIA Error: "; 48 ErrMsg += EC.message() + " "; 50 ErrMsg += Context; 53 void DIAError::log(raw_ostream &OS) const { OS << ErrMsg << "\n"; } 55 const std::string &DIAError::getErrorMessage() const { return ErrMsg; }
|
/external/llvm/lib/DebugInfo/PDB/ |
GenericError.cpp | 53 ErrMsg = "PDB Error: "; 56 ErrMsg += EC.message() + " "; 58 ErrMsg += Context; 61 void GenericError::log(raw_ostream &OS) const { OS << ErrMsg << "\n"; } 63 const std::string &GenericError::getErrorMessage() const { return ErrMsg; }
|
/external/llvm/lib/DebugInfo/PDB/Raw/ |
RawError.cpp | 53 ErrMsg = "Native PDB Error: "; 56 ErrMsg += EC.message() + " "; 58 ErrMsg += Context; 61 void RawError::log(raw_ostream &OS) const { OS << ErrMsg << "\n"; } 63 const std::string &RawError::getErrorMessage() const { return ErrMsg; }
|
/external/swiftshader/third_party/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/llvm/include/llvm/Support/ |
DynamicLibrary.h | 63 /// instance on failure (see isValid()). \p *errMsg will only be modified 69 std::string *errMsg = nullptr); 77 std::string *ErrMsg = nullptr) { 78 return !getPermanentLibrary(Filename, ErrMsg).isValid();
|
Signals.h | 33 bool RemoveFileOnSignal(StringRef Filename, std::string* ErrMsg = nullptr);
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
Signals.h | 33 bool RemoveFileOnSignal(StringRef Filename, std::string* ErrMsg = nullptr);
|
/frameworks/rs/rsov/compiler/ |
RSSPIRVWriter.h | 36 llvm::raw_ostream &OS, std::string &ErrMsg);
|
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Support/ |
Signals.h | 33 bool RemoveFileOnSignal(StringRef Filename, std::string* ErrMsg = nullptr);
|