Home
last modified time | relevance | path

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

/external/skia/include/svg/
DSkSVGAttribute.h29 #ifndef SK_OFFSETOF
30 #define SK_OFFSETOF(a, b) (((size_t) (&(((a*) 1)->b)))-1) macro
34 #define SVG_ATTRIBUTE(attr) { #attr, SK_OFFSETOF(BASE_CLASS, f_##attr) }
35 #define SVG_LITERAL_ATTRIBUTE(svgAttr, cAttr) { #svgAttr, SK_OFFSETOF(BASE_CLASS, cAttr) }
/external/skia/src/animator/
DSkMemberInfo.h116 { #_member, SK_OFFSETOF(BASE_CLASS, _member), SkType_##_type, \
120 { #_member, SK_OFFSETOF(BASE_CLASS, _alias), SkType_##_type, \
124 { #_member, SK_OFFSETOF(BASE_CLASS, _member), SkType_Array, \
DSkDisplayInclude.cpp25 { #_member, SK_OFFSETOF(BASE_CLASS::_A, _member), SkType_##_type, \
/external/skia/src/core/
DSkMemory_stdlib.cpp197 ((char*)addr - SK_OFFSETOF(SkBlockHeader, fTrailer)); in sk_realloc_throw()
239 ((char*)p - SK_OFFSETOF(SkBlockHeader, fTrailer)); in sk_free()
/external/skia/include/core/
DSkTypes.h165 #ifndef SK_OFFSETOF
166 #define SK_OFFSETOF(type, field) ((char*)&(((type*)1)->field) - (char*)1) macro