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

12345

/haiku-fatelf/src/add-ons/accelerants/radeon/
H A Dtheatre_out.c32 { THEATRE_VIP_MASTER_CNTL, offsetof( impactv_regs, tv_master_cntl ) },
33 { THEATRE_VIP_TVO_DATA_DELAY_A, offsetof( impactv_regs, tv_data_delay_a ) },
34 { THEATRE_VIP_TVO_DATA_DELAY_B, offsetof( impactv_regs, tv_data_delay_b ) },
36 { THEATRE_VIP_CLKOUT_CNTL, offsetof( impactv_regs, tv_clkout_cntl ) },
37 { THEATRE_VIP_PLL_CNTL0, offsetof( impactv_regs, tv_pll_cntl1 ) },
39 { THEATRE_VIP_HRESTART, offsetof( impactv_regs, tv_hrestart ) },
40 { THEATRE_VIP_VRESTART, offsetof( impactv_regs, tv_vrestart ) },
41 { THEATRE_VIP_FRESTART, offsetof( impactv_regs, tv_frestart ) },
42 { THEATRE_VIP_FTOTAL, offsetof( impactv_regs, tv_ftotal ) },
44 { THEATRE_VIP_CLOCK_SEL_CNTL, offsetof( impactv_reg
[all...]
H A Dinternal_tv_out.c33 { RADEON_TV_MASTER_CNTL, offsetof( impactv_regs, tv_master_cntl ) },
34 { RADEON_TV_HRESTART, offsetof( impactv_regs, tv_hrestart ) },
35 { RADEON_TV_VRESTART, offsetof( impactv_regs, tv_vrestart ) },
36 { RADEON_TV_FRESTART, offsetof( impactv_regs, tv_frestart ) },
37 { RADEON_TV_FTOTAL, offsetof( impactv_regs, tv_ftotal ) },
43 { RADEON_TV_PLL_CNTL, offsetof( impactv_regs, tv_tv_pll_cntl ) },
44 { RADEON_TV_PLL_CNTL1, offsetof( impactv_regs, tv_pll_cntl1 ) },
45 { RADEON_TV_PLL_FINE_CNTL, offsetof( impactv_regs, tv_pll_fine_cntl ) },
51 { RADEON_TV_HTOTAL, offsetof( impactv_regs, tv_htotal ) },
52 { RADEON_TV_HDISP, offsetof( impactv_reg
[all...]
/haiku-fatelf/src/bin/gdb/gdb/
H A Dppcobsd-nat.c82 ppcobsd_reg_offsets.r0_offset = offsetof (struct reg, gpr);
83 ppcobsd_reg_offsets.pc_offset = offsetof (struct reg, pc);
84 ppcobsd_reg_offsets.ps_offset = offsetof (struct reg, ps);
85 ppcobsd_reg_offsets.cr_offset = offsetof (struct reg, cnd);
86 ppcobsd_reg_offsets.lr_offset = offsetof (struct reg, lr);
87 ppcobsd_reg_offsets.ctr_offset = offsetof (struct reg, cnt);
88 ppcobsd_reg_offsets.xer_offset = offsetof (struct reg, xer);
89 ppcobsd_reg_offsets.mq_offset = offsetof (struct reg, mq);
92 ppcobsd_reg_offsets.f0_offset = offsetof (struct reg, fpr);
96 ppcobsd_reg_offsets.vr0_offset = offsetof (struc
[all...]
H A Dsolib-legacy.c48 #ifndef offsetof
49 #define offsetof(TYPE, MEMBER) ((unsigned long) &((TYPE *)0)->MEMBER) macro
60 lmo.r_map_offset = offsetof (struct r_debug, r_map);
65 lmo.l_addr_offset = offsetof (struct link_map, l_addr);
68 lmo.l_next_offset = offsetof (struct link_map, l_next);
71 lmo.l_prev_offset = offsetof (struct link_map, l_prev);
74 lmo.l_name_offset = offsetof (struct link_map, l_name);
80 lmo.l_addr_offset = offsetof (struct link_map, lm_addr);
83 lmo.l_next_offset = offsetof (struct link_map, lm_next);
86 lmo.l_name_offset = offsetof (struc
[all...]
H A Di386v-nat.c111 #if !defined (offsetof)
112 #define offsetof(TYPE, MEMBER) ((unsigned long) &((TYPE *)0)->MEMBER)
185 ptrace (6, pid, offsetof (struct user, u_debugreg[DR_CONTROL]),
187 ptrace (6, pid, offsetof (struct user, u_debugreg[free_debug_register]),
248 ptrace (6, pid, offsetof (struct user, u_debugreg[DR_CONTROL]),
250 ptrace (6, pid, offsetof (struct user, u_debugreg[DR_STATUS]), 0);
263 status = ptrace (3, pid, offsetof (struct user, u_debugreg[DR_STATUS]), 0);
264 ptrace (6, pid, offsetof (struct user, u_debugreg[DR_STATUS]), 0);
110 #define offsetof macro
H A Damd64fbsd-nat.c42 #define REG_OFFSET(member) offsetof (struct reg, member)
181 offset = offsetof (struct sigcontext, sc_rip);
186 offsetof (struct sigcontext, sc_rip) yields %d instead of %d.\n\
194 offset = offsetof (struct sigcontext, sc_rsp);
199 offsetof (struct sigcontext, sc_rsp) yields %d instead of %d.\n\
207 offset = offsetof (struct sigcontext, sc_rbp);
212 offsetof (struct sigcontext, sc_rbp) yields %d instead of %d.\n\
H A Ds390-nat.c137 parea.kernel_addr = offsetof (struct user_regs_struct, psw);
154 parea.kernel_addr = offsetof (struct user_regs_struct, psw);
174 parea.kernel_addr = offsetof (struct user_regs_struct, fp_regs);
191 parea.kernel_addr = offsetof (struct user_regs_struct, fp_regs);
263 parea.kernel_addr = offsetof (struct user_regs_struct, per_info.lowcore);
290 parea.kernel_addr = offsetof (struct user_regs_struct, per_info);
H A Dbsd-kvm.c199 nl[0].n_value += offsetof (struct thread, td_pcb);
237 addr += offsetof (struct lwp, l_addr);
239 addr += offsetof (struct proc, p_addr);
H A Damd64-haiku-nat.c32 #define REG_OFFSET(member) offsetof (struct x86_64_debug_cpu_state, member)
H A Di386-haiku-nat.c31 #define REG_OFFSET(member) offsetof (struct x86_debug_cpu_state, member)
/haiku-fatelf/src/add-ons/kernel/file_systems/googlefs/
H A Dlists2.h18 #define SLLPTROFF(type,item,nextp) ((typeof(item))(((char *)(item)) + offsetof(item, nextp)))
19 #define SLLITEM2PTR(type,item,nextp) ((typeof(item))(((char *)(item)) + offsetof(item, nextp)))
20 #define SLLPTR2ITEM(type,ptr,nextp) ((typeof(ptr))(((char *)(ptr)) - offsetof(ptr, nextp)))
21 #define SLLNEXT(type,item,nextp) (*(typeof(item))(((char *)(item)) + offsetof(item, nextp)))
23 #define SLL_FIND(_head,_nextp,_func,_with) (typeof(_head))sll_find(offsetof(typeof(*_head),_nextp), (void *)(_head), _func, _with)
24 #define SLL_INSERT(_head,_nextp,_item) (typeof(_head))sll_insert_head(offsetof(typeof(*_head),_nextp), (void **)&(_head), _item)
25 //#define SLL_INSERT_TAIL(_head,_nextp,_item) (typeof(_head))sll_insert_tail(offsetof(typeof(*_head),_nextp), (void **)&(_head), _item)
26 #define SLL_INSERT_TAIL(_head,_nextp,_item) sll_insert_head(offsetof(typeof(*_head),_nextp), (void **)&(_head), _item)
27 #define SLL_DEQUEUE(_head,_nextp) (typeof(_head))sll_dequeue_tail(offsetof(typeof(*_head),_nextp), (void **)&(_head))
28 #define SLL_REMOVE(_head,_nextp,_item) (typeof(_head))sll_remove(offsetof(typeo
[all...]
H A Dlists.h26 #define LENT_TO_OBJ(_obtype, _sle, _moff) ((_obtype *)(((char *)(_sle)) - offsetof(_obtype, _moff)))
/haiku-fatelf/src/bin/coreutils/lib/
H A Dalignof.h32 # define alignof_slot(type) offsetof (alignof_helper<type>, __slot2)
34 # define alignof_slot(type) offsetof (struct { char __slot1; type __slot2; }, __slot2)
H A Dmalloca.h103 # define sa_alignof(type) offsetof (sa_alignof_helper<type>, __slot2)
105 /* Work around a HP-UX 10.20 cc bug with enums constants defined as offsetof
109 /* Work around an AIX 3.2.5 xlc bug with enums constants defined as offsetof
113 # define sa_alignof(type) offsetof (struct { char __slot1; type __slot2; }, __slot2)
H A Didcache.c86 match = xmalloc (offsetof (struct userid, name) + strlen (name) + 1);
130 tail = xmalloc (offsetof (struct userid, name) + strlen (user) + 1);
168 match = xmalloc (offsetof (struct userid, name) + strlen (name) + 1);
212 tail = xmalloc (offsetof (struct userid, name) + strlen (group) + 1);
/haiku-fatelf/src/bin/gdb/include/
H A Dobjalloc.h56 #ifndef offsetof
60 #ifndef offsetof
61 #define offsetof(TYPE, MEMBER) ((unsigned long) &((TYPE *)0)->MEMBER) macro
63 #define OBJALLOC_ALIGN offsetof (struct objalloc_align, d)
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dsupport.h59 #ifndef offsetof
60 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) macro
/haiku-fatelf/src/add-ons/opengl/swpipe/
H A DGalliumContext.h25 // HACK: offsetof must be redefined before loading sp_context.h
27 #undef offsetof macro
28 #define offsetof( type, member ) ((size_t) &((type *)0)->member) macro
/haiku-fatelf/src/system/kernel/arch/ppc/
H A Dasm_offsets.cpp21 DEFINE_MACRO(prefix##_##member, offsetof(struct structure, member));
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/bfs/structureSizes/
H A DstructureSizes.cpp19 #define OFFSETOF(x, y) #x "." #y " at offset %lu\n", offsetof(x, y)
/haiku-fatelf/src/bin/findutils/gnulib/lib/
H A Dmalloca.h90 # define sa_alignof(type) offsetof (sa_alignof_helper<type>, __slot2)
92 /* Work around a HP-UX 10.20 cc bug with enums constants defined as offsetof
96 /* Work around an AIX 3.2.5 xlc bug with enums constants defined as offsetof
100 # define sa_alignof(type) offsetof (struct { char __slot1; type __slot2; }, __slot2)
H A Didcache.c86 match = xmalloc (offsetof (struct userid, name) + strlen (name) + 1);
130 tail = xmalloc (offsetof (struct userid, name) + strlen (user) + 1);
168 match = xmalloc (offsetof (struct userid, name) + strlen (name) + 1);
212 tail = xmalloc (offsetof (struct userid, name) + strlen (group) + 1);
/haiku-fatelf/src/bin/gdb/bfd/
H A Dsysdep.h128 /* Define offsetof for those systems which lack it */
130 #ifndef offsetof
131 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) macro
H A Dcpu-arm.c241 if (buffer_size < offsetof (arm_Note, name))
247 descsz = bfd_get_32 (abfd, buffer + offsetof (arm_Note, descsz));
248 type = bfd_get_32 (abfd, buffer + offsetof (arm_Note, type));
249 descr = buffer + offsetof (arm_Note, name);
252 if (namesz + descsz + offsetof (arm_Note, name) > buffer_size)
332 strcpy (buffer + offsetof (arm_Note, name) + ((strlen (NOTE_ARCH_STRING) + 3) & ~3), expected);
/haiku-fatelf/src/bin/gdb/gdb/rdi-share/
H A Dhost.h28 #ifndef offsetof
29 # define offsetof(T, member) ((char *)&(((T *)0)->member) - (char *)0) macro

Completed in 120 milliseconds

12345