Lines Matching refs:rv
257 let mut rv = reader.borrow_mut().read_u8().unwrap(); in test_rc_refcell() localVariable
258 assert_eq!(rv, 1, "Incorrect value"); in test_rc_refcell()
260 rv = reader.borrow_mut().read_u8().unwrap(); in test_rc_refcell()
261 assert_eq!(rv, 2, "Incorrect value"); in test_rc_refcell()
263 rv = reader.borrow_mut().read_u8().unwrap(); in test_rc_refcell()
264 assert_eq!(rv, 3, "Incorrect value"); in test_rc_refcell()
296 let mut rv = reader.read_u8().unwrap(); in test_struct_rc_refcell() localVariable
297 assert_eq!(rv, 1, "Incorrect value"); in test_struct_rc_refcell()
299 rv = reader.read_u8().unwrap(); in test_struct_rc_refcell()
300 assert_eq!(rv, 2, "Incorrect value"); in test_struct_rc_refcell()
302 rv = reader.read_u8().unwrap(); in test_struct_rc_refcell()
303 assert_eq!(rv, 3, "Incorrect value"); in test_struct_rc_refcell()