• Home
  • Raw
  • Download

Lines Matching refs:InlinedStructPtr

123 class InlinedStructPtr {
127 InlinedStructPtr() : state_(NIL) {} in InlinedStructPtr() function
128 InlinedStructPtr(decltype(nullptr)) : state_(NIL) {} in InlinedStructPtr() function
130 ~InlinedStructPtr() {} in ~InlinedStructPtr()
132 InlinedStructPtr& operator=(decltype(nullptr)) { in decltype()
137 InlinedStructPtr(InlinedStructPtr&& other) : state_(NIL) { Take(&other); } in InlinedStructPtr() function
138 InlinedStructPtr& operator=(InlinedStructPtr&& other) {
144 InlinedStructPtr(base::in_place_t, Args&&... args) in InlinedStructPtr() function
149 return TypeConverter<U, InlinedStructPtr>::Convert(*this); in To()
170 void Swap(InlinedStructPtr* other) { in Swap()
175 InlinedStructPtr Clone() const { in Clone()
176 return is_null() ? InlinedStructPtr() : value_.Clone(); in Clone()
180 bool Equals(const InlinedStructPtr& other) const { in Equals()
197 void Take(InlinedStructPtr* other) { in Take()
211 DISALLOW_COPY_AND_ASSIGN(InlinedStructPtr);
215 bool operator==(const InlinedStructPtr<T>& lhs,
216 const InlinedStructPtr<T>& rhs) {
220 bool operator!=(const InlinedStructPtr<T>& lhs,
221 const InlinedStructPtr<T>& rhs) {
249 static bool IsHashTableDeletedValue(const InlinedStructPtr<Struct>& value) { in IsHashTableDeletedValue()
250 return value.state_ == InlinedStructPtr<Struct>::DELETED; in IsHashTableDeletedValue()
253 static void ConstructDeletedValue(mojo::InlinedStructPtr<Struct>& slot) { in ConstructDeletedValue()
257 new (&slot) InlinedStructPtr<Struct>(); in ConstructDeletedValue()
258 slot.state_ = InlinedStructPtr<Struct>::DELETED; in ConstructDeletedValue()
275 struct hash<mojo::InlinedStructPtr<T>> {
276 size_t operator()(const mojo::InlinedStructPtr<T>& value) const {