Lines Matching refs:dict
20 SkRefDict dict; in DEF_TEST() local
22 REPORTER_ASSERT(reporter, NULL == dict.find(NULL)); in DEF_TEST()
23 REPORTER_ASSERT(reporter, NULL == dict.find("foo")); in DEF_TEST()
24 REPORTER_ASSERT(reporter, NULL == dict.find("bar")); in DEF_TEST()
26 dict.set("foo", &data0); in DEF_TEST()
27 REPORTER_ASSERT(reporter, &data0 == dict.find("foo")); in DEF_TEST()
30 dict.set("foo", &data0); in DEF_TEST()
31 REPORTER_ASSERT(reporter, &data0 == dict.find("foo")); in DEF_TEST()
34 dict.set("foo", &data1); in DEF_TEST()
35 REPORTER_ASSERT(reporter, &data1 == dict.find("foo")); in DEF_TEST()
39 dict.set("foo", NULL); in DEF_TEST()
40 REPORTER_ASSERT(reporter, NULL == dict.find("foo")); in DEF_TEST()
44 dict.set("foo", &data0); in DEF_TEST()
45 dict.set("bar", &data1); in DEF_TEST()
46 REPORTER_ASSERT(reporter, &data0 == dict.find("foo")); in DEF_TEST()
47 REPORTER_ASSERT(reporter, &data1 == dict.find("bar")); in DEF_TEST()
51 dict.set("foo", &data1); in DEF_TEST()
52 REPORTER_ASSERT(reporter, &data1 == dict.find("foo")); in DEF_TEST()
53 REPORTER_ASSERT(reporter, &data1 == dict.find("bar")); in DEF_TEST()
57 dict.removeAll(); in DEF_TEST()
58 REPORTER_ASSERT(reporter, NULL == dict.find("foo")); in DEF_TEST()
59 REPORTER_ASSERT(reporter, NULL == dict.find("bar")); in DEF_TEST()