Searched refs:SK_OFFSETOF (Results 1 – 4 of 4) sorted by relevance
/external/skia/include/svg/parser/ |
D | SkSVGAttribute.h | 22 #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/ |
D | SkMemberInfo.h | 108 { #_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, \
|
D | SkDisplayInclude.cpp | 17 { #_member, SK_OFFSETOF(BASE_CLASS::_A, _member), SkType_##_type, \
|
/external/skia/include/core/ |
D | SkTypes.h | 295 #ifndef SK_OFFSETOF 296 #define SK_OFFSETOF(type, field) (size_t)((char*)&(((type*)1)->field) - (char*)1) macro
|