/external/kernel-headers/original/asm-generic/ |
futex.h | 17 int oldval = 0, ret; local 40 case FUTEX_OP_CMP_EQ: ret = (oldval == cmparg); break; 41 case FUTEX_OP_CMP_NE: ret = (oldval != cmparg); break; 42 case FUTEX_OP_CMP_LT: ret = (oldval < cmparg); break; 43 case FUTEX_OP_CMP_GE: ret = (oldval >= cmparg); break; 44 case FUTEX_OP_CMP_LE: ret = (oldval <= cmparg); break; 45 case FUTEX_OP_CMP_GT: ret = (oldval > cmparg); break; 53 futex_atomic_cmpxchg_inatomic(int __user *uaddr, int oldval, int newval)
|
/external/clang/test/CodeGen/ |
asm-inout.c | 35 unsigned char oldval; local 37 __asm__ ("frob %0" : "=r"(oldval) : "0"(0xff)); 38 return (int)oldval;
|
/external/chromium_org/native_client_sdk/src/libraries/sdk_util/ |
atomicops.h | 73 Atomic32 oldval; 76 oldval = *ptr; 77 newval = oldval & value; 78 } while (InterlockedCompareExchange(ptr, newval, oldval) != oldval); 84 Atomic32 oldval; 87 oldval = *ptr; 88 newval = oldval | value; 89 } while (InterlockedCompareExchange(ptr,newval, oldval) != oldval); [all...] |
/external/kernel-headers/original/asm-x86/ |
spinlock_32.h | 89 char oldval; local 92 :"=q" (oldval), "+m" (lock->slock) 94 return oldval > 0; 115 char oldval = 1; local 118 : "=q" (oldval), "+m" (lock->slock) 119 : "0" (oldval) : "memory");
|
/external/kernel-headers/original/linux/ |
spinlock_up.h | 37 char oldval = lock->slock; local 41 return oldval > 0;
|
sysctl.h | 36 void __user *oldval; member in struct:__sysctl_args 912 void __user *oldval, size_t __user *oldlenp, 939 void __user *oldval, size_t __user *oldlenp, 944 void __user *oldval, size_t __user *oldlenp,
|
/external/icu4c/common/ |
umutex.cpp | 57 #define SYNC_COMPARE_AND_SWAP(dest, oldval, newval) \ 58 InterlockedCompareExchangePointer(dest, newval, oldval) 62 #define SYNC_COMPARE_AND_SWAP(dest, oldval, newval) \ 63 __sync_val_compare_and_swap(dest, oldval, newval) 65 #define SYNC_COMPARE_AND_SWAP(dest, oldval, newval) \ 66 mutexed_compare_and_swap(dest, newval, oldval) 71 #define SYNC_COMPARE_AND_SWAP(dest, oldval, newval) \ 72 mutexed_compare_and_swap(dest, newval, oldval) 75 static void *mutexed_compare_and_swap(void **dest, void *newval, void *oldval); 353 static void *mutexed_compare_and_swap(void **dest, void *newval, void *oldval) { [all...] |
/external/chromium_org/third_party/tcmalloc/chromium/src/base/ |
atomicops-internals-windows.h | 74 LONG newval, LONG oldval) { 75 return ::InterlockedCompareExchange(const_cast<LONG*>(ptr), newval, oldval); 89 LONG _InterlockedCompareExchange(volatile LONG* ptr, LONG newval, LONG oldval); 92 LONG newval, LONG oldval) { 93 return _InterlockedCompareExchange(ptr, newval, oldval); 110 LONG newval, LONG oldval) { 111 return ::InterlockedCompareExchange(ptr, newval, oldval); 229 PVOID newval, PVOID oldval) { 231 newval, oldval); 244 PVOID newval, PVOID oldval); [all...] |
atomicops-internals-arm-v6plus.h | 65 Atomic32 oldval, res; local 76 : "=&r" (res), "=&r" (oldval), "+Qo" (*ptr) 80 return oldval; 188 Atomic64 oldval, res; local 201 : "=&r" (res), "=&r" (oldval), "+Q" (*ptr) 205 return oldval;
|
/external/chromium_org/third_party/tcmalloc/vendor/src/base/ |
atomicops-internals-windows.h | 73 LONG newval, LONG oldval) { 74 return ::InterlockedCompareExchange(const_cast<LONG*>(ptr), newval, oldval); 88 LONG _InterlockedCompareExchange(volatile LONG* ptr, LONG newval, LONG oldval); 91 LONG newval, LONG oldval) { 92 return _InterlockedCompareExchange(ptr, newval, oldval); 109 LONG newval, LONG oldval) { 110 return ::InterlockedCompareExchange(ptr, newval, oldval); 228 PVOID newval, PVOID oldval) { 230 newval, oldval); 243 PVOID newval, PVOID oldval); [all...] |
atomicops-internals-arm-v6plus.h | 64 Atomic32 oldval, res; local 75 : "=&r" (res), "=&r" (oldval), "+Qo" (*ptr) 79 return oldval; 187 Atomic64 oldval, res; local 200 : "=&r" (res), "=&r" (oldval), "+Q" (*ptr) 204 return oldval;
|
/external/chromium_org/third_party/icu/source/common/ |
umutex.c | 115 #define SYNC_COMPARE_AND_SWAP(dest, oldval, newval) \ 116 mutexed_compare_and_swap(dest, newval, oldval) 125 #define SYNC_COMPARE_AND_SWAP(dest, oldval, newval) \ 126 InterlockedCompareExchangePointer(dest, newval, oldval) 137 #define SYNC_COMPARE_AND_SWAP(dest, oldval, newval) \ 138 __sync_val_compare_and_swap(dest, oldval, newval) 140 #define SYNC_COMPARE_AND_SWAP(dest, oldval, newval) \ 141 mutexed_compare_and_swap(dest, newval, oldval) 152 #define SYNC_COMPARE_AND_SWAP(dest, oldval, newval) \ 153 mutexed_compare_and_swap(dest, newval, oldval) [all...] |
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis3/ |
Visualization3RS.java | 105 short oldval = mAnalyzer[i]; local 106 if (newval >= oldval - 800) { 109 newval = (short)(oldval - 800);
|
/external/kernel-headers/original/asm-arm/ |
atomic.h | 85 unsigned long oldval, res; local 93 : "=&r" (res), "=&r" (oldval) 98 return oldval;
|
/bionic/libc/bionic/ |
pthread.c | 1071 long oldval = cond->value; local 1218 int32_t oldval, newval; local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/audio/macrom/ |
SDL_romaudio.c | 153 SInt32 oldval; local 155 oldval = DecrementAtomic((SInt32 *) &audio_is_locked); 156 if ( oldval != 1 ) /* != 1 means audio is still locked. */
|
/external/qemu/distrib/sdl-1.2.15/src/video/symbian/EKA1/ |
SDL_epocevents.cpp | 452 const TInt oldval = array[k]; local 454 if(oldval >= 0 && oldval < MAX_SCANCODE && newval >= 0 && newval < MAX_SCANCODE) 456 keymap[oldval] = temp[newval];
|
/external/qemu/hw/ |
armv7m_nvic.c | 269 uint32_t oldval; local 272 oldval = s->systick.control; 275 if ((oldval ^ value) & SYSTICK_ENABLE) { 290 } else if ((oldval ^ value) & SYSTICK_CLKSOURCE) {
|
/bionic/libc/kernel/common/linux/ |
sysctl.h | 32 void __user *oldval; member in struct:__sysctl_args
|
/development/ndk/platforms/android-3/include/linux/ |
sysctl.h | 27 void __user *oldval; member in struct:__sysctl_args
|
/external/mksh/src/ |
misc.c | 231 unsigned char oldval; local 234 oldval = Flag(f); 238 if (what != OF_CMDLINE && newval != oldval) 255 if (f == FPRIVILEGED && oldval && !newval) { [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
sysctl.h | 42 void *oldval; member in struct:__sysctl_args
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
sysctl.h | 42 void *oldval; member in struct:__sysctl_args
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
sysctl.h | 42 void *oldval; member in struct:__sysctl_args
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/ |
sysctl.h | 27 void __user *oldval; member in struct:__sysctl_args
|