Searched refs:StructPtr (Results 1 – 5 of 5) sorted by relevance
30 class StructPtr {34 StructPtr() : ptr_(nullptr) {} in StructPtr() function35 StructPtr(decltype(nullptr)) : ptr_(nullptr) {} in StructPtr() function37 ~StructPtr() { delete ptr_; } in ~StructPtr()39 StructPtr& operator=(decltype(nullptr)) { in decltype()44 StructPtr(StructPtr&& other) : ptr_(nullptr) { Take(&other); } in StructPtr() function45 StructPtr& operator=(StructPtr&& other) {52 return TypeConverter<U, StructPtr>::Convert(*this); in To()74 void Swap(StructPtr* other) { std::swap(ptr_, other->ptr_); } in Swap()79 StructPtr Clone() const { return is_null() ? StructPtr() : ptr_->Clone(); } in Clone()[all …]
16 using NativeStructPtr = StructPtr<NativeStruct>;
40 class StructPtr; variable290 struct MojomTypeTraits<StructPtr<T>, false> {
151 using {{struct.name}}Ptr = mojo::StructPtr<{{struct.name}}>;162 typedef mojo::StructPtr<{{union.name}}> {{union.name}}Ptr;
288 PointerType *StructPtr = in constructFunction() local291 paramTy.push_back(StructPtr); in constructFunction()