Home
last modified time | relevance | path

Searched refs:int_value_ (Results 1 – 7 of 7) sorted by relevance

/external/perfetto/include/perfetto/protozero/
Dfield.h73 return static_cast<bool>(int_value_); in as_bool()
79 return static_cast<uint32_t>(int_value_); in as_uint32()
85 return static_cast<int32_t>(int_value_); in as_int32()
90 return proto_utils::ZigZagDecode(static_cast<uint32_t>(int_value_)); in as_sint32()
97 return int_value_; in as_uint64()
104 return static_cast<int64_t>(int_value_); in as_int64()
109 return proto_utils::ZigZagDecode(static_cast<uint64_t>(int_value_)); in as_sint64()
115 uint32_t value32 = static_cast<uint32_t>(int_value_); in as_float()
123 memcpy(&res, &int_value_, sizeof(res)); in as_double()
144 return reinterpret_cast<const uint8_t*>(int_value_); in data()
[all …]
/external/perfetto/src/protozero/
Dfield.cc40 wptr = pu::WriteVarInt(int_value_, wptr); in SerializeAndAppendToInternal()
45 uint32_t value32 = static_cast<uint32_t>(int_value_); in SerializeAndAppendToInternal()
52 memcpy(wptr, &int_value_, sizeof(int_value_)); in SerializeAndAppendToInternal()
/external/libtextclassifier/native/utils/
Dvariant.h57 : type_(TYPE_INT_VALUE), int_value_(value) {} in Variant()
111 return int_value_; in Value()
269 int int_value_; member
/external/libchrome/base/
Dvalues.cc112 int_value_ = 0; in Value()
134 Value::Value(int in_int) : type_(Type::INTEGER), int_value_(in_int) {} in Value()
197 return Value(int_value_); in Clone()
232 return int_value_; in GetInt()
239 return int_value_; in GetDouble()
454 *out_value = int_value_; in GetAsInteger()
466 *out_value = int_value_; in GetAsDouble()
554 return lhs.int_value_ == rhs.int_value_; in operator ==()
594 return lhs.int_value_ < rhs.int_value_; in operator <()
662 int_value_ = that.int_value_; in InternalMoveConstructFrom()
Dvalues.h364 int int_value_; member
/external/libchrome/mojo/public/cpp/bindings/tests/
Dunion_unittest.cc1130 : int_value_(0), closure_(closure) {} in SmallCacheImpl()
1132 int64_t int_value() const { return int_value_; } in int_value()
1136 int_value_ = int_value; in SetIntValue()
1140 callback.Run(int_value_); in GetIntValue()
1143 int64_t int_value_; member in mojo::test::SmallCacheImpl
/external/webrtc/rtc_base/
Dthread_unittest.cc698 int_value_ = value; in IntCallback()
706 AsyncInvokeTest() : int_value_(0), expected_thread_(nullptr) {} in AsyncInvokeTest()
708 int int_value_; member in rtc::__anone099d1640111::AsyncInvokeTest