Home
last modified time | relevance | path

Searched refs:old_val (Results 1 - 24 of 24) sorted by relevance

/third_party/node/deps/v8/src/sandbox/
H A Dexternal-pointer-table-inl.h118 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 Datomic.h393 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 Dtst_atomic.h152 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 DThreading.h98 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 DThreading.h125 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 DSkFontConfigInterface_direct.cpp369 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 DSkFontMgr_fontconfig.cpp278 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 Dreport.py81 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 Ddevice.cpp265 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 Dcontext.c275 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 DVectorKeyframeAnimator.cpp115 const auto old_val = Sk4f::Load(dst), variable
118 changed |= (new_val != old_val).anyTrue();
/third_party/node/deps/v8/src/wasm/
H A Dwasm-code-manager.h334 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 Dhp-option.c498 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 Dhp-accessor.c469 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 Dma1509.c1575 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 Dmustek_pp.c1438 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 Dqcam.c1685 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 Dumax_pp.c1726 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 Dmustek.c5911 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 Dtest-tablet.c2040 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 Dmacro-assembler-s390.h360 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 Dmacro-assembler-s390.cc3483 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 Dtest_email.py480 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 Dnuklear.h20570 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()

Completed in 99 milliseconds