Home
last modified time | relevance | path

Searched refs:StructPtr (Results 1 – 5 of 5) sorted by relevance

/external/libmojo/mojo/public/cpp/bindings/
Dstruct_ptr.h30 class StructPtr {
34 StructPtr() : ptr_(nullptr) {} in StructPtr() function
35 StructPtr(decltype(nullptr)) : ptr_(nullptr) {} in StructPtr() function
37 ~StructPtr() { delete ptr_; } in ~StructPtr()
39 StructPtr& operator=(decltype(nullptr)) { in decltype()
44 StructPtr(StructPtr&& other) : ptr_(nullptr) { Take(&other); } in StructPtr() function
45 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 …]
Dnative_struct.h16 using NativeStructPtr = StructPtr<NativeStruct>;
/external/libmojo/mojo/public/cpp/bindings/lib/
Dbindings_internal.h40 class StructPtr; variable
290 struct MojomTypeTraits<StructPtr<T>, false> {
/external/libmojo/mojo/public/tools/bindings/generators/cpp_templates/
Dmodule.h.tmpl151 using {{struct.name}}Ptr = mojo::StructPtr<{{struct.name}}>;
162 typedef mojo::StructPtr<{{union.name}}> {{union.name}}Ptr;
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DCodeExtractor.cpp288 PointerType *StructPtr = in constructFunction() local
291 paramTy.push_back(StructPtr); in constructFunction()