Lines Matching refs:prev
276 int prev = get(i), next = 0;
279 next = updateFunction.applyAsInt(prev);
280 if (weakCompareAndSetVolatile(i, prev, next))
281 return prev;
282 haveNext = (prev == (prev = get(i)));
300 int prev = get(i), next = 0;
303 next = updateFunction.applyAsInt(prev);
304 if (weakCompareAndSetVolatile(i, prev, next))
306 haveNext = (prev == (prev = get(i)));
329 int prev = get(i), next = 0;
332 next = accumulatorFunction.applyAsInt(prev, x);
333 if (weakCompareAndSetVolatile(i, prev, next))
334 return prev;
335 haveNext = (prev == (prev = get(i)));
358 int prev = get(i), next = 0;
361 next = accumulatorFunction.applyAsInt(prev, x);
362 if (weakCompareAndSetVolatile(i, prev, next))
364 haveNext = (prev == (prev = get(i)));