Home | History | Annotate | Download | only in Containers

Lines Matching refs:Counter

25 /** Counter = (Counter + 1) % MaxVal;

27 Counter is always expected to be LESS THAN MaxVal.
28 0 <= Counter < MaxVal
30 @param[in] Counter The value to be incremented.
33 @return Returns the result of incrementing Counter, modulus MaxVal.
34 If Counter >= MaxVal, returns -1.
39 UINT32 Counter,
43 /** Counter = (Counter - 1) % MaxVal;
45 Counter is always expected to be LESS THAN MaxVal.
46 0 <= Counter < MaxVal
48 @param[in] Counter The value to be decremented.
51 @return Returns the result of decrementing Counter, modulus MaxVal.
52 If Counter >= MaxVal, returns -1.
57 UINT32 Counter,
61 /** Counter = (Counter + Increment) % MaxVal;
63 @param[in] Counter The value to be incremented.
64 @param[in] Increment The value to add to Counter.
67 @return Returns the result of adding Increment to Counter, modulus MaxVal,
73 UINT32 Counter,
78 /** Increment Counter but don't increment past MaxVal.
80 @param[in] Counter The value to be decremented.
81 @param[in] MaxVal The upper bound for Counter. Counter < MaxVal.
83 @return Returns the result of incrementing Counter.
88 UINT32 Counter,
92 /** Decrement Counter but don't decrement past zero.
94 @param[in] Counter The value to be decremented.
96 @return Returns the result of decrementing Counter.
101 UINT32 Counter