Home
last modified time | relevance | path

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

123456789

/third_party/jsoncpp/src/lib_json/
Djson_value.cpp355 value_.int_ = 0; in Value()
358 value_.real_ = 0.0; in Value()
362 value_.string_ = const_cast<char*>(static_cast<char const*>(emptyString)); in Value()
366 value_.map_ = new ObjectValues(); in Value()
369 value_.bool_ = false; in Value()
378 value_.int_ = value; in Value()
383 value_.uint_ = value; in Value()
388 value_.int_ = value; in Value()
392 value_.uint_ = value; in Value()
398 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/gn/src/gn/
Dstring_atom.h69 StringAtom(const StringAtom& other) noexcept : value_(other.value_) {} in StringAtom()
78 StringAtom(StringAtom&& other) noexcept : value_(other.value_) {} in StringAtom()
87 bool empty() const { return value_.empty(); } in empty()
90 const std::string& str() const { return value_; } in str()
93 operator std::string_view() const { return {value_}; } in string_view()
100 return &value_ == &other.value_; in SameAs()
105 return value_ == other.value_;
109 return value_ != other.value_;
117 return value_ < other.value_;
120 size_t hash() const { return std::hash<std::string>()(value_); } in hash()
[all …]
Dtagged_pointer.h18 : value_(reinterpret_cast<uintptr_t>(ptr)) { in TaggedPointer()
21 value_ |= static_cast<uintptr_t>(tag); in TaggedPointer()
24 T* ptr() const { return reinterpret_cast<T*>(value_ & ~kTagMask); } in ptr()
25 unsigned tag() const { return static_cast<unsigned>(value_ & kTagMask); } in tag()
29 value_ = reinterpret_cast<uintptr_t>(ptr) | (value_ & kTagMask); in set_ptr()
34 value_ = (value_ & ~kTagMask) | tag; in set_tag()
37 bool operator==(TaggedPointer other) const { return value_ == other.value_; }
41 bool operator<(TaggedPointer other) const { return value_ < other.value_; }
55 uintptr_t value_ = 0; variable
Doutput_file.cc10 OutputFile::OutputFile(std::string&& v) : value_(std::move(v)) {} in OutputFile()
12 OutputFile::OutputFile(const std::string& v) : value_(v) {} in OutputFile()
16 : value_(RebasePath(source_file.value(), in OutputFile()
21 DCHECK(!value_.empty()); in AsSourceFile()
22 DCHECK(value_[value_.size() - 1] != '/'); in AsSourceFile()
25 path.append(value_); in AsSourceFile()
30 if (!value_.empty()) { in AsSourceDir()
33 DCHECK(value_[value_.size() - 1] == '/'); in AsSourceDir()
36 path.append(value_); in AsSourceDir()
Doutput_file.h28 std::string& value() { return value_; } in value()
29 const std::string& value() const { return value_; } in value()
38 return value_ == other.value_;
41 return value_ != other.value_;
44 return value_ < other.value_;
48 std::string value_;
Dsource_file.h60 bool is_null() const { return value_.empty(); } in is_null()
61 const std::string& value() const { return value_.str(); } in value()
101 return value_.SameAs(other.value_);
105 return value_ < other.value_;
110 return StringAtom::PtrCompare()(a.value_, b.value_); in operator()
115 return StringAtom::PtrHash()(s.value_); in operator()
121 return StringAtom::PtrEqual()(a.value_, b.value_); in operator()
130 StringAtom value_; variable
Dsource_dir.h87 bool is_null() const { return value_.empty(); } in is_null()
88 const std::string& value() const { return value_.str(); } in value()
93 const std::string& v = value_.str(); in is_source_absolute()
110 const std::string& v = value_.str(); in SourceAbsoluteWithOneSlash()
119 const std::string& v = value_.str(); in SourceWithNoTrailingSlash()
126 return value_.SameAs(other.value_);
129 bool operator<(const SourceDir& other) const { return value_ < other.value_; }
131 size_t hash() const { return value_.ptr_hash(); } in hash()
135 StringAtom value_; variable
Dsource_file.cc131 SourceFile::SourceFile(StringAtom value) : value_(value) {} in SourceFile()
134 return GetSourceFileType(value_.str()); in GetType()
138 std::string_view v = value_.str(); in IsDefType()
143 std::string_view v = value_.str(); in IsObjectType()
148 std::string_view v = value_.str(); in IsModuleMapType()
153 std::string_view v = value_.str(); in IsSwiftType()
158 std::string_view v = value_.str(); in IsSwiftModuleType()
166 const std::string& value = value_.str(); in GetName()
176 const std::string& value = value_.str(); in GetDir()
183 return ResolvePath(value_.str(), true, source_root); in Resolve()
[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/protobuf/src/google/protobuf/
Dinlined_string_field.h159 std::string value_;
165 : value_(default_value) {} in InlinedStringField()
169 value_ = from.value_; in AssignWithDefault()
173 return value_; in GetNoArena()
177 return &value_; in MutableNoArena()
183 value_.assign(*default_value); in SetAllocatedNoArena()
185 value_.assign(std::move(*value)); in SetAllocatedNoArena()
197 value_.clear(); in ClearNonDefaultToEmptyNoArena()
202 value_.assign(*default_value); in ClearToDefaultNoArena()
208 value_.swap(*released); in ReleaseNonDefaultNoArena()
[all …]
Dwrappers.pb.cc191 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::DoubleValue, value_),
197 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FloatValue, value_),
203 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Int64Value, value_),
209 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::UInt64Value, value_),
215 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Int32Value, value_),
221 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::UInt32Value, value_),
227 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::BoolValue, value_),
233 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::StringValue, value_),
239 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::BytesValue, value_),
321 value_ = from.value_; in DoubleValue()
[all …]
/third_party/cef/libcef/browser/
Dx509_cert_principal_impl.cc25 : value_(value) {} in CefX509CertPrincipalImpl()
28 return value_.GetDisplayName(); in GetDisplayName()
32 return value_.common_name; in GetCommonName()
36 return value_.locality_name; in GetLocalityName()
40 return value_.state_or_province_name; in GetStateOrProvinceName()
44 return value_.country_name; in GetCountryName()
49 TransferVector(value_.street_addresses, addresses); in GetStreetAddresses()
54 TransferVector(value_.organization_names, names); in GetOrganizationNames()
59 TransferVector(value_.organization_unit_names, names); in GetOrganizationUnitNames()
64 TransferVector(value_.domain_components, components); in GetDomainComponents()
/third_party/libabigail/include/
Dabg-cxx-compat.h41 T value_;
44 optional() : has_value_(false), value_() {}
45 optional(const T& value) : has_value_(true), value_(value) {}
58 return value_;
66 return value_;
71 { return value_; }
75 { return value_; }
79 { return &value_; }
83 { return &value_; }
89 value_ = value;
/third_party/cef/libcef/common/
Dvalue_base.h250 : value_(value), in CefValueBase()
254 DCHECK(value_); in CefValueBase()
270 controller_->AddReference(value_, this); in CefValueBase()
274 controller_->AddDependency(parent_value, value_); in CefValueBase()
282 if (controller_.get() && value_) in ~CefValueBase()
307 controller()->Remove(value_, false); in Delete()
311 controller()->RemoveDependencies(value_); in Delete()
314 DeleteValue(value_); in Delete()
318 value_ = nullptr; in Delete()
335 controller()->Remove(value_, false); in Detach()
[all …]
/third_party/skia/third_party/externals/tint/src/inspector/
Dscalar.cc23 value_.b = val; in Scalar()
27 value_.u = val; in Scalar()
31 value_.i = val; in Scalar()
35 value_.f = val; in Scalar()
59 return value_.b; in AsBool()
63 return value_.u; in AsU32()
67 return value_.i; in AsI32()
71 return value_.f; in AsFloat()
/third_party/protobuf/src/google/protobuf/stubs/
Dstatusor.h160 T value_; variable
211 value_ = value;
217 : status_(other.status_), value_(other.value_) {
223 value_ = other.value_;
230 : status_(other.status_), value_(other.status_.ok() ? other.value_ : T()) {
237 if (status_.ok()) value_ = other.value_;
256 return value_;
264 return value_;
/third_party/spirv-headers/tools/buildHeaders/jsoncpp/dist/
Djsoncpp.cpp2700 value_.int_ = 0; in Value()
2703 value_.real_ = 0.0; in Value()
2706 value_.string_ = 0; in Value()
2710 value_.map_ = new ObjectValues(); in Value()
2713 value_.bool_ = false; in Value()
2722 value_.int_ = value; in Value()
2727 value_.uint_ = value; in Value()
2732 value_.int_ = value; in Value()
2736 value_.uint_ = value; in Value()
2742 value_.real_ = value; in Value()
[all …]
/third_party/skia/third_party/externals/spirv-headers/tools/buildHeaders/jsoncpp/dist/
Djsoncpp.cpp2700 value_.int_ = 0; in Value()
2703 value_.real_ = 0.0; in Value()
2706 value_.string_ = 0; in Value()
2710 value_.map_ = new ObjectValues(); in Value()
2713 value_.bool_ = false; in Value()
2722 value_.int_ = value; in Value()
2727 value_.uint_ = value; in Value()
2732 value_.int_ = value; in Value()
2736 value_.uint_ = value; in Value()
2742 value_.real_ = value; in Value()
[all …]
/third_party/protobuf/conformance/third_party/jsoncpp/
Djsoncpp.cpp2724 value_.int_ = 0; in Value()
2727 value_.real_ = 0.0; in Value()
2730 value_.string_ = 0; in Value()
2734 value_.map_ = new ObjectValues(); in Value()
2737 value_.bool_ = false; in Value()
2746 value_.int_ = value; in Value()
2751 value_.uint_ = value; in Value()
2756 value_.int_ = value; in Value()
2760 value_.uint_ = value; in Value()
2766 value_.real_ = value; in Value()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/jsoncpp/dist/
Djsoncpp.cpp2700 value_.int_ = 0; in Value()
2703 value_.real_ = 0.0; in Value()
2706 value_.string_ = 0; in Value()
2710 value_.map_ = new ObjectValues(); in Value()
2713 value_.bool_ = false; in Value()
2722 value_.int_ = value; in Value()
2727 value_.uint_ = value; in Value()
2732 value_.int_ = value; in Value()
2736 value_.uint_ = value; in Value()
2742 value_.real_ = value; in Value()
[all …]
/third_party/cef/libcef/common/test/
Dtranslator_test_impl.cc10 explicit CefTranslatorTestRefPtrLibraryImpl(int value) : value_(value) {} in CefTranslatorTestRefPtrLibraryImpl()
17 int GetValue() override { return value_; } in GetValue()
19 void SetValue(int value) override { value_ = value; } in SetValue()
22 int value_; member in CefTranslatorTestRefPtrLibraryImpl
38 : value_(value), other_value_(other_value) {} in CefTranslatorTestRefPtrLibraryChildImpl()
45 int GetValue() override { return value_; } in GetValue()
47 void SetValue(int value) override { value_ = value; } in SetValue()
54 int value_; member in CefTranslatorTestRefPtrLibraryChildImpl
73 : value_(value), in CefTranslatorTestRefPtrLibraryChildChildImpl()
82 int GetValue() override { return value_; } in GetValue()
[all …]
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DWrappers.cs89 value_ = other.value_; in DoubleValue()
100 private double value_; field in Google.Protobuf.WellKnownTypes.DoubleValue
106 get { return value_; }
108 value_ = value;
269 value_ = other.value_; in FloatValue()
280 private float value_; field in Google.Protobuf.WellKnownTypes.FloatValue
286 get { return value_; }
288 value_ = value;
449 value_ = other.value_; in Int64Value()
460 private long value_; field in Google.Protobuf.WellKnownTypes.Int64Value
[all …]
/third_party/skia/third_party/externals/angle2/src/common/third_party/base/anglebase/numerics/
Dclamped_math.h30 constexpr ClampedNumeric() : value_(0) {} in ClampedNumeric()
34 constexpr ClampedNumeric(const ClampedNumeric<Src> &rhs) : value_(saturated_cast<T>(rhs.value_)) in ClampedNumeric()
44 : value_(saturated_cast<T>(value)) in ClampedNumeric()
53 : value_(saturated_cast<T>(static_cast<Src>(value))) in ClampedNumeric()
90 return ClampedNumeric<T>(SaturatedNegWrapper(value_));
95 return ClampedNumeric<decltype(InvertWrapper(T()))>(InvertWrapper(value_));
102 return ClampedNumeric<T>(SaturatedAbsWrapper(value_)); in Abs()
109 return ClampedNumeric<result_type>(ClampedMaxOp<T, U>::Do(value_, Wrapper<U>::value(rhs))); in Max()
116 return ClampedNumeric<result_type>(ClampedMinOp<T, U>::Do(value_, Wrapper<U>::value(rhs))); in Min()
124 return ClampedNumeric<typename UnsignedOrFloatForSize<T>::type>(SafeUnsignedAbs(value_)); in UnsignedAbs()
[all …]
/third_party/gn/src/base/numerics/
Dclamped_math.h26 constexpr ClampedNumeric() : value_(0) {} in ClampedNumeric()
31 : value_(saturated_cast<T>(rhs.value_)) {} in ClampedNumeric()
40 : value_(saturated_cast<T>(value)) { in ClampedNumeric()
49 : value_(saturated_cast<T>(static_cast<Src>(value))) {} in ClampedNumeric()
83 return ClampedNumeric<T>(SaturatedNegWrapper(value_));
87 return ClampedNumeric<decltype(InvertWrapper(T()))>(InvertWrapper(value_));
93 return ClampedNumeric<T>(SaturatedAbsWrapper(value_)); in Abs()
101 ClampedMaxOp<T, U>::Do(value_, Wrapper<U>::value(rhs))); in Max()
109 ClampedMinOp<T, U>::Do(value_, Wrapper<U>::value(rhs))); in Min()
118 SafeUnsignedAbs(value_)); in UnsignedAbs()
[all …]

123456789