Lines Matching refs:retval
154 let mut retval = Err(SystemError::EPERM); in inc_not_zero() localVariable
159 retval = Ok(self.count); in inc_not_zero()
163 return retval; in inc_not_zero()
182 let mut retval = Err(SystemError::EPERM); in inc_not_dead() localVariable
187 retval = Ok(self.count); in inc_not_dead()
190 return retval; in inc_not_dead()
209 let retval: Result<i32, SystemError>; in dec() localVariable
214 retval = Ok(self.count); in dec()
216 retval = Err(SystemError::EPERM); in dec()
221 return retval; in dec()
272 let retval: Result<i32, SystemError>; in dec_not_zero() localVariable
276 retval = Ok(self.count); in dec_not_zero()
278 retval = Err(SystemError::EPERM); in dec_not_zero()
281 return retval; in dec_not_zero()
301 let retval: Result<i32, SystemError>; in dec_or_lock_not_zero() localVariable
305 retval = Ok(self.count); in dec_or_lock_not_zero()
307 retval = Err(SystemError::EPERM); in dec_or_lock_not_zero()
310 return retval; in dec_or_lock_not_zero()