Lines Matching defs:data
35 explicit TypedMessageData(const T& data) : data_(data) {} in TypedMessageData()
36 const T& data() const { return data_; } in data() function
37 T& data() { return data_; } in data() function
47 explicit ScopedMessageData(std::unique_ptr<T> data) in ScopedMessageData()
51 explicit ScopedMessageData(T* data) : data_(data) {} in ScopedMessageData()
56 const std::unique_ptr<T>& data() const { return data_; } in data() function
57 std::unique_ptr<T>& data() { return data_; } in data() function
70 explicit ScopedRefMessageData(T* data) : data_(data) {} in ScopedRefMessageData()
71 const scoped_refptr<T>& data() const { return data_; } in data() function
72 scoped_refptr<T>& data() { return data_; } in data() function
79 inline MessageData* WrapMessageData(const T& data) { in WrapMessageData()
84 inline const T& UseMessageData(MessageData* data) { in UseMessageData()
91 explicit DisposeData(T* data) : data_(data) {} in DisposeData()