Home
last modified time | relevance | path

Searched refs:UnexpectedEof (Results 1 – 25 of 32) sorted by relevance

12

/external/rust/crates/xml-rs/src/reader/
Derror.rs16 UnexpectedEof, enumerator
45 UnexpectedEof => &"Unexpected EOF", in msg()
75 UnexpectedEof => ErrorKind::UnexpectedEof, in from()
96 UnexpectedEof => UnexpectedEof, in clone()
107 (&UnexpectedEof, &UnexpectedEof) => true, in eq()
/external/rust/crates/xml-rs/src/
Dutil.rs7 UnexpectedEof, enumerator
28 UnexpectedEof => write!(f, "unexpected end of stream"), in fmt()
47 None => return Err(CharReadError::UnexpectedEof) in next_char_from()
81 super::CharReadError::UnexpectedEof => {}, in test_next_char_from()
/external/rust/crates/protobuf/2.27.1/src/
Derror.rs18 UnexpectedEof, enumerator
48 WireError::UnexpectedEof => write!(f, "unexpected EOF"), in fmt()
105 WireError::UnexpectedEof => "unexpected EOF", in description()
Dbuf_read_iter.rs214 return Err(ProtobufError::WireError(WireError::UnexpectedEof)); in read_byte()
247 None => return Err(ProtobufError::WireError(WireError::UnexpectedEof)), in read_exact_bytes()
251 return Err(ProtobufError::WireError(WireError::UnexpectedEof)); in read_exact_bytes()
296 return Err(ProtobufError::WireError(WireError::UnexpectedEof)); in read_exact_slow()
311 return Err(ProtobufError::WireError(WireError::UnexpectedEof)); in read_exact_slow()
Dbuf_read_or_reader.rs55 io::ErrorKind::UnexpectedEof, in read_exact_uninit()
/external/rust/crates/tokio/src/io/util/
Dread_int.rs7 use std::io::ErrorKind::UnexpectedEof;
65 return Poll::Ready(Err(UnexpectedEof.into()));
121 return Poll::Ready(Err(UnexpectedEof.into()));
Dread_exact.rs44 io::Error::new(io::ErrorKind::UnexpectedEof, "early eof") in eof()
/external/rust/crates/protobuf-support/src/lexer/
Dtokenizer.rs24 UnexpectedEof, enumerator
93 None => Err(TokenizerError::UnexpectedEof), in lookahead_some()
108 None => Err(TokenizerError::UnexpectedEof), in next_some()
149 None => return Err(TokenizerError::UnexpectedEof.into()), in next_token_check_map()
Dlexer_impl.rs23 UnexpectedEof, enumerator
131 self.next_char_opt().ok_or(LexerError::UnexpectedEof) in next_char()
143 None => Err(LexerError::UnexpectedEof), in skip_c_comment()
/external/rust/crates/protobuf/src/coded_input_stream/
Dbuf_read_or_reader.rs65 io::ErrorKind::UnexpectedEof, in read_exact_uninit()
86 io::ErrorKind::UnexpectedEof, in skip_bytes()
Dbuf_read_iter.rs187 Err(WireError::UnexpectedEof.into()) in read_byte_slow()
203 return Err(ProtobufError::WireError(WireError::UnexpectedEof).into()); in read_exact_bytes()
254 _ => Err(WireError::UnexpectedEof.into()), in consume_buf()
272 return Err(ProtobufError::WireError(WireError::UnexpectedEof).into()); in read_exact_slow()
/external/rust/crates/protobuf/2.27.1/src/text_format/lexer/
Dlexer_impl.rs21 UnexpectedEof, enumerator
40 LexerError::UnexpectedEof => write!(f, "Unexpected EOF"), in fmt()
145 self.next_char_opt().ok_or(LexerError::UnexpectedEof) in next_char()
157 None => Err(LexerError::UnexpectedEof), in skip_c_comment()
/external/rust/crates/protobuf-json-mapping/src/
Drfc_3339.rs90 UnexpectedEof, enumerator
287 return Err(Rfc3339ParseError::UnexpectedEof); in parse_rfc_3339()
304 return Err(Rfc3339ParseError::UnexpectedEof); in parse_rfc_3339()
/external/rust/crates/futures-util/src/io/
Dread_exact.rs37 return Poll::Ready(Err(io::ErrorKind::UnexpectedEof.into())); in poll()
/external/rust/crates/grpcio/src/
Derror.rs95 let error = ProtobufError::WireError(WireError::UnexpectedEof); in test_convert()
/external/crosvm/base/src/
Dfile_traits.rs89 return Err(Error::from(ErrorKind::UnexpectedEof)); in read_exact_volatile()
183 Ok(0) => return Err(Error::from(ErrorKind::UnexpectedEof)), in read_exact_at_volatile()
/external/rust/crates/protobuf/src/
Derror.rs15 UnexpectedEof, enumerator
/external/crosvm/devices/src/virtio/
Ddescriptor_utils.rs399 io::ErrorKind::UnexpectedEof, in read_exact_to()
424 io::ErrorKind::UnexpectedEof, in read_exact_to_at()
470 io::ErrorKind::UnexpectedEof, in read_exact_to_at_fut()
715 io::ErrorKind::UnexpectedEof, in write_all_from_at_fut()
1164 io::ErrorKind::UnexpectedEof in reader_unexpected_eof()
/external/rust/crates/flate2/src/gz/
Dbufread.rs555 Err(io::ErrorKind::UnexpectedEof.into()) in read()
744 if err.kind() == io::ErrorKind::UnexpectedEof { in read()
Dwrite.rs337 if err.kind() == io::ErrorKind::UnexpectedEof { in write()
/external/rust/crates/serde_json/src/
Derror.rs169 Category::Eof => io::Error::new(io::ErrorKind::UnexpectedEof, j), in from()
/external/crosvm/base/src/sys/windows/
Dnamed_pipes.rs634 std::io::ErrorKind::UnexpectedEof, in read_overlapped_blocking()
724 std::io::ErrorKind::UnexpectedEof, in write_overlapped_blocking_message()
Dtube.rs297 io::ErrorKind::UnexpectedEof, in perform_read()
/external/crosvm/disk/src/
Dandroid_sparse.rs268 ErrorKind::UnexpectedEof, in read_at_volatile()
386 ErrorKind::UnexpectedEof, in read_to_mem()
/external/rust/crates/serde_cbor/src/
Dread.rs248 if e.kind() == io::ErrorKind::UnexpectedEof { in read_into()

12