Searched refs:expected_bits (Results 1 – 2 of 2) sorted by relevance
349 expected_bits: Option<LitInt>, field363 let expected_bits = parse_bits_attr(&field.attrs)?; in get_struct_fields() localVariable367 expected_bits, in get_struct_fields()376 let mut expected_bits = None; in parse_bits_attr() localVariable383 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()
299 let expected_bits = stat::SFlag::S_IFDIR.bits() | stat::Mode::S_IRWXU.bits(); in test_mkdirat_success_mode() localVariable306 assert_eq!(mode as mode_t, expected_bits) in test_mkdirat_success_mode()