Home
last modified time | relevance | path

Searched refs:SK_OFFSETOF (Results 1 – 2 of 2) sorted by relevance

/external/skia/include/svg/parser/
DSkSVGAttribute.h22 #ifndef SK_OFFSETOF
24 #define SK_OFFSETOF(type, field) (size_t)((char*)&(((type*)1024)->field) - (char*)1024) macro
28 #define SVG_ATTRIBUTE(attr) { #attr, SK_OFFSETOF(BASE_CLASS, f_##attr) }
29 #define SVG_LITERAL_ATTRIBUTE(svgAttr, cAttr) { #svgAttr, SK_OFFSETOF(BASE_CLASS, cAttr) }
/external/skia/src/animator/
DSkMemberInfo.h108 #ifndef SK_OFFSETOF
110 #define SK_OFFSETOF(type, field) (size_t)((char*)&(((type*)1024)->field) - (char*)1024) macro
114 { #_member, SK_OFFSETOF(BASE_CLASS, _member), SkType_##_type, \
118 { #_member, SK_OFFSETOF(BASE_CLASS, _alias), SkType_##_type, \
122 { #_member, SK_OFFSETOF(BASE_CLASS, _member), SkType_Array, \