Lines Matching refs:size
181 // Make sure this fails when it should (test with smaller size, but still multiple of 4)
218 // Make sure this fails when it should (test with smaller size, but still multiple of 4)
260 // This should have failed, since the provided size was too small
346 stream.write(data->data(), data->size());
694 // even when the device fails to initialize, due to its size
708 size_t size = writer.bytesWritten();
709 SkAutoTMalloc<unsigned char> data(size);
713 SkReadBuffer reader(static_cast<void*>(data.get()), size);
858 blob_size = SkAlign4(blob->serialize(procs)->size());
871 size_t path_size = SkAlign4(path_effect->serialize()->size());
890 size_t size = writer.bytesWritten();
891 SkAutoMalloc storage(size);
894 SkReadBuffer reader(storage.get(), size);
897 REPORTER_ASSERT(reporter, data->size() == 0);