Searched refs:new_value (Results 1 - 6 of 6) sorted by relevance
/bionic/libc/private/ |
H A D | bionic_atomic_x86.h | 42 __bionic_cmpxchg(int32_t old_value, int32_t new_value, volatile int32_t* ptr) argument 47 : "q" (new_value), "m" (*ptr), "0" (old_value) 55 __bionic_swap(int32_t new_value, volatile int32_t *ptr) argument 58 : "=r" (new_value) 59 : "m" (*ptr), "0" (new_value) 61 return new_value;
|
H A D | bionic_atomic_gcc_builtin.h | 31 __bionic_cmpxchg(int32_t old_value, int32_t new_value, volatile int32_t* ptr) argument 34 return __sync_val_compare_and_swap(ptr, old_value, new_value) != old_value; 38 __bionic_swap(int32_t new_value, volatile int32_t* ptr) argument 43 } while (__sync_val_compare_and_swap(ptr, old_value, new_value) != old_value);
|
H A D | bionic_atomic_mips.h | 42 __bionic_cmpxchg(int32_t old_value, int32_t new_value, volatile int32_t* ptr) argument 45 __asm__ __volatile__ ("1: move %[status], %[new_value] \n" 52 : [new_value]"r"(new_value), [old_value]"r"(old_value), [ptr]"r"(ptr) 60 __bionic_swap(int32_t new_value, volatile int32_t *ptr) argument 63 __asm__ __volatile__ ("1: move %[status], %[new_value] \n" 68 : [ptr]"r"(ptr), [new_value]"r"(new_value)
|
H A D | bionic_atomic_arm.h | 132 __bionic_cmpxchg(int32_t old_value, int32_t new_value, volatile int32_t* ptr) argument 147 : "r" (ptr), "Ir" (old_value), "r" (new_value) 155 __bionic_swap(int32_t new_value, volatile int32_t* ptr) argument 165 : "r" (ptr), "r" (new_value)
|
/bionic/libc/include/sys/ |
H A D | atomics.h | 50 __atomic_cmpxchg(int old_value, int new_value, volatile int* ptr) argument 53 return __sync_val_compare_and_swap(ptr, old_value, new_value) != old_value; 57 __atomic_swap(int new_value, volatile int *ptr) argument 62 } while (__sync_val_compare_and_swap(ptr, old_value, new_value) != old_value);
|
/bionic/linker/ |
H A D | dlfcn.cpp | 33 static const char* __bionic_set_dlerror(char* new_value) { argument 38 *dlerror_slot = new_value;
|
Completed in 162 milliseconds