Searched defs:oldval (Results 1 - 22 of 22) sorted by relevance

/external/clang/test/CodeGen/
H A Dasm-inout.c35 unsigned char oldval; local
37 __asm__ ("frob %0" : "=r"(oldval) : "0"(0xff));
38 return (int)oldval;
/external/kernel-headers/original/asm-generic/
H A Dfutex.h17 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 Dspinlock_up.h37 char oldval = lock->slock; local
41 return oldval > 0;
H A Dsysctl.h36 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 Dspinlock_32.h89 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 Datomicops-internals-arm-v6plus.h65 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 Datomicops-internals-windows.h74 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 Datomicops-internals-arm-v6plus.h64 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 Datomicops-internals-windows.h73 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 DSDL_romaudio.c153 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 DSDL_epocevents.cpp452 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 Dumutex.cpp57 #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 Datomic.h85 unsigned long oldval, res; local
93 : "=&r" (res), "=&r" (oldval)
98 return oldval;
/external/qemu/hw/
H A Darmv7m_nvic.c269 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 Dumutex.c115 #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 Dmisc.c231 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 DAArch64ISelLowering.cpp438 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 DARMISelLowering.cpp5986 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 DPPCISelLowering.cpp6445 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 Drombios.c2178 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 Dguest_s390_toIR.c10847 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 Dvki-linux.h1369 void __user *oldval; member in struct:__vki_sysctl_args

Completed in 590 milliseconds