Searched refs:SK_OFFSETOF (Results 1 – 5 of 5) sorted by relevance
/external/skia/include/svg/ |
D | SkSVGAttribute.h | 29 #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/ |
D | SkMemberInfo.h | 116 { #_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, \
|
D | SkDisplayInclude.cpp | 25 { #_member, SK_OFFSETOF(BASE_CLASS::_A, _member), SkType_##_type, \
|
/external/skia/src/core/ |
D | SkMemory_stdlib.cpp | 197 ((char*)addr - SK_OFFSETOF(SkBlockHeader, fTrailer)); in sk_realloc_throw() 239 ((char*)p - SK_OFFSETOF(SkBlockHeader, fTrailer)); in sk_free()
|
/external/skia/include/core/ |
D | SkTypes.h | 165 #ifndef SK_OFFSETOF 166 #define SK_OFFSETOF(type, field) ((char*)&(((type*)1)->field) - (char*)1) macro
|