Searched refs:offsetof (Results 1 - 13 of 13) sorted by relevance

/openjdk7/jdk/src/solaris/native/sun/nio/ch/
H A DKQueue.c48 return offsetof(struct kevent, ident);
54 return offsetof(struct kevent, filter);
60 return offsetof(struct kevent, flags);
H A DEPoll.c48 return offsetof(struct epoll_event, events);
54 return offsetof(struct epoll_event, data);
H A DEPollArrayWrapper.c102 return offsetof(struct epoll_event, data);
/openjdk7/jdk/src/solaris/native/sun/nio/fs/
H A DLinuxWatchService.c60 arr[0] = (jint)offsetof(struct inotify_event, wd);
61 arr[1] = (jint)offsetof(struct inotify_event, mask);
62 arr[2] = (jint)offsetof(struct inotify_event, cookie);
63 arr[3] = (jint)offsetof(struct inotify_event, len);
64 arr[4] = (jint)offsetof(struct inotify_event, name);
/openjdk7/hotspot/src/share/vm/utilities/
H A DglobalDefinitions_gcc.hpp298 // HACK: gcc warns about applying offsetof() to non-POD object or calculating
300 // warning. gcc-3.4 has an option -Wno-invalid-offsetof to suppress
304 #ifdef offsetof
305 # undef offsetof macro
307 #define offsetof(klass,field) offset_of(klass,field) macro
H A DglobalDefinitions_sparcWorks.hpp40 # include <stddef.h> // for offsetof
298 #define offset_of(klass,field) offsetof(klass,field)
H A DglobalDefinitions_visCPP.hpp38 # include <stddef.h>// for offsetof
233 #define offset_of(klass,field) offsetof(klass,field)
/openjdk7/jdk/src/macosx/native/sun/nio/ch/
H A DKQueueArrayWrapper.c78 (*env)->SetStaticShortField(env, clazz, field, (short) offsetof(struct kevent, ident));
83 (*env)->SetStaticShortField(env, clazz, field, (short) offsetof(struct kevent, filter));
/openjdk7/jdk/src/solaris/native/com/sun/management/
H A DSolarisOperatingSystem.c222 if (get_info("/proc/self/psinfo",&info.pr_pctcpu, sizeof(info.pr_pctcpu), offsetof(psinfo_t, pr_pctcpu)) == 0) {
/openjdk7/hotspot/agent/src/os/bsd/
H A Dps_core.c805 #define FIRST_LINK_MAP_OFFSET offsetof(struct r_debug, r_map)
806 #define LD_BASE_OFFSET offsetof(struct r_debug, r_ldbase)
807 #define LINK_MAP_ADDR_OFFSET offsetof(struct link_map, l_addr)
808 #define LINK_MAP_NAME_OFFSET offsetof(struct link_map, l_name)
809 #define LINK_MAP_NEXT_OFFSET offsetof(struct link_map, l_next)
/openjdk7/hotspot/agent/src/os/linux/
H A Dps_core.c799 #define FIRST_LINK_MAP_OFFSET offsetof(struct r_debug, r_map)
800 #define LD_BASE_OFFSET offsetof(struct r_debug, r_ldbase)
801 #define LINK_MAP_ADDR_OFFSET offsetof(struct link_map, l_addr)
802 #define LINK_MAP_NAME_OFFSET offsetof(struct link_map, l_name)
803 #define LINK_MAP_NEXT_OFFSET offsetof(struct link_map, l_next)
/openjdk7/jdk/src/share/back/
H A DeventFilter.c153 size_t size = offsetof(EventFilterPrivate_HandlerNode, ef) +
154 offsetof(EventFilters, filters) +
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_DesktopProperties.cpp243 ncmetrics.cbSize = offsetof(NONCLIENTMETRICS, iPaddedBorderWidth);
245 ncmetrics.cbSize = offsetof(NONCLIENTMETRICS,lfMessageFont) + sizeof(LOGFONT);

Completed in 53 milliseconds