Home
last modified time | relevance | path

Searched refs:byte_string (Results 1 – 10 of 10) sorted by relevance

/third_party/rust/crates/serde/test_suite/tests/ui/expected-string/
Dbyte_string.rs6 byte_string: (), field
Dbyte_string.stderr2 --> tests/ui/expected-string/byte_string.rs:5:22
/third_party/rust/crates/proc-macro2/tests/
Dtest.rs145 assert_eq!(Literal::byte_string(b"").to_string(), "b\"\""); in literal_byte_string()
147 Literal::byte_string(b"\0\t\n\r\"\\2\x10").to_string(), in literal_byte_string()
/third_party/rust/crates/bindgen/bindgen/codegen/
Dhelpers.rs252 let b = proc_macro2::Literal::byte_string(string.as_bytes()); in cstr_expr()
/third_party/rust/crates/proc-macro2/src/
Dwrapper.rs900 pub fn byte_string(bytes: &[u8]) -> Literal { in byte_string() method
902 Literal::Compiler(proc_macro::Literal::byte_string(bytes)) in byte_string()
904 Literal::Fallback(fallback::Literal::byte_string(bytes)) in byte_string()
Dlib.rs1227 pub fn byte_string(s: &[u8]) -> Literal { in byte_string() method
1228 Literal::_new(imp::Literal::byte_string(s)) in byte_string()
Dparse.rs323 } else if let Ok(ok) = byte_string(input) { in literal_nocapture()
404 fn byte_string(input: Cursor) -> Result<Cursor, Reject> { in byte_string() function
Dfallback.rs955 pub fn byte_string(bytes: &[u8]) -> Literal { in byte_string() method
/third_party/rust/crates/syn/src/
Dlit.rs252 let mut token = Literal::byte_string(value); in new()
/third_party/rust/crates/serde/serde_derive/src/
Dde.rs2101 .map(|(name, _)| Literal::byte_string(name.as_bytes())) in deserialize_identifier()