/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/ |
D | util.cuh | 208 unsigned int old, assumed, difference, new_value; in MsAtomicSub() local 214 new_value = __byte_perm(old, difference, selector); in MsAtomicSub() 215 if (new_value == old) in MsAtomicSub() 217 old = atomicCAS(base_address, assumed, new_value); in MsAtomicSub() 239 unsigned int old, assumed, max_value, new_value; in MsAtomicMax() local 245 new_value = __byte_perm(old, max_value, selector); in MsAtomicMax() 246 if (new_value == old) in MsAtomicMax() 248 old = atomicCAS(base_address, assumed, new_value); in MsAtomicMax() 257 unsigned int old, assumed, max_value, new_value; in MsAtomicMax() local 263 new_value = __byte_perm(old, max_value, selector); in MsAtomicMax() [all …]
|
/third_party/gstreamer/gstreamer/libs/gst/check/libcheck/libcompat/ |
D | timer_settime.c | 26 const struct itimerspec *new_value, in timer_settime() argument 36 interval.it_value.tv_sec = new_value->it_value.tv_sec; in timer_settime() 37 interval.it_value.tv_usec = new_value->it_value.tv_nsec / 1000; in timer_settime() 38 interval.it_interval.tv_sec = new_value->it_interval.tv_sec; in timer_settime() 39 interval.it_interval.tv_usec = new_value->it_interval.tv_nsec / 1000; in timer_settime() 43 int seconds = new_value->it_value.tv_sec; in timer_settime() 49 if (new_value->it_value.tv_nsec > 0) { in timer_settime()
|
/third_party/grpc/src/core/lib/gpr/ |
D | atm.cc | 28 gpr_atm new_value; in gpr_atm_no_barrier_clamped_add() local 31 new_value = GPR_CLAMP(current_value + delta, min, max); in gpr_atm_no_barrier_clamped_add() 32 if (new_value == current_value) break; in gpr_atm_no_barrier_clamped_add() 33 } while (!gpr_atm_no_barrier_cas(value, current_value, new_value)); in gpr_atm_no_barrier_clamped_add() 34 return new_value; in gpr_atm_no_barrier_clamped_add()
|
/third_party/boost/boost/fusion/algorithm/transformation/detail/ |
D | replace.hpp | 38 call(U& x, T const& old_value, T const& new_value) in call() 40 return (x == old_value) ? new_value : x; in call() 49 : old_value(in_old_value), new_value(in_new_value) {} in replacer() 69 call(x, old_value, new_value); in operator ()() 73 T new_value; member
|
D | replace_if.hpp | 38 call(U& x, F& f, T const& new_value) in call() 40 return f(x) ? new_value : x; in call() 49 : f(in_f), new_value(in_new_value) {} in replacer_if() 69 call(x, f, new_value); in operator ()() 73 T new_value; member
|
/third_party/boost/boost/property_tree/json_parser/detail/ |
D | standard_callbacks.hpp | 34 new_value() = constants::null_value<char_type>(); in on_null() 38 new_value() = b ? constants::true_value<char_type>() in on_boolean() 44 new_value().assign(code_units.begin(), code_units.end()); in on_number() 47 new_value(); in on_begin_number() 55 new_value(); in on_begin_string() 134 string& new_value() { in new_value() function in boost::property_tree::json_parser::detail::standard_callbacks 140 return new_value(); in new_value()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_instruction_lds.cpp | 28 void LDSReadInstruction::replace_values(const ValueSet& candidates, PValue new_value) in replace_values() argument 33 d = new_value; in replace_values() 38 a = new_value; in replace_values() 119 void LDSWriteInstruction::replace_values(const ValueSet& candidates, PValue new_value) in replace_values() argument 123 m_address = new_value; in replace_values() 126 m_value0 = new_value; in replace_values() 129 m_value1 = new_value; in replace_values()
|
D | sfn_instruction_export.cpp | 41 void WriteoutInstruction::replace_values(const ValueSet& candidates, PValue new_value) in replace_values() argument 46 m_value.set_reg_i(c->chan(), new_value); in replace_values() 49 replace_values_child(candidates, new_value); in replace_values() 53 UNUSED PValue new_value) in replace_values_child() argument 171 void WriteScratchInstruction::replace_values_child(const ValueSet& candidates, PValue new_value) in replace_values_child() argument 178 m_address = new_value; in replace_values_child() 308 PValue new_value) in replace_values_child() argument 315 m_index = new_value; in replace_values_child()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | Atomic.cpp | 45 sys::cas_flag new_value, in CompareAndSwap() argument 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()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | Atomic.cpp | 46 sys::cas_flag new_value, in CompareAndSwap() argument 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()
|
/third_party/cef/libcef/common/ |
D | value_base.cc | 200 void CefValueController::Swap(void* old_value, void* new_value) { in Swap() argument 201 DCHECK(old_value && new_value && old_value != new_value); in Swap() 207 owner_value_ = new_value; in Swap() 213 DCHECK(reference_map_.find(new_value) == reference_map_.end()); in Swap() 214 reference_map_.insert(std::make_pair(new_value, it->second)); in Swap() 222 dependency_map_.insert(std::make_pair(new_value, it->second)); in Swap() 230 it->second.insert(new_value); in Swap()
|
/third_party/ntfs-3g/libntfs-3g/ |
D | bitmap.c | 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() 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 != old_bit) in ntfs_bit_get_and_set()
|
/third_party/boost/boost/compute/algorithm/ |
D | replace.hpp | 51 void set_new_value(const T &new_value) in set_new_value() argument 53 add_set_arg<T>("new_value", new_value); in set_new_value() 80 const T &new_value, in replace() argument 88 kernel.set_new_value(new_value); in replace()
|
D | nth_element.hpp | 54 value_type new_value = new_nth.read(queue); in nth_element() local 57 fill_n(old_nth, 1, new_value, queue); in nth_element() 59 new_value = nth.read(queue); in nth_element() 61 if(value == new_value) break; in nth_element()
|
/third_party/mesa3d/src/gallium/drivers/r300/compiler/ |
D | radeon_list.c | 45 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/boost/libs/compute/include/boost/compute/algorithm/ |
D | replace.hpp | 51 void set_new_value(const T &new_value) in set_new_value() argument 53 add_set_arg<T>("new_value", new_value); in set_new_value() 80 const T &new_value, in replace() argument 88 kernel.set_new_value(new_value); in replace()
|
D | nth_element.hpp | 54 value_type new_value = new_nth.read(queue); in nth_element() local 57 fill_n(old_nth, 1, new_value, queue); in nth_element() 59 new_value = nth.read(queue); in nth_element() 61 if(value == new_value) break; in nth_element()
|
/third_party/gn/src/gn/ |
D | operators_unittest.cc | 218 const Value* new_value = setup.scope()->GetValue(var); in TEST() local 219 ASSERT_TRUE(new_value); in TEST() 220 ASSERT_EQ(Value::LIST, new_value->type()); in TEST() 221 ASSERT_EQ(1u, new_value->list_value().size()); in TEST() 222 ASSERT_EQ(Value::STRING, new_value->list_value()[0].type()); in TEST() 223 EXPECT_EQ("bar", new_value->list_value()[0].string_value()); in TEST() 355 const Value* new_value = setup.scope()->GetValue(foo); in TEST() local 356 ASSERT_TRUE(new_value); in TEST() 357 ASSERT_EQ(Value::LIST, new_value->type()); in TEST() 358 ASSERT_TRUE(new_value->list_value().empty()); in TEST() [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | double-conversion-diy-fp.h | 120 void set_f(uint64_t new_value) { f_ = new_value; } in set_f() argument 121 void set_e(int new_value) { e_ = new_value; } in set_e() argument
|
/third_party/python/Lib/lib2to3/fixes/ |
D | fix_types.py | 58 new_value = _TYPE_MAPPING.get(results["name"].value) 59 if new_value: 60 return Name(new_value, prefix=node.prefix)
|
/third_party/e2fsprogs/lib/blkid/ |
D | dev.c | 133 char *new_type, *new_value; in blkid_dev_set_search() local 139 new_value = malloc(strlen(search_value)+1); in blkid_dev_set_search() 140 if (!new_type || !new_value) { in blkid_dev_set_search() 142 free(new_value); in blkid_dev_set_search() 146 strcpy(new_value, search_value); in blkid_dev_set_search() 150 iter->search_value = new_value; in blkid_dev_set_search()
|
/third_party/boost/libs/range/doc/reference/adaptors/ |
D | replaced.qbk | 10 [[Pipe] [`rng | boost::adaptors::replaced(old_value, new_value)`]] 11 [[Function] [`boost::adaptors::replace(rng, old_value, new_value)`]] 15 * `new_value` is convertible to the `value_type` of the range. 17 …urned range, the value `x` is equal to the value of `(y == old_value) ? new_value : y` where `y` i…
|
D | replaced_if.qbk | 10 [[Pipe] [`rng | boost::adaptors::replaced_if(pred, new_value)`]] 11 [[Function] [`boost::adaptors::replace_if(rng, pred, new_value)`]] 16 * `new_value` is convertible to the `value_type` of the range. 17 …n the returned range, the value `x` is equal to the value of `pred(y) ? new_value : y` where `y` i…
|
/third_party/ltp/include/ |
D | tst_safe_timerfd.h | 25 const struct itimerspec *new_value, 28 #define SAFE_TIMERFD_SETTIME(fd, flags, new_value, old_value)\ argument 29 safe_timerfd_settime(__FILE__, __LINE__, (fd), (flags), (new_value), \
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | double-conversion-diy-fp.h | 139 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
|