Lines Matching full:dispose_count
428 int dispose_count = 0;
434 TestResource* resource = new TestResource(two_byte_source, &dispose_count);
450 CHECK_EQ(0, dispose_count);
454 CHECK_EQ(1, dispose_count);
459 int dispose_count = 0;
465 new TestOneByteResource(i::StrDup(c_source), &dispose_count);
481 CHECK_EQ(0, dispose_count);
485 CHECK_EQ(1, dispose_count);
490 int dispose_count = 0;
508 &dispose_count));
515 CHECK_EQ(0, dispose_count);
519 CHECK_EQ(1, dispose_count);
524 int dispose_count = 0;
534 new TestOneByteResource(i::StrDup(c_source), &dispose_count));
541 CHECK_EQ(0, dispose_count);
545 CHECK_EQ(1, dispose_count);
754 int dispose_count = 0;
762 new TestResource(two_byte_string, &dispose_count))
768 CHECK_EQ(0, dispose_count);
771 CHECK_EQ(1, dispose_count);
778 int dispose_count = 0;
786 new TestOneByteResource(i::StrDup(one_byte_string), &dispose_count))
792 CHECK_EQ(0, dispose_count);
795 CHECK_EQ(1, dispose_count);
803 static int dispose_count;
806 : TestOneByteResource(data, &dispose_count), dispose_(dispose) {}
817 int TestOneByteResourceWithDisposeControl::dispose_count = 0;
825 TestOneByteResourceWithDisposeControl::dispose_count = 0;
839 CHECK_EQ(0, TestOneByteResourceWithDisposeControl::dispose_count);
844 CHECK_EQ(0, TestOneByteResourceWithDisposeControl::dispose_count);
847 TestOneByteResourceWithDisposeControl::dispose_count = 0;
862 CHECK_EQ(0, TestOneByteResourceWithDisposeControl::dispose_count);
867 CHECK_EQ(1, TestOneByteResourceWithDisposeControl::dispose_count);