Lines Matching refs:CDF_TOLE2
75 #define CDF_TOLE2(x) ((uint16_t)(NEED_SWAP ? _cdf_tole2(x) : (uint16_t)(x))) macro
77 CDF_TOLE2(CAST(uint16_t, x)) : \
185 return CDF_TOLE2(sv); in cdf_tole2()
208 h->h_revision = CDF_TOLE2(h->h_revision); in cdf_swap_header()
209 h->h_version = CDF_TOLE2(h->h_version); in cdf_swap_header()
210 h->h_byte_order = CDF_TOLE2(h->h_byte_order); in cdf_swap_header()
211 h->h_sec_size_p2 = CDF_TOLE2(h->h_sec_size_p2); in cdf_swap_header()
212 h->h_short_sec_size_p2 = CDF_TOLE2(h->h_short_sec_size_p2); in cdf_swap_header()
258 d->d_namelen = CDF_TOLE2(d->d_namelen); in cdf_swap_dir()
275 d->cl_word[0] = CDF_TOLE2(d->cl_word[0]); in cdf_swap_class()
276 d->cl_word[1] = CDF_TOLE2(d->cl_word[1]); in cdf_swap_class()
793 if (*d != CDF_TOLE2(*s)) in cdf_namecmp()
794 return (unsigned char)*d - CDF_TOLE2(*s); in cdf_namecmp()
932 inp->pi_u16 = CDF_TOLE2(inp->pi_u16); in cdf_copy_info()
1117 ssi->si_byte_order = CDF_TOLE2(si->si_byte_order); in cdf_unpack_summary_info()
1118 ssi->si_os_version = CDF_TOLE2(si->si_os_version); in cdf_unpack_summary_info()
1119 ssi->si_os = CDF_TOLE2(si->si_os); in cdf_unpack_summary_info()
1155 reclen = CDF_TOLE2(reclen); in cdf_unpack_catalog()
1395 name[j] = (char)CDF_TOLE2(d->d_name[j]); in cdf_dump_dir()