/external/clang/unittests/Tooling/ |
D | CompilationDatabaseTest.cpp | 24 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/ |
D | CompilationDatabase.cpp | 30 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 …]
|
D | JSONCompilationDatabase.cpp | 124 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 …]
|
D | CommonOptionsParser.cpp | 68 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/ |
D | Errors.java | 25 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/ |
D | UnorderedBehavior.java | 78 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()
|
D | MocksBehavior.java | 133 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()
|
D | ErrorMessage.java | 18 public class ErrorMessage { class 26 public ErrorMessage(boolean matching, String message, int actualCount) { in ErrorMessage() method in ErrorMessage
|
/external/llvm/tools/llvm-dis/ |
D | llvm-dis.cpp | 125 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/ |
D | CompilationDatabase.h | 78 std::string &ErrorMessage); 85 std::string &ErrorMessage); 92 std::string &ErrorMessage); 132 std::string &ErrorMessage) = 0;
|
D | JSONCompilationDatabase.h | 57 std::string &ErrorMessage); 63 std::string &ErrorMessage); 91 bool parse(std::string &ErrorMessage);
|
/external/llvm/lib/Target/ |
D | TargetMachineC.cpp | 153 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/ |
D | llvm-link.cpp | 86 std::string ErrorMessage; in main() local 107 &ErrorMessage)) { in main() 109 << "': " << ErrorMessage << "\n"; in main()
|
/external/llvm/lib/Archive/ |
D | ArchiveReader.cpp | 331 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/ |
D | ApiCheck.java | 30 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/ |
D | BugDriver.cpp | 129 std::string ErrorMessage; in addSources() local 131 &ErrorMessage)) { in addSources() 133 << ErrorMessage << '\n'; in addSources()
|
/external/llvm/tools/llvm-prof/ |
D | llvm-prof.cpp | 266 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/ |
D | ApiCheckTest.java | 21 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/ |
D | llvm-nm.cpp | 347 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/ |
D | Archive.h | 287 std::string* ErrorMessage ///< An optional error string 308 std::string* ErrorMessage=0 ///< An optional error string
|
/external/llvm/include/llvm-c/ |
D | TargetMachine.h | 115 char *Filename, LLVMCodeGenFileType codegen, char **ErrorMessage);
|
D | Core.h | 493 char **ErrorMessage);
|
/external/llvm/lib/IR/ |
D | Core.cpp | 126 char **ErrorMessage) { in LLVMPrintModuleToFile() argument 130 *ErrorMessage = strdup(error.c_str()); in LLVMPrintModuleToFile() 137 *ErrorMessage = strdup(error.c_str()); in LLVMPrintModuleToFile()
|