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

12

/macosx-10.9.5/llvmCore-3425.0.33/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);
/macosx-10.9.5/llvmCore-3425.0.33/unittests/Support/
H A DCommandLineTest.cpp26 const char *old_value = getenv(name); local
27 EXPECT_EQ(NULL, old_value) << old_value;
/macosx-10.9.5/libiconv-41/libiconv/srclib/
H A Drelocwrapper.c133 const char *old_value; local
139 old_value = getenv (LIBPATHVAR);
140 if (old_value == NULL)
141 old_value = "";
146 total += strlen (old_value) + 1;
162 if (old_value[0] != '\0')
163 strcpy (p, old_value);
/macosx-10.9.5/libclosure-63/
H A Druntime.c71 int32_t old_value = *where; local
72 if ((old_value & BLOCK_REFCOUNT_MASK) == BLOCK_REFCOUNT_MASK) {
75 if (OSAtomicCompareAndSwapInt(old_value, old_value+2, where)) {
76 return old_value+2;
83 int32_t old_value = *where; local
84 if (old_value & BLOCK_DEALLOCATING) {
88 if ((old_value & BLOCK_REFCOUNT_MASK) == BLOCK_REFCOUNT_MASK) {
92 if (OSAtomicCompareAndSwapInt(old_value, old_value
103 int32_t old_value = *where; local
125 int32_t old_value = *where; local
[all...]
/macosx-10.9.5/libauto-185.5/
H A DBitmap.h339 static inline bool atomic_compare_and_swap_word(usword_t old_value, usword_t new_value, volatile usword_t *addr) { argument
341 return auto_atomic_compare_and_swap(old_value, new_value, addr);
350 usword_t old_value; local
352 old_value = *addr;
353 } while (!atomic_compare_and_swap_word(old_value, old_value & mask, addr));
354 return old_value;
363 usword_t old_value; local
365 old_value = *addr;
366 } while (!atomic_compare_and_swap_word(old_value, old_valu
[all...]
H A DWriteBarrier.cpp108 inline bool compare_and_swap(unsigned char *card, unsigned char old_value, unsigned char new_value) { argument
111 if (*card == old_value) {
117 return __sync_bool_compare_and_swap(card, old_value, new_value);
H A DDefinitions.h101 inline usword_t auto_atomic_compare_and_swap(usword_t old_value, usword_t new_value, volatile usword_t *addr) argument
104 return OSAtomicCompareAndSwap64(old_value, new_value, (volatile int64_t *)addr);
106 return OSAtomicCompareAndSwap32(old_value, new_value, (volatile int32_t *)addr);
114 usword_t old_value, new_value; local
116 old_value = *addr;
117 new_value = old_value + amount;
118 } while (!auto_atomic_compare_and_swap(old_value, new_value, addr));
/macosx-10.9.5/llvmCore-3425.0.33/lib/Support/
H A DAtomic.cpp40 sys::cas_flag old_value) {
43 if (result == old_value)
47 return __sync_val_compare_and_swap(ptr, old_value, new_value);
49 return InterlockedCompareExchange(ptr, new_value, old_value);
38 CompareAndSwap(volatile sys::cas_flag* ptr, sys::cas_flag new_value, sys::cas_flag old_value) argument
/macosx-10.9.5/bash-92/bash-3.2/
H A Dflags.c240 int *value, old_value; local
253 old_value = *value;
292 return (old_value);
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/atomic/unix/
H A Dmutex.c112 apr_uint32_t old_value; local
115 old_value = *mem;
120 return old_value;
/macosx-10.9.5/apr-30/apr/apr/atomic/unix/
H A Dmutex.c112 apr_uint32_t old_value; local
115 old_value = *mem;
120 return old_value;
/macosx-10.9.5/objc4-551.1/runtime/
H A Dobjc-externalref.mm191 id old_value;
193 old_value = (id)list->_buffer[index];
195 old_value = (id)auto_read_weak_reference(gc_zone, &list->_buffer[index]);
199 if (old_value == (id)EMPTY_SLOT)
/macosx-10.9.5/MITKerberosShim-62.1/profile/
H A Dprof_set.c84 const char *old_value, const char *new_value)
98 if (!old_value || !*old_value)
116 retval = profile_find_node(section, *cpp, old_value, 0, &state, &node);
83 profile_update_relation(profile_t profile, const char **names, const char *old_value, const char *new_value) argument
/macosx-10.9.5/tcl-102/tcl_ext/tkimg/tkimg/compat/libpng/contrib/pngminus/
H A Dpnm2png.c479 static int old_value = 0; local
490 old_value = fgetc (pnm_file);
494 ret_value = old_value & mask;
498 old_value = (old_value << depth) & 0xFF;
/macosx-10.9.5/CPANInternal-140/DBIx-Class/lib/DBIx/Class/CDBICompat/
H A DImaDBI.pm133 my $old_value = $sth->{Taint};
140 $sth->{Taint} = $old_value;
/macosx-10.9.5/bash-92/bash-3.2/lib/readline/
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);
/macosx-10.9.5/CF-855.17/
H A DCFBasicHash.c517 uintptr_t old_value = ignoreOld ? 0 : valuep->neutral; local
524 if (!(old_value == 0UL || old_value == ~0UL)) {
525 if (__CFBasicHashSubABZero == old_value) old_value = 0UL;
526 if (__CFBasicHashSubABOne == old_value) old_value = ~0UL;
527 __CFBasicHashEjectValue(ht, old_value);
1117 uintptr_t old_value = stack_value; local
1118 if (__CFBasicHashSubABZero == old_value) old_valu
1754 uintptr_t old_value = stack_value; local
[all...]
/macosx-10.9.5/MITKerberosShim-62.1/Kerberos/
H A Dprofile.h133 const char *old_value, const char *new_value);
/macosx-10.9.5/MITKerberosShim-62.1/include/
H A Dmit-profile.h118 const char *old_value, const char *new_value);
/macosx-10.9.5/MITKerberosShim-62.1/mit-include/
H A Dprofile.h118 const char *old_value, const char *new_value);
/macosx-10.9.5/CPANInternal-140/DBIx-ContextualFetch/lib/DBIx/
H A DContextualFetch.pm50 my $old_value = $sth->{Taint};
53 $sth->{Taint} = $old_value;
/macosx-10.9.5/CPANInternal-140/DBIx-ContextualFetch-1.03/lib/DBIx/
H A DContextualFetch.pm50 my $old_value = $sth->{Taint};
53 $sth->{Taint} = $old_value;
/macosx-10.9.5/xnu-2422.115.4/bsd/dev/i386/
H A Dsysctl.c250 int new_value = 0, old_value = 0, changed = 0, error; local
255 old_value = nstime / NSEC_PER_SEC;
258 error = sysctl_io_number(req, old_value, sizeof(int), &new_value, &changed);
938 int new_value = 0, old_value = 0, changed = 0, error; local
940 old_value = ml_timer_get_user_idle_level();
942 error = sysctl_io_number(req, old_value, sizeof(int), &new_value, &changed);
/macosx-10.9.5/llvmCore-3425.0.33/examples/OCaml-Kaleidoscope/Chapter7/
H A Dcodegen.ml267 let old_value = Hashtbl.find named_values var_name in var
268 old_bindings := (var_name, old_value) :: !old_bindings;
280 List.iter (fun (var_name, old_value) ->
281 Hashtbl.add named_values var_name old_value

Completed in 477 milliseconds

12