Home
last modified time | relevance | path

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

1234

/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/rust/crates/syn/src/
Derror.rs86 messages: Vec<ErrorMessage>,
89 struct ErrorMessage { struct
141 messages: vec![ErrorMessage { in new()
172 messages: vec![ErrorMessage { in new_spanned()
208 .map(ErrorMessage::to_compile_error) in to_compile_error()
255 impl ErrorMessage { implementation
303 messages: vec![ErrorMessage { in new2()
328 impl Debug for ErrorMessage { implementation
348 impl Clone for ErrorMessage { implementation
356 ErrorMessage { in clone()
[all …]
/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/swiftshader/third_party/llvm-10.0/llvm/lib/Target/
DTargetMachineC.cpp67 char **ErrorMessage) { in LLVMGetTargetFromTriple() argument
73 if (ErrorMessage) in LLVMGetTargetFromTriple()
74 *ErrorMessage = strdup(Error.c_str()); in LLVMGetTargetFromTriple()
188 char **ErrorMessage) { in LLVMTargetMachineEmit() argument
209 *ErrorMessage = strdup(error.c_str()); in LLVMTargetMachineEmit()
220 char* Filename, LLVMCodeGenFileType codegen, char** ErrorMessage) { in LLVMTargetMachineEmitToFile() argument
224 *ErrorMessage = strdup(EC.message().c_str()); in LLVMTargetMachineEmitToFile()
227 bool Result = LLVMTargetMachineEmit(T, M, dest, codegen, ErrorMessage); in LLVMTargetMachineEmitToFile()
233 LLVMModuleRef M, LLVMCodeGenFileType codegen, char** ErrorMessage, in LLVMTargetMachineEmitToMemoryBuffer() argument
237 bool Result = LLVMTargetMachineEmit(T, M, OStream, codegen, ErrorMessage); in LLVMTargetMachineEmitToMemoryBuffer()
/external/lzma/CPP/Common/
DCommandLineParser.cpp93 ErrorMessage = "Unknown switch:"; in ParseString()
104 ErrorMessage = "Multiple instances for switch:"; in ParseString()
113 ErrorMessage = "Too short switch:"; in ParseString()
128 ErrorMessage = "Incorrect switch postfix:"; in ParseString()
143 ErrorMessage = "Incorrect switch postfix:"; in ParseString()
157 ErrorMessage = "Too long switch:"; in ParseString()
167 ErrorMessage.Empty(); in ParseStrings()
/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/nullaway/nullaway/src/main/java/com/uber/nullaway/handlers/
DAbstractFieldContractHandler.java30 import com.uber.nullaway.ErrorMessage;
153 new ErrorMessage(ErrorMessage.MessageTypes.ANNOTATION_VALUE_INVALID, message), in validateAnnotationSyntax()
173 new ErrorMessage( in validateAnnotationSyntax()
174 ErrorMessage.MessageTypes.ANNOTATION_VALUE_INVALID, message), in validateAnnotationSyntax()
197 new ErrorMessage(ErrorMessage.MessageTypes.ANNOTATION_VALUE_INVALID, message), in validateAnnotationSyntax()
/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/nullaway/nullaway/src/main/java/com/uber/nullaway/handlers/contract/
DContractUtils.java8 import com.uber.nullaway.ErrorMessage;
58 new ErrorMessage(ErrorMessage.MessageTypes.ANNOTATION_VALUE_INVALID, message), in getConsequent()
105 new ErrorMessage(ErrorMessage.MessageTypes.ANNOTATION_VALUE_INVALID, message), in getAntecedent()
/external/nullaway/nullaway/src/main/java/com/uber/nullaway/
DErrorBuilder.java25 import static com.uber.nullaway.ErrorMessage.MessageTypes.FIELD_NO_INIT;
26 import static com.uber.nullaway.ErrorMessage.MessageTypes.GET_ON_EMPTY_OPTIONAL;
27 import static com.uber.nullaway.ErrorMessage.MessageTypes.METHOD_NO_INIT;
28 import static com.uber.nullaway.ErrorMessage.MessageTypes.NONNULL_FIELD_READ_BEFORE_INIT;
88 ErrorMessage errorMessage, Description.Builder descriptionBuilder, VisitorState state) { in createErrorDescription()
103 ErrorMessage errorMessage, in createErrorDescription()
159 ErrorMessage errorMessage, Tree suggestTree, Description.Builder builder) { in addSuggestedSuppression()
207 ErrorMessage errorMessage, in createErrorDescriptionForNullAssignment()
328 new ErrorMessage(METHOD_NO_INIT, message), methodTree, descriptionBuilder, state)); in reportInitializerError()
428 new ErrorMessage( in reportInitErrorOnField()
[all …]
DErrorMessage.java26 public class ErrorMessage { class
30 public ErrorMessage(MessageTypes messageType, String message) { in ErrorMessage() method in ErrorMessage
/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/rust/crates/flate2/src/ffi/
Drust.rs21 pub struct ErrorMessage; struct
23 impl ErrorMessage { impl
86 _ => mem::decompress_failed(ErrorMessage), in decompress()
157 MZStatus::NeedDict => mem::compress_failed(ErrorMessage), in compress()
161 _ => mem::compress_failed(ErrorMessage), in compress()
/external/nullaway/nullaway/src/main/java/com/uber/nullaway/handlers/contract/fieldcontract/
DRequiresNonNullHandler.java35 import com.uber.nullaway.ErrorMessage;
118 new ErrorMessage( in validateOverridingRules()
119 ErrorMessage.MessageTypes.WRONG_OVERRIDE_PRECONDITION, errorMessage.toString()), in validateOverridingRules()
163 new ErrorMessage(ErrorMessage.MessageTypes.PRECONDITION_NOT_SATISFIED, message), in onMatchMethodInvocation()
DEnsuresNonNullHandler.java35 import com.uber.nullaway.ErrorMessage;
106 new ErrorMessage(ErrorMessage.MessageTypes.POSTCONDITION_NOT_SATISFIED, message), in validateAnnotationSemantics()
160 new ErrorMessage( in validateOverridingRules()
161 ErrorMessage.MessageTypes.WRONG_OVERRIDE_POSTCONDITION, in validateOverridingRules()
/external/llvm/include/llvm-c/
DTargetMachine.h73 char **ErrorMessage);
129 char *Filename, LLVMCodeGenFileType codegen, char **ErrorMessage);
133 LLVMCodeGenFileType codegen, char** ErrorMessage, LLVMMemoryBufferRef *OutMemBuf);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DTargetMachine.h77 char **ErrorMessage);
133 char *Filename, LLVMCodeGenFileType codegen, char **ErrorMessage);
137 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()

1234