Searched refs:InlinedStructPtr (Results 1 – 4 of 4) sorted by relevance
128 class InlinedStructPtr {132 InlinedStructPtr() : state_(NIL) {} in InlinedStructPtr() function133 InlinedStructPtr(decltype(nullptr)) : state_(NIL) {} in InlinedStructPtr() function135 ~InlinedStructPtr() {} in ~InlinedStructPtr()137 InlinedStructPtr& operator=(decltype(nullptr)) { in decltype()142 InlinedStructPtr(InlinedStructPtr&& other) : state_(NIL) { Take(&other); } in InlinedStructPtr() function143 InlinedStructPtr& operator=(InlinedStructPtr&& other) {149 InlinedStructPtr(base::in_place_t, Args&&... args) in InlinedStructPtr() function154 return TypeConverter<U, InlinedStructPtr>::Convert(*this); in To()175 void Swap(InlinedStructPtr* other) { in Swap()[all …]
73 static unsigned GetHash(const InlinedStructPtr<T>& value) {76 static bool Equal(const InlinedStructPtr<T>& left,77 const InlinedStructPtr<T>& right) {110 struct DefaultHash<mojo::InlinedStructPtr<T>> {115 struct HashTraits<mojo::InlinedStructPtr<T>>116 : public GenericHashTraits<mojo::InlinedStructPtr<T>> {118 static bool IsEmptyValue(const mojo::InlinedStructPtr<T>& value) {121 static void ConstructDeletedValue(mojo::InlinedStructPtr<T>& slot, bool) {124 static bool IsDeletedValue(const mojo::InlinedStructPtr<T>& value) {
15 // InlinedStructPtr<StringPair>.
157 using {{struct.name}}Ptr = mojo::InlinedStructPtr<{{struct.name}}>;168 typedef mojo::InlinedStructPtr<{{union.name}}> {{union.name}}Ptr;