Searched refs:StructPtr (Results 1 – 5 of 5) sorted by relevance
33 class StructPtr {37 StructPtr() = default;38 StructPtr(decltype(nullptr)) {} in StructPtr() function40 ~StructPtr() = default;42 StructPtr& operator=(decltype(nullptr)) { in decltype()47 StructPtr(StructPtr&& other) { Take(&other); } in StructPtr() function48 StructPtr& operator=(StructPtr&& other) {54 StructPtr(base::in_place_t, Args&&... args) in StructPtr() function59 return TypeConverter<U, StructPtr>::Convert(*this); in To()76 void Swap(StructPtr* other) { std::swap(ptr_, other->ptr_); } in Swap()[all …]
570 using EmployeePtr = mojo::StructPtr<Employee>;599 a `struct` type is wrapped by the move-only `mojo::StructPtr` helper, which is605 `mojo::StructPtr<T>` wrapping a new instance of the class constructed by655 representative C++ class which is typically wrapped in a `mojo::StructPtr<T>`.
62 static unsigned GetHash(const StructPtr<T>& value) {65 static bool Equal(const StructPtr<T>& left, const StructPtr<T>& right) {89 struct DefaultHash<mojo::StructPtr<T>> {94 struct HashTraits<mojo::StructPtr<T>>95 : public GenericHashTraits<mojo::StructPtr<T>> {97 static bool IsEmptyValue(const mojo::StructPtr<T>& value) {100 static void ConstructDeletedValue(mojo::StructPtr<T>& slot, bool) {103 static bool IsDeletedValue(const mojo::StructPtr<T>& value) {
69 every use of {Inlined}StructPtr. #}159 using {{struct.name}}Ptr = mojo::StructPtr<{{struct.name}}>;170 typedef mojo::StructPtr<{{union.name}}> {{union.name}}Ptr;
288 PointerType *StructPtr = in constructFunction() local291 paramTy.push_back(StructPtr); in constructFunction()