Searched refs:readPtr (Results 1 – 7 of 7) sorted by relevance
95 REPORTER_ASSERT(reporter, reader.readPtr() == p0); in test_ptr()97 REPORTER_ASSERT(reporter, reader.readPtr() == p1); in test_ptr()177 const char* readPtr = static_cast<const char*>(reader.skip(len)); in testWritePad() local179 REPORTER_ASSERT(reporter, memcmp(readPtr, originalData.get(), len) == 0); in testWritePad()181 const char* stop = readPtr + SkAlign4(len); in testWritePad()182 readPtr += len; in testWritePad()183 while (readPtr < stop) { in testWritePad()184 REPORTER_ASSERT(reporter, *readPtr++ == 0); in testWritePad()
71 bool readPtr(void** ptr) { return read(ptr, sizeof(void*)); } in readPtr() function
63 void* readPtr() { in readPtr() function
687 p->setTypeface(static_cast<SkTypeface*>(reader->readPtr())); in typeface_rp()743 state->setSharedHeap(static_cast<SkBitmapHeap*>(reader->readPtr())); in shareBitmapHeap_rp()