Searched refs:PtrWrapper (Results 1 – 4 of 4) sorted by relevance
276 scoped_refptr<PtrWrapper> wrapper = in Create()277 new PtrWrapper(std::move(interface_ptr)); in Create()288 scoped_refptr<PtrWrapper> wrapper = new PtrWrapper(bind_task_runner); in Create()306 class PtrWrapper307 : public base::RefCountedThreadSafe<PtrWrapper, PtrWrapperDeleter> {309 explicit PtrWrapper(InterfacePtrType ptr) in PtrWrapper() function310 : PtrWrapper(base::SequencedTaskRunnerHandle::Get()) { in PtrWrapper()315 explicit PtrWrapper( in PtrWrapper() function321 task_runner_->PostTask(FROM_HERE, base::Bind(&PtrWrapper::Bind, this, in BindOnTaskRunner()333 task_runner_->PostTask(FROM_HERE, base::Bind(&PtrWrapper::Bind, this, in BindOnTaskRunner()[all …]
77 struct PtrWrapper { struct80 PtrWrapper(int *input) : x(input) {} in PtrWrapper() argument83 PtrWrapper *testNewInvalidation() { in testNewInvalidation()85 return new PtrWrapper(static_cast<int *>(malloc(4))); // no-warning in testNewInvalidation()88 void testNewInvalidationPlacement(PtrWrapper *w) { in testNewInvalidationPlacement()90 new (w) PtrWrapper(static_cast<int *>(malloc(4))); // no-warning in testNewInvalidationPlacement()103 void testCacheOut(PtrWrapper w) { in testCacheOut()
79 struct PtrWrapper { struct82 PtrWrapper(int *input) : x(input) {} in PtrWrapper() function85 void testNewInvalidationPlacement(PtrWrapper *w) { in testNewInvalidationPlacement()87 new (w) PtrWrapper(new int); // no warn in testNewInvalidationPlacement()
213 class PtrWrapper { class215 explicit PtrWrapper(InterfacePtr<Interface> ptr) : ptr_(std::move(ptr)) {} in PtrWrapper() function in mojo::test::__anone24243e80111::PtrWrapper217 explicit PtrWrapper( in PtrWrapper() function in mojo::test::__anone24243e80111::PtrWrapper221 PtrWrapper(PtrWrapper&& other) = default;241 DISALLOW_COPY_AND_ASSIGN(PtrWrapper);254 static PtrWrapper<InterfaceT> Wrap(InterfacePtr<Interface> ptr) { in Wrap()256 return PtrWrapper<Interface>( in Wrap()259 return PtrWrapper<Interface>(std::move(ptr)); in Wrap()