Lines Matching defs:desc2
1923 SkDescriptor* desc2 = ad2.getDesc();
1926 memset(desc2, 0xFF, descSize);
1929 desc2->init();
1931 desc2->addEntry(kRec_SkDescriptorTag, sizeof(rec), &rec);
1935 add_flattenable(desc2, kAndroidOpts_SkDescriptorTag, &androidBuffer);
1940 add_flattenable(desc2, kPathEffect_SkDescriptorTag, &peBuffer);
1944 add_flattenable(desc2, kMaskFilter_SkDescriptorTag, &mfBuffer);
1948 add_flattenable(desc2, kRasterizer_SkDescriptorTag, &raBuffer);
1952 SkASSERT(descSize == desc2->getLength());
1954 desc2->computeChecksum();
1956 SkASSERT(!memcmp(desc, desc2, descSize));