/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/libcxx/utils/google-benchmark/tools/gbench/ |
D | report.py | 58 def calculate_change(old_val, new_val): argument 62 if old_val == 0 and new_val == 0: 64 if old_val == 0: 65 return float(new_val - old_val) / (float(old_val + new_val) / 2) 66 return float(new_val - old_val) / abs(old_val)
|
/external/google-benchmark/tools/gbench/ |
D | report.py | 58 def calculate_change(old_val, new_val): argument 62 if old_val == 0 and new_val == 0: 64 if old_val == 0: 65 return float(new_val - old_val) / (float(old_val + new_val) / 2) 66 return float(new_val - old_val) / abs(old_val)
|
/external/linux-kselftest/tools/testing/selftests/futex/functional/ |
D | futex_requeue_pi_signal_restart.c | 97 unsigned int old_val; in waiterfn() local 104 old_val = f1; in waiterfn() 105 res = futex_wait_requeue_pi(&f1, old_val, &(f2), NULL, in waiterfn() 123 unsigned int old_val; in main() local 182 old_val = f1; in main() 183 res = futex_cmp_requeue_pi(&f1, old_val, &(f2), 1, 0, in main()
|
D | futex_requeue_pi.c | 114 futex_t old_val; in waiterfn() local 122 old_val = f1; in waiterfn() 126 args->ret = futex_wait_requeue_pi(&f1, old_val, &f2, args->timeout, in waiterfn() 152 futex_t old_val; in broadcast_wakerfn() local 167 old_val = f1; in broadcast_wakerfn() 168 args->ret = futex_cmp_requeue_pi(&f1, old_val, &f2, nr_wake, nr_requeue, in broadcast_wakerfn() 198 unsigned int old_val; in signal_wakerfn() local 219 old_val = f1; in signal_wakerfn() 220 args->ret = futex_cmp_requeue_pi(&f1, old_val, &f2, in signal_wakerfn()
|
/external/ltp/include/ |
D | tst_atomic.h | 89 int old_val, new_val; in tst_atomic_add_return() local 98 : "=&d" (old_val), "=&d" (new_val), "+Q" (*v) in tst_atomic_add_return() 102 return old_val + i; in tst_atomic_add_return()
|
/external/skia/src/core/ |
D | SkExchange.h | 18 T old_val = std::move(obj); in exchange() local 20 return old_val; in exchange()
|
/external/webrtc/webrtc/modules/audio_processing/vad/ |
D | pitch_internal.cc | 22 static void PitchInterpolation(double old_val, const double* in, double* out) { in PitchInterpolation() argument 23 out[0] = 1. / 6. * old_val + 5. / 6. * in[0]; in PitchInterpolation()
|
/external/llvm/include/llvm/Support/ |
D | Threading.h | 98 sys::cas_flag old_val = sys::CompareAndSwap(&flag, Wait, Uninitialized); in call_once() 99 if (old_val == Uninitialized) { in call_once()
|
/external/flac/libFLAC/ |
D | cpu.c | 296 FLAC__uint32 old_val, new_val; in FLAC__cpu_info() 299 old_val = fxsr.buff[50]; in FLAC__cpu_info() 302 fxsr.buff[50] = old_val; /* restore old value in the buffer */ in FLAC__cpu_info() 305 …fxsr.buff[50] = old_val; /* again restore old value in the buffer … in FLAC__cpu_info() 308 if ((old_val^new_val) == 0x0013c0de) in FLAC__cpu_info()
|
/external/skia/src/ports/ |
D | SkFontConfigInterface_direct.cpp | 373 SkFixed old_val; member 379 if (val < ranges[0].old_val) { in map_ranges_fixed() 385 if (val < ranges[i+1].old_val) { in map_ranges_fixed() 386 return map_range(val, ranges[i].old_val, ranges[i+1].old_val, in map_ranges_fixed()
|
D | SkFontMgr_fontconfig.cpp | 286 SkFixed old_val; member 292 if (val < ranges[0].old_val) { in map_ranges_fixed() 298 if (val < ranges[i+1].old_val) { in map_ranges_fixed() 299 return map_range(val, ranges[i].old_val, ranges[i+1].old_val, in map_ranges_fixed()
|
/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/swiftshader/third_party/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/swiftshader/third_party/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/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/swiftshader/third_party/LLVM/include/llvm/ |
D | PassSupport.h | 134 sys::cas_flag old_val = sys::CompareAndSwap(&initialized, 1, 0); \ 135 if (old_val == 0) { \
|
/external/clang/test/Sema/ |
D | atomic-ops.c | 260 _Bool old_val = atomic_flag_test_and_set(&guard); in f() local 261 if (old_val) atomic_flag_clear(&guard); in f() 263 old_val = (atomic_flag_test_and_set)(&guard); in f() 264 if (old_val) (atomic_flag_clear)(&guard); in f()
|
/external/swiftshader/third_party/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/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/compiler-rt/lib/asan/ |
D | asan_thread.cc | 194 uptr old_val = 0; in AsyncSignalSafeLazyInitFakeStack() local 202 reinterpret_cast<atomic_uintptr_t *>(&fake_stack_), &old_val, 1UL, in AsyncSignalSafeLazyInitFakeStack()
|
/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
|
D | OCamlLangImpl6.rst | 1199 let old_val = 1240 begin match old_val with 1241 | Some old_val -> Hashtbl.add named_values var_name old_val
|
/external/valgrind/memcheck/ |
D | mc_errors.c | 306 SizeT current_val, SizeT old_val, in MC_() 317 else if (current_val >= old_val) in MC_() 318 VG_(snprintf) (buf, size, " (+%'lu)", current_val - old_val); in MC_() 320 VG_(snprintf) (buf, size, " (-%'lu)", old_val - current_val); in MC_()
|
D | mc_include.h | 481 SizeT current_val, SizeT old_val,
|