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.rs137 assert_eq!(Literal::byte_string(b"").to_string(), "b\"\""); in literal_byte_string()
139 Literal::byte_string(b"\0\t\n\r\"\\2\x10").to_string(), in literal_byte_string()
143 Literal::byte_string(b"a\00b\07c\08d\0e\0").to_string(), in literal_byte_string()
/third_party/rust/crates/proc-macro2/src/
Dwrapper.rs852 pub fn byte_string(bytes: &[u8]) -> Literal { in byte_string() method
854 Literal::Compiler(proc_macro::Literal::byte_string(bytes)) in byte_string()
856 Literal::Fallback(fallback::Literal::byte_string(bytes)) in byte_string()
Dlib.rs1220 pub fn byte_string(s: &[u8]) -> Literal { in byte_string() method
1221 Literal::_new(imp::Literal::byte_string(s)) in byte_string()
Dparse.rs350 } else if let Ok(ok) = byte_string(input) { in literal_nocapture()
437 fn byte_string(input: Cursor) -> Result<Cursor, Reject> { in byte_string() function
Dfallback.rs1020 pub fn byte_string(bytes: &[u8]) -> Literal { in byte_string() method
/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/syn/src/
Dlit.rs263 let mut token = Literal::byte_string(value); in new()
/third_party/rust/crates/serde/serde_derive/src/
Dde.rs2200 .map(|alias| Literal::byte_string(alias.as_bytes())); in deserialize_identifier()