Searched refs:CDF_SEC_SIZE (Results 1 – 3 of 3) sorted by relevance
| /netbsd-src/external/bsd/file/dist/src/ |
| H A D | cdf.h | 82 #define CDF_SEC_SIZE(h) CAST(size_t, 1 << (h)->h_sec_size_p2) macro 83 #define CDF_SEC_POS(h, secid) (CDF_SEC_SIZE(h) + (secid) * CDF_SEC_SIZE(h))
|
| H A D | cdf.c | 352 CDF_SHORT_SEC_SIZE(h) : CDF_SEC_SIZE(h); in cdf_check_stream() 437 size_t ss = CDF_SEC_SIZE(h); in cdf_read_sector() 460 if (pos + len > CDF_SEC_SIZE(h) * sst->sst_len) { in cdf_read_short_sector() 463 pos + len, CDF_SEC_SIZE(h) * sst->sst_len)); in cdf_read_short_sector() 481 size_t ss = CDF_SEC_SIZE(h); in cdf_read_sat() 606 size_t ss = CDF_SEC_SIZE(h), i, j; in cdf_read_long_sector_chain() 658 scn->sst_len = cdf_count_chain(ssat, sid, CDF_SEC_SIZE(h)); in cdf_read_short_sector_chain() 711 size_t ss = CDF_SEC_SIZE(h), ns, nd; in cdf_read_dir() 766 size_t ss = CDF_SEC_SIZE(h); in cdf_read_ssat() 1638 cdf_dump_sat("SAT", &sat, CDF_SEC_SIZE(&h)); in main()
|
| H A D | readcdf.c | 578 cdf_dump_sat("SAT", &sat, CDF_SEC_SIZE(&h)); in file_trycdf()
|