Home
last modified time | relevance | path

Searched refs:oldi (Results 1 – 1 of 1) sorted by relevance

/frameworks/compile/libbcc/runtime/BlocksRuntime/
Druntime.c58 static __inline bool OSAtomicCompareAndSwapInt(int oldi, int newi, int volatile *dst) { in OSAtomicCompareAndSwapInt() argument
60 int original = InterlockedCompareExchange(dst, newi, oldi); in OSAtomicCompareAndSwapInt()
61 return (original == oldi); in OSAtomicCompareAndSwapInt()
77 static __inline bool OSAtomicCompareAndSwapInt(int oldi, int newi, int volatile *dst) { in OSAtomicCompareAndSwapInt() argument
78 return __sync_bool_compare_and_swap(dst, oldi, newi); in OSAtomicCompareAndSwapInt()