Home
last modified time | relevance | path

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

/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 loadFromDirectory(StringRef Directory, 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.cpp39 std::string &ErrorMessage) { in loadFromDirectory() argument
52 ErrorMessage = ErrorStream.str(); in loadFromDirectory()
58 std::string &ErrorMessage) { in findCompilationDatabaseFromDirectory() argument
76 ErrorMessage = ErrorStream.str(); in findCompilationDatabaseFromDirectory()
82 std::string &ErrorMessage) { in autoDetectFromSource() argument
87 findCompilationDatabaseFromDirectory(Directory, ErrorMessage); in autoDetectFromSource()
90 ErrorMessage = ("Could not auto-detect compilation database for file \"" + in autoDetectFromSource()
91 SourceFile + "\"\n" + ErrorMessage).str(); in autoDetectFromSource()
97 std::string &ErrorMessage) { in autoDetectFromDirectory() argument
101 findCompilationDatabaseFromDirectory(AbsolutePath, ErrorMessage); in autoDetectFromDirectory()
[all …]
DCommonOptionsParser.cpp124 std::string ErrorMessage; in CommonOptionsParser() local
127 CompilationDatabase::autoDetectFromDirectory(BuildPath, ErrorMessage); in CommonOptionsParser()
130 ErrorMessage); in CommonOptionsParser()
133 llvm::report_fatal_error(ErrorMessage); in CommonOptionsParser()
/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/llvm/lib/Target/
DTargetMachineC.cpp73 char **ErrorMessage) { in LLVMGetTargetFromTriple() argument
79 if (ErrorMessage) in LLVMGetTargetFromTriple()
80 *ErrorMessage = strdup(Error.c_str()); in LLVMGetTargetFromTriple()
188 char **ErrorMessage) { in LLVMTargetMachineEmit() argument
200 *ErrorMessage = strdup(error.c_str()); in LLVMTargetMachineEmit()
216 *ErrorMessage = strdup(error.c_str()); in LLVMTargetMachineEmit()
227 char* Filename, LLVMCodeGenFileType codegen, char** ErrorMessage) { in LLVMTargetMachineEmitToFile() argument
231 *ErrorMessage = strdup(EC.message().c_str()); in LLVMTargetMachineEmitToFile()
234 bool Result = LLVMTargetMachineEmit(T, M, dest, codegen, ErrorMessage); in LLVMTargetMachineEmitToFile()
240 LLVMModuleRef M, LLVMCodeGenFileType codegen, char** ErrorMessage, in LLVMTargetMachineEmitToMemoryBuffer() argument
[all …]
/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/clang/include/clang/Tooling/
DCompilationDatabase.h88 loadFromDirectory(StringRef BuildDirectory, std::string &ErrorMessage);
95 autoDetectFromSource(StringRef SourceFile, std::string &ErrorMessage);
102 autoDetectFromDirectory(StringRef SourceDir, std::string &ErrorMessage);
146 loadFromDirectory(StringRef Directory, std::string &ErrorMessage) = 0;
DJSONCompilationDatabase.h57 loadFromFile(StringRef FilePath, std::string &ErrorMessage);
63 loadFromBuffer(StringRef DatabaseString, std::string &ErrorMessage);
92 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);
DCore.h619 char **ErrorMessage);
/external/llvm/bindings/ocaml/target/
Dtarget_ocaml.c333 char *ErrorMessage; in llvm_targetmachine_emit_to_file() local
337 &ErrorMessage)) { in llvm_targetmachine_emit_to_file()
338 llvm_raise(*caml_named_value("Llvm_target.Error"), ErrorMessage); in llvm_targetmachine_emit_to_file()
349 char *ErrorMessage; in llvm_targetmachine_emit_to_memory_buffer() local
353 Int_val(FileType), &ErrorMessage, in llvm_targetmachine_emit_to_memory_buffer()
355 llvm_raise(*caml_named_value("Llvm_target.Error"), ErrorMessage); in llvm_targetmachine_emit_to_memory_buffer()
/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/doclava/src/com/google/doclava/apicheck/
DApiCheck.java33 import com.google.doclava.Errors.ErrorMessage;
231 private Set<ErrorMessage> errors;
233 private Report(int code, Set<ErrorMessage> errors) { in Report()
242 public Set<ErrorMessage> errors() { in errors()
/external/llvm/tools/llvm-dis/
Dllvm-dis.cpp148 std::string ErrorMessage; in main() local
152 DataStreamer *Streamer = getDataFileStreamer(InputFilename, &ErrorMessage); in main()
/external/chromium-libpac/src/
Dproxy_resolver_v8.cc374 error_listener_->ErrorMessage( in ResolveProxy()
388 error_listener_->ErrorMessage( in ResolveProxy()
394 error_listener_->ErrorMessage( in ResolveProxy()
406 error_listener_->ErrorMessage( in ResolveProxy()
514 error_listener_->ErrorMessage(V8StringToUTF16(message->Get())); in HandleError()
Dproxy_resolver_v8.h27 virtual void ErrorMessage(android::String16 error) = 0;
/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()
DExtract.cpp233 const UString &s = archiveLink.Arcs[v].ErrorMessage; in DecompressArchives()
/external/lzma/CPP/7zip/UI/Console/
DList.cpp509 if (!arc.ErrorMessage.IsEmpty()) in ListArchives()
510 PrintPropPair(L"Error", arc.ErrorMessage); in ListArchives()
/external/chromium-libpac/test/
Dproxy_resolver_v8_unittest.cc60 virtual void ErrorMessage(const String16 message) { in ErrorMessage() function in net::__anond321a61e0111::MockJSBindings
/external/llvm/lib/IR/
DCore.cpp185 char **ErrorMessage) { in LLVMPrintModuleToFile() argument
189 *ErrorMessage = strdup(EC.message().c_str()); in LLVMPrintModuleToFile()
198 *ErrorMessage = strdup("Error printing to file"); in LLVMPrintModuleToFile()