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

12

/freebsd-10-stable/contrib/llvm/include/llvm/Support/
H A DSaveAndRestore.h24 SaveAndRestore(T& x) : X(x), old_value(x) {}
25 SaveAndRestore(T& x, const T &new_value) : X(x), old_value(x) {
28 ~SaveAndRestore() { X = old_value; }
29 T get() { return old_value; }
32 T old_value; member in struct:llvm::SaveAndRestore
39 SaveOr(bool& x) : X(x), old_value(x) { x = false; }
40 ~SaveOr() { X |= old_value; }
43 const bool old_value; member in struct:llvm::SaveOr
H A DAtomic.h30 cas_flag old_value);
/freebsd-10-stable/lib/libc/tests/sys/
H A Dmlock_helper.c45 vm_max_wired_sysctl(int *old_value, int *new_value) argument
50 if (old_value == NULL)
58 ATF_REQUIRE_MSG(sysctlbyname(VM_MAX_WIRED, old_value, &old_len,
62 if (old_value != NULL)
63 printf("Saved the old value (%d)\n", *old_value);
70 int old_value; local
79 vm_max_wired_sysctl(&old_value, NULL);
81 ATF_REQUIRE_MSG(fprintf(fp, "%d", old_value) > 0,
/freebsd-10-stable/contrib/llvm/tools/lldb/include/lldb/Target/
H A DThreadPlanTracer.h57 bool old_value = m_enabled; local
59 if (old_value == false && value == true)
61 else if (old_value == true && value == false)
64 return old_value;
76 bool old_value = m_single_step; local
78 return old_value;
H A DThreadPlan.h395 bool old_value = m_is_master_plan; local
397 return old_value;
/freebsd-10-stable/sys/ddb/
H A Ddb_write_cmd.c52 db_expr_t old_value; local
76 old_value = db_get_value(addr, size, FALSE);
78 db_printf("\t\t%#8lr\t=\t%#8lr\n", (long)old_value,(long)new_value);
/freebsd-10-stable/contrib/llvm/tools/lldb/include/lldb/Host/
H A DPredicate.h127 const T old_value = m_value; local
130 Broadcast(old_value, broadcast_type);
155 const T old_value = m_value; local
158 Broadcast(old_value, broadcast_type);
183 const T old_value = m_value; local
186 Broadcast(old_value, broadcast_type);
480 /// depedning on the \a old_value and on the \a broadcast_type.
492 Broadcast (T old_value, PredicateBroadcastType broadcast_type) argument
494 bool broadcast = (broadcast_type == eBroadcastAlways) || ((broadcast_type == eBroadcastOnChange) && old_value != m_value);
496 printf("%s (old_value
[all...]
/freebsd-10-stable/contrib/compiler-rt/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-10-stable/contrib/llvm/tools/lldb/source/Core/
H A DValueObjectCast.cpp98 Value old_value(m_value);
110 SetValueDidChange (m_value.GetValueType() != old_value.GetValueType() || m_value.GetScalar() != old_value.GetScalar());
H A DValueObjectDynamicValue.cpp268 Value old_value(m_value);
329 SetValueDidChange (m_value.GetValueType() != old_value.GetValueType() || m_value.GetScalar() != old_value.GetScalar());
H A DValueObjectMemory.cpp189 Value old_value(m_value);
233 SetValueDidChange (value_type != old_value.GetValueType() || m_value.GetScalar() != old_value.GetScalar());
H A DValueObjectVariable.cpp154 Value old_value(m_value);
233 SetValueDidChange (value_type != old_value.GetValueType() || m_value.GetScalar() != old_value.GetScalar());
/freebsd-10-stable/contrib/llvm/lib/Support/
H A DAtomic.cpp44 sys::cas_flag old_value) {
47 if (result == old_value)
51 return __sync_val_compare_and_swap(ptr, old_value, new_value);
53 return InterlockedCompareExchange(ptr, new_value, old_value);
42 CompareAndSwap(volatile sys::cas_flag* ptr, sys::cas_flag new_value, sys::cas_flag old_value) argument
/freebsd-10-stable/contrib/apr/atomic/unix/
H A Dmutex.c112 apr_uint32_t old_value; local
115 old_value = *mem;
120 return old_value;
/freebsd-10-stable/sys/sys/
H A Dtimers.h104 struct itimerspec * old_value);
/freebsd-10-stable/contrib/libreadline/
H A Dhistory.c373 HIST_ENTRY *temp, *old_value; local
379 old_value = the_history[which];
383 temp->timestamp = savestring (old_value->timestamp);
386 return (old_value);
/freebsd-10-stable/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_recv.c260 HAL_BOOL old_value = ahp->ah_get_plcp_hdr == 0; local
263 return old_value;
273 return old_value;
/freebsd-10-stable/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-10-stable/contrib/subversion/subversion/include/private/
H A Dsvn_repos_private.h286 const svn_string_t *old_value,
/freebsd-10-stable/contrib/subversion/subversion/libsvn_repos/
H A Drepos.h285 const svn_string_t *old_value,
H A Dfs-wrap.c367 const svn_string_t *old_value;
376 old_value = *old_value_p;
385 old_value = old_value2;
391 else if (! old_value)
401 /* ### currently not passing the old_value to hooks */
408 &old_value, new_value, pool));
412 author, name, old_value,
364 const svn_string_t *old_value; local
H A Dhooks.c694 const svn_string_t *old_value,
712 if (old_value)
713 SVN_ERR(create_temp_file(&stdin_handle, old_value, pool));
688 svn_repos__hooks_post_revprop_change(svn_repos_t *repos, apr_hash_t *hooks_env, svn_revnum_t rev, const char *author, const char *name, const svn_string_t *old_value, char action, apr_pool_t *pool) argument
/freebsd-10-stable/contrib/llvm/tools/lldb/include/lldb/Interpreter/
H A DCommandInterpreter.h395 const bool old_value = m_batch_command_mode; local
397 return old_value;
/freebsd-10-stable/contrib/subversion/subversion/libsvn_wc/
H A Dprops.c788 const svn_string_t *old_value;
795 old_value = old_props ? svn_hash_gets(old_props, propname) : NULL;
804 propname, old_value, mine_value,
1836 svn_string_t *old_value = svn_hash_gets(prophash, SVN_PROP_KEYWORDS);
1839 if (old_value)
1842 old_value->data, TRUE,
1876 svn_string_t *old_value = svn_hash_gets(prophash, SVN_PROP_EOL_STYLE);
1878 if (((value == NULL) != (old_value == NULL))
1879 || (value && ! svn_string_compare(value, old_value)))
786 const svn_string_t *old_value; local
1834 svn_string_t *old_value = svn_hash_gets(prophash, SVN_PROP_KEYWORDS); local
1874 svn_string_t *old_value = svn_hash_gets(prophash, SVN_PROP_EOL_STYLE); local
/freebsd-10-stable/sys/dev/aic7xxx/
H A Daic79xx_osm.c1487 db_expr_t old_value; local
1516 old_value = ahd_inb(ahd_ddb_softc, addr);
1520 old_value = ahd_inw(ahd_ddb_softc, addr);
1524 old_value = ahd_inl(ahd_ddb_softc, addr);
1530 (u_long)old_value, (u_long)new_value);

Completed in 228 milliseconds

12