Lines Matching refs:retval
158 let mut retval = Err(-1); in inc_not_zero() localVariable
163 retval = Ok(self.count); in inc_not_zero()
167 return retval; in inc_not_zero()
186 let mut retval = Err(-1); in inc_not_dead() localVariable
191 retval = Ok(self.count); in inc_not_dead()
194 return retval; in inc_not_dead()
213 let retval: Result<i32, i32>; in dec() localVariable
218 retval = Ok(self.count); in dec()
220 retval = Err(-1); in dec()
225 return retval; in dec()
275 let retval: Result<i32, i32>; in dec_not_zero() localVariable
279 retval = Ok(self.count); in dec_not_zero()
281 retval = Err(-1); in dec_not_zero()
284 return retval; in dec_not_zero()
304 let retval: Result<i32, i32>; in dec_or_lock_not_zero() localVariable
308 retval = Ok(self.count); in dec_or_lock_not_zero()
310 retval = Err(-1); in dec_or_lock_not_zero()
313 return retval; in dec_or_lock_not_zero()