/external/clang/test/CodeGen/ |
H A D | 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-generic/ |
H A D | 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) argument
|
/external/kernel-headers/original/linux/ |
H A D | spinlock_up.h | 37 char oldval = lock->slock; local 41 return oldval > 0;
|
H A D | 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/kernel-headers/original/asm-x86/ |
H A D | 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/chromium_org/third_party/tcmalloc/chromium/src/base/ |
H A D | 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;
|
H A D | 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); 73 FastInterlockedCompareExchange(volatile LONG* ptr, LONG newval, LONG oldval) argument 91 FastInterlockedCompareExchange(volatile LONG* ptr, LONG newval, LONG oldval) argument 109 FastInterlockedCompareExchange(volatile LONG* ptr, LONG newval, LONG oldval) argument 228 FastInterlockedCompareExchangePointer(volatile PVOID* ptr, PVOID newval, PVOID oldval) argument 246 FastInterlockedCompareExchangePointer(volatile PVOID* ptr, PVOID newval, PVOID oldval) argument 266 FastInterlockedCompareExchangePointer(volatile PVOID* ptr, PVOID newval, PVOID oldval) argument [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/base/ |
H A D | 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;
|
H A D | 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); 72 FastInterlockedCompareExchange(volatile LONG* ptr, LONG newval, LONG oldval) argument 90 FastInterlockedCompareExchange(volatile LONG* ptr, LONG newval, LONG oldval) argument 108 FastInterlockedCompareExchange(volatile LONG* ptr, LONG newval, LONG oldval) argument 227 FastInterlockedCompareExchangePointer(volatile PVOID* ptr, PVOID newval, PVOID oldval) argument 245 FastInterlockedCompareExchangePointer(volatile PVOID* ptr, PVOID newval, PVOID oldval) argument 265 FastInterlockedCompareExchangePointer(volatile PVOID* ptr, PVOID newval, PVOID oldval) argument [all...] |
/external/qemu/distrib/sdl-1.2.15/src/audio/macrom/ |
H A D | 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/ |
H A D | 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/icu4c/common/ |
H A D | 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) { argument [all...] |
/external/kernel-headers/original/asm-arm/ |
H A D | atomic.h | 85 unsigned long oldval, res; local 93 : "=&r" (res), "=&r" (oldval) 98 return oldval;
|
/external/qemu/hw/ |
H A D | 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/chromium_org/third_party/icu/source/common/ |
H A D | 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) 469 mutexed_compare_and_swap(void **dest, void *newval, void *oldval) argument [all...] |
/external/mksh/src/ |
H A D | misc.c | 231 unsigned char oldval; local 234 oldval = Flag(f); 238 if (what != OF_CMDLINE && newval != oldval) 255 if (f == FPRIVILEGED && oldval && !newval) {
|
/external/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.cpp | 438 unsigned oldval = dest; local 486 .addReg(incr).addReg(oldval).addImm(0); 490 .addReg(oldval).addReg(incr).addImm(Cond); 518 unsigned oldval = MI->getOperand(2).getReg(); local 556 // cmp dest, oldval 564 .addReg(dest).addReg(oldval).addImm(0);
|
/external/llvm/lib/Target/ARM/ |
H A D | ARMISelLowering.cpp | 5986 unsigned oldval = MI->getOperand(2).getReg(); local 5999 MRI.constrainRegClass(oldval, &ARM::rGPRRegClass); 6045 // cmp dest, oldval 6053 .addReg(dest).addReg(oldval)); 6205 unsigned oldval = dest; local 6274 oldval = MRI.createVirtualRegister(&ARM::GPRRegClass); 6275 AddDefaultPred(BuildMI(BB, dl, TII->get(extendOpc), oldval) 6282 .addReg(oldval).addReg(incr)); 6284 .addReg(incr).addReg(oldval).addImm(Cond).addReg(ARM::CPSR);
|
/external/llvm/lib/Target/PowerPC/ |
H A D | PPCISelLowering.cpp | 6445 unsigned oldval = MI->getOperand(3).getReg(); local 6469 // cmp[wd] dest, oldval 6482 .addReg(oldval).addReg(dest); 6516 unsigned oldval = MI->getOperand(3).getReg(); local 6565 // slw oldval2, oldval,shift 6605 .addReg(oldval).addReg(ShiftReg);
|
/external/qemu-pc-bios/bochs/bios/ |
H A D | rombios.c | 2178 Bit8u oldval; local 2183 oldval = inb(0x92); 2187 outb(0x92, oldval | 0x02); 2189 outb(0x92, oldval & 0xfd); 2191 return((oldval & 0x02) != 0);
|
/external/valgrind/main/VEX/priv/ |
H A D | guest_s390_toIR.c | 10847 IRTemp oldval = newTemp(Ity_I32); local 10854 assign(oldval, get_gpr_w1(r1)); 10889 assign(result, binop(Iop_Add32, mkexpr(newop), mkexpr(oldval)));
|
/external/valgrind/main/include/vki/ |
H A D | vki-linux.h | 1369 void __user *oldval; member in struct:__vki_sysctl_args
|