Home
last modified time | relevance | path

Searched refs:old_val (Results 1 – 19 of 19) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_atomic_test.cc98 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/test/std/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/
Dmove_convert.pass.cpp109 int old_val = del.state(); local
116 checkDeleter(s, s2, del.state(), old_val);
131 int old_val = del.state(); local
138 checkDeleter(s, s2, del.state(), old_val);
/external/webrtc/webrtc/modules/audio_processing/vad/
Dpitch_internal.cc22 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/skia/src/ports/
DSkFontMgr_fontconfig.cpp272 SkFixed old_val; member
278 if (val < ranges[0].old_val) { in map_ranges_fixed()
284 if (val < ave(ranges[i].old_val, ranges[i+1].old_val)) { in map_ranges_fixed()
285 return map_range(val, ranges[i].old_val, ave(ranges[i].old_val, ranges[i+1].old_val), in map_ranges_fixed()
288 if (val < ranges[i+1].old_val) { in map_ranges_fixed()
289 return map_range(val, ave(ranges[i].old_val, ranges[i+1].old_val), ranges[i+1].old_val, in map_ranges_fixed()
/external/flac/libFLAC/
Dcpu.c296 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/llvm/examples/OCaml-Kaleidoscope/Chapter5/
Dcodegen.ml122 let old_val =
163 begin match old_val with
164 | Some old_val -> Hashtbl.add named_values var_name old_val
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/
Dcodegen.ml140 let old_val =
181 begin match old_val with
182 | Some old_val -> Hashtbl.add named_values var_name old_val
/external/llvm/include/llvm/
DPassSupport.h38 sys::cas_flag old_val = sys::CompareAndSwap(&initialized, 1, 0); \
39 if (old_val == 0) { \
/external/compiler-rt/lib/asan/
Dasan_thread.cc129 uptr old_val = 0; in AsyncSignalSafeLazyInitFakeStack() local
137 reinterpret_cast<atomic_uintptr_t *>(&fake_stack_), &old_val, 1UL, in AsyncSignalSafeLazyInitFakeStack()
/external/clang/test/Sema/
Datomic-ops.c251 _Bool old_val = atomic_flag_test_and_set(&guard); in f() local
252 if (old_val) atomic_flag_clear(&guard); in f()
254 old_val = (atomic_flag_test_and_set)(&guard); in f()
255 if (old_val) (atomic_flag_clear)(&guard); in f()
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/
Dcodegen.ml193 let old_val =
234 begin match old_val with
235 | Some old_val -> Hashtbl.add named_values var_name old_val
/external/llvm/docs/tutorial/
DOCamlLangImpl5.rst587 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
DOCamlLangImpl6.rst1199 let old_val =
1240 begin match old_val with
1241 | Some old_val -> Hashtbl.add named_values var_name old_val
DOCamlLangImpl7.rst392 let old_val =
1412 let old_val =
1453 begin match old_val with
1454 | Some old_val -> Hashtbl.add named_values var_name old_val
/external/valgrind/memcheck/
Dmc_errors.c306 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_()
Dmc_include.h481 SizeT current_val, SizeT old_val,
/external/llvm/test/Transforms/InstCombine/
Dicmp.ll1516 ; CHECK-NEXT: %[[xchg:.*]] = cmpxchg i32* %sc, i32 %old_val, i32 %new_val seq_cst seq_cst
1519 define zeroext i1 @icmp_cmpxchg_strong(i32* %sc, i32 %old_val, i32 %new_val) {
1520 %xchg = cmpxchg i32* %sc, i32 %old_val, i32 %new_val seq_cst seq_cst
1522 %icmp = icmp eq i32 %xtrc, %old_val
/external/valgrind/VEX/priv/
Dguest_x86_toIR.c3620 IRTemp old_val = newTemp(Ity_F64); in maybe_put_ST() local
3621 assign(old_val, get_ST_UNCHECKED(i)); in maybe_put_ST()
3630 mkexpr(old_val))); in maybe_put_ST()
Dguest_amd64_toIR.c5101 IRTemp old_val = newTemp(Ity_F64); in maybe_put_ST() local
5102 assign(old_val, get_ST_UNCHECKED(i)); in maybe_put_ST()
5111 mkexpr(old_val))); in maybe_put_ST()