Home
last modified time | relevance | path

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

12345678910

/external/jsoncpp/src/lib_json/
Djson_value.cpp236 value_.int_ = 0; in Value()
239 value_.real_ = 0.0; in Value()
242 value_.string_ = 0; in Value()
247 value_.map_ = new ObjectValues(); in Value()
251 value_.array_ = arrayAllocator()->newArray(); in Value()
254 value_.map_ = mapAllocator()->newMap(); in Value()
258 value_.bool_ = false; in Value()
267 value_.int_ = value; in Value()
272 value_.uint_ = value; in Value()
277 value_.int_ = value; in Value()
[all …]
/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dsocket_option.hpp34 : value_(0) in boolean()
40 : value_(v ? 1 : 0) in boolean()
47 value_ = v ? 1 : 0; in operator =()
54 return !!value_; in value()
60 return !!value_; in operator bool()
66 return !value_; in operator !()
87 return &value_; in data()
94 return &value_; in data()
101 return sizeof(value_); in size()
114 value_ = *reinterpret_cast<char*>(&value_) ? 1 : 0; in resize()
[all …]
Dio_control.hpp31 : value_(0) in non_blocking_io()
37 : value_(value ? 1 : 0) in non_blocking_io()
50 value_ = value ? 1 : 0; in set()
56 return value_ != 0; in get()
62 return &value_; in data()
68 return &value_; in data()
72 detail::ioctl_arg_type value_; member in asio::detail::io_control::non_blocking_io
81 : value_(0) in bytes_readable()
87 : value_(static_cast<detail::ioctl_arg_type>(value)) in bytes_readable()
100 value_ = static_cast<detail::ioctl_arg_type>(value); in set()
[all …]
/external/webrtc/webrtc/base/
Doptional.h68 explicit Optional(const T& val) : value_(val), has_value_(true) {} in Optional()
69 explicit Optional(T&& val) : value_(std::move(val)), has_value_(true) {} in Optional()
75 : value_(std::move(m.value_)), has_value_(m.has_value_) {} in Optional()
81 value_ = std::move(m.value_);
88 swap(m1.value_, m2.value_); in swap()
98 return &value_;
102 return &value_;
106 return value_;
110 return value_;
115 return has_value_ ? value_ : default_val; in value_or()
[all …]
Dsharedexclusivelock_unittest.cc36 value_(value), in SharedExclusiveTask()
48 int* value_; member in rtc::SharedExclusiveTask
77 *message_data->data() = *value_; in OnMessage()
110 *value_ = message_data->data(); in OnMessage()
122 SharedExclusiveLockTest() : value_(0) { in SharedExclusiveLockTest()
131 int value_; member in rtc::SharedExclusiveLockTest
138 ReadTask reader0(shared_exclusive_lock_.get(), &value_, &done0); in TEST_F()
139 ReadTask reader1(shared_exclusive_lock_.get(), &value_, &done1); in TEST_F()
144 value_ = 1; in TEST_F()
162 WriteTask writer(shared_exclusive_lock_.get(), &value_, &done); in TEST_F()
[all …]
/external/webrtc/talk/app/webrtc/
Dstatstypes.cc235 type_ == kInt ? value_.int_ = static_cast<int>(value) : value_.int64_ = value; in Value()
240 value_.float_ = f; in Value()
245 value_.string_ = new std::string(value); in Value()
250 value_.static_string_ = value; in Value()
255 value_.bool_ = b; in Value()
260 value_.id_ = new Id(value); in Value()
272 delete value_.string_; in ~Value()
275 delete value_.id_; in ~Value()
290 return value_.int_ == other.value_.int_; in Equals()
292 return value_.int64_ == other.value_.int64_; in Equals()
[all …]
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/
Dkv_pb.py28 value_ = "" variable in KeyValue
46 def value(self): return self.value_
50 self.value_ = x
55 self.value_ = ""
97 if self.has_value_ and self.value_ != x.value_: return 0
115 n += self.lengthString(len(self.value_))
125 n += self.lengthString(len(self.value_))
136 out.putPrefixedString(self.value_)
144 out.putPrefixedString(self.value_)
164 if self.has_value_: res+=prefix+("value: %s\n" % self.DebugFormatString(self.value_))
[all …]
/external/v8/src/
Dsource-position.h30 bool IsUnknown() const { return value_ == kNoPosition; } in IsUnknown()
32 uint32_t position() const { return PositionField::decode(value_); } in position()
35 value_ = static_cast<uint32_t>(PositionField::update(value_, position)); in set_position()
37 value_ = position; in set_position()
41 uint32_t inlining_id() const { return InliningIdField::decode(value_); } in inlining_id()
44 value_ = in set_inlining_id()
45 static_cast<uint32_t>(InliningIdField::update(value_, inlining_id)); in set_inlining_id()
49 uint32_t raw() const { return value_; } in raw()
64 position.value_ = raw_position; in FromRaw()
71 uint32_t value_; variable
Dproperty-details.h241 value_ = TypeField::encode(type) | AttributesField::encode(attributes) | in PropertyDetails()
253 value_ = TypeField::encode(type)
262 value_ = KindField::encode(kind) | LocationField::encode(location) |
272 int pointer() const { return DescriptorPointer::decode(value_); } in pointer()
275 return PropertyDetails(value_, i); in set_pointer()
280 details.value_ = PropertyCellTypeField::update(details.value_, type); in set_cell_type()
286 details.value_ = DictionaryStorageField::update(details.value_, index); in set_index()
291 return PropertyDetails(value_, representation); in CopyWithRepresentation()
296 return PropertyDetails(value_, new_attributes); in CopyAddAttributes()
311 PropertyKind kind() const { return KindField::decode(value_); } in kind()
[all …]
/external/google-breakpad/src/processor/
Dlinked_ptr.h125 T* get() const { return value_; } in get()
126 T* operator->() const { return value_; }
127 T& operator*() const { return *value_; }
132 T* v = value_; in release()
133 value_ = NULL; in release()
137 bool operator==(T* p) const { return value_ == p; }
138 bool operator!=(T* p) const { return value_ != p; }
141 return value_ == ptr.get();
145 return value_ != ptr.get();
152 T* value_; variable
[all …]
/external/libchrome/base/memory/
Dlinked_ptr.h112 T* get() const { return value_; } in get()
113 T* operator->() const { return value_; }
114 T& operator*() const { return *value_; }
120 T* v = value_; in release()
121 value_ = NULL; in release()
125 bool operator==(const T* p) const { return value_ == p; }
126 bool operator!=(const T* p) const { return value_ != p; }
129 return value_ == ptr.get();
133 return value_ != ptr.get();
140 T* value_; variable
[all …]
/external/protobuf/gtest/include/gtest/internal/
Dgtest-linked_ptr.h172 T* get() const { return value_; } in get()
173 T* operator->() const { return value_; }
174 T& operator*() const { return *value_; }
180 T* v = value_; in release()
181 value_ = NULL; in release()
185 bool operator==(T* p) const { return value_ == p; }
186 bool operator!=(T* p) const { return value_ != p; }
189 return value_ == ptr.get();
193 return value_ != ptr.get();
200 T* value_; variable
[all …]
/external/v8/src/compiler/
Dnode-cache.cc26 Node* value_; member
45 if (old->value_) { in Resize()
51 if (!entry->value_) { in Resize()
53 entry->value_ = old->value_; in Resize()
74 return &entry->value_; in Find()
83 if (pred_(entry->key_, key)) return &entry->value_; in Find()
84 if (!entry->value_) { in Find()
86 return &entry->value_; in Find()
96 entry->value_ = nullptr; in Find()
97 return &entry->value_; in Find()
[all …]
/external/libchrome/dbus/
Dobject_path.cc14 return IsValidObjectPath(value_); in IsValid()
18 return value_ < that.value_; in operator <()
22 return value_ == that.value_; in operator ==()
26 return value_ != that.value_; in operator !=()
Dproperty.cc307 : value_(0) {} in Property()
311 return reader->PopVariantOfByte(&value_); in PopValueFromReader()
324 Property<bool>::Property() : value_(false) { in Property()
329 return reader->PopVariantOfBool(&value_); in PopValueFromReader()
343 : value_(0) {} in Property()
347 return reader->PopVariantOfInt16(&value_); in PopValueFromReader()
361 : value_(0) {} in Property()
365 return reader->PopVariantOfUint16(&value_); in PopValueFromReader()
379 : value_(0) {} in Property()
383 return reader->PopVariantOfInt32(&value_); in PopValueFromReader()
[all …]
/external/google-breakpad/src/testing/gtest/include/gtest/internal/
Dgtest-linked_ptr.h172 T* get() const { return value_; } in get()
173 T* operator->() const { return value_; }
174 T& operator*() const { return *value_; }
176 bool operator==(T* p) const { return value_ == p; }
177 bool operator!=(T* p) const { return value_ != p; }
180 return value_ == ptr.get();
184 return value_ != ptr.get();
191 T* value_; variable
195 if (link_.depart()) delete value_; in depart() local
199 value_ = ptr; in capture()
[all …]
/external/mesa3d/src/gtest/include/gtest/internal/
Dgtest-linked_ptr.h172 T* get() const { return value_; } in get()
173 T* operator->() const { return value_; }
174 T& operator*() const { return *value_; }
176 bool operator==(T* p) const { return value_ == p; }
177 bool operator!=(T* p) const { return value_ != p; }
180 return value_ == ptr.get();
184 return value_ != ptr.get();
191 T* value_; variable
195 if (link_.depart()) delete value_; in depart() local
199 value_ = ptr; in capture()
[all …]
/external/gtest/include/gtest/internal/
Dgtest-linked_ptr.h172 T* get() const { return value_; } in get()
173 T* operator->() const { return value_; }
174 T& operator*() const { return *value_; }
176 bool operator==(T* p) const { return value_ == p; }
177 bool operator!=(T* p) const { return value_ != p; }
180 return value_ == ptr.get();
184 return value_ != ptr.get();
191 T* value_; variable
195 if (link_.depart()) delete value_; in depart() local
199 value_ = ptr; in capture()
[all …]
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/internal/
Dgtest-linked_ptr.h172 T* get() const { return value_; } in get()
173 T* operator->() const { return value_; }
174 T& operator*() const { return *value_; }
176 bool operator==(T* p) const { return value_ == p; }
177 bool operator!=(T* p) const { return value_ != p; }
180 return value_ == ptr.get();
184 return value_ != ptr.get();
191 T* value_; variable
195 if (link_.depart()) delete value_; in depart() local
199 value_ = ptr; in capture()
[all …]
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-linked_ptr.h172 T* get() const { return value_; } in get()
173 T* operator->() const { return value_; }
174 T& operator*() const { return *value_; }
176 bool operator==(T* p) const { return value_ == p; }
177 bool operator!=(T* p) const { return value_ != p; }
180 return value_ == ptr.get();
184 return value_ != ptr.get();
191 T* value_; variable
195 if (link_.depart()) delete value_; in depart() local
199 value_ = ptr; in capture()
[all …]
/external/marisa-trie/v0_1_5/lib/marisa_alpha/
Dpopcount.h10 PopCount(UInt32 x) : value_() { in PopCount()
16 value_ = x; in PopCount()
20 return value_ & 0xFFU; in lo8()
23 return (value_ >> 8) & 0xFFU; in lo16()
26 return (value_ >> 16) & 0xFFU; in lo24()
29 return value_ >> 24; in lo32()
33 UInt32 value_;
/external/marisa-trie/lib/marisa/
Dpopcount.h10 PopCount(UInt32 x) : value_() { in PopCount()
16 value_ = x; in PopCount()
20 return value_ & 0xFFU; in lo8()
23 return (value_ >> 8) & 0xFFU; in lo16()
26 return (value_ >> 16) & 0xFFU; in lo24()
29 return value_ >> 24; in lo32()
33 UInt32 value_;
/external/libbrillo/brillo/
Dflag_helper.cc46 value_(value), in BoolFlag()
52 *value_ = true; in SetValue()
55 *value_ = true; in SetValue()
57 *value_ = false; in SetValue()
62 *no_value_ = !*value_; in SetValue()
76 : Flag(name, default_value, help, visible), value_(value) { in Int32Flag()
80 return base::StringToInt(value, value_); in SetValue()
92 : Flag(name, default_value, help, visible), value_(value) { in Int64Flag()
96 return base::StringToInt64(value, value_); in SetValue()
108 : Flag(name, default_value, help, visible), value_(value) { in UInt64Flag()
[all …]
/external/webrtc/webrtc/system_wrappers/source/
Datomic32_win.cc21 : value_(initial_value) { in Atomic32()
22 static_assert(sizeof(value_) == sizeof(LONG), in Atomic32()
32 reinterpret_cast<volatile LONG*>(&value_))); in operator ++()
37 reinterpret_cast<volatile LONG*>(&value_))); in operator --()
41 return InterlockedExchangeAdd(reinterpret_cast<volatile LONG*>(&value_), in operator +=()
46 return InterlockedExchangeAdd(reinterpret_cast<volatile LONG*>(&value_), in operator -=()
52 reinterpret_cast<volatile LONG*>(&value_), in CompareExchange()
/external/v8/src/base/
Datomic-utils.h19 AtomicNumber() : value_(0) {} in AtomicNumber()
20 explicit AtomicNumber(T initial) : value_(initial) {} in AtomicNumber()
25 &value_, static_cast<base::AtomicWord>(increment))); in Increment()
28 V8_INLINE T Value() { return static_cast<T>(base::Acquire_Load(&value_)); } in Value()
31 base::Release_Store(&value_, static_cast<base::AtomicWord>(new_value)); in SetValue()
42 base::AtomicWord value_; variable
50 AtomicValue() : value_(0) {} in AtomicValue()
53 : value_(cast_helper<T>::to_storage_type(initial)) {} in AtomicValue()
56 return cast_helper<T>::to_return_type(base::Acquire_Load(&value_)); in Value()
61 &value_, cast_helper<T>::to_storage_type(old_value), in TrySetValue()
[all …]

12345678910