Home
last modified time | relevance | path

Searched refs:old_value (Results 1 – 25 of 97) sorted by relevance

1234

/third_party/boost/boost/atomic/detail/
Dops_gcc_x86_dcas.hpp294 storage_type old_value; in exchange() local
295 BOOST_ATOMIC_DETAIL_MEMCPY(&old_value, old_bits, sizeof(old_value)); in exchange()
296 return old_value; in exchange()
300 storage_type old_value; in exchange()
310 : "=A" (old_value) in exchange()
314 return old_value; in exchange()
334 storage_type old_value; in exchange()
335 BOOST_ATOMIC_DETAIL_MEMCPY(&old_value, old_bits, sizeof(old_value)); in exchange()
336 return old_value; in exchange()
353 storage_type old_value; in exchange()
[all …]
Dcore_arch_ops_gcc_x86.hpp666 storage_type old_value; in exchange() local
667 BOOST_ATOMIC_DETAIL_MEMCPY(&old_value, old_bits, sizeof(old_value)); in exchange()
668 return old_value; in exchange()
672 storage_type old_value; in exchange()
682 : "=A" (old_value) in exchange()
686 return old_value; in exchange()
706 storage_type old_value; in exchange()
707 BOOST_ATOMIC_DETAIL_MEMCPY(&old_value, old_bits, sizeof(old_value)); in exchange()
708 return old_value; in exchange()
725 storage_type old_value; in exchange()
[all …]
Datomic_ref_impl.hpp237 storage_type old_value = atomics::detail::bitwise_cast< storage_type >(expected); in compare_exchange_strong_impl() local
238 …const bool res = core_operations::compare_exchange_strong(this->storage(), old_value, atomics::det… in compare_exchange_strong_impl()
239 expected = atomics::detail::bitwise_cast< value_type >(old_value); in compare_exchange_strong_impl()
254 storage_type old_value = atomics::detail::bitwise_cast< storage_type >(expected); in compare_exchange_weak_impl() local
255 …const bool res = core_operations::compare_exchange_weak(this->storage(), old_value, atomics::detai… in compare_exchange_weak_impl()
256 expected = atomics::detail::bitwise_cast< value_type >(old_value); in compare_exchange_weak_impl()
568 storage_type old_value = static_cast< storage_type >(expected); in compare_exchange_strong_impl() local
569 …const bool res = core_operations::compare_exchange_strong(this->storage(), old_value, static_cast<… in compare_exchange_strong_impl()
570 expected = atomics::detail::bitwise_cast< value_type >(old_value); in compare_exchange_strong_impl()
585 storage_type old_value = static_cast< storage_type >(expected); in compare_exchange_weak_impl() local
[all …]
Datomic_impl.hpp272 storage_type old_value = atomics::detail::bitwise_cast< storage_type >(expected); in compare_exchange_strong_impl() local
273 …const bool res = core_operations::compare_exchange_strong(this->storage(), old_value, atomics::det… in compare_exchange_strong_impl()
274 expected = atomics::detail::bitwise_cast< value_type >(old_value); in compare_exchange_strong_impl()
289 storage_type old_value = atomics::detail::bitwise_cast< storage_type >(expected); in compare_exchange_weak_impl() local
290 …const bool res = core_operations::compare_exchange_weak(this->storage(), old_value, atomics::detai… in compare_exchange_weak_impl()
291 expected = atomics::detail::bitwise_cast< value_type >(old_value); in compare_exchange_weak_impl()
602 storage_type old_value = static_cast< storage_type >(expected); in compare_exchange_strong_impl() local
603 …const bool res = core_operations::compare_exchange_strong(this->storage(), old_value, static_cast<… in compare_exchange_strong_impl()
604 expected = atomics::detail::integral_truncate< value_type >(old_value); in compare_exchange_strong_impl()
619 storage_type old_value = static_cast< storage_type >(expected); in compare_exchange_weak_impl() local
[all …]
/third_party/flutter/skia/third_party/externals/libwebp/examples/
Dstopwatch.h29 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/skia/third_party/externals/libwebp/examples/
Dstopwatch.h29 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/boost/boost/contract/
Dold.hpp163 class old_value;
166 struct is_old_value_copyable<old_value> : boost::true_type {};
482 class old_value { // Copyable (as *). class
501 /* implicit */ old_value( in old_value() function in boost::contract::old_value
530 /* implicit */ old_value( in old_value() function in boost::contract::old_value
542 explicit old_value() {} in old_value() function in boost::contract::old_value
549 friend BOOST_CONTRACT_DETAIL_DECLSPEC old_value null_old();
600 explicit old_pointer(virtual_* v, old_value const& old) in old_pointer()
603 explicit old_pointer(virtual_* /* v */, old_value const& /* old */) {}
671 old_pointer make_old(old_value const&);
[all …]
/third_party/skia/third_party/externals/jinja2/
Dvisitor.py53 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/jinja2/
Dvisitor.py53 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/
Dvisitor.py59 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/cef/libcef/browser/extensions/value_store/
Dcef_value_store.cc98 base::Value* old_value = storage_.FindKey(it.key()); in Set() local
99 if (!old_value || *old_value != it.value()) { in Set()
101 old_value in Set()
102 ? absl::optional<base::Value>(old_value->Clone()) in Set()
123 absl::optional<base::Value> old_value = storage_.ExtractKey(key); in Remove() local
124 if (old_value.has_value()) { in Remove()
125 changes.emplace_back(key, std::move(*old_value), absl::nullopt); in Remove()
/third_party/boost/boost/fusion/algorithm/transformation/detail/
Dreplace.hpp38 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 ()()
72 T old_value; member
/third_party/boost/boost/contract/detail/inlined/
Dold.hpp19 old_value null_old() { return old_value(); } in null_old()
22 old_pointer make_old(old_value const& old) { in make_old()
27 old_pointer make_old(virtual_* v, old_value const& old) { in make_old()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DAtomic.cpp46 sys::cas_flag old_value) { in CompareAndSwap() argument
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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DAtomic.cpp47 sys::cas_flag old_value) { in CompareAndSwap() argument
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()
/third_party/boost/libs/compute/include/boost/compute/algorithm/
Dreplace.hpp46 void set_old_value(const T &old_value) in set_old_value() argument
48 add_set_arg<T>("old_value", old_value); in set_old_value()
79 const T &old_value, in replace() argument
87 kernel.set_old_value(old_value); in replace()
/third_party/boost/boost/compute/algorithm/
Dreplace.hpp46 void set_old_value(const T &old_value) in set_old_value() argument
48 add_set_arg<T>("old_value", old_value); in set_old_value()
79 const T &old_value, in replace() argument
87 kernel.set_old_value(old_value); in replace()
/third_party/libuv/src/win/
Datomicops-inl.h48 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/boost/libs/range/doc/reference/adaptors/
Dreplaced.qbk10 [[Pipe] [`rng | boost::adaptors::replaced(old_value, new_value)`]]
11 [[Function] [`boost::adaptors::replace(rng, old_value, new_value)`]]
16 * `old_value` is convertible to the `value_type` of the range.
17 …x` in the returned range, the value `x` is equal to the value of `(y == old_value) ? new_value : y…
/third_party/cef/libcef/common/
Dvalue_base.cc200 void CefValueController::Swap(void* old_value, void* new_value) { in Swap() argument
201 DCHECK(old_value && new_value && old_value != new_value); in Swap()
206 if (owner_value_ == old_value) in Swap()
210 ReferenceMap::iterator it = reference_map_.find(old_value); in Swap()
220 DependencyMap::iterator it = dependency_map_.find(old_value); in Swap()
228 DependencySet::iterator dit = it->second.find(old_value); in Swap()
/third_party/ltp/include/
Dtst_safe_timerfd.h26 struct itimerspec *old_value);
28 #define SAFE_TIMERFD_SETTIME(fd, flags, new_value, old_value)\ argument
30 (old_value))
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/
Doutput.cc26 ClearErrnoGuard() : old_value(errno) { errno = 0; } in ClearErrnoGuard()
28 if (!errno) errno = old_value; in ~ClearErrnoGuard()
30 int old_value; member
/third_party/abseil-cpp/absl/strings/internal/str_format/
Doutput.cc26 ClearErrnoGuard() : old_value(errno) { errno = 0; } in ClearErrnoGuard()
28 if (!errno) errno = old_value; in ~ClearErrnoGuard()
30 int old_value; member
/third_party/ltp/testcases/commands/sysctl/
Dsysctl02.sh47 local old_value="$(cat $sys_file)"
53 if [ "$new_value" = "$old_value" ]; then
54 tst_res TPASS "$sys_file keeps old value ($old_value)"
/third_party/skia/modules/skottie/src/animator/
DScalarKeyframeAnimator.cpp30 const auto old_value = *fTarget; in onSeek() local
34 return *fTarget != old_value; in onSeek()
53 auto old_value = *fTarget; in onSeek() local
57 return *fTarget != old_value; in onSeek()

1234