Home
last modified time | relevance | path

Searched refs:old_value (Results 1 – 25 of 58) sorted by relevance

123

/freebsd-14.2/contrib/llvm-project/openmp/runtime/src/
H A Dz_Windows_NT-586_util.cpp22 old_value = TCR_1(*p); in __kmp_test_then_or8()
30 return old_value; in __kmp_test_then_or8()
36 old_value = TCR_1(*p); in __kmp_test_then_and8()
44 return old_value; in __kmp_test_then_and8()
50 old_value = TCR_4(*p); in __kmp_test_then_or32()
59 return old_value; in __kmp_test_then_or32()
74 return old_value; in __kmp_test_then_and32()
88 return old_value; in __kmp_test_then_add8()
102 return old_value; in __kmp_test_then_add64()
119 return old_value; in __kmp_test_then_or64()
[all …]
H A Dkmp_atomic.cpp819 old_value.vvv = (kmp_int##BITS *)&old_value.cmp; \
846 old_value.vvv = (kmp_int##BITS *)&old_value.cmp; \
3260 return old_value;
3426 kmp_int8 old_value, new_value; in __kmpc_atomic_1() local
3428 old_value = *(kmp_int8 *)lhs; in __kmpc_atomic_1()
3436 old_value = *(kmp_int8 *)lhs; in __kmpc_atomic_1()
3473 kmp_int16 old_value, new_value; in __kmpc_atomic_2() local
3475 old_value = *(kmp_int16 *)lhs; in __kmpc_atomic_2()
3522 kmp_int32 old_value, new_value; in __kmpc_atomic_4() local
3524 old_value = *(kmp_int32 *)lhs; in __kmpc_atomic_4()
[all …]
H A Dz_Linux_util.cpp313 old_value = TCR_1(*p); in __kmp_test_then_or8()
321 return old_value; in __kmp_test_then_or8()
327 old_value = TCR_1(*p); in __kmp_test_then_and8()
335 return old_value; in __kmp_test_then_and8()
341 old_value = TCR_4(*p); in __kmp_test_then_or32()
349 return old_value; in __kmp_test_then_or32()
363 return old_value; in __kmp_test_then_and32()
378 return old_value; in __kmp_test_then_add8()
392 return old_value; in __kmp_test_then_add64()
406 return old_value; in __kmp_test_then_or64()
[all …]
/freebsd-14.2/lib/libc/tests/sys/
H A Dmlock_helper.c42 vm_max_wired_sysctl(u_long *old_value, u_long *new_value) in vm_max_wired_sysctl() argument
47 if (old_value == NULL) in vm_max_wired_sysctl()
55 ATF_REQUIRE_MSG(sysctlbyname(VM_MAX_WIRED, old_value, &old_len, in vm_max_wired_sysctl()
59 if (old_value != NULL) in vm_max_wired_sysctl()
60 printf("Saved the old value (%lu)\n", *old_value); in vm_max_wired_sysctl()
67 u_long old_value; in set_vm_max_wired() local
76 vm_max_wired_sysctl(&old_value, NULL); in set_vm_max_wired()
78 ATF_REQUIRE_MSG(fprintf(fp, "%lu", old_value) > 0, in set_vm_max_wired()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/BlocksRuntime/
H A Druntime.c109 if (OSAtomicCompareAndSwapLong(old_value, old_value+1, (volatile long int *)where)) {
110 return old_value+1;
118 int old_value = *(volatile int *)where; in latching_incr_int() local
122 if (OSAtomicCompareAndSwapInt(old_value, old_value+1, (volatile int *)where)) { in latching_incr_int()
123 return old_value+1; in latching_incr_int()
135 if ((old_value & BLOCK_REFCOUNT_MASK) == 0) {
138 if (OSAtomicCompareAndSwapLong(old_value, old_value-1, (volatile long int *)where)) {
139 return old_value-1;
147 int old_value = *(volatile int *)where; in latching_decr_int() local
154 if (OSAtomicCompareAndSwapInt(old_value, old_value-1, (volatile int *)where)) { in latching_decr_int()
[all …]
/freebsd-14.2/sys/contrib/ck/include/
H A Dck_ec.h539 uint32_t old_value,
547 uint64_t old_value,
572 uint32_t old_value,
583 uint64_t old_value,
765 uint32_t old_value,
770 uint32_t old_value, in ck_ec32_wait() argument
782 uint32_t old_value,
791 uint32_t old_value, in ck_ec32_wait_pred() argument
904 uint64_t old_value,
921 uint64_t old_value,
[all …]
/freebsd-14.2/sys/contrib/ck/src/
H A Dck_ec.c46 uint32_t old_value, in ck_ec32_wait_slow() argument
49 return ck_ec32_wait_pred_slow(ec, ops, old_value, in ck_ec32_wait_slow()
65 uint64_t old_value, in ck_ec64_wait_slow() argument
68 return ck_ec64_wait_pred_slow(ec, ops, old_value, in ck_ec64_wait_slow()
316 old_value, unflagged, flagged) \ argument
374 if (ck_ec##W##_value(ec) != old_value) { \
386 uint32_t old_value, in ck_ec32_wait_pred_slow() argument
392 const uint32_t unflagged_word = old_value; in ck_ec32_wait_pred_slow()
400 old_value, unflagged_word, flagged_word); in ck_ec32_wait_pred_slow()
407 uint64_t old_value, in ck_ec64_wait_pred_slow() argument
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DAtomic.cpp46 sys::cas_flag old_value) { in CompareAndSwap() argument
49 if (result == old_value) in CompareAndSwap()
53 return __sync_val_compare_and_swap(ptr, old_value, new_value); in CompareAndSwap()
55 return InterlockedCompareExchange(ptr, new_value, old_value); in CompareAndSwap()
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Utility/
H A DPredicate.h96 const T old_value = m_value; in SetValue() local
99 Broadcast(old_value, broadcast_type); in SetValue()
213 void Broadcast(T old_value, PredicateBroadcastType broadcast_type) { in Broadcast() argument
216 ((broadcast_type == eBroadcastOnChange) && old_value != m_value); in Broadcast()
220 __FUNCTION__, old_value, broadcast_type, m_value, broadcast); in Broadcast()
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Target/
H A DThreadPlanTracer.h41 bool old_value = m_enabled; in EnableTracing() local
43 if (old_value == false && value == true) in EnableTracing()
45 else if (old_value == true && value == false) in EnableTracing()
48 return old_value; in EnableTracing()
/freebsd-14.2/contrib/elftoolchain/libdwarf/
H A Ddwarf_frame.c553 Dwarf_Half old_value; in dwarf_set_frame_rule_table_size() local
558 return (old_value); in dwarf_set_frame_rule_table_size()
564 Dwarf_Half old_value; in dwarf_set_frame_rule_initial_value() local
569 return (old_value); in dwarf_set_frame_rule_initial_value()
575 Dwarf_Half old_value; in dwarf_set_frame_cfa_value() local
577 old_value = dbg->dbg_frame_cfa_value; in dwarf_set_frame_cfa_value()
580 return (old_value); in dwarf_set_frame_cfa_value()
586 Dwarf_Half old_value; in dwarf_set_frame_same_value() local
591 return (old_value); in dwarf_set_frame_same_value()
597 Dwarf_Half old_value; in dwarf_set_frame_undefined_value() local
[all …]
/freebsd-14.2/sys/ddb/
H A Ddb_write_cmd.c50 db_expr_t old_value; in db_write_cmd() local
74 old_value = db_get_value(addr, size, false); in db_write_cmd()
76 db_printf("\t\t%#8lr\t=\t%#8lr\n", (long)old_value,(long)new_value); in db_write_cmd()
/freebsd-14.2/sys/kern/
H A Dsys_timerfd.c380 timerfd_curval(struct timerfd *tfd, struct itimerspec *old_value) in timerfd_curval() argument
385 *old_value = tfd->tfd_time; in timerfd_curval()
389 &old_value->it_value); in timerfd_curval()
509 const struct itimerspec *new_value, struct itimerspec *old_value) in kern_timerfd_settime() argument
536 if (old_value != NULL) in kern_timerfd_settime()
537 timerfd_curval(tfd, old_value); in kern_timerfd_settime()
592 struct itimerspec new_value, old_value; in sys_timerfd_settime() local
598 if (uap->old_value == NULL) { in sys_timerfd_settime()
603 &new_value, &old_value); in sys_timerfd_settime()
605 error = copyout(&old_value, uap->old_value, in sys_timerfd_settime()
[all …]
/freebsd-14.2/tests/sys/cddl/zfs/tests/cli_root/zfs_set/
H A Dzfs_set_common.kshlib55 typeset old_value=""
58 [ -n "$prop" ] && old_value=$(get_prop $prop $dataset)
83 if [ "$expect_value" != "" -a "$cur_value" != "$old_value" ]; then
84 err="$err should be unchanged at '$old_value'!"
/freebsd-14.2/contrib/googletest/googletest/test/
H A Dgtest_dirs_test.cc20 const char* old_value = getenv(name); in SetEnv() local
21 if (old_value != nullptr) { in SetEnv()
22 saved_value_ = old_value; in SetEnv()
/freebsd-14.2/contrib/llvm-project/lldb/source/Core/
H A DValueObjectCast.cpp66 Value old_value(m_value); in UpdateValue() local
76 SetValueDidChange(m_value.GetValueType() != old_value.GetValueType() || in UpdateValue()
77 m_value.GetScalar() != old_value.GetScalar()); in UpdateValue()
H A DValueObjectVariable.cpp162 Value old_value(m_value); in UpdateValue() local
227 SetValueDidChange(value_type != old_value.GetValueType() || in UpdateValue()
228 m_value.GetScalar() != old_value.GetScalar()); in UpdateValue()
237 SetValueDidChange(value_type != old_value.GetValueType() || in UpdateValue()
238 m_value.GetScalar() != old_value.GetScalar()); in UpdateValue()
H A DValueObjectMemory.cpp166 Value old_value(m_value); in UpdateValue() local
204 SetValueDidChange(value_type != old_value.GetValueType() || in UpdateValue()
205 m_value.GetScalar() != old_value.GetScalar()); in UpdateValue()
H A DValueObjectDynamicValue.cpp216 Value old_value(m_value); in UpdateValue() local
267 SetValueDidChange(m_value.GetValueType() != old_value.GetValueType() || in UpdateValue()
268 m_value.GetScalar() != old_value.GetScalar()); in UpdateValue()
/freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_set/
H A Dzfs_set_common.kshlib56 typeset old_value=""
59 [[ -n $prop ]] && old_value=$(get_prop $prop $dataset)
98 if [[ "$expect_value" != "" && "$cur_value" != "$old_value" ]];
101 "should equal '$old_value'."
/freebsd-14.2/sys/compat/linux/
H A Dlinux_event.c641 error = copyout(&lots, args->old_value, sizeof(lots)); in linux_timerfd_gettime()
659 if (args->old_value == NULL) in linux_timerfd_settime()
663 if (error == 0 && args->old_value != NULL) { in linux_timerfd_settime()
666 error = copyout(&lots, args->old_value, sizeof(lots)); in linux_timerfd_settime()
686 error = copyout(&lots, args->old_value, sizeof(lots)); in linux_timerfd_gettime64()
704 if (args->old_value == NULL) in linux_timerfd_settime64()
708 if (error == 0 && args->old_value != NULL) { in linux_timerfd_settime64()
711 error = copyout(&lots, args->old_value, sizeof(lots)); in linux_timerfd_settime64()
/freebsd-14.2/contrib/ntp/sntp/unity/
H A Dunity_fixture.c276 void * old_value; member
294 pointer_store[pointer_index].old_value = *pointer; in UnityPointer_Set()
305 pointer_store[pointer_index].old_value; in UnityPointer_UndoAllSets()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors_mac.cpp111 TSAN_INTERCEPTOR(bool, f, t old_value, t new_value, t volatile *ptr) { \ in OSATOMIC_INTERCEPTORS_ARITHMETIC()
112 SCOPED_TSAN_INTERCEPTOR(f, old_value, new_value, ptr); \ in OSATOMIC_INTERCEPTORS_ARITHMETIC()
114 (volatile tsan_t *)ptr, (tsan_t *)&old_value, (tsan_t)new_value, \ in OSATOMIC_INTERCEPTORS_ARITHMETIC()
118 TSAN_INTERCEPTOR(bool, f##Barrier, t old_value, t new_value, \
120 SCOPED_TSAN_INTERCEPTOR(f##Barrier, old_value, new_value, ptr); \
122 (volatile tsan_t *)ptr, (tsan_t *)&old_value, (tsan_t)new_value, \
/freebsd-14.2/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_recv.c265 HAL_BOOL old_value = ahp->ah_get_plcp_hdr == 0; in ar9300_set_rx_sel_evm() local
268 return old_value; in ar9300_set_rx_sel_evm()
278 return old_value; in ar9300_set_rx_sel_evm()
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Breakpoint/
H A DBreakpointName.h121 bool old_value = m_permissions[permission]; in SetPermission() local
124 return old_value; in SetPermission()

123