/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/ |
atomicops_internals_mips_gcc.h | 43 // result = *ptr; 44 // if (*ptr == old_value) 45 // *ptr = new_value; 48 // I.e., replace "*ptr" with "new_value" if "*ptr" used to be "old_value". 49 // Always return the old value of "*ptr" 52 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, 59 "ll %0, %5\n" // prev = *ptr 62 "sc %2, %1\n" // *ptr = tmp (with atomic check) 67 : "=&r" (prev), "=m" (*ptr), "=&r" (tmp [all...] |
/external/chromium_org/v8/src/ |
atomicops_internals_mips_gcc.h | 37 // result = *ptr; 38 // if (*ptr == old_value) 39 // *ptr = new_value; 42 // I.e., replace "*ptr" with "new_value" if "*ptr" used to be "old_value". 43 // Always return the old value of "*ptr" 46 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, 53 "ll %0, %5\n" // prev = *ptr 56 "sc %2, %1\n" // *ptr = tmp (with atomic check) 61 : "=&r" (prev), "=m" (*ptr), "=&r" (tmp [all...] |
/external/v8/src/ |
atomicops_internals_mips_gcc.h | 39 // result = *ptr; 40 // if (*ptr == old_value) 41 // *ptr = new_value; 44 // I.e., replace "*ptr" with "new_value" if "*ptr" used to be "old_value". 45 // Always return the old value of "*ptr" 48 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, 55 "ll %0, %5\n" // prev = *ptr 58 "sc %2, %1\n" // *ptr = tmp (with atomic check) 63 : "=&r" (prev), "=m" (*ptr), "=&r" (tmp [all...] |
/bionic/libc/include/sys/ |
atomics.h | 50 __atomic_cmpxchg(int old_value, int new_value, volatile int* ptr) 53 return __sync_val_compare_and_swap(ptr, old_value, new_value) != old_value; 57 __atomic_swap(int new_value, volatile int *ptr) 61 old_value = *ptr; 62 } while (__sync_val_compare_and_swap(ptr, old_value, new_value) != old_value); 67 __atomic_dec(volatile int *ptr) 69 return __sync_fetch_and_sub (ptr, 1); 73 __atomic_inc(volatile int *ptr) 75 return __sync_fetch_and_add (ptr, 1);
|
/bionic/libc/private/ |
bionic_atomic_gcc_builtin.h | 31 __bionic_cmpxchg(int32_t old_value, int32_t new_value, volatile int32_t* ptr) 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) 42 old_value = *ptr; 43 } while (__sync_val_compare_and_swap(ptr, old_value, new_value) != old_value); 48 __bionic_atomic_inc(volatile int32_t* ptr) 51 return __sync_fetch_and_add(ptr, 1); 55 __bionic_atomic_dec(volatile int32_t* ptr) 58 return __sync_fetch_and_add(ptr, -1);
|
/development/ndk/platforms/android-3/include/sys/ |
atomics.h | 50 __atomic_cmpxchg(int old, int _new, volatile int *ptr) 53 return __sync_val_compare_and_swap(ptr, old, _new) != old; 57 __atomic_swap(int _new, volatile int *ptr) 61 prev = *ptr; 62 } while (__sync_val_compare_and_swap(ptr, prev, _new) != prev); 67 __atomic_dec(volatile int *ptr) 69 return __sync_fetch_and_sub (ptr, 1); 73 __atomic_inc(volatile int *ptr) 75 return __sync_fetch_and_add (ptr, 1);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/winedlls/d3d10_1/ |
d3d10_1.spec | 2 @ stdcall D3D10CreateBlob(long ptr) d3d10.D3D10CreateBlob 3 @ stdcall D3D10CreateDevice1(ptr long ptr long long long ptr) d3d10.D3D10CreateDevice1 4 @ stdcall D3D10CreateDeviceAndSwapChain1(ptr long ptr long long long ptr ptr ptr) d3d10.D3D10CreateDeviceAndSwapChain1 10 @ stdcall D3D10GetGeometryShaderProfile(ptr) d3d10.D3D10GetGeometryShaderProfil [all...] |
/external/mesa3d/src/gallium/state_trackers/d3d1x/winedlls/d3d10_1/ |
d3d10_1.spec | 2 @ stdcall D3D10CreateBlob(long ptr) d3d10.D3D10CreateBlob 3 @ stdcall D3D10CreateDevice1(ptr long ptr long long long ptr) d3d10.D3D10CreateDevice1 4 @ stdcall D3D10CreateDeviceAndSwapChain1(ptr long ptr long long long ptr ptr ptr) d3d10.D3D10CreateDeviceAndSwapChain1 10 @ stdcall D3D10GetGeometryShaderProfile(ptr) d3d10.D3D10GetGeometryShaderProfil [all...] |
/prebuilts/ndk/7/platforms/android-14/arch-arm/usr/include/sys/ |
atomics.h | 50 __atomic_cmpxchg(int old, int _new, volatile int *ptr) 53 return __sync_val_compare_and_swap(ptr, old, _new) != old; 57 __atomic_swap(int _new, volatile int *ptr) 61 prev = *ptr; 62 } while (__sync_val_compare_and_swap(ptr, prev, _new) != prev); 67 __atomic_dec(volatile int *ptr) 69 return __sync_fetch_and_sub (ptr, 1); 73 __atomic_inc(volatile int *ptr) 75 return __sync_fetch_and_add (ptr, 1);
|
/prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/sys/ |
atomics.h | 50 __atomic_cmpxchg(int old, int _new, volatile int *ptr) 53 return __sync_val_compare_and_swap(ptr, old, _new) != old; 57 __atomic_swap(int _new, volatile int *ptr) 61 prev = *ptr; 62 } while (__sync_val_compare_and_swap(ptr, prev, _new) != prev); 67 __atomic_dec(volatile int *ptr) 69 return __sync_fetch_and_sub (ptr, 1); 73 __atomic_inc(volatile int *ptr) 75 return __sync_fetch_and_add (ptr, 1);
|
/prebuilts/ndk/7/platforms/android-3/arch-arm/usr/include/sys/ |
atomics.h | 50 __atomic_cmpxchg(int old, int _new, volatile int *ptr) 53 return __sync_val_compare_and_swap(ptr, old, _new) != old; 57 __atomic_swap(int _new, volatile int *ptr) 61 prev = *ptr; 62 } while (__sync_val_compare_and_swap(ptr, prev, _new) != prev); 67 __atomic_dec(volatile int *ptr) 69 return __sync_fetch_and_sub (ptr, 1); 73 __atomic_inc(volatile int *ptr) 75 return __sync_fetch_and_add (ptr, 1);
|
/prebuilts/ndk/7/platforms/android-3/arch-x86/usr/include/sys/ |
atomics.h | 50 __atomic_cmpxchg(int old, int _new, volatile int *ptr) 53 return __sync_val_compare_and_swap(ptr, old, _new) != old; 57 __atomic_swap(int _new, volatile int *ptr) 61 prev = *ptr; 62 } while (__sync_val_compare_and_swap(ptr, prev, _new) != prev); 67 __atomic_dec(volatile int *ptr) 69 return __sync_fetch_and_sub (ptr, 1); 73 __atomic_inc(volatile int *ptr) 75 return __sync_fetch_and_add (ptr, 1);
|
/prebuilts/ndk/7/platforms/android-4/arch-arm/usr/include/sys/ |
atomics.h | 50 __atomic_cmpxchg(int old, int _new, volatile int *ptr) 53 return __sync_val_compare_and_swap(ptr, old, _new) != old; 57 __atomic_swap(int _new, volatile int *ptr) 61 prev = *ptr; 62 } while (__sync_val_compare_and_swap(ptr, prev, _new) != prev); 67 __atomic_dec(volatile int *ptr) 69 return __sync_fetch_and_sub (ptr, 1); 73 __atomic_inc(volatile int *ptr) 75 return __sync_fetch_and_add (ptr, 1);
|
/prebuilts/ndk/7/platforms/android-4/arch-x86/usr/include/sys/ |
atomics.h | 50 __atomic_cmpxchg(int old, int _new, volatile int *ptr) 53 return __sync_val_compare_and_swap(ptr, old, _new) != old; 57 __atomic_swap(int _new, volatile int *ptr) 61 prev = *ptr; 62 } while (__sync_val_compare_and_swap(ptr, prev, _new) != prev); 67 __atomic_dec(volatile int *ptr) 69 return __sync_fetch_and_sub (ptr, 1); 73 __atomic_inc(volatile int *ptr) 75 return __sync_fetch_and_add (ptr, 1);
|
/prebuilts/ndk/7/platforms/android-5/arch-arm/usr/include/sys/ |
atomics.h | 50 __atomic_cmpxchg(int old, int _new, volatile int *ptr) 53 return __sync_val_compare_and_swap(ptr, old, _new) != old; 57 __atomic_swap(int _new, volatile int *ptr) 61 prev = *ptr; 62 } while (__sync_val_compare_and_swap(ptr, prev, _new) != prev); 67 __atomic_dec(volatile int *ptr) 69 return __sync_fetch_and_sub (ptr, 1); 73 __atomic_inc(volatile int *ptr) 75 return __sync_fetch_and_add (ptr, 1);
|
/prebuilts/ndk/7/platforms/android-5/arch-x86/usr/include/sys/ |
atomics.h | 50 __atomic_cmpxchg(int old, int _new, volatile int *ptr) 53 return __sync_val_compare_and_swap(ptr, old, _new) != old; 57 __atomic_swap(int _new, volatile int *ptr) 61 prev = *ptr; 62 } while (__sync_val_compare_and_swap(ptr, prev, _new) != prev); 67 __atomic_dec(volatile int *ptr) 69 return __sync_fetch_and_sub (ptr, 1); 73 __atomic_inc(volatile int *ptr) 75 return __sync_fetch_and_add (ptr, 1);
|
/prebuilts/ndk/7/platforms/android-8/arch-arm/usr/include/sys/ |
atomics.h | 50 __atomic_cmpxchg(int old, int _new, volatile int *ptr) 53 return __sync_val_compare_and_swap(ptr, old, _new) != old; 57 __atomic_swap(int _new, volatile int *ptr) 61 prev = *ptr; 62 } while (__sync_val_compare_and_swap(ptr, prev, _new) != prev); 67 __atomic_dec(volatile int *ptr) 69 return __sync_fetch_and_sub (ptr, 1); 73 __atomic_inc(volatile int *ptr) 75 return __sync_fetch_and_add (ptr, 1);
|
/prebuilts/ndk/7/platforms/android-8/arch-x86/usr/include/sys/ |
atomics.h | 50 __atomic_cmpxchg(int old, int _new, volatile int *ptr) 53 return __sync_val_compare_and_swap(ptr, old, _new) != old; 57 __atomic_swap(int _new, volatile int *ptr) 61 prev = *ptr; 62 } while (__sync_val_compare_and_swap(ptr, prev, _new) != prev); 67 __atomic_dec(volatile int *ptr) 69 return __sync_fetch_and_sub (ptr, 1); 73 __atomic_inc(volatile int *ptr) 75 return __sync_fetch_and_add (ptr, 1);
|
/prebuilts/ndk/7/platforms/android-9/arch-arm/usr/include/sys/ |
atomics.h | 50 __atomic_cmpxchg(int old, int _new, volatile int *ptr) 53 return __sync_val_compare_and_swap(ptr, old, _new) != old; 57 __atomic_swap(int _new, volatile int *ptr) 61 prev = *ptr; 62 } while (__sync_val_compare_and_swap(ptr, prev, _new) != prev); 67 __atomic_dec(volatile int *ptr) 69 return __sync_fetch_and_sub (ptr, 1); 73 __atomic_inc(volatile int *ptr) 75 return __sync_fetch_and_add (ptr, 1);
|
/prebuilts/ndk/7/platforms/android-9/arch-x86/usr/include/sys/ |
atomics.h | 50 __atomic_cmpxchg(int old, int _new, volatile int *ptr) 53 return __sync_val_compare_and_swap(ptr, old, _new) != old; 57 __atomic_swap(int _new, volatile int *ptr) 61 prev = *ptr; 62 } while (__sync_val_compare_and_swap(ptr, prev, _new) != prev); 67 __atomic_dec(volatile int *ptr) 69 return __sync_fetch_and_sub (ptr, 1); 73 __atomic_inc(volatile int *ptr) 75 return __sync_fetch_and_add (ptr, 1);
|
/prebuilts/ndk/8/platforms/android-14/arch-arm/usr/include/sys/ |
atomics.h | 50 __atomic_cmpxchg(int old, int _new, volatile int *ptr) 53 return __sync_val_compare_and_swap(ptr, old, _new) != old; 57 __atomic_swap(int _new, volatile int *ptr) 61 prev = *ptr; 62 } while (__sync_val_compare_and_swap(ptr, prev, _new) != prev); 67 __atomic_dec(volatile int *ptr) 69 return __sync_fetch_and_sub (ptr, 1); 73 __atomic_inc(volatile int *ptr) 75 return __sync_fetch_and_add (ptr, 1);
|
/prebuilts/ndk/8/platforms/android-14/arch-mips/usr/include/sys/ |
atomics.h | 50 __atomic_cmpxchg(int old, int _new, volatile int *ptr) 53 return __sync_val_compare_and_swap(ptr, old, _new) != old; 57 __atomic_swap(int _new, volatile int *ptr) 61 prev = *ptr; 62 } while (__sync_val_compare_and_swap(ptr, prev, _new) != prev); 67 __atomic_dec(volatile int *ptr) 69 return __sync_fetch_and_sub (ptr, 1); 73 __atomic_inc(volatile int *ptr) 75 return __sync_fetch_and_add (ptr, 1);
|
/prebuilts/ndk/8/platforms/android-14/arch-x86/usr/include/sys/ |
atomics.h | 50 __atomic_cmpxchg(int old, int _new, volatile int *ptr) 53 return __sync_val_compare_and_swap(ptr, old, _new) != old; 57 __atomic_swap(int _new, volatile int *ptr) 61 prev = *ptr; 62 } while (__sync_val_compare_and_swap(ptr, prev, _new) != prev); 67 __atomic_dec(volatile int *ptr) 69 return __sync_fetch_and_sub (ptr, 1); 73 __atomic_inc(volatile int *ptr) 75 return __sync_fetch_and_add (ptr, 1);
|
/prebuilts/ndk/8/platforms/android-3/arch-arm/usr/include/sys/ |
atomics.h | 50 __atomic_cmpxchg(int old, int _new, volatile int *ptr) 53 return __sync_val_compare_and_swap(ptr, old, _new) != old; 57 __atomic_swap(int _new, volatile int *ptr) 61 prev = *ptr; 62 } while (__sync_val_compare_and_swap(ptr, prev, _new) != prev); 67 __atomic_dec(volatile int *ptr) 69 return __sync_fetch_and_sub (ptr, 1); 73 __atomic_inc(volatile int *ptr) 75 return __sync_fetch_and_add (ptr, 1);
|
/prebuilts/ndk/8/platforms/android-4/arch-arm/usr/include/sys/ |
atomics.h | 50 __atomic_cmpxchg(int old, int _new, volatile int *ptr) 53 return __sync_val_compare_and_swap(ptr, old, _new) != old; 57 __atomic_swap(int _new, volatile int *ptr) 61 prev = *ptr; 62 } while (__sync_val_compare_and_swap(ptr, prev, _new) != prev); 67 __atomic_dec(volatile int *ptr) 69 return __sync_fetch_and_sub (ptr, 1); 73 __atomic_inc(volatile int *ptr) 75 return __sync_fetch_and_add (ptr, 1);
|