Home
last modified time | relevance | path

Searched refs:ErrorMessage (Results 1 – 25 of 31) sorted by relevance

12

/external/clang/unittests/Tooling/
DCompilationDatabaseTest.cpp24 std::string ErrorMessage; in expectFailure() local
26 ErrorMessage)) in expectFailure()
44 std::string &ErrorMessage) { in getAllFiles() argument
46 JSONCompilationDatabase::loadFromBuffer(JSONDatabase, ErrorMessage)); in getAllFiles()
48 ADD_FAILURE() << ErrorMessage; in getAllFiles()
55 std::string &ErrorMessage) { in getAllCompileCommands() argument
57 JSONCompilationDatabase::loadFromBuffer(JSONDatabase, ErrorMessage)); in getAllCompileCommands()
59 ADD_FAILURE() << ErrorMessage; in getAllCompileCommands()
66 std::string ErrorMessage; in TEST() local
68 getAllFiles("[]", ErrorMessage)) << ErrorMessage; in TEST()
[all …]
/external/clang/lib/Tooling/
DJSONCompilationDatabase.cpp122 std::string &ErrorMessage) override { in loadFromDirectory() argument
126 JSONCompilationDatabase::loadFromFile(JSONDatabasePath, ErrorMessage)); in loadFromDirectory()
146 std::string &ErrorMessage) { in loadFromFile() argument
150 ErrorMessage = "Error while opening JSON database: " + Result.message(); in loadFromFile()
155 if (!Database->parse(ErrorMessage)) in loadFromFile()
162 std::string &ErrorMessage) { in loadFromBuffer() argument
167 if (!Database->parse(ErrorMessage)) in loadFromBuffer()
230 bool JSONCompilationDatabase::parse(std::string &ErrorMessage) { in parse() argument
233 ErrorMessage = "Error while parsing YAML."; in parse()
238 ErrorMessage = "Error while parsing YAML."; in parse()
[all …]
DCompilationDatabase.cpp40 std::string &ErrorMessage) { in loadFromDirectory() argument
54 ErrorMessage = ErrorStream.str(); in loadFromDirectory()
60 std::string &ErrorMessage) { in findCompilationDatabaseFromDirectory() argument
78 ErrorMessage = ErrorStream.str(); in findCompilationDatabaseFromDirectory()
84 std::string &ErrorMessage) { in autoDetectFromSource() argument
89 ErrorMessage); in autoDetectFromSource()
92 ErrorMessage = ("Could not auto-detect compilation database for file \"" + in autoDetectFromSource()
93 SourceFile + "\"\n" + ErrorMessage).str(); in autoDetectFromSource()
99 std::string &ErrorMessage) { in autoDetectFromDirectory() argument
103 ErrorMessage); in autoDetectFromDirectory()
[all …]
DCommonOptionsParser.cpp83 std::string ErrorMessage; in CommonOptionsParser() local
86 BuildPath, ErrorMessage)); in CommonOptionsParser()
89 SourcePaths[0], ErrorMessage)); in CommonOptionsParser()
92 llvm::report_fatal_error(ErrorMessage); in CommonOptionsParser()
/external/llvm/lib/Target/
DTargetMachineC.cpp71 char **ErrorMessage) { in LLVMGetTargetFromTriple() argument
77 if (ErrorMessage) in LLVMGetTargetFromTriple()
78 *ErrorMessage = strdup(Error.c_str()); in LLVMGetTargetFromTriple()
184 formatted_raw_ostream &OS, LLVMCodeGenFileType codegen, char **ErrorMessage) { in LLVMTargetMachineEmit() argument
196 *ErrorMessage = strdup(error.c_str()); in LLVMTargetMachineEmit()
213 *ErrorMessage = strdup(error.c_str()); in LLVMTargetMachineEmit()
224 char* Filename, LLVMCodeGenFileType codegen, char** ErrorMessage) { in LLVMTargetMachineEmitToFile() argument
228 *ErrorMessage = strdup(error.c_str()); in LLVMTargetMachineEmitToFile()
232 bool Result = LLVMTargetMachineEmit(T, M, destf, codegen, ErrorMessage); in LLVMTargetMachineEmitToFile()
238 LLVMModuleRef M, LLVMCodeGenFileType codegen, char** ErrorMessage, in LLVMTargetMachineEmitToMemoryBuffer() argument
[all …]
/external/doclava/src/com/google/doclava/
DErrors.java25 private static TreeSet<ErrorMessage> allErrors = new TreeSet<ErrorMessage>();
27 public static class ErrorMessage implements Comparable { class in Errors
32 ErrorMessage(Error e, SourcePositionInfo p, String m) { in ErrorMessage() method in Errors.ErrorMessage
39 ErrorMessage that = (ErrorMessage) o; in compareTo()
69 allErrors.add(new ErrorMessage(error, where, message)); in error()
85 public static void printErrors(Set<ErrorMessage> errors) { in printErrors()
86 for (ErrorMessage m : errors) { in printErrors()
91 for (ErrorMessage m : errors) { in printErrors()
98 public static Set<ErrorMessage> getErrors() { in getErrors()
/external/easymock/src/org/easymock/internal/
DUnorderedBehavior.java78 public List<ErrorMessage> getMessages(Invocation invocation) { in getMessages()
79 List<ErrorMessage> messages = new ArrayList<ErrorMessage>(results in getMessages()
91 ErrorMessage message = new ErrorMessage(match, entry.toString(), in getMessages()
DMocksBehavior.java133 List<ErrorMessage> messages = new ArrayList<ErrorMessage>(); in addActual()
139 List<ErrorMessage> thisListMessages = behaviorLists.get(i) in addActual()
142 for (ErrorMessage m : thisListMessages) { in addActual()
156 for (ErrorMessage m : messages) { in addActual()
184 for (ErrorMessage m : behaviorList.getMessages(null)) { in verify()
DErrorMessage.java18 public class ErrorMessage { class
26 public ErrorMessage(boolean matching, String message, int actualCount) { in ErrorMessage() method in ErrorMessage
/external/llvm/tools/llvm-dis/
Dllvm-dis.cpp126 std::string ErrorMessage; in main() local
130 DataStreamer *streamer = getDataFileStreamer(InputFilename, &ErrorMessage); in main()
138 &ErrorMessage)); in main()
141 ErrorMessage = EC.message(); in main()
149 if (ErrorMessage.size()) in main()
150 errs() << ErrorMessage << "\n"; in main()
/external/clang/include/clang/Tooling/
DCompilationDatabase.h88 std::string &ErrorMessage);
95 std::string &ErrorMessage);
102 std::string &ErrorMessage);
146 std::string &ErrorMessage) = 0;
DJSONCompilationDatabase.h57 std::string &ErrorMessage);
63 std::string &ErrorMessage);
91 bool parse(std::string &ErrorMessage);
/external/llvm/include/llvm-c/
DTargetMachine.h73 char **ErrorMessage);
129 char *Filename, LLVMCodeGenFileType codegen, char **ErrorMessage);
133 LLVMCodeGenFileType codegen, char** ErrorMessage, LLVMMemoryBufferRef *OutMemBuf);
/external/llvm/tools/llvm-link/
Dllvm-link.cpp84 std::string ErrorMessage; in main() local
104 if (L.linkInModule(M.get(), &ErrorMessage)) { in main()
106 << "': " << ErrorMessage << "\n"; in main()
/external/llvm/bindings/ocaml/target/
Dtarget_ocaml.c364 char* ErrorMessage; in llvm_targetmachine_emit_to_file() local
368 &ErrorMessage)) { in llvm_targetmachine_emit_to_file()
369 llvm_raise(llvm_target_error_exn, ErrorMessage); in llvm_targetmachine_emit_to_file()
380 char* ErrorMessage; in llvm_targetmachine_emit_to_memory_buffer() local
384 Int_val(FileType), &ErrorMessage, in llvm_targetmachine_emit_to_memory_buffer()
386 llvm_raise(llvm_target_error_exn, ErrorMessage); in llvm_targetmachine_emit_to_memory_buffer()
/external/doclava/src/com/google/doclava/apicheck/
DApiCheck.java30 import com.google.doclava.Errors.ErrorMessage;
213 private Set<ErrorMessage> errors;
215 private Report(int code, Set<ErrorMessage> errors) { in Report()
224 public Set<ErrorMessage> errors() { in errors()
/external/llvm/tools/bugpoint/
DBugDriver.cpp133 std::string ErrorMessage; in addSources() local
135 &ErrorMessage)) { in addSources()
137 << ErrorMessage << '\n'; in addSources()
/external/doclava/test/doclava/
DApiCheckTest.java21 import com.google.doclava.Errors.ErrorMessage;
61 Iterator<ErrorMessage> errors = report.errors().iterator(); in testMethodParameterChanged()
62 ErrorMessage m1 = errors.next(); in testMethodParameterChanged()
63 ErrorMessage m2 = errors.next(); in testMethodParameterChanged()
74 Iterator<ErrorMessage> errors = report.errors().iterator(); in testConstructorParameterChanged()
75 ErrorMessage m1 = errors.next(); in testConstructorParameterChanged()
76 ErrorMessage m2 = errors.next(); in testConstructorParameterChanged()
/external/chromium_org/tools/idl_parser/
Didl_lexer.py183 out = self.ErrorMessage(line, pos, msg)
211 def ErrorMessage(self, line, pos, msg): member in IDLLexer
/external/chromium-libpac/src/
Dproxy_resolver_v8.h26 virtual void ErrorMessage(android::String16 error) = 0;
Dproxy_resolver_v8.cc378 error_listener_->ErrorMessage( in ResolveProxy()
392 error_listener_->ErrorMessage( in ResolveProxy()
398 error_listener_->ErrorMessage( in ResolveProxy()
410 error_listener_->ErrorMessage( in ResolveProxy()
518 error_listener_->ErrorMessage(V8StringToUTF16(message->Get())); in HandleError()
/external/chromium_org/ppapi/generators/
Didl_lexer.py176 out = self.ErrorMessage(file, line, pos, msg)
200 def ErrorMessage(self, file, line, pos, msg): member in IDLLexer
/external/lzma/CPP/7zip/UI/Common/
DOpenArchive.h27 UString ErrorMessage; member
DOpenArchive.cpp114 ErrorMessage.Empty(); in OpenStream()
307 ErrorMessage = (prop.vt == VT_BSTR) ? prop.bstrVal : L"Unknown error"; in OpenStream()
/external/lzma/CPP/7zip/UI/Console/
DList.cpp509 if (!arc.ErrorMessage.IsEmpty()) in ListArchives()
510 PrintPropPair(L"Error", arc.ErrorMessage); in ListArchives()

12