Home | History | Annotate | Download | only in tests

Lines Matching refs:array

37     SkTRefArray<InstCounterClass>* array = SkTRefArray<InstCounterClass>::Create(N);
39 REPORTER_ASSERT(reporter, 1 == array->getRefCnt());
40 REPORTER_ASSERT(reporter, N == array->count());
43 array->unref();
55 array = SkTRefArray<InstCounterClass>::Create(src, N);
56 REPORTER_ASSERT(reporter, 1 == array->getRefCnt());
57 REPORTER_ASSERT(reporter, N == array->count());
61 REPORTER_ASSERT(reporter, i == (*array)[i].fCount);
68 REPORTER_ASSERT(reporter, i == (*array)[i].fCount);
70 array->unref();