Lines Matching refs:x

50 #define	ZERO(x)		(uint_t)(((uchar_t *)(x))[0])  argument
51 #define ONE(x) (uint_t)(((uchar_t *)(x))[1]) argument
52 #define TWO(x) (uint_t)(((uchar_t *)(x))[2]) argument
53 #define THREE(x) (uint_t)(((uchar_t *)(x))[3]) argument
55 #define MSB_INT(x) \ argument
56 ((((((ZERO(x) << 8) | ONE(x)) << 8) | TWO(x)) << 8) | THREE(x))
57 #define LSB_INT(x) \ argument
58 ((((((THREE(x) << 8) | TWO(x)) << 8) | ONE(x)) << 8) | ZERO(x))
59 #define MSB_SHORT(x) ((ZERO(x) << 8) | ONE(x)) argument
60 #define LSB_SHORT(x) ((ONE(x) << 8) | ZERO(x)) argument
63 #define BOTH_SHORT(x) (short)*((short *)x) argument
64 #define BOTH_INT(x) (int)*((int *)x) argument
74 #define BOTH_SHORT(x) LSB_SHORT(x) argument
75 #define BOTH_INT(x) LSB_INT(x) argument
115 #define HSV_desc_lbn(x) (&((uchar_t *)x)[0]) argument
116 #define HSV_desc_type(x) (&((uchar_t *)x)[8]) argument
117 #define HSV_std_id(x) (&((uchar_t *)x)[9]) argument
118 #define HSV_std_ver(x) (&((uchar_t *)x)[14]) argument
119 #define HSV_sys_id(x) (&((uchar_t *)x)[16]) argument
120 #define HSV_vol_id(x) (&((uchar_t *)x)[48]) argument
121 #define HSV_vol_size(x) (&((uchar_t *)x)[88]) argument
122 #define HSV_set_size(x) (&((uchar_t *)x)[128]) argument
123 #define HSV_set_seq(x) (&((uchar_t *)x)[132]) argument
124 #define HSV_blk_size(x) (&((uchar_t *)x)[136]) argument
125 #define HSV_ptbl_size(x) (&((uchar_t *)x)[140]) argument
126 #define HSV_ptbl_man_ls(x) (&((uchar_t *)x)[148]) argument
127 #define HSV_ptbl_opt_ls1(x) (&((uchar_t *)x)[152]) argument
128 #define HSV_ptbl_opt_ls2(x) (&((uchar_t *)x)[156]) argument
129 #define HSV_ptbl_opt_ls3(x) (&((uchar_t *)x)[160]) argument
130 #define HSV_ptbl_man_ms(x) (&((uchar_t *)x)[164]) argument
131 #define HSV_ptbl_opt_ms1(x) (&((uchar_t *)x)[168]) argument
132 #define HSV_ptbl_opt_ms2(x) (&((uchar_t *)x)[172]) argument
133 #define HSV_ptbl_opt_ms3(x) (&((uchar_t *)x)[176]) argument
134 #define HSV_root_dir(x) (&((uchar_t *)x)[180]) argument
135 #define HSV_vol_set_id(x) (&((uchar_t *)x)[214]) argument
136 #define HSV_pub_id(x) (&((uchar_t *)x)[342]) argument
137 #define HSV_prep_id(x) (&((uchar_t *)x)[470]) argument
138 #define HSV_appl_id(x) (&((uchar_t *)x)[598]) argument
139 #define HSV_copyr_id(x) (&((uchar_t *)x)[726]) argument
140 #define HSV_abstr_id(x) (&((uchar_t *)x)[758]) argument
141 #define HSV_cre_date(x) (&((uchar_t *)x)[790]) argument
142 #define HSV_mod_date(x) (&((uchar_t *)x)[806]) argument
143 #define HSV_exp_date(x) (&((uchar_t *)x)[822]) argument
144 #define HSV_eff_date(x) (&((uchar_t *)x)[838]) argument
145 #define HSV_file_struct_ver(x) (&((uchar_t *)x)[854]) argument
148 #define HSV_DESC_LBN(x) BOTH_INT(HSV_desc_lbn(x)) argument
149 #define HSV_DESC_TYPE(x) ((enum hs_voldesc_type)*(HSV_desc_type(x))) argument
150 #define HSV_STD_ID(x) HSV_std_id(x) argument
151 #define HSV_STD_VER(x) *(HSV_std_ver(x)) argument
152 #define HSV_SYS_ID(x) HSV_sys_id(x) argument
153 #define HSV_VOL_ID(x) HSV_vol_id(x) argument
154 #define HSV_VOL_SIZE(x) BOTH_INT(HSV_vol_size(x)) argument
155 #define HSV_SET_SIZE(x) BOTH_SHORT(HSV_set_size(x)) argument
156 #define HSV_SET_SEQ(x) BOTH_SHORT(HSV_set_seq(x)) argument
157 #define HSV_BLK_SIZE(x) BOTH_SHORT(HSV_blk_size(x)) argument
158 #define HSV_PTBL_SIZE(x) BOTH_INT(HSV_ptbl_size(x)) argument
159 #define HSV_PTBL_MAN_LS(x) LSB_INT(HSV_ptbl_man_ls(x)) argument
160 #define HSV_PTBL_OPT_LS1(x) LSB_INT(HSV_ptbl_opt_ls1(x)) argument
161 #define HSV_PTBL_OPT_LS2(x) LSB_INT(HSV_ptbl_opt_ls2(x)) argument
162 #define HSV_PTBL_OPT_LS3(x) LSB_INT(HSV_ptbl_opt_ls3(x)) argument
163 #define HSV_PTBL_MAN_MS(x) MSB_INT(HSV_ptbl_man_ms(x)) argument
164 #define HSV_PTBL_OPT_MS1(x) MSB_INT(HSV_ptbl_opt_ms1(x)) argument
165 #define HSV_PTBL_OPT_MS2(x) MSB_INT(HSV_ptbl_opt_ms2(x)) argument
166 #define HSV_PTBL_OPT_MS3(x) MSB_INT(HSV_ptbl_opt_ms3(x)) argument
167 #define HSV_ROOT_DIR(x) HSV_root_dir(x) argument
168 #define HSV_VOL_SET_ID(x) HSV_vol_set_id(x) argument
169 #define HSV_PUB_ID(x) HSV_pub_id(x) argument
170 #define HSV_PREP_ID(x) HSV_prep_id(x) argument
171 #define HSV_APPL_ID(x) HSV_appl_id(x) argument
172 #define HSV_COPYR_ID(x) HSV_copyr_id(x) argument
173 #define HSV_ABSTR_ID(x) HSV_abstr_id(x) argument
174 #define HSV_CRE_DATE(x) HSV_cre_date(x) argument
175 #define HSV_MOD_DATE(x) HSV_mod_date(x) argument
176 #define HSV_EXP_DATE(x) HSV_exp_date(x) argument
177 #define HSV_EFF_DATE(x) HSV_eff_date(x) argument
178 #define HSV_FILE_STRUCT_VER(x) *(HSV_file_struct_ver(x)) argument
181 #define HSV_DATE_2DIG(x) ((((x)[0] - '0') * 10) + \ argument
182 ((x)[1] - '0'))
183 #define HSV_DATE_4DIG(x) ((((x)[0] - '0') * 1000) + \ argument
184 (((x)[1] - '0') * 100) + \
185 (((x)[2] - '0') * 10) + \
186 ((x)[3] - '0'))
187 #define HSV_DATE_YEAR(x) HSV_DATE_4DIG(&((uchar_t *)x)[0]) argument
188 #define HSV_DATE_MONTH(x) HSV_DATE_2DIG(&((uchar_t *)x)[4]) argument
189 #define HSV_DATE_DAY(x) HSV_DATE_2DIG(&((uchar_t *)x)[6]) argument
190 #define HSV_DATE_HOUR(x) HSV_DATE_2DIG(&((uchar_t *)x)[8]) argument
191 #define HSV_DATE_MIN(x) HSV_DATE_2DIG(&((uchar_t *)x)[10]) argument
192 #define HSV_DATE_SEC(x) HSV_DATE_2DIG(&((uchar_t *)x)[12]) argument
193 #define HSV_DATE_HSEC(x) HSV_DATE_2DIG(&((uchar_t *)x)[14]) argument
194 #define HSV_DATE_GMTOFF(x) (((char *)x)[16]) argument
201 #define HPE_ext_lbn(x) (&((uchar_t *)x)[0]) argument
202 #define HPE_xar_len(x) (&((uchar_t *)x)[4]) argument
203 #define HPE_name_len(x) (&((uchar_t *)x)[5]) argument
204 #define HPE_parent_no(x) (&((uchar_t *)x)[6]) argument
205 #define HPE_name(x) (&((uchar_t *)x)[8]) argument
209 #define HPE_EXT_LBN(x) (MSB_INT(HPE_ext_lbn(x))) argument
211 #define HPE_EXT_LBN(x) *(int *)(HPE_ext_lbn(x)) argument
213 #define HPE_XAR_LEN(x) *(HPE_xar_len(x)) argument
214 #define HPE_NAME_LEN(x) *(HPE_name_len(x)) argument
215 #define HPE_PARENT_NO(x) *(short *)(HPE_parent_no(x)) argument
216 #define HPE_NAME(x) HPE_name(x) argument
230 #define HDE_dir_len(x) (&((uchar_t *)x)[0]) argument
231 #define HDE_xar_len(x) (&((uchar_t *)x)[1]) argument
232 #define HDE_ext_lbn(x) (&((uchar_t *)x)[2]) argument
233 #define HDE_ext_size(x) (&((uchar_t *)x)[10]) argument
234 #define HDE_cdate(x) (&((uchar_t *)x)[18]) argument
235 #define HDE_flags(x) (&((uchar_t *)x)[24]) argument
236 #define HDE_reserved(x) (&((uchar_t *)x)[25]) argument
237 #define HDE_intrlv_size(x) (&((uchar_t *)x)[26]) argument
238 #define HDE_intrlv_skip(x) (&((uchar_t *)x)[27]) argument
239 #define HDE_vol_set(x) (&((uchar_t *)x)[28]) argument
240 #define HDE_name_len(x) (&((uchar_t *)x)[32]) argument
241 #define HDE_name(x) (&((uchar_t *)x)[33]) argument
244 #define HDE_mode(x) (&((uchar_t *)x)[0]) argument
245 #define HDE_uid(x) (&((uchar_t *)x)[4]) argument
246 #define HDE_gid(x) (&((uchar_t *)x)[8]) argument
249 #define HDE_DIR_LEN(x) *(HDE_dir_len(x)) argument
250 #define HDE_XAR_LEN(x) *(HDE_xar_len(x)) argument
251 #define HDE_EXT_LBN(x) BOTH_INT(HDE_ext_lbn(x)) argument
252 #define HDE_EXT_SIZE(x) BOTH_INT(HDE_ext_size(x)) argument
253 #define HDE_CDATE(x) HDE_cdate(x) argument
254 #define HDE_FLAGS(x) *(HDE_flags(x)) argument
255 #define HDE_RESERVED(x) *(HDE_reserved(x)) argument
256 #define HDE_INTRLV_SIZE(x) *(HDE_intrlv_size(x)) argument
257 #define HDE_INTRLV_SKIP(x) *(HDE_intrlv_skip(x)) argument
258 #define HDE_VOL_SET(x) BOTH_SHORT(HDE_vol_set(x)) argument
259 #define HDE_NAME_LEN(x) *(HDE_name_len(x)) argument
260 #define HDE_NAME(x) HDE_name(x) argument
263 #define HDE_MODE(x) *(HDE_mode(x)) argument
264 #define HDE_UID(x) *(HDE_uid(x)) argument
265 #define HDE_GID(x) *(HDE_gid(x)) argument
279 #define HDE_DATE_YEAR(x) (((uchar_t *)x)[0] + 1900) argument
280 #define HDE_DATE_MONTH(x) (((uchar_t *)x)[1]) argument
281 #define HDE_DATE_DAY(x) (((uchar_t *)x)[2]) argument
282 #define HDE_DATE_HOUR(x) (((uchar_t *)x)[3]) argument
283 #define HDE_DATE_MIN(x) (((uchar_t *)x)[4]) argument
284 #define HDE_DATE_SEC(x) (((uchar_t *)x)[5]) argument
285 #define HDE_DATE_GMTOFF(x) (((char *)x)[6]) argument
289 #define HDE_REGULAR_FILE(x) (((x) & HDE_PROHIBITED) == 0) argument
290 #define HDE_REGULAR_DIR(x) (((x) & HDE_PROHIBITED) == HDE_DIRECTORY) argument