Lines Matching refs:bytesWritten
117 size_t bytesWritten = writer.bytesWritten();
118 REPORTER_ASSERT(reporter, SkAlign4(bytesWritten) == bytesWritten);
124 SkValidatingReadBuffer buffer(dataWritten, bytesWritten - 4);
130 SkValidatingReadBuffer buffer2(dataWritten, bytesWritten);
137 REPORTER_ASSERT(reporter, static_cast<size_t>(peekAfter - peekBefore) == bytesWritten);
148 size_t bytesWritten = writer.bytesWritten();
149 REPORTER_ASSERT(reporter, SkAlign4(bytesWritten) == bytesWritten);
152 SkASSERT(bytesWritten <= sizeof(dataWritten));
156 SkValidatingReadBuffer buffer(dataWritten, bytesWritten - 4);
163 SkValidatingReadBuffer buffer2(dataWritten, bytesWritten);
171 REPORTER_ASSERT(reporter, static_cast<size_t>(peekAfter - peekBefore) == bytesWritten);
187 size_t bytesWritten = writer.bytesWritten();
189 REPORTER_ASSERT(reporter, (4 + kArraySize * sizeof(T)) == bytesWritten);
195 SkValidatingReadBuffer buffer(dataWritten, bytesWritten);
202 SkValidatingReadBuffer buffer2(dataWritten, bytesWritten);