Home
last modified time | relevance | path

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

123

/freebsd-12.1/contrib/openmp/runtime/src/
H A Dz_Windows_NT-586_util.cpp23 old_value = TCR_1(*p); in __kmp_test_then_or8()
31 return old_value; in __kmp_test_then_or8()
37 old_value = TCR_1(*p); in __kmp_test_then_and8()
45 return old_value; in __kmp_test_then_and8()
51 old_value = TCR_4(*p); in __kmp_test_then_or32()
60 return old_value; in __kmp_test_then_or32()
75 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()
118 return old_value; in __kmp_test_then_or64()
[all …]
H A Dkmp_atomic.cpp803 old_value.vvv = (kmp_int##BITS *)&old_value.cmp; \
3176 return old_value;
3345 kmp_int8 old_value, new_value; in __kmpc_atomic_1() local
3347 old_value = *(kmp_int8 *)lhs; in __kmpc_atomic_1()
3355 old_value = *(kmp_int8 *)lhs; in __kmpc_atomic_1()
3392 kmp_int16 old_value, new_value; in __kmpc_atomic_2() local
3394 old_value = *(kmp_int16 *)lhs; in __kmpc_atomic_2()
3441 kmp_int32 old_value, new_value; in __kmpc_atomic_4() local
3443 old_value = *(kmp_int32 *)lhs; in __kmpc_atomic_4()
3491 kmp_int64 old_value, new_value; in __kmpc_atomic_8() local
[all …]
H A Dz_Linux_util.cpp315 old_value = TCR_1(*p); in __kmp_test_then_or8()
323 return old_value; in __kmp_test_then_or8()
329 old_value = TCR_1(*p); in __kmp_test_then_and8()
337 return old_value; in __kmp_test_then_and8()
343 old_value = TCR_4(*p); in __kmp_test_then_or32()
351 return old_value; in __kmp_test_then_or32()
365 return old_value; in __kmp_test_then_and32()
380 return old_value; in __kmp_test_then_add8()
394 return old_value; in __kmp_test_then_add64()
408 return old_value; in __kmp_test_then_or64()
[all …]
H A Dkmp_alloc.cpp271 volatile void *old_value = TCR_SYNC_PTR(th->th.th_local.bget_list); in __kmp_bget_dequeue() local
273 CCAST(void *, old_value), nullptr)) { in __kmp_bget_dequeue()
275 old_value = TCR_SYNC_PTR(th->th.th_local.bget_list); in __kmp_bget_dequeue()
277 p = CCAST(void *, old_value); in __kmp_bget_dequeue()
333 volatile void *old_value = TCR_PTR(th->th.th_local.bget_list); in __kmp_bget_enqueue() local
336 b->ql.flink = BFH(CCAST(void *, old_value)); in __kmp_bget_enqueue()
339 CCAST(void *, old_value), buf)) { in __kmp_bget_enqueue()
341 old_value = TCR_PTR(th->th.th_local.bget_list); in __kmp_bget_enqueue()
344 b->ql.flink = BFH(CCAST(void *, old_value)); in __kmp_bget_enqueue()
/freebsd-12.1/lib/libc/tests/sys/
H A Dmlock_helper.c45 vm_max_wired_sysctl(int *old_value, int *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 (%d)\n", *old_value); in vm_max_wired_sysctl()
70 int 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, "%d", old_value) > 0, in set_vm_max_wired()
/freebsd-12.1/contrib/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-12.1/contrib/llvm/tools/lldb/include/lldb/Target/
H A DThreadPlanTracer.h42 bool old_value = m_enabled; in EnableTracing() local
44 if (old_value == false && value == true) in EnableTracing()
46 else if (old_value == true && value == false) in EnableTracing()
49 return old_value; in EnableTracing()
55 bool old_value = m_single_step; in EnableSingleStep() local
57 return old_value; in EnableSingleStep()
H A DThreadPlan.h450 bool old_value = m_is_master_plan; in SetIsMasterPlan() local
452 return old_value; in SetIsMasterPlan()
/freebsd-12.1/contrib/llvm/lib/Support/
H A DAtomic.cpp47 sys::cas_flag old_value) { in CompareAndSwap() argument
50 if (result == old_value) in CompareAndSwap()
54 return __sync_val_compare_and_swap(ptr, old_value, new_value); in CompareAndSwap()
56 return InterlockedCompareExchange(ptr, new_value, old_value); in CompareAndSwap()
/freebsd-12.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-12.1/contrib/llvm/tools/lldb/include/lldb/Utility/
H A DPredicate.h111 const T old_value = m_value; in SetValue() local
114 Broadcast(old_value, broadcast_type); in SetValue()
238 void Broadcast(T old_value, PredicateBroadcastType broadcast_type) { in Broadcast() argument
241 ((broadcast_type == eBroadcastOnChange) && old_value != m_value); in Broadcast()
245 __FUNCTION__, old_value, broadcast_type, m_value, broadcast); in Broadcast()
/freebsd-12.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-12.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-12.1/contrib/llvm/tools/lldb/source/Core/
H A DValueObjectCast.cpp68 Value old_value(m_value); in UpdateValue() local
79 SetValueDidChange(m_value.GetValueType() != old_value.GetValueType() || in UpdateValue()
80 m_value.GetScalar() != old_value.GetScalar()); in UpdateValue()
H A DValueObjectVariable.cpp158 Value old_value(m_value); in UpdateValue() local
246 SetValueDidChange(value_type != old_value.GetValueType() || in UpdateValue()
247 m_value.GetScalar() != old_value.GetScalar()); in UpdateValue()
256 SetValueDidChange(value_type != old_value.GetValueType() || in UpdateValue()
257 m_value.GetScalar() != old_value.GetScalar()); in UpdateValue()
H A DValueObjectMemory.cpp163 Value old_value(m_value); in UpdateValue() local
201 SetValueDidChange(value_type != old_value.GetValueType() || in UpdateValue()
202 m_value.GetScalar() != old_value.GetScalar()); in UpdateValue()
H A DValueObjectDynamicValue.cpp207 Value old_value(m_value); in UpdateValue() local
259 SetValueDidChange(m_value.GetValueType() != old_value.GetValueType() || in UpdateValue()
260 m_value.GetScalar() != old_value.GetScalar()); in UpdateValue()
/freebsd-12.1/contrib/apr/atomic/unix/
H A Dmutex.c112 apr_uint32_t old_value; in apr_atomic_add32() local
115 old_value = *mem; in apr_atomic_add32()
120 return old_value; in apr_atomic_add32()
/freebsd-12.1/contrib/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors_mac.cc102 TSAN_INTERCEPTOR(bool, f, t old_value, t new_value, t volatile *ptr) { \ in OSATOMIC_INTERCEPTORS_ARITHMETIC()
103 SCOPED_TSAN_INTERCEPTOR(f, old_value, new_value, ptr); \ in OSATOMIC_INTERCEPTORS_ARITHMETIC()
105 (volatile tsan_t *)ptr, (tsan_t *)&old_value, (tsan_t)new_value, \ in OSATOMIC_INTERCEPTORS_ARITHMETIC()
109 TSAN_INTERCEPTOR(bool, f##Barrier, t old_value, t new_value, \
111 SCOPED_TSAN_INTERCEPTOR(f##Barrier, old_value, new_value, ptr); \
113 (volatile tsan_t *)ptr, (tsan_t *)&old_value, (tsan_t)new_value, \
/freebsd-12.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-12.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-12.1/sys/dev/ocs_fc/
H A Docs_ioctl.c922 uint32_t old_value; in ocs_sysctl_config_topology() local
926 ocs_hw_get(&ocs->hw, OCS_HW_CONFIG_TOPOLOGY, &old_value); in ocs_sysctl_config_topology()
930 return (sysctl_handle_int(oidp, &old_value, 0, req)); in ocs_sysctl_config_topology()
938 if (new_value == old_value) { in ocs_sysctl_config_topology()
952 uint32_t old_value; in ocs_sysctl_config_speed() local
956 ocs_hw_get(&ocs->hw, OCS_HW_LINK_CONFIG_SPEED, &old_value); in ocs_sysctl_config_speed()
960 return (sysctl_handle_int(oidp, &old_value, 0, req)); in ocs_sysctl_config_speed()
968 if (new_value == old_value) { in ocs_sysctl_config_speed()
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Breakpoint/
H A DBreakpointName.h122 bool old_value = m_permissions[permission]; in SetPermission() local
125 return old_value; in SetPermission()
/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DAtomic.h39 cas_flag old_value);
/freebsd-12.1/contrib/subversion/subversion/libsvn_repos/
H A Dfs-wrap.c398 const svn_string_t *old_value; in svn_repos_fs_change_rev_prop4() local
407 old_value = *old_value_p; in svn_repos_fs_change_rev_prop4()
417 old_value = old_value2; in svn_repos_fs_change_rev_prop4()
423 else if (! old_value) in svn_repos_fs_change_rev_prop4()
440 &old_value, new_value, pool)); in svn_repos_fs_change_rev_prop4()
444 author, name, old_value, in svn_repos_fs_change_rev_prop4()

123