Home | History | Annotate | Download | only in base

Lines Matching refs:DeleteCounter

236 class DeleteCounter {
238 explicit DeleteCounter(int* deletes)
242 ~DeleteCounter() {
705 DeleteCounter* counter = new DeleteCounter(&deletes);
709 RepeatingCallback<DeleteCounter*()> no_capture_cb =
710 BindRepeating(&PolymorphicIdentity<DeleteCounter*>, Owned(counter));
718 counter = new DeleteCounter(&deletes);
720 BindRepeating(&DeleteCounter::VoidMethod0, Owned(counter));
729 DeleteCounter* counter = new DeleteCounter(&deletes);
733 OnceCallback<DeleteCounter*()> no_capture_cb =
734 BindOnce(&PolymorphicIdentity<DeleteCounter*>, Owned(counter));
740 counter = new DeleteCounter(&deletes);
742 BindOnce(&DeleteCounter::VoidMethod0, Owned(counter));
998 void operator()(DeleteCounter* c) { delete c; }
1002 ::testing::Types<std::unique_ptr<DeleteCounter>,
1003 std::unique_ptr<DeleteCounter, CustomDeleter>>;
1009 TypeParam ptr(new DeleteCounter(&deletes));
1022 &PassThru<TypeParam>, Passed(TypeParam(new DeleteCounter(&deletes))));
1033 DeleteCounter* counter = new DeleteCounter(&deletes);
1051 TypeParam ptr(new DeleteCounter(&deletes));