Home
last modified time | relevance | path

Searched refs:BorrowedBytes (Results 1 – 6 of 6) sorted by relevance

/third_party/rust/crates/serde/test_suite/tests/
Dtest_borrow.rs36 assert_de_tokens(&&b"borrowed"[..], &[Token::BorrowedBytes(b"borrowed")]); in test_borrowed_bytes()
62 Token::BorrowedBytes(b"bytes"), in test_tuple()
89 Token::BorrowedBytes(b"bytes"), in test_struct()
115 &[Token::BorrowedBytes(b"value")], in test_field_identifier()
Dtest_de.rs1902 &[Token::BorrowedBytes(b"/usr/local/lib")], in test_path()
Dtest_annotations.rs2141 Token::BorrowedBytes(b"x"), in test_lifetime_propagation_for_flatten()
/third_party/rust/crates/serde/serde_test/src/
Dtoken.rs147 BorrowedBytes(&'static [u8]), enumerator
Dser.rs161 Some(&Token::BorrowedBytes(_)) => assert_next_token!(self, BorrowedBytes(v)), in serialize_bytes()
Dde.rs150 Token::BorrowedBytes(v) => visitor.visit_borrowed_bytes(v), in deserialize_any()
183 (Token::BorrowedBytes(variant), Token::Unit) => { in deserialize_any()