/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/kernel-headers/original/linux/ |
futex.h | 122 #define FUTEX_OP_CMP_EQ 0 /* if (oldval == CMPARG) wake */ 123 #define FUTEX_OP_CMP_NE 1 /* if (oldval != CMPARG) wake */ 124 #define FUTEX_OP_CMP_LT 2 /* if (oldval < CMPARG) wake */ 125 #define FUTEX_OP_CMP_LE 3 /* if (oldval <= CMPARG) wake */ 126 #define FUTEX_OP_CMP_GT 4 /* if (oldval > CMPARG) wake */ 127 #define FUTEX_OP_CMP_GE 5 /* if (oldval >= CMPARG) wake */ 130 int oldval = *(int *)UADDR2; 131 *(int *)UADDR2 = oldval OP OPARG; 132 if (oldval CMP CMPARG)
|
spinlock_up.h | 37 char oldval = lock->slock; local 41 return oldval > 0;
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
futex.h | 119 #define FUTEX_OP_CMP_EQ 0 /* if (oldval == CMPARG) wake */ 120 #define FUTEX_OP_CMP_NE 1 /* if (oldval != CMPARG) wake */ 121 #define FUTEX_OP_CMP_LT 2 /* if (oldval < CMPARG) wake */ 122 #define FUTEX_OP_CMP_LE 3 /* if (oldval <= CMPARG) wake */ 123 #define FUTEX_OP_CMP_GT 4 /* if (oldval > CMPARG) wake */ 124 #define FUTEX_OP_CMP_GE 5 /* if (oldval >= CMPARG) wake */ 127 int oldval = *(int *)UADDR2; 128 *(int *)UADDR2 = oldval OP OPARG; 129 if (oldval CMP CMPARG)
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
futex.h | 119 #define FUTEX_OP_CMP_EQ 0 /* if (oldval == CMPARG) wake */ 120 #define FUTEX_OP_CMP_NE 1 /* if (oldval != CMPARG) wake */ 121 #define FUTEX_OP_CMP_LT 2 /* if (oldval < CMPARG) wake */ 122 #define FUTEX_OP_CMP_LE 3 /* if (oldval <= CMPARG) wake */ 123 #define FUTEX_OP_CMP_GT 4 /* if (oldval > CMPARG) wake */ 124 #define FUTEX_OP_CMP_GE 5 /* if (oldval >= CMPARG) wake */ 127 int oldval = *(int *)UADDR2; 128 *(int *)UADDR2 = oldval OP OPARG; 129 if (oldval CMP CMPARG)
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
futex.h | 119 #define FUTEX_OP_CMP_EQ 0 /* if (oldval == CMPARG) wake */ 120 #define FUTEX_OP_CMP_NE 1 /* if (oldval != CMPARG) wake */ 121 #define FUTEX_OP_CMP_LT 2 /* if (oldval < CMPARG) wake */ 122 #define FUTEX_OP_CMP_LE 3 /* if (oldval <= CMPARG) wake */ 123 #define FUTEX_OP_CMP_GT 4 /* if (oldval > CMPARG) wake */ 124 #define FUTEX_OP_CMP_GE 5 /* if (oldval >= CMPARG) wake */ 127 int oldval = *(int *)UADDR2; 128 *(int *)UADDR2 = oldval OP OPARG; 129 if (oldval CMP CMPARG)
|
/external/llvm/test/CodeGen/AArch64/ |
bitfield-insert.ll | 31 %oldval = load volatile i32* %existing 32 %oldval_keep = and i32 %oldval, 2214592511 ; =0x83ffffff 50 %oldval = load volatile i64* %existing 51 %oldval_keep = and i64 %oldval, 18446742974265032703 ; = 0xffffff0003ffffffL 69 %oldval = load volatile i64* %existing 70 %oldval_keep = and i64 %oldval, 4294901760 ; = 0xffff0000 86 %oldval = load volatile i32* %existing 87 %oldval_keep = and i32 %oldval, 135 ; = 0x87 104 %oldval = load volatile i64* %existing 105 %oldval_keep = and i64 %oldval, 1095216660480 ; = 0xff_0000_000 [all...] |
bitfield-insert-0.ll | 9 %oldval = load volatile i32* %existing 10 %oldval_keep = and i32 %oldval, 4294705152 ; 0xfffc_0000
|
atomic-ops-not-barriers.ll | 7 %oldval = load i32* %var 8 %newval = add nsw i32 %oldval, -1
|
/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/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");
|
/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/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/compiler-rt/lib/ubsan/ |
ubsan_handlers.cc | 113 ValueHandle OldVal) { 122 << Value(Data->Type, OldVal) << Data->Type; 126 << Value(Data->Type, OldVal) << Data->Type; 129 ValueHandle OldVal) { 130 __ubsan_handle_negate_overflow(Data, OldVal);
|
/dalvik/vm/test/ |
AtomicTest.cpp | 93 static int compareAndSwap(int oldVal, int newVal, int* addr) __attribute__((noinline)); 94 static int compareAndSwapWide(int64_t oldVal, int64_t newVal, int64_t* addr) __attribute__((noinline)); 108 static int compareAndSwap(int32_t oldVal, int32_t newVal, int32_t* addr) 110 if (*addr == oldVal) { 116 static int compareAndSwapWide(int64_t oldVal, int64_t newVal, int64_t* addr) 118 if (*addr == oldVal) {
|
/external/kernel-headers/original/asm-arm/ |
atomic.h | 85 unsigned long oldval, res; local 93 : "=&r" (res), "=&r" (oldval) 98 return oldval;
|
/external/webkit/Source/JavaScriptCore/wtf/ |
HashCountedSet.h | 164 unsigned oldVal = it->second; 165 ASSERT(oldVal); 166 unsigned newVal = oldVal - 1;
|
/frameworks/base/core/java/android/widget/ |
TimePicker.java | 149 public void onValueChange(NumberPicker spinner, int oldVal, int newVal) { 152 if ((oldVal == HOURS_IN_HALF_DAY - 1 && newVal == HOURS_IN_HALF_DAY) 153 || (oldVal == HOURS_IN_HALF_DAY && newVal == HOURS_IN_HALF_DAY - 1)) { 177 public void onValueChange(NumberPicker spinner, int oldVal, int newVal) { 181 if (oldVal == maxValue && newVal == minValue) { 188 } else if (oldVal == minValue && newVal == maxValue) { 226 public void onValueChange(NumberPicker picker, int oldVal, int newVal) {
|
DatePicker.java | 174 public void onValueChange(NumberPicker picker, int oldVal, int newVal) { 180 if (oldVal == maxDayOfMonth && newVal == 1) { 182 } else if (oldVal == 1 && newVal == maxDayOfMonth) { 185 mTempDate.add(Calendar.DAY_OF_MONTH, newVal - oldVal); 188 if (oldVal == 11 && newVal == 0) { 190 } else if (oldVal == 0 && newVal == 11) { 193 mTempDate.add(Calendar.MONTH, newVal - oldVal);
|
/external/qemu/distrib/sdl-1.2.15/src/video/symbian/EKA2/ |
SDL_epocevents.cpp | 152 const TInt oldval = array[k]; 154 if(oldval >= 0 && oldval < MAX_SCANCODE && newval >= 0 && newval < MAX_SCANCODE) 156 keymap[oldval] = temp[newval];
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
SnoozeLengthDialog.java | 50 public void onValueChange(NumberPicker picker, int oldVal, int newVal) {
|
/bionic/libc/bionic/ |
pthread.c | 1081 long oldval = cond->value; local 1228 int32_t oldval, newval; local [all...] |
/external/stlport/src/ |
cxa.c | 24 #define atomic_compare_and_exchange_bool_acq(mem, newval, oldval) \ 28 *__gmemp == (oldval) ? (*__gmemp = __gnewval, 0) : 1; })
|
/ndk/sources/cxx-stl/stlport/src/ |
cxa.c | 24 #define atomic_compare_and_exchange_bool_acq(mem, newval, oldval) \ 28 *__gmemp == (oldval) ? (*__gmemp = __gnewval, 0) : 1; })
|
/external/clang/lib/Parse/ |
RAIIObjectsForParser.h | 266 bool OldVal; 269 : P(p), OldVal(P.ColonIsSacred) { 276 P.ColonIsSacred = OldVal;
|