/external/protobuf/src/google/protobuf/stubs/ |
D | atomicops_internals_macosx.h | 43 Atomic32 old_value, in NoBarrier_CompareAndSwap() argument 47 if (OSAtomicCompareAndSwap32(old_value, new_value, in NoBarrier_CompareAndSwap() 49 return old_value; in NoBarrier_CompareAndSwap() 52 } while (prev_value == old_value); in NoBarrier_CompareAndSwap() 58 Atomic32 old_value; in NoBarrier_AtomicExchange() local 60 old_value = *ptr; in NoBarrier_AtomicExchange() 61 } while (!OSAtomicCompareAndSwap32(old_value, new_value, in NoBarrier_AtomicExchange() 63 return old_value; in NoBarrier_AtomicExchange() 81 Atomic32 old_value, in Acquire_CompareAndSwap() argument 85 if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, in Acquire_CompareAndSwap() [all …]
|
D | atomicops_internals_arm_qnx.h | 43 inline Atomic32 QNXCmpxchg(Atomic32 old_value, in QNXCmpxchg() argument 48 (unsigned)old_value, in QNXCmpxchg() 54 Atomic32 old_value, in NoBarrier_CompareAndSwap() argument 58 if (!QNXCmpxchg(old_value, new_value, in NoBarrier_CompareAndSwap() 60 return old_value; in NoBarrier_CompareAndSwap() 63 } while (prev_value == old_value); in NoBarrier_CompareAndSwap() 69 Atomic32 old_value; in NoBarrier_AtomicExchange() local 71 old_value = *ptr; in NoBarrier_AtomicExchange() 72 } while (QNXCmpxchg(old_value, new_value, in NoBarrier_AtomicExchange() 74 return old_value; in NoBarrier_AtomicExchange() [all …]
|
D | atomicops_internals_arm_gcc.h | 47 typedef Atomic32 (*LinuxKernelCmpxchgFunc)(Atomic32 old_value, 59 Atomic32 old_value, in NoBarrier_CompareAndSwap() argument 63 if (!pLinuxKernelCmpxchg(old_value, new_value, in NoBarrier_CompareAndSwap() 65 return old_value; in NoBarrier_CompareAndSwap() 68 } while (prev_value == old_value); in NoBarrier_CompareAndSwap() 74 Atomic32 old_value; in NoBarrier_AtomicExchange() local 76 old_value = *ptr; in NoBarrier_AtomicExchange() 77 } while (pLinuxKernelCmpxchg(old_value, new_value, in NoBarrier_AtomicExchange() 79 return old_value; in NoBarrier_AtomicExchange() 91 Atomic32 old_value = *ptr; in Barrier_AtomicIncrement() local [all …]
|
D | atomicops_internals_generic_gcc.h | 39 Atomic32 old_value, in NoBarrier_CompareAndSwap() argument 41 __atomic_compare_exchange_n(ptr, &old_value, new_value, true, in NoBarrier_CompareAndSwap() 43 return old_value; in NoBarrier_CompareAndSwap() 62 Atomic32 old_value, in Acquire_CompareAndSwap() argument 64 __atomic_compare_exchange(ptr, &old_value, &new_value, true, in Acquire_CompareAndSwap() 66 return old_value; in Acquire_CompareAndSwap() 70 Atomic32 old_value, in Release_CompareAndSwap() argument 72 __atomic_compare_exchange_n(ptr, &old_value, new_value, true, in Release_CompareAndSwap() 74 return old_value; in Release_CompareAndSwap() 116 Atomic64 old_value, in Acquire_CompareAndSwap() argument [all …]
|
D | atomicops_internals_arm64_gcc.h | 53 Atomic32 old_value, in NoBarrier_CompareAndSwap() argument 69 : [old_value]"IJr" (old_value), in NoBarrier_CompareAndSwap() 128 Atomic32 old_value, in Acquire_CompareAndSwap() argument 130 Atomic32 prev = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() 137 Atomic32 old_value, in Release_CompareAndSwap() argument 140 Atomic32 prev = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Release_CompareAndSwap() 189 Atomic64 old_value, in NoBarrier_CompareAndSwap() argument 205 : [old_value]"IJr" (old_value), in NoBarrier_CompareAndSwap() 264 Atomic64 old_value, in Acquire_CompareAndSwap() argument 266 Atomic64 prev = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() [all …]
|
D | atomicops_internals_solaris.h | 42 Atomic32 old_value, in NoBarrier_CompareAndSwap() argument 44 return (Atomic32)atomic_cas_32((volatile uint32_t*)ptr, (uint32_t)old_value, (uint32_t)new_value); in NoBarrier_CompareAndSwap() 72 Atomic32 old_value, in Acquire_CompareAndSwap() argument 74 Atomic32 ret = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() 81 Atomic32 old_value, in Release_CompareAndSwap() argument 84 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Release_CompareAndSwap() 118 Atomic64 old_value, in NoBarrier_CompareAndSwap() argument 120 return atomic_cas_64((volatile uint64_t*)ptr, (uint64_t)old_value, (uint64_t)new_value); in NoBarrier_CompareAndSwap() 139 Atomic64 old_value, in Acquire_CompareAndSwap() argument 141 Atomic64 ret = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() [all …]
|
D | atomicops_internals_mips_gcc.h | 53 Atomic32 old_value, in NoBarrier_CompareAndSwap() argument 68 : "Ir" (old_value), "r" (new_value), "m" (*ptr) in NoBarrier_CompareAndSwap() 131 Atomic32 old_value, in Acquire_CompareAndSwap() argument 134 Atomic32 res = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() 140 Atomic32 old_value, in Release_CompareAndSwap() argument 143 Atomic32 res = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Release_CompareAndSwap() 185 Atomic64 old_value, in NoBarrier_CompareAndSwap() argument 200 : "Ir" (old_value), "r" (new_value), "m" (*ptr) in NoBarrier_CompareAndSwap() 263 Atomic64 old_value, in Acquire_CompareAndSwap() argument 265 Atomic64 res = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() [all …]
|
D | atomicops_internals_x86_gcc.h | 56 Atomic32 old_value, in NoBarrier_CompareAndSwap() argument 61 : "q" (new_value), "m" (*ptr), "0" (old_value) in NoBarrier_CompareAndSwap() 99 Atomic32 old_value, in Acquire_CompareAndSwap() argument 101 Atomic32 x = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() 109 Atomic32 old_value, in Release_CompareAndSwap() argument 111 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Release_CompareAndSwap() 180 Atomic64 old_value, in NoBarrier_CompareAndSwap() argument 185 : "q" (new_value), "m" (*ptr), "0" (old_value) in NoBarrier_CompareAndSwap() 270 Atomic64 old_value, in Acquire_CompareAndSwap() argument 272 Atomic64 x = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() [all …]
|
D | atomicops_internals_tsan.h | 47 Atomic32 old_value, in NoBarrier_CompareAndSwap() argument 49 Atomic32 cmp = old_value; in NoBarrier_CompareAndSwap() 86 Atomic32 old_value, in Acquire_CompareAndSwap() argument 88 Atomic32 cmp = old_value; in Acquire_CompareAndSwap() 95 Atomic32 old_value, in Release_CompareAndSwap() argument 97 Atomic32 cmp = old_value; in Release_CompareAndSwap() 130 Atomic64 old_value, in NoBarrier_CompareAndSwap() argument 132 Atomic64 cmp = old_value; in NoBarrier_CompareAndSwap() 192 Atomic64 old_value, in Acquire_CompareAndSwap() argument 194 Atomic64 cmp = old_value; in Acquire_CompareAndSwap() [all …]
|
D | atomicops_internals_x86_msvc.h | 50 Atomic32 old_value, in Acquire_CompareAndSwap() argument 52 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() 56 Atomic32 old_value, in Release_CompareAndSwap() argument 58 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Release_CompareAndSwap() 133 Atomic64 old_value, in Acquire_CompareAndSwap() argument 135 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() 139 Atomic64 old_value, in Release_CompareAndSwap() argument 141 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Release_CompareAndSwap()
|
D | atomicops_internals_atomicword_compat.h | 54 AtomicWord old_value, in NoBarrier_CompareAndSwap() argument 57 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value); in NoBarrier_CompareAndSwap() 79 AtomicWord old_value, in Acquire_CompareAndSwap() argument 82 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value); in Acquire_CompareAndSwap() 86 AtomicWord old_value, in Release_CompareAndSwap() argument 89 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value); in Release_CompareAndSwap()
|
/external/v8/src/base/ |
D | atomicops_internals_arm_gcc.h | 70 Atomic32 old_value, in NoBarrier_CompareAndSwap() argument 89 : "r"(ptr), "r"(old_value), "r"(new_value) in NoBarrier_CompareAndSwap() 96 Atomic32 old_value, in Acquire_CompareAndSwap() argument 98 Atomic32 result = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() 104 Atomic32 old_value, in Release_CompareAndSwap() argument 107 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Release_CompareAndSwap() 144 Atomic32 old_value; in NoBarrier_AtomicExchange() local 151 : "=&r"(old_value), "=&r"(reloop), "+m"(*ptr) in NoBarrier_AtomicExchange() 155 return old_value; in NoBarrier_AtomicExchange() 176 inline int LinuxKernelCmpxchg(Atomic32 old_value, in LinuxKernelCmpxchg() argument [all …]
|
D | atomicops_internals_mac.h | 30 Atomic32 old_value, in NoBarrier_CompareAndSwap() argument 34 if (OSAtomicCompareAndSwap32(old_value, new_value, in NoBarrier_CompareAndSwap() 36 return old_value; in NoBarrier_CompareAndSwap() 39 } while (prev_value == old_value); in NoBarrier_CompareAndSwap() 45 Atomic32 old_value; in NoBarrier_AtomicExchange() local 47 old_value = *ptr; in NoBarrier_AtomicExchange() 48 } while (!OSAtomicCompareAndSwap32(old_value, new_value, in NoBarrier_AtomicExchange() 50 return old_value; in NoBarrier_AtomicExchange() 64 Atomic32 old_value, in Acquire_CompareAndSwap() argument 68 if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, in Acquire_CompareAndSwap() [all …]
|
D | atomicops_internals_ppc_gcc.h | 15 Atomic32 old_value, in NoBarrier_CompareAndSwap() argument 17 return (__sync_val_compare_and_swap(ptr, old_value, new_value)); in NoBarrier_CompareAndSwap() 22 Atomic32 old_value; in NoBarrier_AtomicExchange() local 24 old_value = *ptr; in NoBarrier_AtomicExchange() 25 } while (__sync_bool_compare_and_swap(ptr, old_value, new_value) == false); in NoBarrier_AtomicExchange() 26 return old_value; in NoBarrier_AtomicExchange() 37 Atomic32 old_value = *ptr; in Barrier_AtomicIncrement() local 38 Atomic32 new_value = old_value + increment; in Barrier_AtomicIncrement() 39 if (__sync_bool_compare_and_swap(ptr, old_value, new_value)) { in Barrier_AtomicIncrement() 48 Atomic32 old_value, Atomic32 new_value) { in Acquire_CompareAndSwap() argument [all …]
|
D | atomicops_internals_portable.h | 16 Atomic32 old_value, in NoBarrier_CompareAndSwap() argument 18 return __sync_val_compare_and_swap(ptr, old_value, new_value); in NoBarrier_CompareAndSwap() 37 Atomic32 old_value, Atomic32 new_value) { in Acquire_CompareAndSwap() argument 38 return __sync_val_compare_and_swap(ptr, old_value, new_value); in Acquire_CompareAndSwap() 42 Atomic32 old_value, Atomic32 new_value) { in Release_CompareAndSwap() argument 43 return __sync_val_compare_and_swap(ptr, old_value, new_value); in Release_CompareAndSwap() 82 Atomic64 old_value, in NoBarrier_CompareAndSwap() argument 84 return __sync_val_compare_and_swap(ptr, old_value, new_value); in NoBarrier_CompareAndSwap() 103 Atomic64 old_value, Atomic64 new_value) { in Acquire_CompareAndSwap() argument 104 return __sync_val_compare_and_swap(ptr, old_value, new_value); in Acquire_CompareAndSwap() [all …]
|
D | atomicops_internals_arm64_gcc.h | 26 Atomic32 old_value, in NoBarrier_CompareAndSwap() argument 42 : [old_value]"IJr" (old_value), in NoBarrier_CompareAndSwap() 103 Atomic32 old_value, in Acquire_CompareAndSwap() argument 107 prev = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() 114 Atomic32 old_value, in Release_CompareAndSwap() argument 119 prev = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Release_CompareAndSwap() 176 Atomic64 old_value, in NoBarrier_CompareAndSwap() argument 192 : [old_value]"IJr" (old_value), in NoBarrier_CompareAndSwap() 253 Atomic64 old_value, in Acquire_CompareAndSwap() argument 257 prev = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() [all …]
|
D | atomicops_internals_x86_msvc.h | 26 Atomic32 old_value, in NoBarrier_CompareAndSwap() argument 31 static_cast<LONG>(old_value)); in NoBarrier_CompareAndSwap() 69 Atomic32 old_value, in Acquire_CompareAndSwap() argument 71 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() 75 Atomic32 old_value, in Release_CompareAndSwap() argument 77 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Release_CompareAndSwap() 123 Atomic64 old_value, in NoBarrier_CompareAndSwap() argument 127 reinterpret_cast<PVOID>(new_value), reinterpret_cast<PVOID>(old_value)); in NoBarrier_CompareAndSwap() 186 Atomic64 old_value, in Acquire_CompareAndSwap() argument 188 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() [all …]
|
D | atomicops_internals_mips64_gcc.h | 47 Atomic32 old_value, in NoBarrier_CompareAndSwap() argument 62 : "r" (old_value), "r" (new_value), "m" (*ptr) in NoBarrier_CompareAndSwap() 125 Atomic32 old_value, in Acquire_CompareAndSwap() argument 127 Atomic32 res = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() 133 Atomic32 old_value, in Release_CompareAndSwap() argument 136 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Release_CompareAndSwap() 184 Atomic64 old_value, in NoBarrier_CompareAndSwap() argument 199 : "r" (old_value), "r" (new_value), "m" (*ptr) in NoBarrier_CompareAndSwap() 262 Atomic64 old_value, in Acquire_CompareAndSwap() argument 264 Atomic64 res = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() [all …]
|
D | atomicops_internals_x86_gcc.h | 31 Atomic32 old_value, in NoBarrier_CompareAndSwap() argument 36 : "q" (new_value), "m" (*ptr), "0" (old_value) in NoBarrier_CompareAndSwap() 74 Atomic32 old_value, in Acquire_CompareAndSwap() argument 76 Atomic32 x = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() 84 Atomic32 old_value, in Release_CompareAndSwap() argument 86 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Release_CompareAndSwap() 163 Atomic64 old_value, in NoBarrier_CompareAndSwap() argument 168 : "q" (new_value), "m" (*ptr), "0" (old_value) in NoBarrier_CompareAndSwap() 253 Atomic64 old_value, in Acquire_CompareAndSwap() argument 255 Atomic64 x = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() [all …]
|
/external/libchrome/base/ |
D | atomicops_internals_portable.h | 66 Atomic32 old_value, in NoBarrier_CompareAndSwap() argument 69 ->compare_exchange_strong(old_value, in NoBarrier_CompareAndSwap() 73 return old_value; in NoBarrier_CompareAndSwap() 95 Atomic32 old_value, in Acquire_CompareAndSwap() argument 98 ->compare_exchange_strong(old_value, in Acquire_CompareAndSwap() 102 return old_value; in Acquire_CompareAndSwap() 106 Atomic32 old_value, in Release_CompareAndSwap() argument 109 ->compare_exchange_strong(old_value, in Release_CompareAndSwap() 113 return old_value; in Release_CompareAndSwap() 149 Atomic64 old_value, in NoBarrier_CompareAndSwap() argument [all …]
|
D | atomicops_internals_x86_msvc.h | 30 Atomic32 old_value, in NoBarrier_CompareAndSwap() argument 35 static_cast<LONG>(old_value)); in NoBarrier_CompareAndSwap() 70 Atomic32 old_value, in Acquire_CompareAndSwap() argument 72 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() 76 Atomic32 old_value, in Release_CompareAndSwap() argument 78 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Release_CompareAndSwap() 116 Atomic64 old_value, in NoBarrier_CompareAndSwap() argument 120 reinterpret_cast<PVOID>(new_value), reinterpret_cast<PVOID>(old_value)); in NoBarrier_CompareAndSwap() 179 Atomic64 old_value, in Acquire_CompareAndSwap() argument 181 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() [all …]
|
D | atomicops_internals_atomicword_compat.h | 31 AtomicWord old_value, in NoBarrier_CompareAndSwap() argument 34 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value); in NoBarrier_CompareAndSwap() 56 AtomicWord old_value, in Acquire_CompareAndSwap() argument 59 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value); in Acquire_CompareAndSwap() 63 AtomicWord old_value, in Release_CompareAndSwap() argument 66 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value); in Release_CompareAndSwap()
|
/external/webrtc/webrtc/base/ |
D | atomicops.h | 40 static int CompareAndSwap(volatile int* i, int old_value, int new_value) { in CompareAndSwap() argument 43 old_value); in CompareAndSwap() 51 static T* CompareAndSwapPtr(T* volatile* ptr, T* old_value, T* new_value) { in CompareAndSwapPtr() argument 53 reinterpret_cast<PVOID volatile*>(ptr), new_value, old_value)); in CompareAndSwapPtr() 68 static int CompareAndSwap(volatile int* i, int old_value, int new_value) { 69 return __sync_val_compare_and_swap(i, old_value, new_value); 77 static T* CompareAndSwapPtr(T* volatile* ptr, T* old_value, T* new_value) { 78 return __sync_val_compare_and_swap(ptr, old_value, new_value);
|
/external/compiler-rt/lib/BlocksRuntime/ |
D | runtime.c | 105 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; in latching_incr_int() local 119 if ((old_value & BLOCK_REFCOUNT_MASK) == BLOCK_REFCOUNT_MASK) { in latching_incr_int() 122 if (OSAtomicCompareAndSwapInt(old_value, old_value+1, (volatile int *)where)) { in latching_incr_int() 123 return old_value+1; in latching_incr_int() 131 unsigned long int old_value = *(volatile int *)where; 132 if ((old_value & BLOCK_REFCOUNT_MASK) == BLOCK_REFCOUNT_MASK) { [all …]
|
/external/opencv3/3rdparty/jinja2/ |
D | visitor.py | 59 for field, old_value in node.iter_fields(): 60 if isinstance(old_value, list): 62 for value in old_value: 71 old_value[:] = new_values 72 elif isinstance(old_value, Node): 73 new_node = self.visit(old_value, *args, **kwargs)
|