Searched refs:to_simple (Results 1 – 3 of 3) sorted by relevance
/external/rust/crates/uuid/src/ |
D | lib.rs | 788 let s = uuid1.to_simple().to_string(); in test_to_simple_string() 825 check!(buf, "{:X}", u.to_simple(), 32, |c| c.is_uppercase() in test_upper_lower_hex() 831 check!(buf, "{:x}", u.to_simple(), 32, |c| c.is_lowercase() in test_upper_lower_hex() 851 let ss = uuid1.to_simple().to_string(); in test_to_simple_string_matching() 881 let result = u.to_simple().to_string(); in test_from_fields() 895 let result = u.to_simple().to_string(); in test_from_fields_le() 966 let result = u.to_simple().to_string(); in test_from_u128() 977 let result = u.to_simple().to_string(); in test_from_u128_le() 1021 assert_eq!(u.to_simple().to_string(), expected); in test_from_slice() 1034 assert_eq!(u.to_simple().to_string(), expected); in test_from_bytes()
|
/external/rust/crates/uuid/benches/ |
D | format_str.rs | 23 write!(&mut buffer as &mut [_], "{:x}", uuid.to_simple()).unwrap(); in bench_simple() 53 uuid.to_simple().encode_lower(&mut buffer); in bench_encode_simple()
|
/external/rust/crates/uuid/src/adapter/ |
D | mod.rs | 89 pub const fn to_simple(self) -> Simple { in to_simple() method 966 let len = Uuid::nil().to_simple().encode_lower(&mut buf).len(); in simple_trailing() 974 let len = Uuid::nil().to_simple().encode_lower(&mut buf).len(); in simple_ref_trailing() 1010 Uuid::nil().to_simple().encode_lower(&mut [0; 31]); in simple_too_small()
|