Home
last modified time | relevance | path

Searched refs:expected_bits (Results 1 – 2 of 2) sorted by relevance

/external/crosvm/bit_field/bit_field_derive/
Dbit_field_derive.rs349 expected_bits: Option<LitInt>, field
363 let expected_bits = parse_bits_attr(&field.attrs)?; in get_struct_fields() localVariable
367 expected_bits, in get_struct_fields()
376 let mut expected_bits = None; in parse_bits_attr() localVariable
383 expected_bits = Some(v); in parse_bits_attr()
390 Ok(expected_bits) in parse_bits_attr()
469 let check_expected_bits = spec.expected_bits.as_ref().map(|expected_bits| { in get_fields_impl()
473 let span = expected_bits.span(); in get_fields_impl()
476 const EXPECTED_BITS: [(); #expected_bits] = in get_fields_impl()
/external/rust/crates/nix/test/
Dtest_stat.rs299 let expected_bits = stat::SFlag::S_IFDIR.bits() | stat::Mode::S_IRWXU.bits(); in test_mkdirat_success_mode() localVariable
306 assert_eq!(mode as mode_t, expected_bits) in test_mkdirat_success_mode()