Lines Matching refs:data1
20 TestRC data0, data1;
35 dict.set("foo", &data1);
36 REPORTER_ASSERT(reporter, &data1 == dict.find("foo"));
38 REPORTER_ASSERT(reporter, 2 == data1.getRefCnt());
43 REPORTER_ASSERT(reporter, 1 == data1.getRefCnt());
46 dict.set("bar", &data1);
48 REPORTER_ASSERT(reporter, &data1 == dict.find("bar"));
50 REPORTER_ASSERT(reporter, 2 == data1.getRefCnt());
52 dict.set("foo", &data1);
53 REPORTER_ASSERT(reporter, &data1 == dict.find("foo"));
54 REPORTER_ASSERT(reporter, &data1 == dict.find("bar"));
56 REPORTER_ASSERT(reporter, 3 == data1.getRefCnt());
62 REPORTER_ASSERT(reporter, 1 == data1.getRefCnt());