Home | History | Annotate | Download | only in base

Lines Matching refs:DeleteCounter

135 class DeleteCounter {
137 explicit DeleteCounter(int* deletes)
141 ~DeleteCounter() {
684 DeleteCounter* counter = new DeleteCounter(&deletes);
688 Callback<DeleteCounter*(void)> no_capture_cb =
689 Bind(&PolymorphicIdentity<DeleteCounter*>, Owned(counter));
697 counter = new DeleteCounter(&deletes);
699 Bind(&DeleteCounter::VoidMethod0, Owned(counter));
716 scoped_ptr<DeleteCounter> ptr(new DeleteCounter(&deletes));
717 Callback<scoped_ptr<DeleteCounter>(void)> unused_callback =
718 Bind(&PassThru<scoped_ptr<DeleteCounter> >, Passed(&ptr));
728 DeleteCounter* counter = new DeleteCounter(&deletes);
729 Callback<scoped_ptr<DeleteCounter>(void)> callback =
730 Bind(&PassThru<scoped_ptr<DeleteCounter> >,
731 Passed(scoped_ptr<DeleteCounter>(counter)));
736 scoped_ptr<DeleteCounter> result = callback.Run();
749 Callback<scoped_ptr<DeleteCounter>(scoped_ptr<DeleteCounter>)> cb_unbound =
750 Bind(&PassThru<scoped_ptr<DeleteCounter> >);
751 ptr.reset(new DeleteCounter(&deletes));