Lines Matching refs:SerializationUtils
38 template<typename T> struct SerializationUtils { struct
48 template<> struct SerializationUtils<SkMatrix> { struct
57 template<> struct SerializationUtils<SkPath> { struct
66 template<> struct SerializationUtils<SkRegion> { argument
75 template<> struct SerializationUtils<SkString> { struct
84 template<> struct SerializationUtils<unsigned char> { argument
93 template<> struct SerializationUtils<SkColor> { argument
102 template<> struct SerializationUtils<int32_t> { struct
111 template<> struct SerializationUtils<SkPoint> { argument
120 template<> struct SerializationUtils<SkScalar> { argument
142 SerializationUtils<T>::Write(writer, testObj); in TestObjectSerializationNoAlign() argument
154 SerializationUtils<T>::Read(buffer, &obj); in TestObjectSerializationNoAlign()
161 SerializationUtils<T>::Read(buffer2, &obj2); in TestObjectSerializationNoAlign()
180 SerializationUtils<T>::Write(writer, testObj); in TestFlattenableSerialization()
191 SerializationUtils<T>::Read(buffer, &obj); in TestFlattenableSerialization()
199 SerializationUtils<T>::Read(buffer2, &obj2); in TestFlattenableSerialization()
218 SerializationUtils<T>::Write(writer, data, kArraySize); in TestArraySerialization()
229 bool success = SerializationUtils<T>::Read(buffer, dataRead, kArraySize / 2); in TestArraySerialization()
235 success = SerializationUtils<T>::Read(buffer2, dataRead, kArraySize); in TestArraySerialization()