Home
last modified time | relevance | path

Searched refs:new_value (Results 1 - 25 of 177) sorted by relevance

12345678

/third_party/node/deps/v8/src/base/
H A Datomicops.h97 // *ptr = new_value;
100 // I.e. replace |*ptr| with |new_value| if |*ptr| used to be |old_value|.
104 Atomic8 new_value) { in Relaxed_CompareAndSwap()
106 helper::to_std_atomic(ptr), &old_value, new_value, in Relaxed_CompareAndSwap() local
112 Atomic16 old_value, Atomic16 new_value) { in Relaxed_CompareAndSwap()
114 helper::to_std_atomic(ptr), &old_value, new_value, in Relaxed_CompareAndSwap() local
120 Atomic32 old_value, Atomic32 new_value) { in Relaxed_CompareAndSwap()
122 helper::to_std_atomic(ptr), &old_value, new_value, in Relaxed_CompareAndSwap() local
128 Atomic32 new_value) { in Relaxed_AtomicExchange()
129 return std::atomic_exchange_explicit(helper::to_std_atomic(ptr), new_value, in Relaxed_AtomicExchange()
103 Relaxed_CompareAndSwap(volatile Atomic8* ptr, Atomic8 old_value, Atomic8 new_value) Relaxed_CompareAndSwap() argument
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
127 Relaxed_AtomicExchange(volatile Atomic32* ptr, Atomic32 new_value) Relaxed_AtomicExchange() argument
133 SeqCst_AtomicExchange(volatile Atomic32* ptr, Atomic32 new_value) SeqCst_AtomicExchange() 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
270 Relaxed_AtomicExchange(volatile Atomic64* ptr, Atomic64 new_value) Relaxed_AtomicExchange() argument
276 SeqCst_AtomicExchange(volatile Atomic64* ptr, Atomic64 new_value) SeqCst_AtomicExchange() argument
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 Datomicops_internals_atomicword_compat.h28 AtomicWord new_value) { in Relaxed_CompareAndSwap()
30 old_value, new_value); in Relaxed_CompareAndSwap()
34 AtomicWord new_value) { in Relaxed_AtomicExchange()
36 new_value); in Relaxed_AtomicExchange()
47 AtomicWord new_value) { in Acquire_CompareAndSwap()
49 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value); in Acquire_CompareAndSwap()
54 AtomicWord new_value) { in Release_CompareAndSwap()
56 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value); in Release_CompareAndSwap()
61 AtomicWord new_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
33 Relaxed_AtomicExchange(volatile AtomicWord* ptr, AtomicWord new_value) Relaxed_AtomicExchange() 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
[all...]
H A Datomic-utils.h33 V8_INLINE void SetValue(T new_value) { in SetValue() argument
34 base::Release_Store(&value_, cast_helper<T>::to_storage_type(new_value)); in SetValue()
92 typename std::remove_reference<T>::type new_value) { in SeqCst_Store()
95 cast_helper<T>::to_storage_type(new_value)); in SeqCst_Store()
100 typename std::remove_reference<T>::type new_value) { in Release_Store()
103 cast_helper<T>::to_storage_type(new_value)); in Release_Store()
108 typename std::remove_reference<T>::type new_value) { in Relaxed_Store()
111 cast_helper<T>::to_storage_type(new_value)); in Relaxed_Store()
116 typename std::remove_reference<T>::type new_value) { in SeqCst_Swap()
119 to_storage_addr(addr), cast_helper<T>::to_storage_type(new_value)); in SeqCst_Swap()
91 SeqCst_Store(T* addr, typename std::remove_reference<T>::type new_value) SeqCst_Store() argument
99 Release_Store(T* addr, typename std::remove_reference<T>::type new_value) Release_Store() argument
107 Relaxed_Store(T* addr, typename std::remove_reference<T>::type new_value) Relaxed_Store() argument
115 SeqCst_Swap(T* addr, typename std::remove_reference<T>::type new_value) SeqCst_Swap() argument
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
159 T new_value, old_value_before_cas; SetBits() local
[all...]
/third_party/libabigail/src/
H A Dabg-symtab-reader.h48 /// @param new_value whether to filter for functions
50 set_functions(bool new_value = true) in set_functions()
51 {functions_ = new_value;}; in set_functions()
55 /// @param new_value whether to filter for variables
57 set_variables(bool new_value = true) in set_variables()
58 {variables_ = new_value;}; in set_variables()
62 /// @param new_value whether to filter for public symbols
64 set_public_symbols(bool new_value = true) in set_public_symbols()
65 {public_symbols_ = new_value;}; in set_public_symbols()
69 /// @param new_value whethe
[all...]
/third_party/node/deps/v8/src/debug/
H A Ddebug-scopes.h80 bool SetVariableValue(Handle<String> variable_name, Handle<Object> new_value);
150 Handle<Object> new_value);
152 Handle<Object> new_value);
154 Handle<Object> new_value);
156 Handle<Object> new_value);
158 Handle<Object> new_value);
/third_party/gn/src/gn/
H A Doperators_unittest.cc216 const Value* new_value = setup.scope()->GetValue(var); in TEST() local
217 ASSERT_TRUE(new_value); in TEST()
218 ASSERT_EQ(Value::LIST, new_value->type()); in TEST()
219 ASSERT_EQ(1u, new_value->list_value().size()); in TEST()
220 ASSERT_EQ(Value::STRING, new_value->list_value()[0].type()); in TEST()
221 EXPECT_EQ("bar", new_value->list_value()[0].string_value()); in TEST()
353 const Value* new_value = setup.scope()->GetValue(foo); in TEST() local
354 ASSERT_TRUE(new_value); in TEST()
355 ASSERT_EQ(Value::LIST, new_value->type()); in TEST()
356 ASSERT_TRUE(new_value in TEST()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
H A DAtomic.cpp46 sys::cas_flag new_value, in CompareAndSwap()
51 *ptr = new_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 DAtomic.cpp45 sys::cas_flag new_value, in CompareAndSwap()
50 *ptr = new_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/mesa3d/src/gallium/drivers/r300/compiler/
H A Dradeon_list.c45 void rc_list_add(struct rc_list ** list, struct rc_list * new_value) in rc_list_add() argument
50 *list = new_value; in rc_list_add()
56 temp->Next = new_value; in rc_list_add()
57 new_value->Prev = temp; in rc_list_add()
/third_party/ntfs-3g/libntfs-3g/
H A Dbitmap.c52 * @new_value: value to set bit to (0 or 1)
54 * Set the bit @bit in the @bitmap to @new_value. Ignore all errors.
56 void ntfs_bit_set(u8 *bitmap, const u64 bit, const u8 new_value) in ntfs_bit_set() argument
58 if (!bitmap || new_value > 1) in ntfs_bit_set()
60 if (!new_value) in ntfs_bit_set()
85 * @new_value: value to set bit to (0 or 1)
87 * Return the value of the bit @bit and set it to @new_value (0 or 1).
90 char ntfs_bit_get_and_set(u8 *bitmap, const u64 bit, const u8 new_value) in ntfs_bit_get_and_set() argument
94 if (!bitmap || new_value > 1) in ntfs_bit_get_and_set()
98 if (new_value ! in ntfs_bit_get_and_set()
[all...]
/third_party/python/Lib/lib2to3/fixes/
H A Dfix_types.py58 new_value = _TYPE_MAPPING.get(results["name"].value)
59 if new_value:
60 return Name(new_value, prefix=node.prefix)
/third_party/node/deps/v8/src/base/numbers/
H A Ddiy-fp.h86 void set_f(uint64_t new_value) { f_ = new_value; } in set_f() argument
87 void set_e(int new_value) { e_ = new_value; } in set_e() argument
/third_party/node/deps/v8/src/wasm/baseline/
H A Dliftoff-compiler.h69 LiftoffOptions& set_##field(T new_value) { \
70 return Set<decltype(field)>(&field, new_value); \
85 LiftoffOptions& Set(T* ptr, T new_value) { in Set()
88 *ptr = new_value; in Set()
/third_party/ltp/include/
H A Dtst_safe_timerfd.h25 const struct itimerspec *new_value,
28 #define SAFE_TIMERFD_SETTIME(fd, flags, new_value, old_value)\
29 safe_timerfd_settime(__FILE__, __LINE__, (fd), (flags), (new_value), \
/third_party/node/deps/v8/src/heap/
H A Dprogress-bar.h39 bool TrySetNewValue(size_t old_value, size_t new_value) { in TrySetNewValue() argument
41 DCHECK_NE(kDisabledSentinel, new_value); in TrySetNewValue()
42 return value_.compare_exchange_strong(old_value, new_value, in TrySetNewValue()
/third_party/rust/crates/rustix/src/backend/linux_raw/time/
H A Dsyscalls.rs79 new_value: &Itimerspec,
89 by_ref(new_value),
101 by_ref(new_value),
108 timerfd_settime_old(fd, flags, new_value, &mut result)
122 new_value: &Itimerspec, in timerfd_settime_old()
127 // Convert `new_value` to the old `__kernel_old_itimerspec` format. in timerfd_settime_old()
130 tv_sec: new_value in timerfd_settime_old()
135 tv_nsec: new_value in timerfd_settime_old()
142 tv_sec: new_value in timerfd_settime_old()
147 tv_nsec: new_value in timerfd_settime_old()
[all...]
/third_party/ltp/testcases/commands/sysctl/
H A Dsysctl02.sh50 local new_value="$(cat $sys_file)"
52 if [ "$new_value" = "$old_value" ]; then
55 tst_res TFAIL "$sys_file overflows and is set to $new_value"
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
H A Dscoped_set_env.cc49 ScopedSetEnv::ScopedSetEnv(const char* var_name, const char* new_value) in ScopedSetEnv() argument
62 SetEnvironmentVariableA(var_name_.c_str(), new_value); in ScopedSetEnv()
72 SetEnvVar(var_name_.c_str(), new_value); in ScopedSetEnv()
/third_party/icu/vendor/double-conversion/upstream/double-conversion/
H A Ddiy-fp.h125 void set_f(uint64_t new_value) { f_ = new_value; } in set_f() argument
126 void set_e(int32_t new_value) { e_ = new_value; } in set_e() argument
/third_party/icu/icu4c/source/i18n/
H A Ddouble-conversion-diy-fp.h139 void set_f(uint64_t new_value) { f_ = new_value; } in set_f() argument
140 void set_e(int32_t new_value) { e_ = new_value; } in set_e() argument
/third_party/node/deps/icu-small/source/i18n/
H A Ddouble-conversion-diy-fp.h139 void set_f(uint64_t new_value) { f_ = new_value; } in set_f() argument
140 void set_e(int32_t new_value) { e_ = new_value; } in set_e() argument
/third_party/skia/third_party/externals/icu/source/i18n/
H A Ddouble-conversion-diy-fp.h139 void set_f(uint64_t new_value) { f_ = new_value; } in set_f() argument
140 void set_e(int32_t new_value) { e_ = new_value; } in set_e() argument
/third_party/node/test/fixtures/wpt/url/
H A Durl-setters-a-area.window.js20 " = '" + test_case.new_value + "'";
28 url[attribute_to_be_set] = test_case.new_value;
36 url[attribute_to_be_set] = test_case.new_value;
/third_party/gn/src/base/
H A Denvironment.cc49 const std::string& new_value) override {
50 return SetVarImpl(variable_name, new_value);
85 const std::string& new_value) { in SetVarImpl()
90 reinterpret_cast<LPCWSTR>(UTF8ToUTF16(new_value).c_str())); in SetVarImpl()
93 return !setenv(variable_name.data(), new_value.c_str(), 1); in SetVarImpl()
84 SetVarImpl(std::string_view variable_name, const std::string& new_value) SetVarImpl() argument
/third_party/ltp/testcases/kernel/syscalls/timerfd/
H A Dtimerfd_settime01.c37 static struct tst_its new_value; variable
55 new_value.type = tv->ts_type; in setup()
86 TEST(tv->tfd_settime(*test->fd, test->flags, tst_its_get(&new_value), in run()

Completed in 12 milliseconds

12345678