Home
last modified time | relevance | path

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

/external/skia/include/svg/parser/
DSkSVGAttribute.h22 #ifndef SK_OFFSETOF
23 #define SK_OFFSETOF(a, b) (((size_t) (&(((a*) 1)->b)))-1) macro
27 #define SVG_ATTRIBUTE(attr) { #attr, SK_OFFSETOF(BASE_CLASS, f_##attr) }
28 #define SVG_LITERAL_ATTRIBUTE(svgAttr, cAttr) { #svgAttr, SK_OFFSETOF(BASE_CLASS, cAttr) }
/external/skia/src/animator/
DSkMemberInfo.h108 { #_member, SK_OFFSETOF(BASE_CLASS, _member), SkType_##_type, \
112 { #_member, SK_OFFSETOF(BASE_CLASS, _alias), SkType_##_type, \
116 { #_member, SK_OFFSETOF(BASE_CLASS, _member), SkType_Array, \
DSkDisplayInclude.cpp17 { #_member, SK_OFFSETOF(BASE_CLASS::_A, _member), SkType_##_type, \
/external/skia/include/core/
DSkTypes.h295 #ifndef SK_OFFSETOF
296 #define SK_OFFSETOF(type, field) (size_t)((char*)&(((type*)1)->field) - (char*)1) macro