Lines Matching refs:pbits
98 BBitmap *pbits = NULL;
101 CPPUNIT_ASSERT(streamEmpty.DetachBitmap(&pbits) == B_ERROR);
102 CPPUNIT_ASSERT(pbits == NULL);
106 pbits = new BBitmap(BRect(0,0,5,5), B_RGB32);
107 CPPUNIT_ASSERT(pbits);
110 pstreamWithBits = new BBitmapStream(pbits);
116 CPPUNIT_ASSERT(pbits == poutbits);
121 delete pbits;
122 pbits = NULL;
145 BBitmap *pbits = NULL;
149 CPPUNIT_ASSERT(pstream->DetachBitmap(&pbits) == B_NO_ERROR);
150 CPPUNIT_ASSERT(pbits);
151 CPPUNIT_ASSERT(pbits->IsValid());
167 CPPUNIT_ASSERT(pbits->IsValid());
168 CPPUNIT_ASSERT(pbits->BitsLength() > 0);
173 BBitmapStream *pfullstream = new BBitmapStream(pbits);
176 pbits->BitsLength() + sizeof(TranslatorBitmap));
179 //the bitmap attached to it (pbits)
183 CPPUNIT_ASSERT(pbits->BitsLength() == 0);