Home
last modified time | relevance | path

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

123

/external/clang/unittests/Tooling/
DCompilationDatabaseTest.cpp24 std::string ErrorMessage; in expectFailure() local
26 ErrorMessage)) in expectFailure()
50 std::string &ErrorMessage) { in getAllFiles() argument
52 JSONCompilationDatabase::loadFromBuffer(JSONDatabase, ErrorMessage)); in getAllFiles()
54 ADD_FAILURE() << ErrorMessage; in getAllFiles()
61 std::string &ErrorMessage) { in getAllCompileCommands() argument
63 JSONCompilationDatabase::loadFromBuffer(JSONDatabase, ErrorMessage)); in getAllCompileCommands()
65 ADD_FAILURE() << ErrorMessage; in getAllCompileCommands()
72 std::string ErrorMessage; in TEST() local
74 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()
239 bool JSONCompilationDatabase::parse(std::string &ErrorMessage) { in parse() argument
242 ErrorMessage = "Error while parsing YAML."; in parse()
247 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.cpp128 std::string ErrorMessage; in CommonOptionsParser() local
131 CompilationDatabase::autoDetectFromDirectory(BuildPath, ErrorMessage); in CommonOptionsParser()
134 ErrorMessage); in CommonOptionsParser()
138 << ErrorMessage << "Running without flags.\n"; in CommonOptionsParser()
/external/llvm/lib/Target/
DTargetMachineC.cpp69 char **ErrorMessage) { in LLVMGetTargetFromTriple() argument
75 if (ErrorMessage) in LLVMGetTargetFromTriple()
76 *ErrorMessage = strdup(Error.c_str()); in LLVMGetTargetFromTriple()
180 char **ErrorMessage) { in LLVMTargetMachineEmit() argument
201 *ErrorMessage = strdup(error.c_str()); in LLVMTargetMachineEmit()
212 char* Filename, LLVMCodeGenFileType codegen, char** ErrorMessage) { in LLVMTargetMachineEmitToFile() argument
216 *ErrorMessage = strdup(EC.message().c_str()); in LLVMTargetMachineEmitToFile()
219 bool Result = LLVMTargetMachineEmit(T, M, dest, codegen, ErrorMessage); in LLVMTargetMachineEmitToFile()
225 LLVMModuleRef M, LLVMCodeGenFileType codegen, char** ErrorMessage, in LLVMTargetMachineEmitToMemoryBuffer() argument
229 bool Result = LLVMTargetMachineEmit(T, M, OStream, codegen, ErrorMessage); in LLVMTargetMachineEmitToMemoryBuffer()
/external/doclava/src/com/google/doclava/
DErrors.java28 private static TreeSet<ErrorMessage> allErrors = new TreeSet<ErrorMessage>();
30 public static class ErrorMessage implements Comparable<ErrorMessage> { class in Errors
36 ErrorMessage(int r, Error e, SourcePositionInfo p, String m) { in ErrorMessage() method in Errors.ErrorMessage
44 public int compareTo(ErrorMessage other) { in compareTo()
121 allErrors.add(new ErrorMessage(resolvedLevel, error, where, text)); in error()
137 public static void printErrors(Set<ErrorMessage> errors) { in printErrors()
138 for (ErrorMessage m : errors) { in printErrors()
144 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/lzma/CPP/Common/
DCommandLineParser.cpp108 ErrorMessage = "Unknown switch:"; in ParseString()
119 ErrorMessage = "Multiple instances for switch:"; in ParseString()
128 ErrorMessage = "Too short switch:"; in ParseString()
143 ErrorMessage = "Incorrect switch postfix:"; in ParseString()
158 ErrorMessage = "Incorrect switch postfix:"; in ParseString()
170 ErrorMessage = "Too long switch:"; in ParseString()
/external/lzma/CPP/7zip/Bundles/SFXSetup/
DExtractEngine.cpp35 UString ErrorMessage; member
42 ErrorMessage = kCantFindArchive; in Process2()
58 ErrorMessage = kCantOpenArchive; in Process2()
67 ErrorMessage = MyFormatNew(IDS_CANNOT_CREATE_FOLDER, in Process2()
132 errorMessage = t.ErrorMessage; in ExtractArchive()
/external/swiftshader/third_party/LLVM/tools/llvm-dis/
Dllvm-dis.cpp126 std::string ErrorMessage; in main() local
132 ErrorMessage = ec.message(); in main()
134 M.reset(ParseBitcodeFile(BufferPtr.get(), Context, &ErrorMessage)); in main()
139 if (ErrorMessage.size()) in main()
140 errs() << ErrorMessage << "\n"; in main()
/external/clang/include/clang/Tooling/
DCompilationDatabase.h94 loadFromDirectory(StringRef BuildDirectory, std::string &ErrorMessage);
101 autoDetectFromSource(StringRef SourceFile, std::string &ErrorMessage);
108 autoDetectFromDirectory(StringRef SourceDir, std::string &ErrorMessage);
152 loadFromDirectory(StringRef Directory, std::string &ErrorMessage) = 0;
DJSONCompilationDatabase.h65 loadFromFile(StringRef FilePath, std::string &ErrorMessage);
71 loadFromBuffer(StringRef DatabaseString, std::string &ErrorMessage);
100 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/bindings/ocaml/target/
Dtarget_ocaml.c314 char *ErrorMessage; in llvm_targetmachine_emit_to_file() local
318 &ErrorMessage)) { in llvm_targetmachine_emit_to_file()
319 llvm_raise(*caml_named_value("Llvm_target.Error"), ErrorMessage); in llvm_targetmachine_emit_to_file()
330 char *ErrorMessage; in llvm_targetmachine_emit_to_memory_buffer() local
334 Int_val(FileType), &ErrorMessage, in llvm_targetmachine_emit_to_memory_buffer()
336 llvm_raise(*caml_named_value("Llvm_target.Error"), ErrorMessage); in llvm_targetmachine_emit_to_memory_buffer()
/external/swiftshader/third_party/LLVM/tools/llvm-link/
Dllvm-link.cpp86 std::string ErrorMessage; in main() local
107 &ErrorMessage)) { in main()
109 << "': " << ErrorMessage << "\n"; in main()
/external/swiftshader/third_party/LLVM/lib/Archive/
DArchiveReader.cpp332 std::string* ErrorMessage) { in OpenAndLoad() argument
334 if (result->mapToMemory(ErrorMessage)) in OpenAndLoad()
336 if (!result->loadArchive(ErrorMessage)) in OpenAndLoad()
447 std::string* ErrorMessage) { in OpenAndLoadSymbols() argument
449 if (result->mapToMemory(ErrorMessage)) in OpenAndLoadSymbols()
451 if (!result->loadSymbolTable(ErrorMessage)) in OpenAndLoadSymbols()
607 std::string ErrorMessage; in isBitcodeArchive() local
/external/swiftshader/third_party/LLVM/tools/bugpoint/
DBugDriver.cpp129 std::string ErrorMessage; in addSources() local
131 &ErrorMessage)) { in addSources()
133 << ErrorMessage << '\n'; in addSources()
/external/swiftshader/third_party/LLVM/tools/llvm-prof/
Dllvm-prof.cpp266 std::string ErrorMessage; in main() local
271 M = ParseBitcodeFile(Buffer.get(), Context, &ErrorMessage); in main()
273 ErrorMessage = ec.message(); in main()
276 << ErrorMessage << "\n"; in main()
/external/swiftshader/third_party/LLVM/tools/llvm-nm/
Dllvm-nm.cpp301 std::string ErrorMessage; in DumpSymbolNamesFromFile() local
310 ErrorMessage = ec.message(); in DumpSymbolNamesFromFile()
313 Result = ParseBitcodeFile(Buffer.get(), Context, &ErrorMessage); in DumpSymbolNamesFromFile()
319 errs() << ToolName << ": " << Filename << ": " << ErrorMessage << "\n"; in DumpSymbolNamesFromFile()
336 Result = ParseBitcodeFile(buff.get(), Context, &ErrorMessage); in DumpSymbolNamesFromFile()
/external/doclava/src/com/google/doclava/apicheck/
DApiCheck.java33 import com.google.doclava.Errors.ErrorMessage;
240 private Set<ErrorMessage> errors;
242 private Report(int code, Set<ErrorMessage> errors) { in Report()
251 public Set<ErrorMessage> errors() { in errors()
/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/llvm/tools/llvm-dis/
Dllvm-dis.cpp155 std::string ErrorMessage; in openInputFile() local
157 getDataFileStreamer(InputFilename, &ErrorMessage); in openInputFile()
159 return make_error<StringError>(ErrorMessage, inconvertibleErrorCode()); in openInputFile()
/external/lzma/CPP/7zip/UI/FileManager/
DProgressDialog2.h26 CProgressMessageBoxPair ErrorMessage; member
29 …bool ThereIsMessage() const { return !ErrorMessage.Message.IsEmpty() || !OkMessage.Message.IsEmpty… in ThereIsMessage()
307 …BoxPair &GetMessagePair(bool isError) { return isError ? FinalMessage.ErrorMessage : FinalMessage.… in GetMessagePair()

123