/external/chromium_org/native_client_sdk/src/libraries/sdk_util/ |
D | atomicops.h | 73 Atomic32 oldval; in AtomicAndFetch() local 76 oldval = *ptr; in AtomicAndFetch() 77 newval = oldval & value; in AtomicAndFetch() 78 } while (InterlockedCompareExchange(ptr, newval, oldval) != oldval); in AtomicAndFetch() 84 Atomic32 oldval; in AtomicOrFetch() local 87 oldval = *ptr; in AtomicOrFetch() 88 newval = oldval | value; in AtomicOrFetch() 89 } while (InterlockedCompareExchange(ptr,newval, oldval) != oldval); in AtomicOrFetch() 95 Atomic32 oldval; in AtomicXorFetch() local 98 oldval = *ptr; in AtomicXorFetch() [all …]
|
/external/llvm/test/CodeGen/AArch64/ |
D | 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 71 %oldval = load volatile i64* %existing 72 %oldval_keep = and i64 %oldval, 4294901760 ; = 0xffff0000 89 %oldval = load volatile i32* %existing 90 %oldval_keep = and i32 %oldval, 135 ; = 0x87 107 %oldval = load volatile i64* %existing 108 %oldval_keep = and i64 %oldval, 1095216660480 ; = 0xff_0000_0000 [all …]
|
D | cmpxchg-idioms.ll | 3 define i32 @test_return(i32* %p, i32 %oldval, i32 %newval) { 23 %pair = cmpxchg i32* %p, i32 %oldval, i32 %newval seq_cst seq_cst 58 define void @test_conditional(i32* %p, i32 %oldval, i32 %newval) { 76 %pair = cmpxchg i32* %p, i32 %oldval, i32 %newval seq_cst seq_cst
|
D | bitfield-insert-0.ll | 9 %oldval = load volatile i32* %existing 10 %oldval_keep = and i32 %oldval, 4294705152 ; 0xfffc_0000
|
D | atomic-ops-not-barriers.ll | 7 %oldval = load i32* %var 8 %newval = add nsw i32 %oldval, -1
|
/external/chromium_org/third_party/tcmalloc/chromium/src/base/ |
D | atomicops-internals-windows.h | 74 LONG newval, LONG oldval) { in FastInterlockedCompareExchange() argument 75 return ::InterlockedCompareExchange(const_cast<LONG*>(ptr), newval, oldval); in FastInterlockedCompareExchange() 93 LONG _InterlockedCompareExchange(volatile LONG* ptr, LONG newval, LONG oldval); 104 LONG newval, LONG oldval) { 105 return _InterlockedCompareExchange(ptr, newval, oldval); 118 LONG newval, LONG oldval) { 119 return ::InterlockedCompareExchange(ptr, newval, oldval); 237 PVOID newval, PVOID oldval) { in FastInterlockedCompareExchangePointer() argument 239 newval, oldval); in FastInterlockedCompareExchangePointer() 252 PVOID newval, PVOID oldval); [all …]
|
D | atomicops-internals-arm-v6plus.h | 65 Atomic32 oldval, res; in NoBarrier_CompareAndSwap() local 76 : "=&r" (res), "=&r" (oldval), "+Qo" (*ptr) in NoBarrier_CompareAndSwap() 80 return oldval; in NoBarrier_CompareAndSwap() 188 Atomic64 oldval, res; in NoBarrier_CompareAndSwap() local 201 : "=&r" (res), "=&r" (oldval), "+Q" (*ptr) in NoBarrier_CompareAndSwap() 205 return oldval; in NoBarrier_CompareAndSwap()
|
/external/chromium_org/third_party/tcmalloc/vendor/src/base/ |
D | atomicops-internals-windows.h | 73 LONG newval, LONG oldval) { in FastInterlockedCompareExchange() argument 74 return ::InterlockedCompareExchange(const_cast<LONG*>(ptr), newval, oldval); in FastInterlockedCompareExchange() 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) { in FastInterlockedCompareExchangePointer() argument 230 newval, oldval); in FastInterlockedCompareExchangePointer() 243 PVOID newval, PVOID oldval); [all …]
|
D | atomicops-internals-arm-v6plus.h | 64 Atomic32 oldval, res; in NoBarrier_CompareAndSwap() local 75 : "=&r" (res), "=&r" (oldval), "+Qo" (*ptr) in NoBarrier_CompareAndSwap() 79 return oldval; in NoBarrier_CompareAndSwap() 187 Atomic64 oldval, res; in NoBarrier_CompareAndSwap() local 200 : "=&r" (res), "=&r" (oldval), "+Q" (*ptr) in NoBarrier_CompareAndSwap() 204 return oldval; in NoBarrier_CompareAndSwap()
|
/external/chromium_org/third_party/sqlite/src/test/ |
D | corrupt8.test | 62 set oldval [hexio_read test.db $i 1] 63 if {$oldval==0} break 72 if {$k==$oldval} continue 88 hexio_write test.db $i $oldval 89 if {$oldval>2} { 91 set oldval [hexio_read test.db $i2 1] 92 hexio_write test.db $i2 [format %02x [expr {($oldval+1)&0xff}]] 99 hexio_write test.db $i2 $oldval
|
/external/clang/test/CodeGen/ |
D | asm-inout.c | 35 unsigned char oldval; in test4() local 37 __asm__ ("frob %0" : "=r"(oldval) : "0"(0xff)); in test4() 38 return (int)oldval; in test4()
|
/external/chromium_org/third_party/usrsctp/usrsctplib/ |
D | user_atomic.h | 119 int32_t oldval; \ 120 oldval = atomic_fetchadd_int(addr, -val); \ 121 if (oldval < val) { \ 128 int32_t oldval; \ 129 oldval = atomic_fetchadd_int(addr, -val); \ 130 if (oldval < val) { \
|
/external/jemalloc/test/unit/ |
D | mallctl.c | 121 bool oldval; \ in TEST_BEGIN() 122 size_t sz = sizeof(oldval); \ in TEST_BEGIN() 123 assert_d_eq(mallctl("config."#config, &oldval, &sz, NULL, 0), \ in TEST_BEGIN() 125 assert_b_eq(oldval, config_##config, "Incorrect config value"); \ in TEST_BEGIN() 126 assert_zu_eq(sz, sizeof(oldval), "Unexpected output size"); \ in TEST_BEGIN() 152 t oldval; \ in TEST_BEGIN() 153 size_t sz = sizeof(oldval); \ in TEST_BEGIN() 155 int result = mallctl("opt."#opt, &oldval, &sz, NULL, 0); \ in TEST_BEGIN() 158 assert_zu_eq(sz, sizeof(oldval), "Unexpected output size"); \ in TEST_BEGIN()
|
/external/llvm/test/Transforms/AtomicExpandLoadLinked/ARM/ |
D | cmpxchg-weak.ll | 31 %oldval = extractvalue { i32, i1 } %pair, 0 32 ret i32 %oldval 63 %oldval = extractvalue { i32, i1 } %pair, 1 64 ret i1 %oldval 95 %oldval = extractvalue { i32, i1 } %pair, 0 96 ret i32 %oldval
|
/external/llvm/test/CodeGen/X86/ |
D | cmpxchg-i128-i1.ll | 40 %oldval = extractvalue { i128, i1 } %pair, 0 41 %success = icmp sge i128 %oldval, %desired 69 %old = phi i128 [%init, %entry], [%oldval, %loop] 73 %oldval = extractvalue { i128, i1 } %pair, 0
|
D | cmpxchg-i1.ll | 75 %old = phi i32 [%init, %entry], [%oldval, %loop] 78 %oldval = extractvalue { i32, i1 } %pair, 0 83 ret i32 %oldval
|
/external/llvm/test/CodeGen/ARM/ |
D | cmpxchg-idioms.ll | 3 define i32 @test_return(i32* %p, i32 %oldval, i32 %newval) { 28 %pair = cmpxchg i32* %p, i32 %oldval, i32 %newval seq_cst seq_cst 67 define void @test_conditional(i32* %p, i32 %oldval, i32 %newval) { 90 %pair = cmpxchg i32* %p, i32 %oldval, i32 %newval seq_cst seq_cst
|
D | cmpxchg-weak.ll | 7 %oldval = extractvalue { i32, i1 } %pair, 0 19 store i32 %oldval, i32* %addr
|
D | atomic-op.ll | 202 %oldval = extractvalue { i32, i1 } %pair, 0 214 ret i32 %oldval 221 %oldval = extractvalue { i32, i1 } %pair, 0 234 ret i32 %oldval
|
/external/jemalloc/src/ |
D | ctl.c | 999 t oldval; \ 1006 oldval = (v); \ 1007 READ(oldval, t); \ 1022 t oldval; \ 1028 oldval = (v); \ 1029 READ(oldval, t); \ 1043 t oldval; \ 1047 oldval = (v); \ 1048 READ(oldval, t); \ 1066 t oldval; \ [all …]
|
/external/qemu/hw/arm/ |
D | armv7m_nvic.c | 269 uint32_t oldval; in nvic_writel() local 272 oldval = s->systick.control; in nvic_writel() 275 if ((oldval ^ value) & SYSTICK_ENABLE) { in nvic_writel() 290 } else if ((oldval ^ value) & SYSTICK_CLKSOURCE) { in nvic_writel()
|
/external/strace/ |
D | system.c | 442 info.name, info.nlen, info.oldval, in sys_sysctl() 548 if (info.oldval == NULL) { in sys_sysctl() 562 printpath(tcp, (size_t)info.oldval); in sys_sysctl() 564 tprintf("%p", info.oldval); in sys_sysctl()
|
/external/qemu/distrib/sdl-1.2.15/src/video/symbian/EKA1/ |
D | SDL_epocevents.cpp | 452 const TInt oldval = array[k]; in EPOC_InitOSKeymap() local 454 if(oldval >= 0 && oldval < MAX_SCANCODE && newval >= 0 && newval < MAX_SCANCODE) in EPOC_InitOSKeymap() 456 keymap[oldval] = temp[newval]; in EPOC_InitOSKeymap()
|
/external/qemu/distrib/sdl-1.2.15/src/audio/macrom/ |
D | SDL_romaudio.c | 153 SInt32 oldval; in Mac_UnlockAudio() local 155 oldval = DecrementAtomic((SInt32 *) &audio_is_locked); in Mac_UnlockAudio() 156 if ( oldval != 1 ) /* != 1 means audio is still locked. */ in Mac_UnlockAudio()
|
/external/llvm/test/CodeGen/Mips/ |
D | atomic.ll | 69 define i32 @AtomicCmpSwap32(i32 %oldval, i32 %newval) nounwind { 74 %0 = cmpxchg i32* @x, i32 %oldval, i32 %tmp monotonic monotonic 251 define signext i8 @AtomicCmpSwap8(i8 signext %oldval, i8 signext %newval) nounwind { 253 %pair0 = cmpxchg i8* @y, i8 %oldval, i8 %newval monotonic monotonic
|