Searched refs:OFFSETOF (Results 1 – 3 of 3) sorted by relevance
27 #define OFFSETOF(t,m) ((size_t)&((t *)0)->m) macro
78 hdr.pe_hdr = OFFSETOF(struct header, pe_signature); in write_header()
60 #ifndef OFFSETOF61 #define OFFSETOF(t, f) ((unsigned int) ((char *) &((t *) 0)->f - (char *) 0)) macro