/freebsd-10.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));
|
/freebsd-10.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-10.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-10.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-10.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-10.3-release/sys/arm/arm/ |
H A D | genassym.c | 61 ASSYM(PCB_ONFAULT, offsetof(struct pcb, pcb_onfault)); 62 ASSYM(PCB_DACR, offsetof(struct pcb, pcb_dacr)); 63 ASSYM(PCB_FLAGS, offsetof(struct pcb, pcb_flags)); 64 ASSYM(PCB_PAGEDIR, offsetof(struct pcb, pcb_pagedir)); 65 ASSYM(PCB_L1VEC, offsetof(struct pcb, pcb_l1vec)); 66 ASSYM(PCB_PL1VEC, offsetof(struct pcb, pcb_pl1vec)); 67 ASSYM(PCB_R4, offsetof(struct pcb, pcb_regs.sf_r4)); 68 ASSYM(PCB_R5, offsetof(struct pcb, pcb_regs.sf_r5)); 69 ASSYM(PCB_R6, offsetof(struct pcb, pcb_regs.sf_r6)); 70 ASSYM(PCB_R7, offsetof(struc [all...] |
/freebsd-10.3-release/sys/i386/linux/ |
H A D | linux_genassym.c | 11 ASSYM(LINUX_SIGF_HANDLER, offsetof(struct l_sigframe, sf_handler)); 12 ASSYM(LINUX_SIGF_SC, offsetof(struct l_sigframe, sf_sc)); 13 ASSYM(LINUX_SC_GS, offsetof(struct l_sigcontext, sc_gs)); 14 ASSYM(LINUX_SC_EFLAGS, offsetof(struct l_sigcontext, sc_eflags)); 15 ASSYM(LINUX_RT_SIGF_HANDLER, offsetof(struct l_rt_sigframe, sf_handler)); 16 ASSYM(LINUX_RT_SIGF_UC, offsetof(struct l_rt_sigframe, sf_sc)); 17 ASSYM(LINUX_RT_SIGF_SC, offsetof(struct l_ucontext, uc_mcontext)); 18 ASSYM(LINUX_SC_ESP, offsetof(struct l_sigcontext, sc_esp));
|
/freebsd-10.3-release/sys/amd64/vmm/amd/ |
H A D | svm_genassym.c | 36 ASSYM(SCTX_RBX, offsetof(struct svm_regctx, sctx_rbx)); 37 ASSYM(SCTX_RCX, offsetof(struct svm_regctx, sctx_rcx)); 38 ASSYM(SCTX_RBP, offsetof(struct svm_regctx, sctx_rbp)); 39 ASSYM(SCTX_RDX, offsetof(struct svm_regctx, sctx_rdx)); 40 ASSYM(SCTX_RDI, offsetof(struct svm_regctx, sctx_rdi)); 41 ASSYM(SCTX_RSI, offsetof(struct svm_regctx, sctx_rsi)); 42 ASSYM(SCTX_R8, offsetof(struct svm_regctx, sctx_r8)); 43 ASSYM(SCTX_R9, offsetof(struct svm_regctx, sctx_r9)); 44 ASSYM(SCTX_R10, offsetof(struct svm_regctx, sctx_r10)); 45 ASSYM(SCTX_R11, offsetof(struc [all...] |
/freebsd-10.3-release/sys/mips/mips/ |
H A D | genassym.c | 65 #ifndef offsetof 66 #define offsetof(t,m) (int)((&((t *)0L)->m)) macro 69 ASSYM(TD_PCB, offsetof(struct thread, td_pcb)); 70 ASSYM(TD_UPTE, offsetof(struct thread, td_md.md_upte)); 71 ASSYM(TD_KSTACK, offsetof(struct thread, td_kstack)); 72 ASSYM(TD_FLAGS, offsetof(struct thread, td_flags)); 73 ASSYM(TD_LOCK, offsetof(struct thread, td_lock)); 74 ASSYM(TD_MDFLAGS, offsetof(struct thread, td_md.md_flags)); 76 ASSYM(U_PCB_REGS, offsetof(struct pcb, pcb_regs.zero)); 77 ASSYM(U_PCB_CONTEXT, offsetof(struc [all...] |
/freebsd-10.3-release/sys/amd64/vmm/intel/ |
H A D | vmx_genassym.c | 44 ASSYM(VMXCTX_GUEST_RDI, offsetof(struct vmxctx, guest_rdi)); 45 ASSYM(VMXCTX_GUEST_RSI, offsetof(struct vmxctx, guest_rsi)); 46 ASSYM(VMXCTX_GUEST_RDX, offsetof(struct vmxctx, guest_rdx)); 47 ASSYM(VMXCTX_GUEST_RCX, offsetof(struct vmxctx, guest_rcx)); 48 ASSYM(VMXCTX_GUEST_R8, offsetof(struct vmxctx, guest_r8)); 49 ASSYM(VMXCTX_GUEST_R9, offsetof(struct vmxctx, guest_r9)); 50 ASSYM(VMXCTX_GUEST_RAX, offsetof(struct vmxctx, guest_rax)); 51 ASSYM(VMXCTX_GUEST_RBX, offsetof(struct vmxctx, guest_rbx)); 52 ASSYM(VMXCTX_GUEST_RBP, offsetof(struct vmxctx, guest_rbp)); 53 ASSYM(VMXCTX_GUEST_R10, offsetof(struc [all...] |
/freebsd-10.3-release/sys/sparc64/sparc64/ |
H A D | genassym.c | 80 ASSYM(CSA_PCPU, offsetof(struct cpu_start_args, csa_pcpu)); 81 ASSYM(CSA_STATE, offsetof(struct cpu_start_args, csa_state)); 82 ASSYM(CSA_MID, offsetof(struct cpu_start_args, csa_mid)); 83 ASSYM(CSA_STICK, offsetof(struct cpu_start_args, csa_stick)); 84 ASSYM(CSA_TICK, offsetof(struct cpu_start_args, csa_tick)); 85 ASSYM(CSA_TTES, offsetof(struct cpu_start_args, csa_ttes)); 86 ASSYM(CSA_VER, offsetof(struct cpu_start_args, csa_ver)); 89 ASSYM(DC_SIZE, offsetof(struct cacheinfo, dc_size)); 90 ASSYM(DC_LINESIZE, offsetof(struct cacheinfo, dc_linesize)); 91 ASSYM(IC_SIZE, offsetof(struc [all...] |
/freebsd-10.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-10.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-10.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-10.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)); 79 ASSYM(PM_SAVE, offsetof(struct pmap, pm_save)); 80 ASSYM(PM_PCID, offsetof(struct pmap, pm_pcid)); 82 ASSYM(P_MD, offsetof(struct proc, p_md)); 83 ASSYM(MD_LDT, offsetof(struct mdproc, md_ldt)); 84 ASSYM(MD_LDT_SD, offsetof(struct mdproc, md_ldt_sd)); 86 ASSYM(TD_LOCK, offsetof(struct thread, td_lock)); 87 ASSYM(TD_FLAGS, offsetof(struc [all...] |
/freebsd-10.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-10.3-release/sys/amd64/linux32/ |
H A D | linux32_genassym.c | 12 ASSYM(LINUX_SIGF_HANDLER, offsetof(struct l_sigframe, sf_handler)); 13 ASSYM(LINUX_SIGF_SC, offsetof(struct l_sigframe, sf_sc)); 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)); 18 ASSYM(LINUX_SC_ESP, offsetof(struct l_sigcontext, sc_esp));
|
/freebsd-10.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)); 65 ASSYM(PC_RESTORE, offsetof(struct pcpu, pc_restore)); 68 ASSYM(PC_BOOKE_CRITSAVE, offsetof(struct pcpu, pc_booke_critsave)); 69 ASSYM(PC_BOOKE_MCHKSAVE, offsetof(struct pcpu, pc_booke_mchksave)); 70 ASSYM(PC_BOOKE_TLBSAVE, offsetof(struc [all...] |
/freebsd-10.3-release/gnu/usr.bin/gdb/kgdb/ |
H A D | trgt_mips.c | 110 offsetof(struct trapframe, zero), 111 offsetof(struct trapframe, ast), 112 offsetof(struct trapframe, v0), 113 offsetof(struct trapframe, v1), 114 offsetof(struct trapframe, a0), 115 offsetof(struct trapframe, a1), 116 offsetof(struct trapframe, a2), 117 offsetof(struct trapframe, a3), 119 offsetof(struct trapframe, a4), 120 offsetof(struc [all...] |