/third_party/node/deps/v8/src/sandbox/ |
H A D | external-pointer-table-inl.h | 118 uint32_t old_val = base::Relaxed_CompareAndSwap( in Allocate() local 120 success = old_val == freelist_head; in Allocate() 130 base::Atomic64 old_val = load_atomic(index); in Mark() local 131 DCHECK(!is_free(old_val)); in Mark() 132 base::Atomic64 new_val = set_mark_bit(old_val); in Mark() 139 base::Atomic64 val = base::Relaxed_CompareAndSwap(ptr, old_val, new_val); in Mark() 140 DCHECK((val == old_val) || is_marked(val)); in Mark()
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | atomic.h | 393 int new_val, old_val; in pa_atomic_add() local 400 : "=&r" (old_val), "=&r" (not_exclusive), "=&r" (new_val) in pa_atomic_add() 406 return old_val; in pa_atomic_add() 412 int new_val, old_val; in pa_atomic_sub() local 419 : "=&r" (old_val), "=&r" (not_exclusive), "=&r" (new_val) in pa_atomic_sub() 425 return old_val; in pa_atomic_sub() 532 int old_val; in pa_atomic_add() local 534 old_val = a->value; in pa_atomic_add() 535 } while(__kernel_cmpxchg(old_val, old_val in pa_atomic_add() 541 int old_val; pa_atomic_sub() local [all...] |
/third_party/ltp/include/ |
H A D | tst_atomic.h | 152 int old_val, new_val; in tst_atomic_add_return() local 161 : "=&d" (old_val), "=&d" (new_val), "+Q" (*v) in tst_atomic_add_return() 165 return old_val + i; in tst_atomic_add_return()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
H A 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()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
H A D | Threading.h | 125 sys::cas_flag old_val = sys::CompareAndSwap(&flag.status, Wait, Uninitialized); in call_once() 126 if (old_val == Uninitialized) { in call_once()
|
/third_party/skia/src/ports/ |
H A D | SkFontConfigInterface_direct.cpp | 369 SkScalar old_val; 375 if (val < ranges[0].old_val) { 381 if (val < ranges[i+1].old_val) { 382 return map_range(val, ranges[i].old_val, ranges[i+1].old_val,
|
H A D | SkFontMgr_fontconfig.cpp | 278 SkScalar old_val; 284 if (val < ranges[0].old_val) { 290 if (val < ranges[i+1].old_val) { 291 return map_range(val, ranges[i].old_val, ranges[i+1].old_val,
|
/third_party/benchmark/tools/gbench/ |
H A D | report.py | 81 def calculate_change(old_val, new_val): 83 Return a float representing the decimal change between old_val and new_val. 85 if old_val == 0 and new_val == 0: 87 if old_val == 0: 88 return float(new_val - old_val) / (float(old_val + new_val) / 2) 89 return float(new_val - old_val) / abs(old_val)
|
/third_party/backends/backend/genesys/ |
H A D | device.cpp | 265 std::uint8_t old_val = dev.interface->read_register(reg.address); in apply_reg_settings_to_device_with_backup() local 266 std::uint8_t new_val = (old_val & ~reg.mask) | (reg.value & reg.mask); in apply_reg_settings_to_device_with_backup() 271 static_cast<std::uint8_t>(old_val & reg.mask), in apply_reg_settings_to_device_with_backup()
|
/third_party/python/Python/ |
H A D | context.c | 275 PyObject *old_val = NULL; in PyContextVar_Set() local 276 int found = _PyHamt_Find(ctx->ctx_vars, (PyObject *)var, &old_val); in PyContextVar_Set() 281 Py_XINCREF(old_val); in PyContextVar_Set() 282 PyContextToken *tok = token_new(ctx, var, old_val); in PyContextVar_Set() 283 Py_XDECREF(old_val); in PyContextVar_Set()
|
/third_party/skia/modules/skottie/src/animator/ |
H A D | VectorKeyframeAnimator.cpp | 115 const auto old_val = Sk4f::Load(dst), variable 118 changed |= (new_val != old_val).anyTrue();
|
/third_party/node/deps/v8/src/wasm/ |
H A D | wasm-code-manager.h | 334 int old_val = ref_count_.fetch_add(1, std::memory_order_acq_rel); in IncRef() local 335 DCHECK_LE(1, old_val); in IncRef() 336 DCHECK_GT(kMaxInt, old_val); in IncRef() 337 USE(old_val); in IncRef()
|
/third_party/backends/backend/ |
H A D | hp-option.c | 498 hp_byte_t * old_val = alloca(optd->size); in hp_option_imm_set() local 524 if (!old_val) in hp_option_imm_set() 534 RETURN_IF_FAIL( sanei_hp_accessor_get(this->data_acsr, data, old_val) ); in hp_option_imm_set() 536 if (_values_are_equal(this, data, old_val, valp)) in hp_option_imm_set() 543 memcpy(old_val, valp, optd->size); /* Save requested value */ in hp_option_imm_set() 552 if (!_values_are_equal(this, data, old_val, valp)) in hp_option_imm_set() 567 hp_byte_t * old_val = alloca(optd->size); in hp_option_set() local 574 if (!old_val) in hp_option_set() 590 RETURN_IF_FAIL( sanei_hp_accessor_get(this->data_acsr, data, old_val) ); in hp_option_set() 592 if (_values_are_equal(this, data, old_val, val in hp_option_set() [all...] |
H A D | hp-accessor.c | 469 int old_val = hp_accessor_choice_getint((HpAccessor)this, data); in sanei_hp_accessor_choice_strlist() local 478 hp_accessor_choice_setint((HpAccessor)this, data, old_val); in sanei_hp_accessor_choice_strlist()
|
H A D | ma1509.c | 1575 SANE_Char *old_val = s->val[option].s; in sane_control_option() local 1577 if (old_val) in sane_control_option() 1579 if (strcmp (old_val, val) == 0) in sane_control_option() 1581 free (old_val); in sane_control_option()
|
H A D | mustek_pp.c | 1438 char *old_val = hndl->val[option].s; in sane_control_option() local 1440 if (old_val) in sane_control_option() 1442 if (strcmp (old_val, val) == 0) in sane_control_option() 1445 free (old_val); in sane_control_option()
|
H A D | qcam.c | 1685 char *old_val; in sane_control_option() local 1776 old_val = s->val[OPT_RESOLUTION].s; in sane_control_option() 1778 if (strcmp (old_val, val) != 0) in sane_control_option() 1787 free (old_val); in sane_control_option()
|
H A D | umax_pp.c | 1726 char *old_val = dev->val[option].s; in sane_control_option() local 1728 if (old_val) in sane_control_option() 1730 if (strcmp (old_val, val) == 0) in sane_control_option() 1733 free (old_val); in sane_control_option()
|
H A D | mustek.c | 5911 SANE_Char *old_val = s->val[option].s; in sane_control_option() local 5913 if (old_val) in sane_control_option() 5915 if (strcmp (old_val, val) == 0) in sane_control_option() 5917 free (old_val); in sane_control_option() 5966 SANE_Char *old_val = s->val[option].s; in sane_control_option() local 5969 if (old_val) in sane_control_option() 5971 if (strcmp (old_val, val) == 0) in sane_control_option() 5973 free (old_val); in sane_control_option()
|
/third_party/libinput/test/ |
H A D | test-tablet.c | 2040 double val, old_val = 0; in START_TEST() local 2073 litest_assert_double_gt(val, old_val); in START_TEST() 2076 old_val = val; in START_TEST() 3256 double val, old_val = 0; in START_TEST() local 3285 litest_assert_double_gt(val, old_val); in START_TEST() 3288 old_val = val; in START_TEST()
|
/third_party/node/deps/v8/src/codegen/s390/ |
H A D | macro-assembler-s390.h | 360 void CmpAndSwap(Register old_val, Register new_val, const MemOperand& opnd); 361 void CmpAndSwap64(Register old_val, Register new_val, const MemOperand& opnd);
|
H A D | macro-assembler-s390.cc | 3483 void TurboAssembler::CmpAndSwap(Register old_val, Register new_val, in CallRecordWriteStub() argument 3486 cs(old_val, new_val, opnd); in CallRecordWriteStub() 3488 csy(old_val, new_val, opnd); in CallRecordWriteStub() 3492 void TurboAssembler::CmpAndSwap64(Register old_val, Register new_val, in CallRecordWriteStub() argument 3495 csg(old_val, new_val, opnd); in CallRecordWriteStub()
|
/third_party/python/Lib/test/test_email/ |
H A D | test_email.py | 480 old_val = msg.get_param("report-type") 485 msg.set_param("report-type", old_val) 489 ('report-type', old_val)])
|
/third_party/glfw/deps/ |
H A D | nuklear.h | 20570 int old_val; in nk_checkbox_text() local 20575 old_val = *active; in nk_checkbox_text() 20577 return old_val != *active; in nk_checkbox_text()
|