Home
last modified time | relevance | path

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

123

/freebsd-13.1/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; \
3242 return old_value;
3408 kmp_int8 old_value, new_value; in __kmpc_atomic_1() local
3410 old_value = *(kmp_int8 *)lhs; in __kmpc_atomic_1()
3418 old_value = *(kmp_int8 *)lhs; in __kmpc_atomic_1()
3455 kmp_int16 old_value, new_value; in __kmpc_atomic_2() local
3457 old_value = *(kmp_int16 *)lhs; in __kmpc_atomic_2()
3504 kmp_int32 old_value, new_value; in __kmpc_atomic_4() local
3506 old_value = *(kmp_int32 *)lhs; in __kmpc_atomic_4()
[all …]
H A Dz_Linux_util.cpp276 old_value = TCR_1(*p); in __kmp_test_then_or8()
284 return old_value; in __kmp_test_then_or8()
290 old_value = TCR_1(*p); in __kmp_test_then_and8()
298 return old_value; in __kmp_test_then_and8()
304 old_value = TCR_4(*p); in __kmp_test_then_or32()
312 return old_value; in __kmp_test_then_or32()
326 return old_value; in __kmp_test_then_and32()
341 return old_value; in __kmp_test_then_add8()
355 return old_value; in __kmp_test_then_add64()
369 return old_value; in __kmp_test_then_or64()
[all …]
/freebsd-13.1/lib/libc/tests/sys/
H A Dmlock_helper.c45 vm_max_wired_sysctl(u_long *old_value, u_long *new_value) in vm_max_wired_sysctl() argument
50 if (old_value == NULL) in vm_max_wired_sysctl()
58 ATF_REQUIRE_MSG(sysctlbyname(VM_MAX_WIRED, old_value, &old_len, in vm_max_wired_sysctl()
62 if (old_value != NULL) in vm_max_wired_sysctl()
63 printf("Saved the old value (%lu)\n", *old_value); in vm_max_wired_sysctl()
70 u_long old_value; in set_vm_max_wired() local
79 vm_max_wired_sysctl(&old_value, NULL); in set_vm_max_wired()
81 ATF_REQUIRE_MSG(fprintf(fp, "%lu", old_value) > 0, in set_vm_max_wired()
/freebsd-13.1/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-13.1/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-13.1/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()
211 void Broadcast(T old_value, PredicateBroadcastType broadcast_type) { in Broadcast() argument
214 ((broadcast_type == eBroadcastOnChange) && old_value != m_value); in Broadcast()
218 __FUNCTION__, old_value, broadcast_type, m_value, broadcast); in Broadcast()
/freebsd-13.1/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-13.1/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-13.1/sys/ddb/
H A Ddb_write_cmd.c52 db_expr_t old_value; in db_write_cmd() local
76 old_value = db_get_value(addr, size, false); in db_write_cmd()
78 db_printf("\t\t%#8lr\t=\t%#8lr\n", (long)old_value,(long)new_value); in db_write_cmd()
/freebsd-13.1/tests/sys/cddl/zfs/tests/cli_root/zfs_set/
H A Dzfs_set_common.kshlib57 typeset old_value=""
60 [ -n "$prop" ] && old_value=$(get_prop $prop $dataset)
85 if [ "$expect_value" != "" -a "$cur_value" != "$old_value" ]; then
86 err="$err should be unchanged at '$old_value'!"
/freebsd-13.1/contrib/llvm-project/lldb/source/Core/
H A DValueObjectCast.cpp65 Value old_value(m_value); in UpdateValue() local
75 SetValueDidChange(m_value.GetValueType() != old_value.GetValueType() || in UpdateValue()
76 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.cpp206 Value old_value(m_value); in UpdateValue() local
257 SetValueDidChange(m_value.GetValueType() != old_value.GetValueType() || in UpdateValue()
258 m_value.GetScalar() != old_value.GetScalar()); in UpdateValue()
/freebsd-13.1/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 with '$old_value'."
/freebsd-13.1/contrib/apr/atomic/unix/
H A Dmutex64.c113 apr_uint64_t old_value; in apr_atomic_add64() local
116 old_value = *mem; in apr_atomic_add64()
121 return old_value; in apr_atomic_add64()
H A Dmutex.c113 apr_uint32_t old_value; in apr_atomic_add32() local
116 old_value = *mem; in apr_atomic_add32()
121 return old_value; in apr_atomic_add32()
/freebsd-13.1/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-13.1/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors_mac.cpp110 TSAN_INTERCEPTOR(bool, f, t old_value, t new_value, t volatile *ptr) { \ in OSATOMIC_INTERCEPTORS_ARITHMETIC()
111 SCOPED_TSAN_INTERCEPTOR(f, old_value, new_value, ptr); \ in OSATOMIC_INTERCEPTORS_ARITHMETIC()
113 (volatile tsan_t *)ptr, (tsan_t *)&old_value, (tsan_t)new_value, \ in OSATOMIC_INTERCEPTORS_ARITHMETIC()
117 TSAN_INTERCEPTOR(bool, f##Barrier, t old_value, t new_value, \
119 SCOPED_TSAN_INTERCEPTOR(f##Barrier, old_value, new_value, ptr); \
121 (volatile tsan_t *)ptr, (tsan_t *)&old_value, (tsan_t)new_value, \
/freebsd-13.1/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-13.1/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()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DAtomic.h38 cas_flag old_value);
/freebsd-13.1/sys/dev/ocs_fc/
H A Docs_ioctl.c902 uint32_t old_value; in ocs_sysctl_config_topology() local
906 ocs_hw_get(&ocs->hw, OCS_HW_CONFIG_TOPOLOGY, &old_value); in ocs_sysctl_config_topology()
910 return (sysctl_handle_int(oidp, &old_value, 0, req)); in ocs_sysctl_config_topology()
918 if (new_value == old_value) { in ocs_sysctl_config_topology()
932 uint32_t old_value; in ocs_sysctl_config_speed() local
936 ocs_hw_get(&ocs->hw, OCS_HW_LINK_CONFIG_SPEED, &old_value); in ocs_sysctl_config_speed()
940 return (sysctl_handle_int(oidp, &old_value, 0, req)); in ocs_sysctl_config_speed()
948 if (new_value == old_value) { in ocs_sysctl_config_speed()
/freebsd-13.1/sys/xen/interface/
H A Dvm_event.h281 uint64_t old_value; member
303 uint64_t old_value; member

123