/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_atomic_test.cc | 98 Type old_val = 42; in CheckAtomicCompareExchange() local 100 Type var = old_val; in CheckAtomicCompareExchange() 101 EXPECT_TRUE(atomic_compare_exchange_strong((T*)&var, &old_val, new_val, in CheckAtomicCompareExchange() 103 EXPECT_FALSE(atomic_compare_exchange_strong((T*)&var, &old_val, new_val, in CheckAtomicCompareExchange() 105 EXPECT_EQ(new_val, old_val); in CheckAtomicCompareExchange() 108 Type old_val = 42; in CheckAtomicCompareExchange() local 110 Type var = old_val; in CheckAtomicCompareExchange() 111 EXPECT_TRUE(atomic_compare_exchange_weak((T*)&var, &old_val, new_val, in CheckAtomicCompareExchange() 113 EXPECT_FALSE(atomic_compare_exchange_weak((T*)&var, &old_val, new_val, in CheckAtomicCompareExchange() 115 EXPECT_EQ(new_val, old_val); in CheckAtomicCompareExchange()
|
/external/chromium_org/third_party/tcmalloc/chromium/src/base/ |
D | atomicops-internals-x86.h | 321 Atomic64 old_val, in NoBarrier_CompareAndSwap() argument 323 return __sync_val_compare_and_swap(ptr, old_val, new_val); in NoBarrier_CompareAndSwap() 328 Atomic64 old_val; in NoBarrier_AtomicExchange() local 331 old_val = *ptr; in NoBarrier_AtomicExchange() 332 } while (__sync_val_compare_and_swap(ptr, old_val, new_val) != old_val); in NoBarrier_AtomicExchange() 334 return old_val; in NoBarrier_AtomicExchange() 339 Atomic64 old_val, new_val; in NoBarrier_AtomicIncrement() local 342 old_val = *ptr; in NoBarrier_AtomicIncrement() 343 new_val = old_val + increment; in NoBarrier_AtomicIncrement() 344 } while (__sync_val_compare_and_swap(ptr, old_val, new_val) != old_val); in NoBarrier_AtomicIncrement() [all …]
|
/external/chromium_org/third_party/tcmalloc/vendor/src/base/ |
D | atomicops-internals-x86.h | 321 Atomic64 old_val, in NoBarrier_CompareAndSwap() argument 323 return __sync_val_compare_and_swap(ptr, old_val, new_val); in NoBarrier_CompareAndSwap() 328 Atomic64 old_val; in NoBarrier_AtomicExchange() local 331 old_val = *ptr; in NoBarrier_AtomicExchange() 332 } while (__sync_val_compare_and_swap(ptr, old_val, new_val) != old_val); in NoBarrier_AtomicExchange() 334 return old_val; in NoBarrier_AtomicExchange() 339 Atomic64 old_val, new_val; in NoBarrier_AtomicIncrement() local 342 old_val = *ptr; in NoBarrier_AtomicIncrement() 343 new_val = old_val + increment; in NoBarrier_AtomicIncrement() 344 } while (__sync_val_compare_and_swap(ptr, old_val, new_val) != old_val); in NoBarrier_AtomicIncrement() [all …]
|
/external/lldb/test/functionalities/watchpoint/multiple_threads/ |
D | main.cpp | 32 uint32_t old_val = g_val; in access_pool() local 34 printf("changing g_val to %d...\n", (old_val + 1)); in access_pool() 35 g_val = old_val + 1; in access_pool()
|
/external/lldb/test/functionalities/stop-hook/multiple_threads/ |
D | main.cpp | 32 uint32_t old_val = g_val; in access_pool() local 34 g_val = old_val + 1; in access_pool()
|
/external/lldb/test/python_api/watchpoint/watchlocation/ |
D | main.cpp | 38 char old_val = *g_char_ptr; in access_pool() local 40 do_bad_thing_with_location(g_char_ptr, old_val + 1); in access_pool()
|
/external/lldb/test/functionalities/watchpoint/hello_watchlocation/ |
D | main.cpp | 40 char old_val = *g_char_ptr; in access_pool() local 42 do_bad_thing_with_location(g_char_ptr, old_val + 1); in access_pool()
|
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
D | bytecode.h | 132 int (*expand) (yasm_bytecode *bc, int span, long old_val, long new_val, 271 (yasm_bytecode *bc, int span, long old_val, long new_val, 488 int yasm_bc_expand(yasm_bytecode *bc, int span, long old_val, long new_val,
|
D | bc-org.c | 51 static int bc_org_expand(yasm_bytecode *bc, int span, long old_val, 105 bc_org_expand(yasm_bytecode *bc, int span, long old_val, long new_val, in bc_org_expand() argument
|
D | bytecode.c | 66 yasm_bc_expand_common(yasm_bytecode *bc, int span, long old_val, long new_val, in yasm_bc_expand_common() argument 284 yasm_bc_expand(yasm_bytecode *bc, int span, long old_val, long new_val, in yasm_bc_expand() argument 296 return bc->callback->expand(bc, span, old_val, new_val, neg_thres, in yasm_bc_expand()
|
D | bc-align.c | 57 static int bc_align_expand(yasm_bytecode *bc, int span, long old_val, 134 bc_align_expand(yasm_bytecode *bc, int span, long old_val, long new_val, in bc_align_expand() argument
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/coff/ |
D | win64-except.c | 46 static int win64_uwinfo_bc_expand(yasm_bytecode *bc, int span, long old_val, 61 static int win64_uwcode_bc_expand(yasm_bytecode *bc, int span, long old_val, 254 win64_uwinfo_bc_expand(yasm_bytecode *bc, int span, long old_val, long new_val, in win64_uwinfo_bc_expand() argument 423 win64_uwcode_bc_expand(yasm_bytecode *bc, int span, long old_val, long new_val, in win64_uwcode_bc_expand() argument
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/lc3b/ |
D | lc3bbc.c | 42 static int lc3b_bc_insn_expand(yasm_bytecode *bc, int span, long old_val, 160 lc3b_bc_insn_expand(yasm_bytecode *bc, int span, long old_val, long new_val, in lc3b_bc_insn_expand() argument
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter5/ |
D | codegen.ml | 122 let old_val = 163 begin match old_val with 164 | Some old_val -> Hashtbl.add named_values var_name old_val
|
/external/llvm/include/llvm/ |
D | PassSupport.h | 38 sys::cas_flag old_val = sys::CompareAndSwap(&initialized, 1, 0); \ 39 if (old_val == 0) { \
|
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
D | malloc_hook.cc | 168 PtrT old_val = reinterpret_cast<PtrT>(static_cast<AtomicWord>( in Exchange() local 173 return old_val; in Exchange() 177 PtrT AtomicPtr<PtrT>::CompareAndSwap(PtrT old_val, PtrT new_val) { in CompareAndSwap() argument 182 reinterpret_cast<AtomicWord>(old_val), in CompareAndSwap()
|
D | malloc_hook-inl.h | 83 PtrT CompareAndSwap(PtrT old_val, PtrT new_val);
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
D | malloc_hook.cc | 168 PtrT old_val = reinterpret_cast<PtrT>(static_cast<AtomicWord>( in Exchange() local 173 return old_val; in Exchange() 177 PtrT AtomicPtr<PtrT>::CompareAndSwap(PtrT old_val, PtrT new_val) { in CompareAndSwap() argument 182 reinterpret_cast<AtomicWord>(old_val), in CompareAndSwap()
|
D | malloc_hook-inl.h | 83 PtrT CompareAndSwap(PtrT old_val, PtrT new_val);
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/ |
D | codegen.ml | 140 let old_val = 181 begin match old_val with 182 | Some old_val -> Hashtbl.add named_values var_name old_val
|
/external/compiler-rt/lib/asan/ |
D | asan_thread.cc | 120 uptr old_val = 0; in AsyncSignalSafeLazyInitFakeStack() local 128 reinterpret_cast<atomic_uintptr_t *>(&fake_stack_), &old_val, 1UL, in AsyncSignalSafeLazyInitFakeStack()
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/ |
D | codegen.ml | 193 let old_val = 234 begin match old_val with 235 | Some old_val -> Hashtbl.add named_values var_name old_val
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/x86/ |
D | x86bc.c | 42 static int x86_bc_insn_expand(yasm_bytecode *bc, int span, long old_val, 55 static int x86_bc_jmp_expand(yasm_bytecode *bc, int span, long old_val, 629 x86_bc_insn_expand(yasm_bytecode *bc, int span, long old_val, long new_val, in x86_bc_insn_expand() argument 734 x86_bc_jmp_expand(yasm_bytecode *bc, int span, long old_val, long new_val, in x86_bc_jmp_expand() argument
|
/external/llvm/docs/tutorial/ |
D | OCamlLangImpl5.rst | 587 let old_val = 606 potentially shadowing in ``old_val`` (which will be None if there is no 670 begin match old_val with 671 | Some old_val -> Hashtbl.add named_values var_name old_val 1134 let old_val = 1175 begin match old_val with 1176 | Some old_val -> Hashtbl.add named_values var_name old_val
|
/external/valgrind/main/memcheck/ |
D | mc_errors.c | 282 SizeT current_val, SizeT old_val, in MC_() 287 else if (current_val >= old_val) in MC_() 288 VG_(snprintf) (buf, size, " (+%'lu)", current_val - old_val); in MC_() 290 VG_(snprintf) (buf, size, " (-%'lu)", old_val - current_val); in MC_()
|