Lines Matching refs:InlinedStructPtr
128 class InlinedStructPtr {
132 InlinedStructPtr() : state_(NIL) {} in InlinedStructPtr() function
133 InlinedStructPtr(decltype(nullptr)) : state_(NIL) {} in InlinedStructPtr() function
135 ~InlinedStructPtr() {} in ~InlinedStructPtr()
137 InlinedStructPtr& operator=(decltype(nullptr)) { in decltype()
142 InlinedStructPtr(InlinedStructPtr&& other) : state_(NIL) { Take(&other); } in InlinedStructPtr() function
143 InlinedStructPtr& operator=(InlinedStructPtr&& other) {
149 InlinedStructPtr(base::in_place_t, Args&&... args) in InlinedStructPtr() function
154 return TypeConverter<U, InlinedStructPtr>::Convert(*this); in To()
175 void Swap(InlinedStructPtr* other) { in Swap()
180 InlinedStructPtr Clone() const { in Clone()
181 return is_null() ? InlinedStructPtr() : value_.Clone(); in Clone()
185 bool Equals(const InlinedStructPtr& other) const { in Equals()
200 bool operator<(const InlinedStructPtr& other) const {
206 void Take(InlinedStructPtr* other) { in Take()
220 DISALLOW_COPY_AND_ASSIGN(InlinedStructPtr);
224 bool operator==(const InlinedStructPtr<T>& lhs,
225 const InlinedStructPtr<T>& rhs) {
229 bool operator!=(const InlinedStructPtr<T>& lhs,
230 const InlinedStructPtr<T>& rhs) {
258 static bool IsHashTableDeletedValue(const InlinedStructPtr<Struct>& value) { in IsHashTableDeletedValue()
259 return value.state_ == InlinedStructPtr<Struct>::DELETED; in IsHashTableDeletedValue()
262 static void ConstructDeletedValue(mojo::InlinedStructPtr<Struct>& slot) { in ConstructDeletedValue()
266 new (&slot) InlinedStructPtr<Struct>(); in ConstructDeletedValue()
267 slot.state_ = InlinedStructPtr<Struct>::DELETED; in ConstructDeletedValue()
284 struct hash<mojo::InlinedStructPtr<T>> {
285 size_t operator()(const mojo::InlinedStructPtr<T>& value) const {