• Home
  • Raw
  • Download

Lines Matching refs:bytesWritten

143     size_t bytesWritten = writer.bytesWritten();  in TestObjectSerializationNoAlign()  local
144 REPORTER_ASSERT(reporter, SkAlign4(bytesWritten) == bytesWritten); in TestObjectSerializationNoAlign()
152 SkValidatingReadBuffer buffer(dataWritten, bytesWritten - 4); in TestObjectSerializationNoAlign()
158 SkValidatingReadBuffer buffer2(dataWritten, bytesWritten); in TestObjectSerializationNoAlign()
167 REPORTER_ASSERT(reporter, static_cast<size_t>(peekAfter - peekBefore) == bytesWritten); in TestObjectSerializationNoAlign()
181 size_t bytesWritten = writer.bytesWritten(); in TestFlattenableSerialization() local
182 REPORTER_ASSERT(reporter, SkAlign4(bytesWritten) == bytesWritten); in TestFlattenableSerialization()
185 SkASSERT(bytesWritten <= sizeof(dataWritten)); in TestFlattenableSerialization()
189 SkValidatingReadBuffer buffer(dataWritten, bytesWritten - 4); in TestFlattenableSerialization()
196 SkValidatingReadBuffer buffer2(dataWritten, bytesWritten); in TestFlattenableSerialization()
204 REPORTER_ASSERT(reporter, static_cast<size_t>(peekAfter - peekBefore) == bytesWritten); in TestFlattenableSerialization()
219 size_t bytesWritten = writer.bytesWritten(); in TestArraySerialization() local
221 REPORTER_ASSERT(reporter, (4 + kArraySize * sizeof(T)) == bytesWritten); in TestArraySerialization()
227 SkValidatingReadBuffer buffer(dataWritten, bytesWritten); in TestArraySerialization()
234 SkValidatingReadBuffer buffer2(dataWritten, bytesWritten); in TestArraySerialization()
536 size_t size = writer.bytesWritten(); in DEF_TEST()