Home
last modified time | relevance | path

Searched refs:value_ (Results 1 – 25 of 423) sorted by relevance

12345678910>>...17

/third_party/grpc/src/core/lib/gprpp/
Dref_counted_ptr.h44 RefCountedPtr(Y* value) : value_(value) {} in RefCountedPtr()
48 value_ = other.value_; in RefCountedPtr()
49 other.value_ = nullptr; in RefCountedPtr()
54 value_ = static_cast<T*>(other.value_); in RefCountedPtr()
55 other.value_ = nullptr; in RefCountedPtr()
60 reset(other.value_);
61 other.value_ = nullptr;
66 reset(other.value_);
67 other.value_ = nullptr;
73 if (other.value_ != nullptr) other.value_->IncrementRefCount(); in RefCountedPtr()
[all …]
/third_party/boost/boost/asio/detail/
Dsocket_option.hpp38 : value_(0) in boolean()
44 : value_(v ? 1 : 0) in boolean()
51 value_ = v ? 1 : 0; in operator =()
58 return !!value_; in value()
64 return !!value_; in operator bool()
70 return !value_; in operator !()
91 return &value_; in data()
98 return &value_; in data()
105 return sizeof(value_); in size()
118 value_ = *reinterpret_cast<char*>(&value_) ? 1 : 0; in resize()
[all …]
/third_party/boost/libs/geometry/index/test/
Dmovable.hpp22 int value_;
25 movable() : value_(1){} in movable()
29 { value_ = m.value_; m.value_ = 0; } in movable()
32 { value_ = m.value_; m.value_ = 0; return *this; } in operator =()
35 { return value_ == 0; } in moved()
42 size_t value_;
45 copy_movable(size_t value = 1) : value_(value){} in copy_movable()
49 { value_ = m.value_; m.value_ = 0; } in copy_movable()
52 { value_ = m.value_; } in copy_movable()
55 { value_ = m.value_; m.value_ = 0; return *this; } in operator =()
[all …]
/third_party/boost/boost/date_time/
Dwrapping_int.hpp38 BOOST_CXX14_CONSTEXPR wrapping_int(int_type v) : value_(v) {} in wrapping_int()
40 BOOST_CONSTEXPR int_type as_int() const {return value_;} in as_int()
41 BOOST_CONSTEXPR operator int_type() const {return value_;} in operator int_type()
52 value_ = static_cast<int_type>(value_ + remainder); in add()
66 value_ = static_cast<int_type>(value_ - remainder); in subtract()
70 int_type value_; member in boost::date_time::wrapping_int
75 if ((value_) >= wrap_val) in calculate_wrap()
78 value_ -= (wrap_val); in calculate_wrap()
80 else if(value_ < 0) in calculate_wrap()
83 value_ += (wrap_val); in calculate_wrap()
[all …]
Dint_adapter.hpp50 value_(v) in int_adapter()
120 return (value_ == neg_infinity().as_number() || in is_infinity()
121 value_ == pos_infinity().as_number()); in is_infinity()
125 return(value_ == pos_infinity().as_number()); in is_pos_infinity()
129 return(value_ == neg_infinity().as_number()); in is_neg_infinity()
133 return (value_ == not_a_number().as_number()); in is_nan()
147 if(is_neg_inf(value_) && rhs == 0) in operator ==()
162 if(is_neg_inf(value_) && rhs == 0) in operator !=()
178 if(is_neg_inf(value_) && rhs == 0) in operator <()
191 return value_; in as_number()
[all …]
/third_party/boost/libs/spirit/test/x3/
Dextract_int.cpp23 constexpr custom_int(int value) : value_{value} {} in custom_int()
25 custom_int operator+(custom_int x) const { return value_ + x.value_; } in operator +()
26 custom_int operator-(custom_int x) const { return value_ - x.value_; } in operator -()
27 custom_int operator*(custom_int x) const { return value_ * x.value_; } in operator *()
28 custom_int operator/(custom_int x) const { return value_ / x.value_; } in operator /()
30 custom_int& operator+=(custom_int x) { value_ += x.value_; return *this; } in operator +=()
31 custom_int& operator-=(custom_int x) { value_ -= x.value_; return *this; } in operator -=()
32 custom_int& operator*=(custom_int x) { value_ *= x.value_; return *this; } in operator *=()
33 custom_int& operator/=(custom_int x) { value_ /= x.value_; return *this; } in operator /=()
34 custom_int& operator++() { ++value_; return *this; } in operator ++()
[all …]
/third_party/boost/boost/histogram/accumulators/
Dcount.hpp40 count(const_reference value) noexcept : value_(value) {} in count()
48 ++value_; in operator ++()
54 value_ += value; in operator +=()
60 value_ += s.value_; in operator +=()
66 value_ *= value; in operator *=()
70 bool operator==(const count& rhs) const noexcept { return value_ == rhs.value_; } in operator ==()
75 const_reference value() const noexcept { return value_; } in value()
78 explicit operator value_type() const noexcept { return value_; } in operator value_type()
82 ar& make_nvp("value", value_); in serialize()
88 value_ *= rhs.value_; in operator *=()
[all …]
/third_party/boost/boost/thread/
Dsynchronized_value.hpp56 T const& value_; member in boost::const_strict_lock_ptr
67 lk_(mtx), value_(val) in const_strict_lock_ptr()
71 lk_(mtx, tag), value_(val) in const_strict_lock_ptr()
79 : lk_(boost::move(BOOST_THREAD_RV(other).lk_)),value_(BOOST_THREAD_RV(other).value_) in const_strict_lock_ptr()
92 return &value_; in operator ->()
100 return value_; in operator *()
150 return const_cast<T*>(&this->value_); in operator ->()
158 return const_cast<T&>(this->value_); in operator *()
201 T const& value_; member in boost::const_unique_lock_ptr
215 : base_type(mtx), value_(val) in const_unique_lock_ptr()
[all …]
/third_party/jsoncpp/src/lib_json/
Djson_value.cpp349 value_.int_ = 0; in Value()
352 value_.real_ = 0.0; in Value()
356 value_.string_ = const_cast<char*>(static_cast<char const*>(emptyString)); in Value()
360 value_.map_ = new ObjectValues(); in Value()
363 value_.bool_ = false; in Value()
372 value_.int_ = value; in Value()
377 value_.uint_ = value; in Value()
382 value_.int_ = value; in Value()
386 value_.uint_ = value; in Value()
392 value_.real_ = value; in Value()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/types/
Dcompare.h157 : value_(static_cast<compare_internal::value_type>(v)) {} in weak_equality()
167 return v.value_ == 0;
171 return v.value_ != 0;
175 return 0 == v.value_;
179 return 0 != v.value_;
183 return v1.value_ == v2.value_;
187 return v1.value_ != v2.value_;
191 compare_internal::value_type value_;
201 : value_(static_cast<compare_internal::value_type>(v)) {}
212 return value_ == 0 ? weak_equality::equivalent
[all …]
/third_party/abseil-cpp/absl/types/
Dcompare.h157 : value_(static_cast<compare_internal::value_type>(v)) {} in weak_equality()
167 return v.value_ == 0;
171 return v.value_ != 0;
175 return 0 == v.value_;
179 return 0 != v.value_;
183 return v1.value_ == v2.value_;
187 return v1.value_ != v2.value_;
191 compare_internal::value_type value_;
201 : value_(static_cast<compare_internal::value_type>(v)) {}
212 return value_ == 0 ? weak_equality::equivalent
[all …]
/third_party/boost/libs/spirit/test/qi/
Dextract_int.cpp24 BOOST_CONSTEXPR custom_int(int value) : value_(value) {}
26 custom_int operator+(custom_int x) const { return value_ + x.value_; } in operator +()
27 custom_int operator-(custom_int x) const { return value_ - x.value_; } in operator -()
28 custom_int operator*(custom_int x) const { return value_ * x.value_; } in operator *()
29 custom_int operator/(custom_int x) const { return value_ / x.value_; } in operator /()
31 custom_int& operator+=(custom_int x) { value_ += x.value_; return *this; } in operator +=()
32 custom_int& operator-=(custom_int x) { value_ -= x.value_; return *this; } in operator -=()
33 custom_int& operator*=(custom_int x) { value_ *= x.value_; return *this; } in operator *=()
34 custom_int& operator/=(custom_int x) { value_ /= x.value_; return *this; } in operator /=()
35 custom_int& operator++() { ++value_; return *this; } in operator ++()
[all …]
/third_party/gn/src/gn/
Dstring_atom.h68 StringAtom(const StringAtom& other) noexcept : value_(other.value_) {} in StringAtom()
77 StringAtom(StringAtom&& other) noexcept : value_(other.value_) {} in StringAtom()
86 bool empty() const { return value_.empty(); } in empty()
89 const std::string& str() const { return value_; } in str()
92 operator std::string_view() const { return {value_}; } in string_view()
99 return &value_ == &other.value_; in SameAs()
104 return value_ == other.value_;
108 return value_ != other.value_;
112 return value_ < other.value_;
115 size_t hash() const { return std::hash<std::string>()(value_); } in hash()
[all …]
Dsource_dir.h77 ret.value_ = ResolveRelativeAs<StringType>(false, blame_input_value,
93 bool is_null() const { return value_.empty(); } in is_null()
94 const std::string& value() const { return value_; } in value()
99 return value_.size() >= 2 && value_[0] == '/' && value_[1] == '/'; in is_source_absolute()
115 return std::string_view(&value_[1], value_.size() - 1); in SourceAbsoluteWithOneSlash()
123 if (value_.size() > 2) in SourceWithNoTrailingSlash()
124 return std::string_view(&value_[0], value_.size() - 1); in SourceWithNoTrailingSlash()
125 return std::string_view(value_); in SourceWithNoTrailingSlash()
131 return value_ == other.value_;
134 bool operator<(const SourceDir& other) const { return value_ < other.value_; }
[all …]
/third_party/abseil-cpp/absl/container/internal/
Dtest_instance_tracker.h34 explicit BaseCountedInstance(int x) : value_(x) { in BaseCountedInstance()
39 : value_(x.value_), is_live_(x.is_live_) { in BaseCountedInstance()
45 : value_(x.value_), is_live_(x.is_live_) { in BaseCountedInstance()
56 value_ = x.value_;
64 value_ = x.value_;
74 return value_ == x.value_;
79 return value_ != x.value_;
84 return value_ < x.value_;
89 return value_ > x.value_;
94 return value_ <= x.value_;
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
Dtest_instance_tracker.h34 explicit BaseCountedInstance(int x) : value_(x) { in BaseCountedInstance()
39 : value_(x.value_), is_live_(x.is_live_) { in BaseCountedInstance()
45 : value_(x.value_), is_live_(x.is_live_) { in BaseCountedInstance()
56 value_ = x.value_;
64 value_ = x.value_;
74 return value_ == x.value_;
79 return value_ != x.value_;
84 return value_ < x.value_;
89 return value_ > x.value_;
94 return value_ <= x.value_;
[all …]
/third_party/boost/libs/move/example/
Dcopymovable.hpp24 int value_;
27 copy_movable() : value_(1){} in copy_movable()
31 { value_ = m.value_; m.value_ = 0; } in copy_movable()
34 { value_ = m.value_; } in copy_movable()
37 { value_ = m.value_; m.value_ = 0; return *this; } in operator =()
40 { value_ = m.value_; return *this; } in operator =()
43 { return value_ == 0; } in moved()
Dmovable.hpp25 int value_;
28 movable() : value_(1){} in movable()
32 { value_ = m.value_; m.value_ = 0; } in movable()
35 { value_ = m.value_; m.value_ = 0; return *this; } in operator =()
38 { return !value_; } in moved()
41 { return value_; } in value()
/third_party/boost/boost/asio/impl/
Dserial_port_base.ipp45 storage.BaudRate = value_;
48 switch (value_)
132 value_ = storage.BaudRate;
138 case B0: value_ = 0; break;
139 case B50: value_ = 50; break;
140 case B75: value_ = 75; break;
141 case B110: value_ = 110; break;
142 case B134: value_ = 134; break;
143 case B150: value_ = 150; break;
144 case B200: value_ = 200; break;
[all …]
/third_party/boost/boost/hana/
Doptional.hpp64 : value_(t) in optional()
68 : value_(static_cast<T&&>(t)) in optional()
76 constexpr T const* operator->() const { return &value_; } in operator ->()
77 constexpr T* operator->() { return &value_; } in operator ->()
79 constexpr T& value() & { return value_; } in value()
80 constexpr T const& value() const& { return value_; } in value()
81 constexpr T&& value() && { return static_cast<T&&>(value_); } in value()
82 constexpr T const&& value() const&& { return static_cast<T const&&>(value_); } in value()
84 constexpr T& operator*() & { return value_; } in operator *()
85 constexpr T const& operator*() const& { return value_; } in operator *()
[all …]
/third_party/boost/libs/intrusive/test/
Ditestvalue.hpp43 int_holder value_; member
49 : value_(i) in testvalue()
53 : value_(src.value_) in testvalue()
65 value_ = src.value_; in operator =()
88 { return value_; } in get_int_holder()
91 { return value_.int_value(); } in int_value()
97 { return value_ < other.value_; } in operator <()
100 { return value_ > other.value_; } in operator >()
103 { return value_ == other.value_; } in operator ==()
106 { return value_ != other.value_; } in operator !=()
[all …]
/third_party/boost/libs/contract/test/old/
Dif_copyable.hpp14 explicit class_(int value) : value_(value) {} \
16 friend class_& operator++(class_& me) { ++me.value_; return me; } \
19 return left.value_ > right.value_; \
23 return left.value_ == right.value_; \
27 return class_(left.value_ + right.value_); \
31 int value_;
41 ncp(ncp const& other) : value_(other.value_) {} in BOOST_CONTRACT_TEST_IF_COPYABLE_TYPE()
/third_party/boost/libs/units/example/
Dmeasurement.hpp46 value_(val), in measurement()
51 value_(source.value_), in measurement()
61 value_ = source.value_; in operator =()
67 constexpr operator value_type() const { return value_; } in operator value_type()
69 constexpr value_type value() const { return value_; } in value()
71 constexpr value_type lower_bound() const { return value_-uncertainty_; } in lower_bound()
72 constexpr value_type upper_bound() const { return value_+uncertainty_; } in upper_bound()
76 value_ += val; in operator +=()
82 value_ -= val; in operator -=()
88 value_ *= val; in operator *=()
[all …]
/third_party/boost/boost/fusion/container/deque/detail/
Dkeyed_element.hpp61 : Rest(rhs.get_base()), value_(rhs.value_) in keyed_element()
68 , value_(BOOST_FUSION_FWD_ELEM(Value, rhs.value_)) in keyed_element()
76 : Rest(rhs.get_base()), value_(rhs.value_) in keyed_element()
105 return value_; in get()
111 return value_; in get()
118 : Rest(rest), value_(value) in keyed_element()
130 , value_(BOOST_FUSION_FWD_ELEM(Value, value)) in keyed_element()
136 : Rest(), value_() in keyed_element()
144 value_ = rhs.value_; in operator =()
152 value_ = rhs.value_; in operator =()
[all …]
/third_party/boost/boost/asio/
Dcoroutine.hpp246 coroutine() : value_(0) {} in coroutine()
249 bool is_child() const { return value_ < 0; } in is_child()
255 bool is_complete() const { return value_ == -1; } in is_complete()
259 int value_; member in boost::asio::coroutine
268 coroutine_ref(coroutine& c) : value_(c.value_), modified_(false) {} in coroutine_ref()
269 coroutine_ref(coroutine* c) : value_(c->value_), modified_(false) {} in coroutine_ref()
270 ~coroutine_ref() { if (!modified_) value_ = -1; } in ~coroutine_ref()
271 operator int() const { return value_; } in operator int()
272 int& operator=(int v) { modified_ = true; return value_ = v; } in operator =()
275 int& value_; member in boost::asio::detail::coroutine_ref

12345678910>>...17