Searched refs:invalid_length (Results 1 - 5 of 5) sorted by relevance
/third_party/rust/crates/os_str_bytes/src/ |
H A D | raw_str.rs | 1367 let mut invalid_length = 0; variables 1369 let (invalid, substring) = string.split_at(invalid_length); 1383 invalid_length += invalid_char_length; 1387 invalid_length = invalid_char_length;
|
/third_party/rust/crates/serde/serde/src/de/ |
H A D | impls.rs | 1195 None => return Err(Error::invalid_length($n, &self)), in visit_seq() 1224 return Err(Error::invalid_length(idx, &self)); in visit_seq() 1318 None => return Err(Error::invalid_length($n, &self)), in deserialize() 1351 return Err(Error::invalid_length($n, &self)); in deserialize_in_place() 2113 return Err(Error::invalid_length(0, &self)); in deserialize() 2119 return Err(Error::invalid_length(1, &self)); in deserialize() 2252 return Err(Error::invalid_length(0, &self)); in deserialize() 2258 return Err(Error::invalid_length(1, &self)); in deserialize() 2448 return Err(Error::invalid_length(0, &self)); in visit_seq() 2454 return Err(Error::invalid_length( in visit_seq() [all...] |
H A D | mod.rs | 242 fn invalid_length(len: usize, exp: &Expected) -> Self { in invalid_length() functions 310 /// `invalid_length` methods of the `Error` trait to build error messages. 428 /// `invalid_length` methods of the `Error` trait to build error messages. The
|
H A D | value.rs | 923 Err(de::Error::invalid_length( in end() 1133 Err(de::Error::invalid_length( in end() 1357 Err(de::Error::invalid_length(2, &ExpectedInSeq(2 - remaining))) in deserialize_seq() 1370 Err(de::Error::invalid_length(2, &ExpectedInSeq(len))) in deserialize_tuple()
|
/third_party/rust/crates/serde/serde_derive/src/ |
H A D | de.rs | 1688 _serde::__private::Err(_serde::de::Error::invalid_length(1, &self)) in deserialize_adjacently_tagged_enum() 1694 _serde::__private::Err(_serde::de::Error::invalid_length(0, &self)) in deserialize_adjacently_tagged_enum() 3002 return _serde::__private::Err(_serde::de::Error::invalid_length(#index, &#expecting)) in expr_is_missing_seq()
|
Completed in 20 milliseconds