/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/offsetof/ |
H A D | err.D_OFFSETOF_TYPE.notsou.d | 33 * Test invocation of offsetof() with a type that is not a struct or union. 43 trace(offsetof(int, x));
|
H A D | err.D_OFFSETOF_TYPE.badtype.d | 32 * Test invocation of offsetof() with an invalid type. 43 trace(offsetof(struct no_such_type, x));
|
H A D | err.D_UNKNOWN.badmemb.d | 32 * Test invocation of offsetof() with an invalid member. 43 trace(offsetof(vnode_t, v_no_such_member));
|
H A D | tst.OffsetofArith.d | 29 * ASSERTION: offsetof can be used anywhere in a D program that an integer 49 add = offsetof(record_t, c) + offsetof(record_t, x) + 50 offsetof(record_t, y); 51 sub = offsetof(record_t, y) - offsetof(record_t, x); 52 mul = offsetof(record_t, x) * offsetof(record_t, c); 53 div = offsetof(record_t, y) / offsetof(record_ [all...] |
H A D | tst.OffsetofAlias.d | 30 * Test invocation of offsetof() with a struct type alias. 48 printf("offsetof(record_t, c) = %d\n", offsetof(record_t, c)); 49 printf("offsetof(record_t, x) = %d\n", offsetof(record_t, x)); 50 printf("offsetof(record_t, y) = %d\n", offsetof(record_t, y)); 55 /(8 != offsetof(record_t, y)) || (4 != offsetof(record_t, x)) || 56 (0 != offsetof(record_ [all...] |
H A D | tst.OffsetofUnion.d | 30 * Test invocation of offsetof() with a union type alias. 48 printf("offsetof(record, x) = %d\n", offsetof(union D`record, x)); 49 printf("offsetof(record, y) = %d\n", offsetof(union D`record, y)); 50 printf("offsetof(record, c) = %d\n", offsetof(union D`record, c)); 55 /(0 != offsetof(union D`record, y)) && (0 != offsetof(union D`record, x)) && 56 (0 != offsetof(unio [all...] |
H A D | err.D_OFFSETOF_BITFIELD.bitfield.d | 32 * Test invocation of offsetof() with a member that is a bit-field. 48 trace(offsetof(struct foo, b));
|
H A D | err.D_UNKNOWN.OffsetofNULL.d | 30 * ASSERTION: Querying the offsetof an non-member variable of a struct throws 46 printf("offsetof (struct record, NULL): %d\n", 47 offsetof (struct record, NULL));
|
H A D | tst.struct.d | 31 * Test invocation of offsetof() with a struct type. 48 printf("offsetof(s, y) = %d\n", offsetof(struct D`s, y));
|
H A D | tst.union.d | 31 * Test invocation of offsetof() with a union type. 48 printf("offsetof(s, y) = %d\n", offsetof(union D`s, y));
|
/freebsd-9.3-release/usr.sbin/ntp/ntpdc/ |
H A D | nl.c | 4 printf("offsetof(u32) = %d\n", 5 (int) offsetof(union req_data_u_tag, u32)); 6 printf("offsetof(data) = %d\n", 7 (int) offsetof(union req_data_u_tag, data)); 12 printf("offsetof(rm_vn_mode) = %d\n", 13 (int) offsetof(struct req_pkt, rm_vn_mode)); 14 printf("offsetof(auth_seq) = %d\n", 15 (int) offsetof(struct req_pkt, auth_seq)); 16 printf("offsetof(implementation) = %d\n", 17 (int) offsetof(struc [all...] |
/freebsd-9.3-release/lib/libkse/thread/ |
H A D | thr_symbols.c | 44 int _thread_off_tcb = offsetof(struct pthread, tcb); 45 int _thread_off_tmbx = offsetof(struct tcb, tcb_tmbx); 46 int _thread_off_next = offsetof(struct pthread, tle.tqe_next); 47 int _thread_off_attr_flags = offsetof(struct pthread, attr.flags); 48 int _thread_off_kse = offsetof(struct pthread, kse); 49 int _thread_off_kse_locklevel = offsetof(struct kse, k_locklevel); 50 int _thread_off_thr_locklevel = offsetof(struct pthread, locklevel); 51 int _thread_off_linkmap = offsetof(Obj_Entry, linkmap); 52 int _thread_off_tlsindex = offsetof(Obj_Entry, tlsindex); 54 int _thread_off_key_allocated = offsetof(struc [all...] |
/freebsd-9.3-release/lib/libkse/arch/powerpc/powerpc/ |
H A D | assym.c | 41 ASSYM(_MC_VERS, offsetof(mcontext_t, mc_vers)); 42 ASSYM(_MC_FLAGS, offsetof(mcontext_t, mc_flags)); 44 ASSYM(_MC_R0, offsetof(mcontext_t, mc_frame[0])); 45 ASSYM(_MC_R1, offsetof(mcontext_t, mc_frame[1])); 46 ASSYM(_MC_R2, offsetof(mcontext_t, mc_frame[2])); 47 ASSYM(_MC_R3, offsetof(mcontext_t, mc_frame[3])); 48 ASSYM(_MC_R4, offsetof(mcontext_t, mc_frame[4])); 49 ASSYM(_MC_R5, offsetof(mcontext_t, mc_frame[5])); 50 ASSYM(_MC_R6, offsetof(mcontext_t, mc_frame[6])); 51 ASSYM(_MC_R7, offsetof(mcontext_ [all...] |
/freebsd-9.3-release/lib/libthr/thread/ |
H A D | thr_symbols.c | 42 int _thread_off_tcb = offsetof(struct pthread, tcb); 43 int _thread_off_tid = offsetof(struct pthread, tid); 44 int _thread_off_next = offsetof(struct pthread, tle.tqe_next); 45 int _thread_off_attr_flags = offsetof(struct pthread, attr.flags); 46 int _thread_off_linkmap = offsetof(Obj_Entry, linkmap); 47 int _thread_off_tlsindex = offsetof(Obj_Entry, tlsindex); 48 int _thread_off_report_events = offsetof(struct pthread, report_events); 49 int _thread_off_event_mask = offsetof(struct pthread, event_mask); 50 int _thread_off_event_buf = offsetof(struct pthread, event_buf); 52 int _thread_off_key_allocated = offsetof(struc [all...] |
/freebsd-9.3-release/sys/sparc64/sparc64/ |
H A D | genassym.c | 79 ASSYM(CSA_PCPU, offsetof(struct cpu_start_args, csa_pcpu)); 80 ASSYM(CSA_STATE, offsetof(struct cpu_start_args, csa_state)); 81 ASSYM(CSA_MID, offsetof(struct cpu_start_args, csa_mid)); 82 ASSYM(CSA_STICK, offsetof(struct cpu_start_args, csa_stick)); 83 ASSYM(CSA_TICK, offsetof(struct cpu_start_args, csa_tick)); 84 ASSYM(CSA_TTES, offsetof(struct cpu_start_args, csa_ttes)); 85 ASSYM(CSA_VER, offsetof(struct cpu_start_args, csa_ver)); 88 ASSYM(DC_SIZE, offsetof(struct cacheinfo, dc_size)); 89 ASSYM(DC_LINESIZE, offsetof(struct cacheinfo, dc_linesize)); 90 ASSYM(IC_SIZE, offsetof(struc [all...] |
/freebsd-9.3-release/sys/i386/linux/ |
H A D | linux_genassym.c | 10 ASSYM(LINUX_SIGF_HANDLER, offsetof(struct l_sigframe, sf_handler)); 11 ASSYM(LINUX_SIGF_SC, offsetof(struct l_sigframe, sf_sc)); 12 ASSYM(LINUX_SC_GS, offsetof(struct l_sigcontext, sc_gs)); 13 ASSYM(LINUX_SC_EFLAGS, offsetof(struct l_sigcontext, sc_eflags)); 14 ASSYM(LINUX_RT_SIGF_HANDLER, offsetof(struct l_rt_sigframe, sf_handler)); 15 ASSYM(LINUX_RT_SIGF_UC, offsetof(struct l_rt_sigframe, sf_sc)); 16 ASSYM(LINUX_RT_SIGF_SC, offsetof(struct l_ucontext, uc_mcontext));
|
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/bitfields/ |
H A D | err.D_OFFSETOF_BITFIELD.d | 30 * ASSERTION: Cannot apply offsetof operator to a bit-field member. 45 printf("offsetof(struct bitRecord, a): %d\n", 46 offsetof(struct bitRecord, a)); 47 printf("offsetof(struct bitRecord, b): %d\n", 48 offsetof(struct bitRecord, b)); 49 printf("offsetof(struct bitRecord, c): %d\n", 50 offsetof(struct bitRecord, c));
|
/freebsd-9.3-release/gnu/usr.bin/gdb/gdbserver/ |
H A D | fbsd-amd64-low.c | 37 offsetof(struct reg, r_rax), 38 offsetof(struct reg, r_rbx), 39 offsetof(struct reg, r_rcx), 40 offsetof(struct reg, r_rdx), 41 offsetof(struct reg, r_rsi), 42 offsetof(struct reg, r_rdi), 43 offsetof(struct reg, r_rbp), 44 offsetof(struct reg, r_rsp), 45 offsetof(struct reg, r_r8), 46 offsetof(struc [all...] |
/freebsd-9.3-release/sys/compat/ia32/ |
H A D | ia32_genassym.c | 14 ASSYM(IA32_SIGF_HANDLER, offsetof(struct ia32_sigframe, sf_ah)); 15 ASSYM(IA32_SIGF_UC, offsetof(struct ia32_sigframe, sf_uc)); 17 ASSYM(IA32_SIGF_SC, offsetof(struct ia32_sigframe3, sf_siginfo.si_sc)); 19 ASSYM(IA32_UC_GS, offsetof(struct ia32_ucontext, uc_mcontext.mc_gs)); 20 ASSYM(IA32_UC_FS, offsetof(struct ia32_ucontext, uc_mcontext.mc_fs)); 21 ASSYM(IA32_UC_ES, offsetof(struct ia32_ucontext, uc_mcontext.mc_es)); 22 ASSYM(IA32_UC_DS, offsetof(struct ia32_ucontext, uc_mcontext.mc_ds)); 24 ASSYM(IA32_SIGF_UC4, offsetof(struct ia32_sigframe4, sf_uc)); 25 ASSYM(IA32_UC4_GS, offsetof(struct ia32_ucontext4, uc_mcontext.mc_gs)); 26 ASSYM(IA32_UC4_FS, offsetof(struc [all...] |
/freebsd-9.3-release/sys/arm/arm/ |
H A D | genassym.c | 56 ASSYM(PCB_ONFAULT, offsetof(struct pcb, pcb_onfault)); 57 ASSYM(PCB_DACR, offsetof(struct pcb, pcb_dacr)); 58 ASSYM(PCB_FLAGS, offsetof(struct pcb, pcb_flags)); 59 ASSYM(PCB_UND_SP, offsetof(struct pcb, un_32.pcb32_und_sp)); 60 ASSYM(PCB_PAGEDIR, offsetof(struct pcb, pcb_pagedir)); 61 ASSYM(PCB_L1VEC, offsetof(struct pcb, pcb_l1vec)); 62 ASSYM(PCB_PL1VEC, offsetof(struct pcb, pcb_pl1vec)); 63 ASSYM(PCB_R8, offsetof(struct pcb, un_32.pcb32_r8)); 64 ASSYM(PCB_R9, offsetof(struct pcb, un_32.pcb32_r9)); 65 ASSYM(PCB_R10, offsetof(struc [all...] |
/freebsd-9.3-release/sys/amd64/amd64/ |
H A D | genassym.c | 76 ASSYM(P_VMSPACE, offsetof(struct proc, p_vmspace)); 77 ASSYM(VM_PMAP, offsetof(struct vmspace, vm_pmap)); 78 ASSYM(PM_ACTIVE, offsetof(struct pmap, pm_active)); 80 ASSYM(P_MD, offsetof(struct proc, p_md)); 81 ASSYM(MD_LDT, offsetof(struct mdproc, md_ldt)); 82 ASSYM(MD_LDT_SD, offsetof(struct mdproc, md_ldt_sd)); 84 ASSYM(TD_LOCK, offsetof(struct thread, td_lock)); 85 ASSYM(TD_FLAGS, offsetof(struct thread, td_flags)); 86 ASSYM(TD_PCB, offsetof(struct thread, td_pcb)); 87 ASSYM(TD_PFLAGS, offsetof(struc [all...] |
/freebsd-9.3-release/sys/i386/i386/ |
H A D | genassym.c | 81 ASSYM(P_VMSPACE, offsetof(struct proc, p_vmspace)); 82 ASSYM(VM_PMAP, offsetof(struct vmspace, vm_pmap)); 83 ASSYM(PM_ACTIVE, offsetof(struct pmap, pm_active)); 85 ASSYM(TD_FLAGS, offsetof(struct thread, td_flags)); 86 ASSYM(TD_LOCK, offsetof(struct thread, td_lock)); 87 ASSYM(TD_PCB, offsetof(struct thread, td_pcb)); 88 ASSYM(TD_PFLAGS, offsetof(struct thread, td_pflags)); 89 ASSYM(TD_PROC, offsetof(struct thread, td_proc)); 90 ASSYM(TD_MD, offsetof(struct thread, td_md)); 91 ASSYM(TD_TID, offsetof(struc [all...] |
/freebsd-9.3-release/sys/mips/mips/ |
H A D | genassym.c | 61 #ifndef offsetof 62 #define offsetof(t,m) (int)((&((t *)0L)->m)) macro 66 ASSYM(TD_PCB, offsetof(struct thread, td_pcb)); 67 ASSYM(TD_UPTE, offsetof(struct thread, td_md.md_upte)); 68 ASSYM(TD_KSTACK, offsetof(struct thread, td_kstack)); 69 ASSYM(TD_FLAGS, offsetof(struct thread, td_flags)); 70 ASSYM(TD_LOCK, offsetof(struct thread, td_lock)); 71 ASSYM(TD_FRAME, offsetof(struct thread, td_frame)); 72 ASSYM(TD_TLS, offsetof(struct thread, td_md.md_tls)); 74 ASSYM(TF_REG_SR, offsetof(struc [all...] |
/freebsd-9.3-release/sys/powerpc/powerpc/ |
H A D | genassym.c | 59 ASSYM(PC_CURTHREAD, offsetof(struct pcpu, pc_curthread)); 60 ASSYM(PC_CURPCB, offsetof(struct pcpu, pc_curpcb)); 61 ASSYM(PC_CURPMAP, offsetof(struct pcpu, pc_curpmap)); 62 ASSYM(PC_TEMPSAVE, offsetof(struct pcpu, pc_tempsave)); 63 ASSYM(PC_DISISAVE, offsetof(struct pcpu, pc_disisave)); 64 ASSYM(PC_DBSAVE, offsetof(struct pcpu, pc_dbsave)); 67 ASSYM(PC_BOOKE_CRITSAVE, offsetof(struct pcpu, pc_booke_critsave)); 68 ASSYM(PC_BOOKE_MCHKSAVE, offsetof(struct pcpu, pc_booke_mchksave)); 69 ASSYM(PC_BOOKE_TLBSAVE, offsetof(struct pcpu, pc_booke_tlbsave)); 70 ASSYM(PC_BOOKE_TLB_LEVEL, offsetof(struc [all...] |
/freebsd-9.3-release/sys/amd64/linux32/ |
H A D | linux32_genassym.c | 10 ASSYM(LINUX_SIGF_HANDLER, offsetof(struct l_sigframe, sf_handler)); 11 ASSYM(LINUX_SIGF_SC, offsetof(struct l_sigframe, sf_sc)); 12 ASSYM(LINUX_RT_SIGF_HANDLER, offsetof(struct l_rt_sigframe, sf_handler)); 13 ASSYM(LINUX_RT_SIGF_UC, offsetof(struct l_rt_sigframe, sf_sc)); 14 ASSYM(LINUX_RT_SIGF_SC, offsetof(struct l_ucontext, uc_mcontext));
|