Searched refs:old_value (Results 1 - 25 of 57) sorted by relevance

123

/freebsd-current/contrib/llvm-project/openmp/runtime/src/
H A Dz_Windows_NT-586_util.cpp20 kmp_int8 old_value, new_value; local
22 old_value = TCR_1(*p);
23 new_value = old_value | d;
25 while (!KMP_COMPARE_AND_STORE_REL8(p, old_value, new_value)) {
27 old_value = TCR_1(*p);
28 new_value = old_value | d;
30 return old_value;
34 kmp_int8 old_value, new_value; local
36 old_value = TCR_1(*p);
37 new_value = old_value
48 kmp_uint32 old_value, new_value; local
63 kmp_uint32 old_value, new_value; local
79 kmp_int64 old_value, new_value; local
93 kmp_int64 old_value, new_value; local
108 kmp_uint64 old_value, new_value; local
123 kmp_uint64 old_value, new_value; local
[all...]
H A Dkmp_atomic.cpp792 TYPE old_value, new_value; \
793 old_value = *(TYPE volatile *)lhs; \
794 new_value = (TYPE)(old_value OP rhs); \
796 (kmp_int##BITS *)lhs, *VOLATILE_CAST(kmp_int##BITS *) & old_value, \
800 old_value = *(TYPE volatile *)lhs; \
801 new_value = (TYPE)(old_value OP rhs); \
818 struct _sss old_value, new_value; \
819 old_value.vvv = (kmp_int##BITS *)&old_value.cmp; \
821 *old_value
3426 kmp_int8 old_value, new_value; local
3473 kmp_int16 old_value, new_value; local
3522 kmp_int32 old_value, new_value; local
3572 kmp_int64 old_value, new_value; local
[all...]
H A Dz_Linux_util.cpp311 kmp_int8 old_value, new_value; local
313 old_value = TCR_1(*p);
314 new_value = old_value | d;
316 while (!KMP_COMPARE_AND_STORE_REL8(p, old_value, new_value)) {
318 old_value = TCR_1(*p);
319 new_value = old_value | d;
321 return old_value;
325 kmp_int8 old_value, new_value; local
327 old_value = TCR_1(*p);
328 new_value = old_value
339 kmp_uint32 old_value, new_value; local
353 kmp_uint32 old_value, new_value; local
368 kmp_int8 old_value, new_value; local
382 kmp_int64 old_value, new_value; local
397 kmp_uint64 old_value, new_value; local
410 kmp_uint64 old_value, new_value; local
1381 int old_value = KMP_ATOMIC_LD_RLX(&th->th.th_suspend_init_count); local
[all...]
/freebsd-current/lib/libc/tests/sys/
H A Dmlock_helper.c42 vm_max_wired_sysctl(u_long *old_value, u_long *new_value) argument
47 if (old_value == NULL)
55 ATF_REQUIRE_MSG(sysctlbyname(VM_MAX_WIRED, old_value, &old_len,
59 if (old_value != NULL)
60 printf("Saved the old value (%lu)\n", *old_value);
67 u_long old_value; local
76 vm_max_wired_sysctl(&old_value, NULL);
78 ATF_REQUIRE_MSG(fprintf(fp, "%lu", old_value) > 0,
/freebsd-current/contrib/llvm-project/llvm/lib/Support/
H A DAtomic.cpp46 sys::cas_flag old_value) {
49 if (result == old_value)
53 return __sync_val_compare_and_swap(ptr, old_value, new_value);
55 return InterlockedCompareExchange(ptr, new_value, old_value);
44 CompareAndSwap(volatile sys::cas_flag* ptr, sys::cas_flag new_value, sys::cas_flag old_value) argument
/freebsd-current/sys/ddb/
H A Ddb_write_cmd.c49 db_expr_t old_value; local
73 old_value = db_get_value(addr, size, false);
75 db_printf("\t\t%#8lr\t=\t%#8lr\n", (long)old_value,(long)new_value);
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Support/
H A DAtomic.h38 cas_flag old_value);
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Target/
H A DThreadPlanTracer.h41 bool old_value = m_enabled; local
43 if (old_value == false && value == true)
45 else if (old_value == true && value == false)
48 return old_value;
/freebsd-current/contrib/llvm-project/compiler-rt/lib/BlocksRuntime/
H A Druntime.c105 unsigned long int old_value = *(volatile unsigned long int *)where;
106 if ((old_value & BLOCK_REFCOUNT_MASK) == BLOCK_REFCOUNT_MASK) {
109 if (OSAtomicCompareAndSwapLong(old_value, old_value+1, (volatile long int *)where)) {
110 return old_value+1;
118 int old_value = *(volatile int *)where; local
119 if ((old_value & BLOCK_REFCOUNT_MASK) == BLOCK_REFCOUNT_MASK) {
122 if (OSAtomicCompareAndSwapInt(old_value, old_value+1, (volatile int *)where)) {
123 return old_value
147 int old_value = *(volatile int *)where; local
[all...]
/freebsd-current/sys/sys/
H A Dtimerfd.h56 struct itimerspec *old_value);
H A Dtimers.h78 struct itimerspec * old_value);
/freebsd-current/sys/contrib/ck/src/
H A Dck_ec.c46 uint32_t old_value,
49 return ck_ec32_wait_pred_slow(ec, ops, old_value,
65 uint64_t old_value,
68 return ck_ec64_wait_pred_slow(ec, ops, old_value,
197 * (including the flag) differs from old_value.
316 old_value, unflagged, flagged) \
374 if (ck_ec##W##_value(ec) != old_value) { \
386 uint32_t old_value,
392 const uint32_t unflagged_word = old_value;
393 const uint32_t flagged_word = old_value | (
44 ck_ec32_wait_slow(struct ck_ec32 *ec, const struct ck_ec_ops *ops, uint32_t old_value, const struct timespec *deadline) argument
63 ck_ec64_wait_slow(struct ck_ec64 *ec, const struct ck_ec_ops *ops, uint64_t old_value, const struct timespec *deadline) argument
384 ck_ec32_wait_pred_slow(struct ck_ec32 *ec, const struct ck_ec_ops *ops, uint32_t old_value, int (*pred)(const struct ck_ec_wait_state *state, struct timespec *deadline), void *data, const struct timespec *deadline_ptr) argument
405 ck_ec64_wait_pred_slow(struct ck_ec64 *ec, const struct ck_ec_ops *ops, uint64_t old_value, int (*pred)(const struct ck_ec_wait_state *state, struct timespec *deadline), void *data, const struct timespec *deadline_ptr) argument
[all...]
/freebsd-current/sys/contrib/ck/include/
H A Dck_ec.h532 * old_value, or, if deadline is non-NULL, until CLOCK_MONOTONIC is
539 uint32_t old_value,
547 uint64_t old_value,
562 * old_value, pred returns non-zero, or, if deadline is non-NULL,
572 uint32_t old_value,
583 uint64_t old_value,
765 uint32_t old_value,
770 uint32_t old_value,
773 if (ck_ec32_value(ec) != old_value) {
777 return ck_ec32_wait_slow(ec, mode->ops, old_value, deadlin
768 ck_ec32_wait(struct ck_ec32 *ec, const struct ck_ec_mode *mode, uint32_t old_value, const struct timespec *deadline) argument
789 ck_ec32_wait_pred(struct ck_ec32 *ec, const struct ck_ec_mode *mode, uint32_t old_value, int (*pred)(const struct ck_ec_wait_state *state, struct timespec *deadline), void *data, const struct timespec *deadline) argument
907 ck_ec64_wait(struct ck_ec64 *ec, const struct ck_ec_mode *mode, uint64_t old_value, const struct timespec *deadline) argument
929 ck_ec64_wait_pred(struct ck_ec64 *ec, const struct ck_ec_mode *mode, uint64_t old_value, int (*pred)(const struct ck_ec_wait_state *state, struct timespec *deadline), void *data, const struct timespec *deadline) argument
[all...]
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Utility/
H A DPredicate.h96 const T old_value = m_value; local
99 Broadcast(old_value, broadcast_type);
203 /// depending on the \a old_value and on the \a broadcast_type.
213 void Broadcast(T old_value, PredicateBroadcastType broadcast_type) { argument
216 ((broadcast_type == eBroadcastOnChange) && old_value != m_value);
218 printf("%s (old_value = 0x%8.8x, broadcast_type = %i) m_value = 0x%8.8x, "
220 __FUNCTION__, old_value, broadcast_type, m_value, broadcast);
/freebsd-current/contrib/llvm-project/lldb/source/Core/
H A DValueObjectCast.cpp66 Value old_value(m_value);
76 SetValueDidChange(m_value.GetValueType() != old_value.GetValueType() ||
77 m_value.GetScalar() != old_value.GetScalar());
H A DValueObjectVariable.cpp162 Value old_value(m_value);
227 SetValueDidChange(value_type != old_value.GetValueType() ||
228 m_value.GetScalar() != old_value.GetScalar());
237 SetValueDidChange(value_type != old_value.GetValueType() ||
238 m_value.GetScalar() != old_value.GetScalar());
/freebsd-current/contrib/googletest/googletest/test/
H A Dgtest_dirs_test.cc20 const char* old_value = getenv(name); local
21 if (old_value != nullptr) {
22 saved_value_ = old_value;
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zfs_set/
H A Dzfs_set_common.kshlib52 typeset old_value=""
55 [ -n "$prop" ] && old_value=$(get_prop $prop $dataset)
80 if [ "$expect_value" != "" -a "$cur_value" != "$old_value" ]; then
81 err="$err should be unchanged at '$old_value'!"
/freebsd-current/contrib/elftoolchain/libdwarf/
H A Ddwarf_frame.c553 Dwarf_Half old_value; local
555 old_value = dbg->dbg_frame_rule_table_size;
558 return (old_value);
564 Dwarf_Half old_value; local
566 old_value = dbg->dbg_frame_rule_initial_value;
569 return (old_value);
575 Dwarf_Half old_value; local
577 old_value = dbg->dbg_frame_cfa_value;
580 return (old_value);
586 Dwarf_Half old_value; local
597 Dwarf_Half old_value; local
[all...]
/freebsd-current/sys/kern/
H A Dsys_timerfd.c380 timerfd_curval(struct timerfd *tfd, struct itimerspec *old_value) argument
385 *old_value = tfd->tfd_time;
389 &old_value->it_value);
509 const struct itimerspec *new_value, struct itimerspec *old_value)
536 if (old_value != NULL)
537 timerfd_curval(tfd, old_value);
592 struct itimerspec new_value, old_value; local
598 if (uap->old_value == NULL) {
603 &new_value, &old_value);
605 error = copyout(&old_value, ua
508 kern_timerfd_settime(struct thread *td, int fd, int flags, const struct itimerspec *new_value, struct itimerspec *old_value) argument
[all...]
/freebsd-current/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-current/sys/compat/linux/
H A Dlinux_event.c641 error = copyout(&lots, args->old_value, sizeof(lots));
659 if (args->old_value == NULL)
663 if (error == 0 && args->old_value != NULL) {
666 error = copyout(&lots, args->old_value, sizeof(lots));
686 error = copyout(&lots, args->old_value, sizeof(lots));
704 if (args->old_value == NULL)
708 if (error == 0 && args->old_value != NULL) {
711 error = copyout(&lots, args->old_value, sizeof(lots));
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Breakpoint/
H A DBreakpointName.h121 bool old_value = m_permissions[permission]; local
124 return old_value;
/freebsd-current/contrib/ntp/sntp/unity/
H A Dunity_fixture.c276 void * old_value; member in struct:_PointerPair
294 pointer_store[pointer_index].old_value = *pointer;
305 pointer_store[pointer_index].old_value;
/freebsd-current/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_recv.c265 HAL_BOOL old_value = ahp->ah_get_plcp_hdr == 0; local
268 return old_value;
278 return old_value;

Completed in 386 milliseconds

123