Lines Matching refs:jint
50 inline void Atomic::store (jint store_value, jint* dest) { *dest = store_value; }
57 inline void Atomic::store (jint store_value, volatile jint* dest) { *dest = store_value; }
76 inline jint Atomic::add (jint add_value, volatile jint* dest) {
77 return (jint)(*os::atomic_add_func)(add_value, dest);
88 inline void Atomic::inc (volatile jint* dest) {
100 inline void Atomic::dec (volatile jint* dest) {
112 inline jint Atomic::xchg (jint exchange_value, volatile jint* dest) {
113 return (jint)(*os::atomic_xchg_func)(exchange_value, dest);
124 inline jint Atomic::cmpxchg (jint exchange_value, volatile jint* dest, jint compare_value) {
144 inline jint Atomic::add (jint add_value, volatile jint* dest) {
157 return (intptr_t)add((jint)add_value, (volatile jint*)dest);
161 return (void*)add((jint)add_value, (volatile jint*)dest);
164 inline void Atomic::inc (volatile jint* dest) {
175 inc((volatile jint*)dest);
179 inc((volatile jint*)dest);
182 inline void Atomic::dec (volatile jint* dest) {
193 dec((volatile jint*)dest);
197 dec((volatile jint*)dest);
200 inline jint Atomic::xchg (jint exchange_value, volatile jint* dest) {
210 return (intptr_t)xchg((jint)exchange_value, (volatile jint*)dest);
214 return (void*)xchg((jint)exchange_value, (volatile jint*)dest);
217 inline jint Atomic::cmpxchg (jint exchange_value, volatile jint* dest, jint compare_value) {
231 jint ex_lo = (jint)exchange_value;
232 jint ex_hi = *( ((jint*)&exchange_value) + 1 );
233 jint cmp_lo = (jint)compare_value;
234 jint cmp_hi = *( ((jint*)&compare_value) + 1 );
251 return (intptr_t)cmpxchg((jint)exchange_value, (volatile jint*)dest, (jint)compare_value);
255 return (void*)cmpxchg((jint)exchange_value, (volatile jint*)dest, (jint)compare_value);