/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/bluetooth/glib/glib/ |
gatomic.c | 61 gint oldval, 68 : "r" (newval), "m" (*atomic), "0" (oldval)); 70 return result == oldval; 79 gpointer oldval, 86 : "r" (newval), "m" (*atomic), "0" (oldval)); 88 return result == oldval; 94 # define ATOMIC_INT_CMP_XCHG(atomic, oldval, newval) \ 99 : "r" (oldval), "m" (*(atomic)), "r" (atomic),\ 101 __result == oldval; \ 107 gpointer oldval, [all...] |
gatomic.h | 46 gint oldval, 49 gpointer oldval,
|
/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;
|
/prebuilt/linux-x86/toolchain/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)
|
/external/clang/test/CodeGen/ |
asm-inout.c | 35 unsigned char oldval; local 36 __asm__ ("frob %0" : "=r"(oldval) : "0"(0xff)); 37 return (int)oldval;
|
/external/bluetooth/glib/docs/reference/glib/tmpl/ |
atomic_operations.sgml | 120 Compares @oldval with the integer pointed to by @atomic and 125 @Returns: %TRUE, if *@atomic was equal @oldval. %FALSE otherwise. 129 @oldval: the assumed old value of *@atomic. 159 Compares @oldval with the pointer pointed to by @atomic and 164 @Returns: %TRUE, if *@atomic was equal @oldval. %FALSE otherwise. 168 @oldval: the assumed old value of *@atomic.
|
/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/icu4c/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...] |
/external/clang/lib/Parse/ |
RAIIObjectsForParser.h | 49 bool OldVal; 52 : P(p), OldVal(P.ColonIsSacred) { 59 P.ColonIsSacred = OldVal;
|
/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/llvm/test/CodeGen/CellSPU/ |
call.ll | 48 %oldval = extractvalue %0 %rv, 1 49 %newval = add i32 %oldval,1
|
/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 | 148 public void onValueChange(NumberPicker spinner, int oldVal, int newVal) { 151 if ((oldVal == HOURS_IN_HALF_DAY - 1 && newVal == HOURS_IN_HALF_DAY) 152 || (oldVal == HOURS_IN_HALF_DAY && newVal == HOURS_IN_HALF_DAY - 1)) { 176 public void onValueChange(NumberPicker spinner, int oldVal, int newVal) { 180 if (oldVal == maxValue && newVal == minValue) { 187 } else if (oldVal == minValue && newVal == maxValue) { 224 public void onValueChange(NumberPicker picker, int oldVal, int newVal) {
|
DatePicker.java | 173 public void onValueChange(NumberPicker picker, int oldVal, int newVal) { 179 if (oldVal == maxDayOfMonth && newVal == 1) { 181 } else if (oldVal == 1 && newVal == maxDayOfMonth) { 184 mTempDate.add(Calendar.DAY_OF_MONTH, newVal - oldVal); 187 if (oldVal == 11 && newVal == 0) { 189 } else if (oldVal == 0 && newVal == 11) { 192 mTempDate.add(Calendar.MONTH, newVal - oldVal);
|
/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/qemu/distrib/sdl-1.2.12/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/llvm/lib/VMCore/ |
DebugLoc.cpp | 298 MDNode *OldVal = get(); 299 assert(OldVal != NewVa && "Node replaced with self?"); 303 assert(Ctx->ScopeRecordIdx[OldVal] == Idx && "Mapping out of date!"); 304 Ctx->ScopeRecordIdx.erase(OldVal);
|
/external/llvm/test/CodeGen/Mips/ |
atomic.ll | 50 define i32 @AtomicCmpSwap32(i32 %oldval, i32 %newval) nounwind { 55 %0 = cmpxchg i32* @x, i32 %oldval, i32 %tmp monotonic 195 define signext i8 @AtomicCmpSwap8(i8 signext %oldval, i8 signext %newval) nounwind { 197 %0 = cmpxchg i8* @y, i8 %oldval, i8 %newval monotonic
|
/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) {
|
/external/llvm/lib/Target/Mips/ |
MipsISelLowering.cpp | [all...] |