Searched refs:invalid_length (Results 1 – 7 of 7) sorted by relevance
/third_party/rust/crates/os_str_bytes/src/ |
D | raw_str.rs | 1367 let mut invalid_length = 0; in fmt() localVariable 1369 let (invalid, substring) = string.split_at(invalid_length); in fmt() 1383 invalid_length += invalid_char_length; in fmt() 1387 invalid_length = invalid_char_length; in fmt()
|
/third_party/rust/crates/serde/serde/src/de/ |
D | impls.rs | 1195 None => return Err(Error::invalid_length($n, &self)), 1224 return Err(Error::invalid_length(idx, &self)); 1318 None => return Err(Error::invalid_length($n, &self)), 1351 return Err(Error::invalid_length($n, &self)); 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(1, &self)); in visit_seq() [all …]
|
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()
|
D | mod.rs | 242 fn invalid_length(len: usize, exp: &Expected) -> Self {
|
/third_party/rust/crates/serde/serde_derive/src/ |
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()
|
/third_party/rust/crates/serde/test_suite/tests/ |
D | test_annotations.rs | 1212 return Err(de::Error::invalid_length(0, &"2")); in deserialize_string_as_variant() 1215 return Err(de::Error::invalid_length(1, &"2")); in deserialize_string_as_variant()
|
/third_party/rust/crates/serde/serde/src/private/ |
D | de.rs | 2234 Err(de::Error::invalid_length(len, &"fewer elements in array")) in deserialize_any()
|