Lines Matching refs:c

7     let mut c = AttrControlled(4321);  in test_controlled_get_from()  localVariable
8 let result = c.get_from(&m); in test_controlled_get_from()
15 m.build(&[Box::new(BINDING_REQUEST), Box::new(c)])?; in test_controlled_get_from()
23 assert_eq!(c1, c, "not equal"); in test_controlled_get_from()
44 let mut c = AttrControlling(4321); in test_controlling_get_from() localVariable
45 let result = c.get_from(&m); in test_controlling_get_from()
52 m.build(&[Box::new(BINDING_REQUEST), Box::new(c)])?; in test_controlling_get_from()
60 assert_eq!(c1, c, "not equal"); in test_controlling_get_from()
83 let mut c = AttrControl::default(); in test_control_get_from() localVariable
84 let result = c.get_from(&m); in test_control_get_from()
94 let mut c = AttrControl::default(); in test_control_get_from() localVariable
95 let result = c.get_from(&m); in test_control_get_from()
102 c.role = Role::Controlling; in test_control_get_from()
103 c.tie_breaker = TieBreaker(4321); in test_control_get_from()
105 m.build(&[Box::new(BINDING_REQUEST), Box::new(c)])?; in test_control_get_from()
113 assert_eq!(c1, c, "not equal"); in test_control_get_from()
132 let mut c = AttrControl::default(); in test_control_get_from() localVariable
133 let result = c.get_from(&m); in test_control_get_from()
140 c.role = Role::Controlled; in test_control_get_from()
141 c.tie_breaker = TieBreaker(1234); in test_control_get_from()
143 m.build(&[Box::new(BINDING_REQUEST), Box::new(c)])?; in test_control_get_from()
151 assert_eq!(c1, c, "not equal"); in test_control_get_from()