Lines Matching refs:SerializationUtils
30 template<typename T> struct SerializationUtils {
40 template<> struct SerializationUtils<SkMatrix> {
49 template<> struct SerializationUtils<SkPath> {
58 template<> struct SerializationUtils<SkRegion> {
67 template<> struct SerializationUtils<unsigned char> {
76 template<> struct SerializationUtils<SkColor> {
85 template<> struct SerializationUtils<int32_t> {
94 template<> struct SerializationUtils<SkPoint> {
103 template<> struct SerializationUtils<SkScalar> {
116 SerializationUtils<T>::Write(writer, testObj);
126 SerializationUtils<T>::Read(buffer, &obj);
133 SerializationUtils<T>::Read(buffer2, &obj2);
147 SerializationUtils<T>::Write(writer, testObj);
158 SerializationUtils<T>::Read(buffer, &obj);
166 SerializationUtils<T>::Read(buffer2, &obj2);
186 SerializationUtils<T>::Write(writer, data, kArraySize);
197 bool success = SerializationUtils<T>::Read(buffer, dataRead, kArraySize / 2);
203 success = SerializationUtils<T>::Read(buffer2, dataRead, kArraySize);