Home
last modified time | relevance | path

Searched refs:ErrorMessage (Results 1 – 23 of 23) 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/
DCompilationDatabase.cpp30 std::string &ErrorMessage) { in loadFromDirectory() argument
44 ErrorMessage = ErrorStream.str(); in loadFromDirectory()
50 std::string &ErrorMessage) { in findCompilationDatabaseFromDirectory() argument
68 ErrorMessage = ErrorStream.str(); in findCompilationDatabaseFromDirectory()
74 std::string &ErrorMessage) { in autoDetectFromSource() argument
79 ErrorMessage); in autoDetectFromSource()
82 ErrorMessage = ("Could not auto-detect compilation database for file \"" + in autoDetectFromSource()
83 SourceFile + "\"\n" + ErrorMessage).str(); in autoDetectFromSource()
89 std::string &ErrorMessage) { in autoDetectFromDirectory() argument
93 ErrorMessage); in autoDetectFromDirectory()
[all …]
DJSONCompilationDatabase.cpp124 StringRef Directory, std::string &ErrorMessage) { in loadFromDirectory() argument
128 JSONCompilationDatabase::loadFromFile(JSONDatabasePath, ErrorMessage)); in loadFromDirectory()
146 std::string &ErrorMessage) { in loadFromFile() argument
151 ErrorMessage = "Error while opening JSON database: " + Result.message(); in loadFromFile()
156 if (!Database->parse(ErrorMessage)) in loadFromFile()
163 std::string &ErrorMessage) { in loadFromBuffer() argument
168 if (!Database->parse(ErrorMessage)) in loadFromBuffer()
231 bool JSONCompilationDatabase::parse(std::string &ErrorMessage) { in parse() argument
234 ErrorMessage = "Error while parsing YAML."; in parse()
239 ErrorMessage = "Error while parsing YAML."; in parse()
[all …]
DCommonOptionsParser.cpp68 std::string ErrorMessage; in CommonOptionsParser() local
71 BuildPath, ErrorMessage)); in CommonOptionsParser()
74 SourcePaths[0], ErrorMessage)); in CommonOptionsParser()
77 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/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.cpp125 std::string ErrorMessage; in main() local
129 DataStreamer *streamer = getDataFileStreamer(InputFilename, &ErrorMessage); in main()
137 &ErrorMessage)); in main()
138 if(M.get() != 0 && M->MaterializeAllPermanently(&ErrorMessage)) { in main()
145 if (ErrorMessage.size()) in main()
146 errs() << ErrorMessage << "\n"; in main()
/external/clang/include/clang/Tooling/
DCompilationDatabase.h78 std::string &ErrorMessage);
85 std::string &ErrorMessage);
92 std::string &ErrorMessage);
132 std::string &ErrorMessage) = 0;
DJSONCompilationDatabase.h57 std::string &ErrorMessage);
63 std::string &ErrorMessage);
91 bool parse(std::string &ErrorMessage);
/external/llvm/lib/Target/
DTargetMachineC.cpp153 char* Filename, LLVMCodeGenFileType codegen, char** ErrorMessage) { in LLVMTargetMachineEmitToFile() argument
165 *ErrorMessage = strdup(error.c_str()); in LLVMTargetMachineEmitToFile()
182 *ErrorMessage = strdup(error.c_str()); in LLVMTargetMachineEmitToFile()
188 *ErrorMessage = strdup(error.c_str()); in LLVMTargetMachineEmitToFile()
/external/llvm/tools/llvm-link/
Dllvm-link.cpp86 std::string ErrorMessage; in main() local
107 &ErrorMessage)) { in main()
109 << "': " << ErrorMessage << "\n"; in main()
/external/llvm/lib/Archive/
DArchiveReader.cpp331 std::string* ErrorMessage) { in OpenAndLoad() argument
333 if (result->mapToMemory(ErrorMessage)) in OpenAndLoad()
335 if (!result->loadArchive(ErrorMessage)) in OpenAndLoad()
446 std::string* ErrorMessage) { in OpenAndLoadSymbols() argument
448 if (result->mapToMemory(ErrorMessage)) in OpenAndLoadSymbols()
450 if (!result->loadSymbolTable(ErrorMessage)) in OpenAndLoadSymbols()
611 std::string ErrorMessage; in isBitcodeArchive() local
/external/doclava/src/com/google/doclava/apicheck/
DApiCheck.java30 import com.google.doclava.Errors.ErrorMessage;
203 private Set<ErrorMessage> errors;
205 private Report(int code, Set<ErrorMessage> errors) { in Report()
214 public Set<ErrorMessage> errors() { in errors()
/external/llvm/tools/bugpoint/
DBugDriver.cpp129 std::string ErrorMessage; in addSources() local
131 &ErrorMessage)) { in addSources()
133 << ErrorMessage << '\n'; in addSources()
/external/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/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-nm/
Dllvm-nm.cpp347 std::string ErrorMessage; in DumpSymbolNamesFromFile() local
350 Result = ParseBitcodeFile(Buffer.get(), Context, &ErrorMessage); in DumpSymbolNamesFromFile()
355 error(ErrorMessage, Filename); in DumpSymbolNamesFromFile()
392 Result = ParseBitcodeFile(buff.get(), Context, &ErrorMessage); in DumpSymbolNamesFromFile()
/external/llvm/include/llvm/Bitcode/
DArchive.h287 std::string* ErrorMessage ///< An optional error string
308 std::string* ErrorMessage=0 ///< An optional error string
/external/llvm/include/llvm-c/
DTargetMachine.h115 char *Filename, LLVMCodeGenFileType codegen, char **ErrorMessage);
DCore.h493 char **ErrorMessage);
/external/llvm/lib/IR/
DCore.cpp126 char **ErrorMessage) { in LLVMPrintModuleToFile() argument
130 *ErrorMessage = strdup(error.c_str()); in LLVMPrintModuleToFile()
137 *ErrorMessage = strdup(error.c_str()); in LLVMPrintModuleToFile()