HomeSort by relevance Sort by last modified time
    Searched refs:old_val (Results 1 - 25 of 28) sorted by null

1 2

  /external/compiler-rt/lib/sanitizer_common/tests/
sanitizer_atomic_test.cc 25 Type old_val = 42; local
27 Type var = old_val;
28 EXPECT_TRUE(atomic_compare_exchange_strong((T*)&var, &old_val, new_val,
30 EXPECT_FALSE(atomic_compare_exchange_strong((T*)&var, &old_val, new_val,
32 EXPECT_EQ(new_val, old_val);
35 Type old_val = 42; local
37 Type var = old_val;
38 EXPECT_TRUE(atomic_compare_exchange_weak((T*)&var, &old_val, new_val,
40 EXPECT_FALSE(atomic_compare_exchange_weak((T*)&var, &old_val, new_val,
42 EXPECT_EQ(new_val, old_val);
    [all...]
  /external/chromium_org/third_party/tcmalloc/chromium/src/base/
atomicops-internals-x86.h 321 Atomic64 old_val,
323 return __sync_val_compare_and_swap(ptr, old_val, new_val);
328 Atomic64 old_val; local
331 old_val = *ptr;
332 } while (__sync_val_compare_and_swap(ptr, old_val, new_val) != old_val);
334 return old_val;
339 Atomic64 old_val, new_val; local
342 old_val = *ptr;
343 new_val = old_val + increment
    [all...]
  /external/chromium_org/third_party/tcmalloc/vendor/src/base/
atomicops-internals-x86.h 321 Atomic64 old_val,
323 return __sync_val_compare_and_swap(ptr, old_val, new_val);
328 Atomic64 old_val; local
331 old_val = *ptr;
332 } while (__sync_val_compare_and_swap(ptr, old_val, new_val) != old_val);
334 return old_val;
339 Atomic64 old_val, new_val; local
342 old_val = *ptr;
343 new_val = old_val + increment
    [all...]
  /system/core/libcutils/
str_parms.c 151 void *old_val; local
168 old_val = hashmapPut(str_parms->map, key, value);
169 if (old_val) {
170 free(old_val);
195 void *old_val; local
201 old_val = hashmapPut(str_parms->map, tmp_key, tmp_val);
203 if (old_val) {
204 free(old_val);
  /external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
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,
bytecode.h 120 * \param old_val previous span value
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,
477 * \param old_val previous span value
488 int yasm_bc_expand(yasm_bytecode *bc, int span, long old_val, long new_val,
bytecode.c 66 yasm_bc_expand_common(yasm_bytecode *bc, int span, long old_val, long new_val,
284 yasm_bc_expand(yasm_bytecode *bc, int span, long old_val, long new_val,
296 return bc->callback->expand(bc, span, old_val, new_val, neg_thres,
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,
  /external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/coff/
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,
423 win64_uwcode_bc_expand(yasm_bytecode *bc, int span, long old_val, long new_val,
  /external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/lc3b/
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,
  /external/llvm/examples/OCaml-Kaleidoscope/Chapter5/
codegen.ml 122 let old_val = var
163 begin match old_val with
164 | Some old_val -> Hashtbl.add named_values var_name old_val
  /external/llvm/include/llvm/
PassSupport.h 135 sys::cas_flag old_val = sys::CompareAndSwap(&initialized, 1, 0); \
136 if (old_val == 0) { \
  /external/chromium_org/third_party/tcmalloc/chromium/src/
malloc_hook.cc 168 PtrT old_val = reinterpret_cast<PtrT>(static_cast<AtomicWord>( local
173 return old_val;
177 PtrT AtomicPtr<PtrT>::CompareAndSwap(PtrT old_val, PtrT new_val) {
182 reinterpret_cast<AtomicWord>(old_val),
malloc_hook-inl.h 79 // if (data_ == old_val)
83 PtrT CompareAndSwap(PtrT old_val, PtrT new_val);
  /external/chromium_org/third_party/tcmalloc/vendor/src/
malloc_hook.cc 168 PtrT old_val = reinterpret_cast<PtrT>(static_cast<AtomicWord>( local
173 return old_val;
177 PtrT AtomicPtr<PtrT>::CompareAndSwap(PtrT old_val, PtrT new_val) {
182 reinterpret_cast<AtomicWord>(old_val),
malloc_hook-inl.h 79 // if (data_ == old_val)
83 PtrT CompareAndSwap(PtrT old_val, PtrT new_val);
  /external/llvm/examples/OCaml-Kaleidoscope/Chapter6/
codegen.ml 140 let old_val = var
181 begin match old_val with
182 | Some old_val -> Hashtbl.add named_values var_name old_val
  /external/llvm/examples/OCaml-Kaleidoscope/Chapter7/
codegen.ml 193 let old_val = var
234 begin match old_val with
235 | Some old_val -> Hashtbl.add named_values var_name old_val
  /art/runtime/base/
mutex.cc 198 uint64_t new_val, old_val; local
202 old_val = static_cast<uint64_t>(QuasiAtomic::Read64(caddr));
203 new_val = old_val + value;
204 } while (!QuasiAtomic::Cas64(static_cast<int64_t>(old_val), static_cast<int64_t>(new_val), addr));
  /external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/x86/
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,
734 x86_bc_jmp_expand(yasm_bytecode *bc, int span, long old_val, long new_val,
    [all...]
  /external/valgrind/main/memcheck/
mc_errors.c 437 SizeT current_val, SizeT old_val,
442 else if (current_val >= old_val)
443 VG_(snprintf) (buf, size, " (+%'lu)", current_val - old_val);
445 VG_(snprintf) (buf, size, " (-%'lu)", old_val - current_val);
    [all...]
mc_include.h 346 SizeT current_val, SizeT old_val,
  /external/chromium_org/tools/symsrc/
pefile.py 764 old_val = self.__unpacked_data_elms__[i]
768 if new_val != old_val:
    [all...]
  /external/chromium_org/third_party/bintrees/bintrees/
cwalker.c 3463 PyObject *old_exc, *old_val, *old_tb; local
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/test/
test_email.py 404 old_val = msg.get_param("report-type")
409 msg.set_param("report-type", old_val)
413 ('report-type', old_val)])
    [all...]

Completed in 1399 milliseconds

1 2