/third_party/node/deps/v8/src/base/ |
H A D | atomicops.h | 96 // if (result == old_value) 100 // I.e. replace |*ptr| with |new_value| if |*ptr| used to be |old_value|. 103 inline Atomic8 Relaxed_CompareAndSwap(volatile Atomic8* ptr, Atomic8 old_value, in Relaxed_CompareAndSwap() argument 106 helper::to_std_atomic(ptr), &old_value, new_value, in Relaxed_CompareAndSwap() local 108 return old_value; in Relaxed_CompareAndSwap() 112 Atomic16 old_value, Atomic16 new_value) { in Relaxed_CompareAndSwap() 114 helper::to_std_atomic(ptr), &old_value, new_value, in Relaxed_CompareAndSwap() local 116 return old_value; in Relaxed_CompareAndSwap() 120 Atomic32 old_value, Atomic32 new_value) { in Relaxed_CompareAndSwap() 122 helper::to_std_atomic(ptr), &old_value, new_valu in Relaxed_CompareAndSwap() local 111 Relaxed_CompareAndSwap(volatile Atomic16* ptr, Atomic16 old_value, Atomic16 new_value) Relaxed_CompareAndSwap() argument 119 Relaxed_CompareAndSwap(volatile Atomic32* ptr, Atomic32 old_value, Atomic32 new_value) Relaxed_CompareAndSwap() argument 146 Acquire_CompareAndSwap(volatile Atomic32* ptr, Atomic32 old_value, Atomic32 new_value) Acquire_CompareAndSwap() argument 149 helper::to_std_atomic(ptr), &old_value, new_value, Acquire_CompareAndSwap() local 154 Release_CompareAndSwap(volatile Atomic8* ptr, Atomic8 old_value, Atomic8 new_value) Release_CompareAndSwap() argument 163 Release_CompareAndSwap(volatile Atomic32* ptr, Atomic32 old_value, Atomic32 new_value) Release_CompareAndSwap() argument 166 helper::to_std_atomic(ptr), &old_value, new_value, Release_CompareAndSwap() local 171 AcquireRelease_CompareAndSwap(volatile Atomic32* ptr, Atomic32 old_value, Atomic32 new_value) AcquireRelease_CompareAndSwap() argument 175 helper::to_std_atomic(ptr), &old_value, new_value, AcquireRelease_CompareAndSwap() local 262 Relaxed_CompareAndSwap(volatile Atomic64* ptr, Atomic64 old_value, Atomic64 new_value) Relaxed_CompareAndSwap() argument 265 helper::to_std_atomic(ptr), &old_value, new_value, Relaxed_CompareAndSwap() local 289 Acquire_CompareAndSwap(volatile Atomic64* ptr, Atomic64 old_value, Atomic64 new_value) Acquire_CompareAndSwap() argument 292 helper::to_std_atomic(ptr), &old_value, new_value, Acquire_CompareAndSwap() local 297 Release_CompareAndSwap(volatile Atomic64* ptr, Atomic64 old_value, Atomic64 new_value) Release_CompareAndSwap() argument 300 helper::to_std_atomic(ptr), &old_value, new_value, Release_CompareAndSwap() local 305 AcquireRelease_CompareAndSwap(volatile Atomic64* ptr, Atomic64 old_value, Atomic64 new_value) AcquireRelease_CompareAndSwap() argument 309 helper::to_std_atomic(ptr), &old_value, new_value, AcquireRelease_CompareAndSwap() local [all...] |
H A D | atomicops_internals_atomicword_compat.h | 27 AtomicWord old_value, in Relaxed_CompareAndSwap() 30 old_value, new_value); in Relaxed_CompareAndSwap() 46 AtomicWord old_value, in Acquire_CompareAndSwap() 49 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value); in Acquire_CompareAndSwap() 53 AtomicWord old_value, in Release_CompareAndSwap() 56 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value); in Release_CompareAndSwap() 60 AtomicWord old_value, in AcquireRelease_CompareAndSwap() 63 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value); in AcquireRelease_CompareAndSwap() 26 Relaxed_CompareAndSwap(volatile AtomicWord* ptr, AtomicWord old_value, AtomicWord new_value) Relaxed_CompareAndSwap() argument 45 Acquire_CompareAndSwap(volatile AtomicWord* ptr, AtomicWord old_value, AtomicWord new_value) Acquire_CompareAndSwap() argument 52 Release_CompareAndSwap(volatile AtomicWord* ptr, AtomicWord old_value, AtomicWord new_value) Release_CompareAndSwap() argument 59 AcquireRelease_CompareAndSwap(volatile AtomicWord* ptr, AtomicWord old_value, AtomicWord new_value) AcquireRelease_CompareAndSwap() argument
|
H A D | atomic-utils.h | 124 T* addr, typename std::remove_reference<T>::type old_value, in Release_CompareAndSwap() 128 to_storage_addr(addr), cast_helper<T>::to_storage_type(old_value), in Release_CompareAndSwap() 134 T* addr, typename std::remove_reference<T>::type old_value, in Relaxed_CompareAndSwap() 138 to_storage_addr(addr), cast_helper<T>::to_storage_type(old_value), in Relaxed_CompareAndSwap() 144 T* addr, typename std::remove_reference<T>::type old_value, in AcquireRelease_CompareAndSwap() 148 to_storage_addr(addr), cast_helper<T>::to_storage_type(old_value), in AcquireRelease_CompareAndSwap() 158 T old_value = Relaxed_Load(addr); in SetBits() local 161 if ((old_value & mask) == bits) return false; in SetBits() 162 new_value = (old_value & ~mask) | bits; in SetBits() 163 old_value_before_cas = old_value; in SetBits() 123 Release_CompareAndSwap( T* addr, typename std::remove_reference<T>::type old_value, typename std::remove_reference<T>::type new_value) Release_CompareAndSwap() argument 133 Relaxed_CompareAndSwap( T* addr, typename std::remove_reference<T>::type old_value, typename std::remove_reference<T>::type new_value) Relaxed_CompareAndSwap() argument 143 AcquireRelease_CompareAndSwap( T* addr, typename std::remove_reference<T>::type old_value, typename std::remove_reference<T>::type new_value) AcquireRelease_CompareAndSwap() argument [all...] |
/third_party/skia/third_party/externals/libwebp/examples/ |
H A D | stopwatch.h | 29 const LARGE_INTEGER old_value = *watch; in StopwatchReadAndReset() local 37 return (watch->QuadPart - old_value.QuadPart) / (double)freq.QuadPart; in StopwatchReadAndReset() 52 struct timeval old_value; in StopwatchReadAndReset() local 54 memcpy(&old_value, watch, sizeof(old_value)); in StopwatchReadAndReset() 56 delta_sec = (double)watch->tv_sec - old_value.tv_sec; in StopwatchReadAndReset() 57 delta_usec = (double)watch->tv_usec - old_value.tv_usec; in StopwatchReadAndReset()
|
/third_party/libbpf/src/ |
H A D | hashmap.h | 126 * through old_key and old_value to allow calling code do proper memory 131 long *old_key, long *old_value); 133 #define hashmap__insert(map, key, value, strategy, old_key, old_value) \ 136 hashmap_cast_ptr(old_value)) 141 #define hashmap__set(map, key, value, old_key, old_value) \ 142 hashmap__insert((map), (key), (value), HASHMAP_SET, (old_key), (old_value)) 144 #define hashmap__update(map, key, value, old_key, old_value) \ 145 hashmap__insert((map), (key), (value), HASHMAP_UPDATE, (old_key), (old_value)) 150 bool hashmap_delete(struct hashmap *map, long key, long *old_key, long *old_value); 152 #define hashmap__delete(map, key, old_key, old_value) \ [all...] |
H A D | hashmap.c | 156 long *old_key, long *old_value) in hashmap_insert() 164 if (old_value) in hashmap_insert() 165 *old_value = 0; in hashmap_insert() 172 if (old_value) in hashmap_insert() 173 *old_value = entry->value; in hashmap_insert() 221 long *old_key, long *old_value) in hashmap_delete() 232 if (old_value) in hashmap_delete() 233 *old_value = entry->value; in hashmap_delete() 154 hashmap_insert(struct hashmap *map, long key, long value, enum hashmap_insert_strategy strategy, long *old_key, long *old_value) hashmap_insert() argument 220 hashmap_delete(struct hashmap *map, long key, long *old_key, long *old_value) hashmap_delete() argument
|
/third_party/jinja2/ |
H A D | visitor.py | 62 for field, old_value in node.iter_fields(): 63 if isinstance(old_value, list): 65 for value in old_value: 74 old_value[:] = new_values 75 elif isinstance(old_value, Node): 76 new_node = self.visit(old_value, *args, **kwargs)
|
/third_party/node/deps/v8/third_party/jinja2/ |
H A D | visitor.py | 53 for field, old_value in node.iter_fields(): 54 if isinstance(old_value, list): 56 for value in old_value: 65 old_value[:] = new_values 66 elif isinstance(old_value, Node): 67 new_node = self.visit(old_value, *args, **kwargs)
|
/third_party/node/tools/inspector_protocol/jinja2/ |
H A 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)
|
/third_party/skia/third_party/externals/jinja2/ |
H A D | visitor.py | 53 for field, old_value in node.iter_fields(): 54 if isinstance(old_value, list): 56 for value in old_value: 65 old_value[:] = new_values 66 elif isinstance(old_value, Node): 67 new_node = self.visit(old_value, *args, **kwargs)
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
H A D | Atomic.cpp | 47 sys::cas_flag old_value) { in CompareAndSwap() 50 if (result == old_value) in CompareAndSwap() 54 return __sync_val_compare_and_swap(ptr, old_value, new_value); in CompareAndSwap() 56 return InterlockedCompareExchange(ptr, new_value, old_value); in CompareAndSwap() 45 CompareAndSwap(volatile sys::cas_flag* ptr, sys::cas_flag new_value, sys::cas_flag old_value) CompareAndSwap() argument
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | Atomic.cpp | 46 sys::cas_flag old_value) { in CompareAndSwap() 49 if (result == old_value) in CompareAndSwap() 53 return __sync_val_compare_and_swap(ptr, old_value, new_value); in CompareAndSwap() 55 return InterlockedCompareExchange(ptr, new_value, old_value); in CompareAndSwap() 44 CompareAndSwap(volatile sys::cas_flag* ptr, sys::cas_flag new_value, sys::cas_flag old_value) CompareAndSwap() argument
|
/third_party/libuv/src/win/ |
H A D | atomicops-inl.h | 48 char old_value; in uv__atomic_exchange_set() local 50 : "=r"(old_value), "=m"(*target) in uv__atomic_exchange_set() 53 return old_value; in uv__atomic_exchange_set()
|
/third_party/node/deps/uv/src/win/ |
H A D | atomicops-inl.h | 48 char old_value; in uv__atomic_exchange_set() local 50 : "=r"(old_value), "=m"(*target) in uv__atomic_exchange_set() 53 return old_value; in uv__atomic_exchange_set()
|
/third_party/node/deps/v8/include/cppgc/ |
H A D | cross-thread-persistent.h | 87 const void* old_value = GetValue(); in ~BasicCrossThreadPersistent() local 91 if (IsValid(old_value)) { in ~BasicCrossThreadPersistent() 93 this->GetPersistentRegion(old_value); in ~BasicCrossThreadPersistent() 358 const void* old_value = GetValue(); in AssignUnsafe() local 359 if (IsValid(old_value)) { in AssignUnsafe() 361 old_value = GetValue(); in AssignUnsafe() 364 if (IsValid(old_value)) { in AssignUnsafe() 366 this->GetPersistentRegion(old_value); in AssignUnsafe() 387 const void* old_value = GetValue(); in AssignSafe() local 388 if (IsValid(old_value)) { in AssignSafe() [all...] |
/third_party/node/deps/v8/include/v8-include/cppgc/ |
H A D | cross-thread-persistent.h | 87 const void* old_value = GetValue(); in ~BasicCrossThreadPersistent() local 91 if (IsValid(old_value)) { in ~BasicCrossThreadPersistent() 93 this->GetPersistentRegion(old_value); in ~BasicCrossThreadPersistent() 359 const void* old_value = GetValue(); in AssignUnsafe() local 360 if (IsValid(old_value)) { in AssignUnsafe() 362 old_value = GetValue(); in AssignUnsafe() 365 if (IsValid(old_value)) { in AssignUnsafe() 367 this->GetPersistentRegion(old_value); in AssignUnsafe() 388 const void* old_value = GetValue(); in AssignSafe() local 389 if (IsValid(old_value)) { in AssignSafe() [all...] |
/third_party/ltp/include/ |
H A D | tst_safe_timerfd.h | 26 struct itimerspec *old_value); 28 #define SAFE_TIMERFD_SETTIME(fd, flags, new_value, old_value)\ 30 (old_value))
|
H A D | tst_safe_clocks.h | 98 struct itimerspec *old_value) in safe_timer_settime() 103 ret = timer_settime(timerid, flags, new_value, old_value); in safe_timer_settime() 165 #define SAFE_TIMER_SETTIME(timerid, flags, new_value, old_value)\ 167 (new_value), (old_value)) 96 safe_timer_settime(const char *file, const int lineno, timer_t timerid, int flags, const struct itimerspec *new_value, struct itimerspec *old_value) safe_timer_settime() argument
|
/third_party/ltp/testcases/commands/sysctl/ |
H A D | sysctl02.sh | 46 local old_value="$(cat $sys_file)" 52 if [ "$new_value" = "$old_value" ]; then 53 tst_res TPASS "$sys_file keeps old value ($old_value)"
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/ |
H A D | output.cc | 26 ClearErrnoGuard() : old_value(errno) { errno = 0; } in ClearErrnoGuard() 28 if (!errno) errno = old_value; in ~ClearErrnoGuard() 30 int old_value; member
|
/third_party/node/deps/v8/src/objects/ |
H A D | maybe-object-inl.h | 102 Address old_value = (*slot).ptr(); in Update() local 103 DCHECK(!HAS_SMI_TAG(old_value)); in Update() 108 bool weak_before = HAS_WEAK_HEAP_OBJECT_TAG(old_value); in Update() 112 HeapObjectReference(new_value | (old_value & kWeakHeapObjectMask))); in Update()
|
/third_party/skia/modules/skottie/src/animator/ |
H A D | ScalarKeyframeAnimator.cpp | 30 const auto old_value = *fTarget; variable 34 return *fTarget != old_value; 53 auto old_value = *fTarget; variable 57 return *fTarget != old_value;
|
/third_party/gn/src/gn/ |
H A D | operators_unittest.cc | 335 Value old_value(nullptr, Value::LIST); in TEST() 336 old_value.list_value().push_back(Value(nullptr, "string")); in TEST() 337 setup.scope()->SetValue(foo, old_value, nullptr); in TEST() 360 old_value = Value(nullptr, std::make_unique<Scope>(setup.settings())); in TEST() 361 old_value.scope_value()->SetValue(bar, Value(nullptr, "bar"), nullptr); in TEST() 362 setup.scope()->SetValue(foo, old_value, nullptr); in TEST() 364 // Assigning a nonempty scope should fail (re-use old_value copy). in TEST() 365 node.SetRightToValue(old_value); in TEST() 394 Value old_value(nullptr, static_cast<int64_t>(1)); in TEST() 395 setup.scope()->SetValue(foo, old_value, nullpt in TEST() [all...] |
/third_party/googletest/googletest/test/ |
H A D | gtest_dirs_test.cc | 18 const char* old_value = getenv(name); in SetEnv() local 19 if (old_value != nullptr) { in SetEnv() 20 saved_value_ = old_value; in SetEnv()
|
/third_party/ltp/include/lapi/ |
H A D | timerfd.h | 28 struct itimerspec *old_value) in timerfd_settime() 31 old_value); in timerfd_settime() 26 timerfd_settime(int fd, int flags, const struct itimerspec *new_value, struct itimerspec *old_value) timerfd_settime() argument
|