OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:SK_OFFSETOF
(Results
1 - 2
of
2
) sorted by null
/external/skia/include/svg/
SkSVGAttribute.h
29
#ifndef
SK_OFFSETOF
30
#define
SK_OFFSETOF
(a, b) (((size_t) (&(((a*) 1)->b)))-1)
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/include/core/
SkTypes.h
165
#ifndef
SK_OFFSETOF
166
#define
SK_OFFSETOF
(type, field) ((char*)&(((type*)1)->field) - (char*)1)
Completed in 95 milliseconds