/external/chromium/base/ |
atomicops_internals_arm_gcc.h | 22 Atomic32 new_value, 34 Atomic32 new_value) { 37 if (!pLinuxKernelCmpxchg(old_value, new_value, 47 Atomic32 new_value) { 51 } while (pLinuxKernelCmpxchg(old_value, new_value, 66 Atomic32 new_value = old_value + increment; local 67 if (pLinuxKernelCmpxchg(old_value, new_value, 70 return new_value; 79 Atomic32 new_value) { 80 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); [all...] |
auto_reset.h | 24 AutoReset(T* scoped_variable, T new_value) 27 *scoped_variable_ = new_value;
|
atomicops_internals_x86_gcc.h | 31 Atomic32 new_value) { 35 : "q" (new_value), "m" (*ptr), "0" (old_value) 41 Atomic32 new_value) { 43 : "=r" (new_value) 44 : "m" (*ptr), "0" (new_value) 46 return new_value; // Now it's the previous value. 74 Atomic32 new_value) { 75 Atomic32 x = NoBarrier_CompareAndSwap(ptr, old_value, new_value); 84 Atomic32 new_value) { 85 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); [all...] |
atomicops_internals_x86_macosx.h | 18 Atomic32 new_value) { 21 if (OSAtomicCompareAndSwap32(old_value, new_value, 31 Atomic32 new_value) { 35 } while (!OSAtomicCompareAndSwap32(old_value, new_value, 56 Atomic32 new_value) { 59 if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, 70 Atomic32 new_value) { 71 return Acquire_CompareAndSwap(ptr, old_value, new_value); 109 Atomic64 new_value) { 112 if (OSAtomicCompareAndSwap64(old_value, new_value, [all...] |
atomicops_internals_x86_msvc.h | 18 Atomic32 new_value) { 21 static_cast<LONG>(new_value), 27 Atomic32 new_value) { 30 static_cast<LONG>(new_value)); 56 Atomic32 new_value) { 57 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); 62 Atomic32 new_value) { 63 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); 102 Atomic64 new_value) { 105 reinterpret_cast<PVOID>(new_value), reinterpret_cast<PVOID>(old_value)) [all...] |
atomicops_internals_atomicword_compat.h | 29 AtomicWord new_value) { 31 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value); 35 AtomicWord new_value) { 37 reinterpret_cast<volatile Atomic32*>(ptr), new_value); 54 AtomicWord new_value) { 56 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value); 61 AtomicWord new_value) { 63 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value);
|
atomicops.h | 62 // *ptr = new_value; 65 // I.e., replace "*ptr" with "new_value" if "*ptr" used to be "old_value". 71 Atomic32 new_value); 73 // Atomically store new_value into *ptr, returning the previous value held in 75 Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, Atomic32 new_value); 95 Atomic32 new_value); 98 Atomic32 new_value); 113 Atomic64 new_value); 114 Atomic64 NoBarrier_AtomicExchange(volatile Atomic64* ptr, Atomic64 new_value); 120 Atomic64 new_value); [all...] |
environment.h | 41 const std::string& new_value) = 0;
|
environment.cc | 43 virtual bool SetVar(const char* variable_name, const std::string& new_value) { 44 return SetVarImpl(variable_name, new_value); 78 bool SetVarImpl(const char* variable_name, const std::string& new_value) { 81 return !setenv(variable_name, new_value.c_str(), 1); 85 UTF8ToWide(new_value).c_str());
|
/external/v8/src/ |
atomicops_internals_arm_gcc.h | 44 Atomic32 new_value, 56 Atomic32 new_value) { 59 if (!pLinuxKernelCmpxchg(old_value, new_value, 69 Atomic32 new_value) { 73 } while (pLinuxKernelCmpxchg(old_value, new_value, 88 Atomic32 new_value = old_value + increment; local 89 if (pLinuxKernelCmpxchg(old_value, new_value, 92 return new_value; 100 Atomic32 new_value) { 101 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); [all...] |
atomicops_internals_x86_gcc.h | 53 Atomic32 new_value) { 57 : "q" (new_value), "m" (*ptr), "0" (old_value) 63 Atomic32 new_value) { 65 : "=r" (new_value) 66 : "m" (*ptr), "0" (new_value) 68 return new_value; // Now it's the previous value. 96 Atomic32 new_value) { 97 Atomic32 x = NoBarrier_CompareAndSwap(ptr, old_value, new_value); 106 Atomic32 new_value) { 107 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); [all...] |
atomicops_internals_mips_gcc.h | 41 // *ptr = new_value; 44 // I.e., replace "*ptr" with "new_value" if "*ptr" used to be "old_value". 50 Atomic32 new_value) { 56 "sc %2, %1\n" // *ptr = new_value (with atomic check) 60 : "=&r" (prev), "=m" (*ptr), "+&r" (new_value) 61 : "Ir" (old_value), "r" (new_value), "m" (*ptr) 66 // Atomically store new_value into *ptr, returning the previous value held in 69 Atomic32 new_value) { 73 "move %0, %3\n" // temp = new_value 78 : "r" (new_value), "m" (*ptr [all...] |
atomicops_internals_x86_msvc.h | 41 Atomic32 new_value) { 44 static_cast<LONG>(new_value), 50 Atomic32 new_value) { 53 static_cast<LONG>(new_value)); 79 Atomic32 new_value) { 80 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); 85 Atomic32 new_value) { 86 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); 125 Atomic64 new_value) { 128 reinterpret_cast<PVOID>(new_value), reinterpret_cast<PVOID>(old_value)) [all...] |
atomicops_internals_x86_macosx.h | 40 Atomic32 new_value) { 43 if (OSAtomicCompareAndSwap32(old_value, new_value, 53 Atomic32 new_value) { 57 } while (!OSAtomicCompareAndSwap32(old_value, new_value, 78 Atomic32 new_value) { 81 if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, 92 Atomic32 new_value) { 93 return Acquire_CompareAndSwap(ptr, old_value, new_value); 131 Atomic64 new_value) { 134 if (OSAtomicCompareAndSwap64(old_value, new_value, [all...] |
atomicops.h | 77 // *ptr = new_value; 80 // I.e., replace "*ptr" with "new_value" if "*ptr" used to be "old_value". 86 Atomic32 new_value); 88 // Atomically store new_value into *ptr, returning the previous value held in 90 Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, Atomic32 new_value); 110 Atomic32 new_value); 113 Atomic32 new_value); 128 Atomic64 new_value); 129 Atomic64 NoBarrier_AtomicExchange(volatile Atomic64* ptr, Atomic64 new_value); 135 Atomic64 new_value); [all...] |
diy-fp.h | 105 void set_f(uint64_t new_value) { f_ = new_value; } 106 void set_e(int new_value) { e_ = new_value; }
|
/external/chromium/webkit/glue/ |
cpp_variant.cc | 105 void CppVariant::Set(const NPVariant& new_value) { 107 switch (new_value.type) { 109 Set(new_value.value.boolValue); 112 Set(new_value.value.intValue); 115 Set(new_value.value.doubleValue); 118 Set(new_value.value.stringValue); 122 type = new_value.type; 125 Set(new_value.value.objectValue); 135 void CppVariant::Set(bool new_value) { 138 value.boolValue = new_value; [all...] |
cpp_variant.h | 42 void Set(const NPString& new_value); 43 void Set(const NPVariant& new_value); 50 void Set(NPObject* new_value);
|
/system/core/include/cutils/ |
atomic-x86.h | 74 extern inline int android_atomic_cas(int32_t old_value, int32_t new_value, 80 : "q" (new_value), "m" (*ptr), "0" (old_value) 86 int32_t new_value, 90 return android_atomic_cas(old_value, new_value, ptr); 94 int32_t new_value, 98 return android_atomic_cas(old_value, new_value, ptr);
|
atomic-arm.h | 95 extern int android_atomic_cas(int32_t old_value, int32_t new_value, 98 extern inline int android_atomic_cas(int32_t old_value, int32_t new_value, 108 : "r" (ptr), "Ir" (old_value), "r" (new_value) 114 extern inline int android_atomic_cas(int32_t old_value, int32_t new_value, 121 status = (*(kuser_cmpxchg *)0xffff0fc0)(old_value, new_value, ptr); 131 int32_t new_value, 134 int status = android_atomic_cas(old_value, new_value, ptr); 140 int32_t new_value, 144 return android_atomic_cas(old_value, new_value, ptr);
|
/external/clang/include/clang/Analysis/Support/ |
SaveAndRestore.h | 25 SaveAndRestore(T& x, const T &new_value) : X(x), old_value(x) { 26 X = new_value;
|
/external/valgrind/tsan/ |
ts_lock.h | 76 ALWAYS_INLINE uintptr_t AtomicExchange(uintptr_t *ptr, uintptr_t new_value) { 78 *ptr = new_value; 96 ALWAYS_INLINE uintptr_t AtomicExchange(uintptr_t *ptr, uintptr_t new_value) { 97 return __sync_lock_test_and_set(ptr, new_value); 114 uintptr_t AtomicExchange(uintptr_t *ptr, uintptr_t new_value);
|
/hardware/msm7k/libgralloc-qsd8k/ |
mapper.cpp | 200 int32_t current_value, new_value; local 205 new_value = current_value; 226 new_value |= private_handle_t::LOCK_STATE_WRITE; 228 new_value++; 230 retry = android_atomic_cmpxchg(current_value, new_value, 234 if (new_value & private_handle_t::LOCK_STATE_WRITE) { 279 int32_t current_value, new_value; local 295 new_value = current_value; 301 new_value &= ~private_handle_t::LOCK_STATE_WRITE; 305 if ((new_value & private_handle_t::LOCK_STATE_READ_MASK) == 0) [all...] |
/system/media/mca/filterfw/native/core/ |
value.h | 65 int SetIntValue(Value* value, int new_value); 66 int SetFloatValue(Value* value, float new_value); 67 int SetStringValue(Value* value, const char* new_value);
|
/external/e2fsprogs/lib/blkid/ |
dev.c | 131 char *new_type, *new_value; local 137 new_value = malloc(strlen(search_value)+1); 138 if (!new_type || !new_value) { 140 free(new_value); 144 strcpy(new_value, search_value); 148 iter->search_value = new_value;
|