Lines Matching defs:dest

48 inline void Atomic::store    (jbyte    store_value, jbyte*    dest) { *dest = store_value; }
49 inline void Atomic::store (jshort store_value, jshort* dest) { *dest = store_value; }
50 inline void Atomic::store (jint store_value, jint* dest) { *dest = store_value; }
52 inline void Atomic::store_ptr(intptr_t store_value, intptr_t* dest) { *dest = store_value; }
53 inline void Atomic::store_ptr(void* store_value, void* dest) { *(void**)dest = store_value; }
55 inline void Atomic::store (jbyte store_value, volatile jbyte* dest) { *dest = store_value; }
56 inline void Atomic::store (jshort store_value, volatile jshort* dest) { *dest = store_value; }
57 inline void Atomic::store (jint store_value, volatile jint* dest) { *dest = store_value; }
60 inline void Atomic::store_ptr(intptr_t store_value, volatile intptr_t* dest) { *dest = store_value; }
61 inline void Atomic::store_ptr(void* store_value, volatile void* dest) { *(void* volatile *)dest = store_value; }
73 inline void Atomic::store (jlong store_value, jlong* dest) { *dest = store_value; }
74 inline void Atomic::store (jlong store_value, volatile jlong* 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);
80 inline intptr_t Atomic::add_ptr(intptr_t add_value, volatile intptr_t* dest) {
81 return (intptr_t)(*os::atomic_add_ptr_func)(add_value, dest);
84 inline void* Atomic::add_ptr(intptr_t add_value, volatile void* dest) {
85 return (void*)(*os::atomic_add_ptr_func)(add_value, (volatile intptr_t*)dest);
88 inline void Atomic::inc (volatile jint* dest) {
89 (void)add (1, dest);
92 inline void Atomic::inc_ptr(volatile intptr_t* dest) {
93 (void)add_ptr(1, dest);
96 inline void Atomic::inc_ptr(volatile void* dest) {
97 (void)add_ptr(1, dest);
100 inline void Atomic::dec (volatile jint* dest) {
101 (void)add (-1, dest);
104 inline void Atomic::dec_ptr(volatile intptr_t* dest) {
105 (void)add_ptr(-1, dest);
108 inline void Atomic::dec_ptr(volatile void* dest) {
109 (void)add_ptr(-1, dest);
112 inline jint Atomic::xchg (jint exchange_value, volatile jint* dest) {
113 return (jint)(*os::atomic_xchg_func)(exchange_value, dest);
116 inline intptr_t Atomic::xchg_ptr(intptr_t exchange_value, volatile intptr_t* dest) {
117 return (intptr_t)(os::atomic_xchg_ptr_func)(exchange_value, dest);
120 inline void* Atomic::xchg_ptr(void* exchange_value, volatile void* dest) {
121 return (void *)(os::atomic_xchg_ptr_func)((intptr_t)exchange_value, (volatile intptr_t*)dest);
124 inline jint Atomic::cmpxchg (jint exchange_value, volatile jint* dest, jint compare_value) {
125 return (*os::atomic_cmpxchg_func)(exchange_value, dest, compare_value);
128 inline jlong Atomic::cmpxchg (jlong exchange_value, volatile jlong* dest, jlong compare_value) {
129 return (*os::atomic_cmpxchg_long_func)(exchange_value, dest, compare_value);
132 inline intptr_t Atomic::cmpxchg_ptr(intptr_t exchange_value, volatile intptr_t* dest, intptr_t compare_value) {
133 return (intptr_t)cmpxchg((jlong)exchange_value, (volatile jlong*)dest, (jlong)compare_value);
136 inline void* Atomic::cmpxchg_ptr(void* exchange_value, volatile void* dest, void* compare_value) {
137 return (void*)cmpxchg((jlong)exchange_value, (volatile jlong*)dest, (jlong)compare_value);
144 inline jint Atomic::add (jint add_value, volatile jint* dest) {
147 mov edx, dest;
156 inline intptr_t Atomic::add_ptr(intptr_t add_value, volatile intptr_t* dest) {
157 return (intptr_t)add((jint)add_value, (volatile jint*)dest);
160 inline void* Atomic::add_ptr(intptr_t add_value, volatile void* dest) {
161 return (void*)add((jint)add_value, (volatile jint*)dest);
164 inline void Atomic::inc (volatile jint* dest) {
168 mov edx, dest;
174 inline void Atomic::inc_ptr(volatile intptr_t* dest) {
175 inc((volatile jint*)dest);
178 inline void Atomic::inc_ptr(volatile void* dest) {
179 inc((volatile jint*)dest);
182 inline void Atomic::dec (volatile jint* dest) {
186 mov edx, dest;
192 inline void Atomic::dec_ptr(volatile intptr_t* dest) {
193 dec((volatile jint*)dest);
196 inline void Atomic::dec_ptr(volatile void* dest) {
197 dec((volatile jint*)dest);
200 inline jint Atomic::xchg (jint exchange_value, volatile jint* dest) {
204 mov ecx, dest;
209 inline intptr_t Atomic::xchg_ptr(intptr_t exchange_value, volatile intptr_t* dest) {
210 return (intptr_t)xchg((jint)exchange_value, (volatile jint*)dest);
213 inline void* Atomic::xchg_ptr(void* exchange_value, volatile void* 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) {
221 mov edx, dest
229 inline jlong Atomic::cmpxchg (jlong exchange_value, volatile jlong* dest, jlong compare_value) {
240 mov edi, dest
250 inline intptr_t Atomic::cmpxchg_ptr(intptr_t exchange_value, volatile intptr_t* dest, intptr_t compare_value) {
251 return (intptr_t)cmpxchg((jint)exchange_value, (volatile jint*)dest, (jint)compare_value);
254 inline void* Atomic::cmpxchg_ptr(void* exchange_value, volatile void* dest, void* compare_value) {
255 return (void*)cmpxchg((jint)exchange_value, (volatile jint*)dest, (jint)compare_value);
259 volatile jlong dest;
260 volatile jlong* pdest = &dest;
267 return dest;
270 inline void Atomic::store(jlong store_value, volatile jlong* dest) {
275 mov eax, dest
280 inline void Atomic::store(jlong store_value, jlong* dest) {
281 Atomic::store(store_value, (volatile jlong*)dest);