Lines Matching refs:offsetof

30 #ifdef offsetof
31 # undef offsetof
34 #define offsetof(type,field) ((char *) &((type *) 0)->field - (char *) 0) macro
42 OFFSET("IP_OFF", offsetof (struct cursor, ip)); in main()
43 OFFSET("PR_OFF", offsetof (struct cursor, pr)); in main()
44 OFFSET("BSP_OFF", offsetof (struct cursor, bsp)); in main()
45 OFFSET("PSP_OFF", offsetof (struct cursor, psp)); in main()
46 OFFSET("PFS_LOC_OFF", offsetof (struct cursor, loc[IA64_REG_PFS])); in main()
47 OFFSET("RNAT_LOC_OFF", offsetof (struct cursor, loc[IA64_REG_RNAT])); in main()
48 OFFSET("UNAT_LOC_OFF", offsetof (struct cursor, loc[IA64_REG_UNAT])); in main()
49 OFFSET("LC_LOC_OFF", offsetof (struct cursor, loc[IA64_REG_LC])); in main()
50 OFFSET("FPSR_LOC_OFF", offsetof (struct cursor, loc[IA64_REG_FPSR])); in main()
51 OFFSET("B1_LOC_OFF", offsetof (struct cursor, loc[IA64_REG_B1])); in main()
52 OFFSET("B2_LOC_OFF", offsetof (struct cursor, loc[IA64_REG_B2])); in main()
53 OFFSET("B3_LOC_OFF", offsetof (struct cursor, loc[IA64_REG_B3])); in main()
54 OFFSET("B4_LOC_OFF", offsetof (struct cursor, loc[IA64_REG_B4])); in main()
55 OFFSET("B5_LOC_OFF", offsetof (struct cursor, loc[IA64_REG_B5])); in main()
56 OFFSET("F2_LOC_OFF", offsetof (struct cursor, loc[IA64_REG_F2])); in main()
57 OFFSET("F3_LOC_OFF", offsetof (struct cursor, loc[IA64_REG_F3])); in main()
58 OFFSET("F4_LOC_OFF", offsetof (struct cursor, loc[IA64_REG_F4])); in main()
59 OFFSET("F5_LOC_OFF", offsetof (struct cursor, loc[IA64_REG_F5])); in main()
60 OFFSET("FR_LOC_OFF", offsetof (struct cursor, loc[IA64_REG_F16])); in main()
62 (offsetof (struct cursor, loc[1]) - offsetof (struct cursor, loc[0]))); in main()
63 OFFSET("SIGCONTEXT_ADDR_OFF", offsetof (struct cursor, sigcontext_addr)); in main()