/external/turbine/java/com/google/turbine/parse/ |
D | StreamLexer.java | 24 import com.google.turbine.diag.TurbineError.ErrorKind; 319 throw error(ErrorKind.UNEXPECTED_INPUT, ch); in next() 348 throw error(ErrorKind.EMPTY_CHARACTER_LITERAL); in next() 358 throw error(ErrorKind.UNTERMINATED_CHARACTER_LITERAL); in next() 378 throw error(ErrorKind.UNTERMINATED_STRING); in next() 396 throw error(ErrorKind.UNEXPECTED_INPUT, ch); in next() 477 throw error(ErrorKind.UNEXPECTED_INPUT, ch); in escape() 587 throw error(ErrorKind.UNEXPECTED_INPUT, ch); in readHexDigits() 622 throw error(ErrorKind.UNEXPECTED_INPUT, ch); in readHexDigits() 659 throw error(ErrorKind.UNEXPECTED_INPUT, ch); in readDigits() [all …]
|
D | VariableInitializerParser.java | 22 import com.google.turbine.diag.TurbineError.ErrorKind; 239 throw error(ErrorKind.UNEXPECTED_EOF); in dropParens() 263 throw error(ErrorKind.UNEXPECTED_EOF); in dropBraces() 342 private TurbineError error(ErrorKind kind, Object... args) { in error()
|
D | ConstExpressionParser.java | 24 import com.google.turbine.diag.TurbineError.ErrorKind; 302 throw error(ErrorKind.INVALID_LITERAL, text); in finishLiteral() 306 throw error(ErrorKind.INVALID_LITERAL, text); in finishLiteral() 340 throw error(ErrorKind.INVALID_LITERAL, text); in finishLiteral() 347 throw error(ErrorKind.INVALID_LITERAL, text); in finishLiteral() 393 throw error(ErrorKind.INVALID_LITERAL, text); in parseLong() 577 throw TurbineError.format(lexer.source(), pos, ErrorKind.INVALID_ANNOTATION_ARGUMENT); in annotation() 593 private TurbineError error(ErrorKind kind, Object... args) { in error()
|
D | Parser.java | 32 import com.google.turbine.diag.TurbineError.ErrorKind; 753 throw error(ErrorKind.UNEXPECTED_TYPE_PARAMETER, typaram); in classMember() 793 throw error(ErrorKind.UNEXPECTED_TYPE_PARAMETER, typaram); in memberRest() 837 throw TurbineError.format(lexer.source(), expressionStart, ErrorKind.UNTERMINATED_EXPRESSION); in fieldRest() 1010 throw error(ErrorKind.UNEXPECTED_EOF); in dropParens() 1030 throw error(ErrorKind.UNEXPECTED_EOF); in dropBlocks() 1332 throw error(ErrorKind.INVALID_ANNOTATION_ARGUMENT); in annotation() 1360 throw error(ErrorKind.EXPECTED_TOKEN, kind); in eat() 1377 return error(ErrorKind.UNEXPECTED_IDENTIFIER, lexer.stringValue()); in error() 1379 return error(ErrorKind.UNEXPECTED_EOF); in error() [all …]
|
/external/turbine/java/com/google/turbine/diag/ |
D | TurbineDiagnostic.java | 28 import com.google.turbine.diag.TurbineError.ErrorKind; 34 private final ErrorKind kind; 38 private TurbineDiagnostic(ErrorKind kind, String diagnostic, ImmutableList<Object> args) { in TurbineDiagnostic() 45 public ErrorKind kind() { in kind() 60 ErrorKind kind, String diagnostic, ImmutableList<Object> args) { in create() 83 public static TurbineDiagnostic format(SourceFile source, ErrorKind kind, Object... args) { in format() 98 SourceFile source, int position, ErrorKind kind, Object... args) { in format()
|
D | TurbineError.java | 27 public enum ErrorKind { enum in TurbineError 53 ErrorKind(String message) { in ErrorKind() method in TurbineError.ErrorKind 69 public static TurbineError format(SourceFile source, ErrorKind kind, Object... args) { in format() 81 SourceFile source, int position, ErrorKind kind, Object... args) { in format()
|
D | TurbineLog.java | 20 import com.google.turbine.diag.TurbineError.ErrorKind; 48 public void error(ErrorKind kind, Object... args) { in error() 52 public void error(int position, ErrorKind kind, Object... args) { in error()
|
/external/crosvm/tempfile/src/ |
D | lib.rs | 11 use std::io::{Error, ErrorKind, Result}; 44 Err(ref e) if e.kind() == ErrorKind::AlreadyExists => {} in tempdir() 50 ErrorKind::AlreadyExists, in tempdir()
|
/external/turbine/java/com/google/turbine/binder/ |
D | HierarchyBinder.java | 30 import com.google.turbine.diag.TurbineError.ErrorKind; 123 log.error(ty.position(), ErrorKind.CANNOT_RESOLVE, ty); in resolveClass() 143 log.error(ty.position(), ErrorKind.CYCLIC_HIERARCHY, e.getMessage()); in resolveNext() 149 ErrorKind.SYMBOL_NOT_FOUND, in resolveNext() 165 log.error(tree.position(), ErrorKind.CYCLIC_HIERARCHY, e.getMessage()); in lookup()
|
D | ModuleBinder.java | 42 import com.google.turbine.diag.TurbineError.ErrorKind; 211 ErrorKind.SYMBOL_NOT_FOUND, pos, new ClassSymbol(Joiner.on('/').join(simpleNames))); in resolve() 218 ErrorKind.SYMBOL_NOT_FOUND, pos, new ClassSymbol(sym.binaryName() + '$' + name)); in resolve() 224 private TurbineError error(ErrorKind kind, int pos, Object... args) { in error()
|
D | ConstEvaluator.java | 42 import com.google.turbine.diag.TurbineError.ErrorKind; 206 throw error(classTy.position(), ErrorKind.CANNOT_RESOLVE, flat.peekFirst()); in resolveClass() 209 throw error(classTy.position(), ErrorKind.UNEXPECTED_TYPE_PARAMETER, flat.peekFirst()); in resolveClass() 222 position, ErrorKind.SYMBOL_NOT_FOUND, new ClassSymbol(sym.binaryName() + '$' + bit)); in resolveNext() 274 ErrorKind.CANNOT_RESOLVE, in resolveField() 940 ErrorKind.CANNOT_RESOLVE, in evaluateAnnotation() 945 throw error(expr.position(), ErrorKind.EXPRESSION_ERROR); in evaluateAnnotation() 949 throw error(arg.position(), ErrorKind.INVALID_ANNOTATION_ARGUMENT); in evaluateAnnotation() 959 t.name().get(0).position(), ErrorKind.CANNOT_RESOLVE, Joiner.on(".").join(t.name())); in evalAnno() 965 throw error(name.position(), ErrorKind.CANNOT_RESOLVE, name.value()); in evalAnno() [all …]
|
D | TypeBinder.java | 39 import com.google.turbine.diag.TurbineError.ErrorKind; 529 log.error(member.position(), ErrorKind.DUPLICATE_DECLARATION, "field: " + field.name()); in bindFields() 572 log.error(tree.position(), ErrorKind.CANNOT_RESOLVE, Joiner.on('.').join(name)); in resolveAnnoSymbol() 583 log.error(tree.position(), ErrorKind.NOT_AN_ANNOTATION, sym); in resolveAnnoSymbol() 593 ErrorKind.SYMBOL_NOT_FOUND, in resolveNext() 650 log.error(names.get(0).position(), ErrorKind.CANNOT_RESOLVE, Joiner.on('.').join(names)); in bindClassTy() 662 log.error(t.position(), ErrorKind.TYPE_PARAMETER_QUALIFIER); in bindClassTy()
|
/external/crosvm/sys_util/src/ |
D | file_traits.rs | 6 use std::io::{Error, ErrorKind, Result}; 56 return Err(Error::from(ErrorKind::UnexpectedEof)); in read_exact_volatile() 75 return Err(Error::from(ErrorKind::WriteZero)); in write_all_volatile()
|
D | handle_eintr.rs | 30 Err(e) if e.kind() == io::ErrorKind::Interrupted => true, in is_interrupted() 240 io::ErrorKind::Interrupted, in io_eintr()
|
D | syslog.rs | 30 use std::io::{stderr, Cursor, ErrorKind, Write}; 356 ErrorKind::ConnectionRefused in send_buf() 357 | ErrorKind::ConnectionReset in send_buf() 358 | ErrorKind::ConnectionAborted in send_buf() 359 | ErrorKind::NotConnected => { in send_buf()
|
/external/crosvm/p9/src/ |
D | server.rs | 137 io::ErrorKind::NotFound => libc::ENOENT, in error_to_rmessage() 138 io::ErrorKind::PermissionDenied => libc::EPERM, in error_to_rmessage() 139 io::ErrorKind::ConnectionRefused => libc::ECONNREFUSED, in error_to_rmessage() 140 io::ErrorKind::ConnectionReset => libc::ECONNRESET, in error_to_rmessage() 141 io::ErrorKind::ConnectionAborted => libc::ECONNABORTED, in error_to_rmessage() 142 io::ErrorKind::NotConnected => libc::ENOTCONN, in error_to_rmessage() 143 io::ErrorKind::AddrInUse => libc::EADDRINUSE, in error_to_rmessage() 144 io::ErrorKind::AddrNotAvailable => libc::EADDRNOTAVAIL, in error_to_rmessage() 145 io::ErrorKind::BrokenPipe => libc::EPIPE, in error_to_rmessage() 146 io::ErrorKind::AlreadyExists => libc::EEXIST, in error_to_rmessage() [all …]
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | NullabilityChecker.cpp | 85 enum class ErrorKind : int { enum 171 void reportBugIfInvariantHolds(StringRef Msg, ErrorKind Error, 177 void reportBug(StringRef Msg, ErrorKind Error, ExplodedNode *N, in reportBug() 190 if (Error == ErrorKind::NilAssignedToNonnull || in reportBug() 191 Error == ErrorKind::NilPassedToNonnull || in reportBug() 192 Error == ErrorKind::NilReturnedToNonnull) in reportBug() 459 ErrorKind Error, ExplodedNode *N, const MemRegion *Region, in reportBugIfInvariantHolds() 525 ErrorKind::NullableDereferenced, Event.SinkNode, Region, BR); in checkEvent() 528 "non-null", ErrorKind::NullablePassedToNonnull, in checkEvent() 620 ErrorKind::NilReturnedToNonnull, N, nullptr, C, in checkPreStmt() [all …]
|
/external/adhd/cras/client/libcras/src/ |
D | audio_socket.rs | 86 Err(io::Error::new(io::ErrorKind::Other, "Read truncated data.")) in read_from_socket() 99 None => Err(io::Error::new(io::ErrorKind::Other, "Unexpected exit")), in read_audio_message() 126 io::ErrorKind::Other, in read_audio_message_with_timeout() 140 io::ErrorKind::Other, in read_audio_message_with_timeout() 170 Err(io::Error::new(io::ErrorKind::Other, "Sent truncated data.")) in send_audio_message()
|
D | cras_shm.rs | 88 io::Error::new(io::ErrorKind::InvalidInput, "Index out of range.") in index_out_of_range() 105 .ok_or_else(|| io::Error::new(io::ErrorKind::Other, "Failed to create header."))?; in new() 144 io::ErrorKind::InvalidInput, in buffer_len_from_offset() 164 io::ErrorKind::InvalidInput, in buffer_len_from_offset() 274 io::ErrorKind::InvalidInput, in check_rw_offset() 338 io::ErrorKind::InvalidInput, in check_buffer_offset() 392 io::ErrorKind::InvalidInput, in commit_written_frames() 474 io::ErrorKind::InvalidInput, in cras_mmap_offset() 519 io::ErrorKind::InvalidInput, in new()
|
/external/adhd/cras/client/cras_tests/src/ |
D | audio_options.rs | 67 std::io::ErrorKind::InvalidInput, in parse_from_args() 77 std::io::ErrorKind::InvalidInput, in parse_from_args() 91 std::io::ErrorKind::InvalidInput, in parse_from_args() 113 std::io::ErrorKind::InvalidInput, in parse_from_args()
|
/external/turbine/java/com/google/turbine/binder/lookup/ |
D | ImportIndex.java | 27 import com.google.turbine.diag.TurbineError.ErrorKind; 103 i.position(), ErrorKind.SYMBOL_NOT_FOUND, new ClassSymbol(Joiner.on('/').join(i.type()))); in namedImport() 128 ErrorKind.SYMBOL_NOT_FOUND, 145 log.error(i.position(), ErrorKind.SYMBOL_NOT_FOUND, Joiner.on(".").join(i.type()));
|
D | MemberImportIndex.java | 27 import com.google.turbine.diag.TurbineError.ErrorKind; 103 ErrorKind.SYMBOL_NOT_FOUND, in resolveNext()
|
/external/compiler-rt/lib/ubsan/ |
D | ubsan_diag.cc | 73 const char *ErrorKind = ConvertTypeToString(Type); in MaybeReportErrorSummary() local 82 ReportErrorSummary(ErrorKind, AI); in MaybeReportErrorSummary() 88 ReportErrorSummary(ErrorKind, AI); in MaybeReportErrorSummary() 91 ReportErrorSummary(ErrorKind); in MaybeReportErrorSummary()
|
/external/crosvm/devices/src/virtio/ |
D | p9.rs | 124 io::ErrorKind::InvalidData, in read() 132 .map_err(|e| io::Error::new(io::ErrorKind::Other, e))?; in read() 179 io::ErrorKind::InvalidData, in write() 188 .map_err(|e| io::Error::new(io::ErrorKind::Other, e))?; in write()
|
/external/crosvm/p9/src/protocol/ |
D | wire_format.rs | 8 use std::io::{ErrorKind, Read, Write}; 79 ErrorKind::InvalidInput, in encode() 106 ErrorKind::InvalidInput, in encode() 171 return Err(io::Error::new(ErrorKind::InvalidInput, "data is too large")); in encode() 181 ErrorKind::InvalidData, in decode() 193 ErrorKind::UnexpectedEof, in decode()
|