Searched defs:old_value (Results 1 - 1 of 1) sorted by last modified time

/frameworks/compile/libbcc/runtime/BlocksRuntime/
H A Druntime.c106 unsigned long int old_value = *(volatile unsigned long int *)where;
107 if ((old_value & BLOCK_REFCOUNT_MASK) == BLOCK_REFCOUNT_MASK) {
110 if (OSAtomicCompareAndSwapLong(old_value, old_value+1, (volatile long int *)where)) {
111 return old_value+1;
119 int old_value = *(volatile int *)where; local
120 if ((old_value & BLOCK_REFCOUNT_MASK) == BLOCK_REFCOUNT_MASK) {
123 if (OSAtomicCompareAndSwapInt(old_value, old_value+1, (volatile int *)where)) {
124 return old_value
148 int old_value = *(volatile int *)where; local
[all...]

Completed in 29 milliseconds