Lines Matching refs:ssat

612     const cdf_sat_t *ssat, const cdf_stream_t *sst,  in cdf_read_short_sector_chain()  argument
617 scn->sst_len = cdf_count_chain(ssat, sid, CDF_SEC_SIZE(h)); in cdf_read_short_sector_chain()
644 sid = CDF_TOLE4((uint32_t)ssat->sat_tab[sid]); in cdf_read_short_sector_chain()
654 const cdf_sat_t *sat, const cdf_sat_t *ssat, const cdf_stream_t *sst, in cdf_read_sector_chain() argument
659 return cdf_read_short_sector_chain(h, ssat, sst, sid, len, in cdf_read_sector_chain()
721 const cdf_sat_t *sat, cdf_sat_t *ssat) in cdf_read_ssat() argument
727 ssat->sat_tab = NULL; in cdf_read_ssat()
728 ssat->sat_len = cdf_count_chain(sat, sid, ss); in cdf_read_ssat()
729 if (ssat->sat_len == (size_t)-1) in cdf_read_ssat()
732 ssat->sat_tab = CAST(cdf_secid_t *, CDF_CALLOC(ssat->sat_len, ss)); in cdf_read_ssat()
733 if (ssat->sat_tab == NULL) in cdf_read_ssat()
741 if (i >= ssat->sat_len) { in cdf_read_ssat()
744 ssat->sat_len)); in cdf_read_ssat()
747 if (cdf_read_sector(info, ssat->sat_tab, i * ss, ss, h, sid) != in cdf_read_ssat()
758 free(ssat->sat_tab); in cdf_read_ssat()
808 const cdf_sat_t *sat, const cdf_sat_t *ssat, const cdf_stream_t *sst, in cdf_read_doc_summary_info() argument
811 return cdf_read_user_stream(info, h, sat, ssat, sst, dir, in cdf_read_doc_summary_info()
817 const cdf_sat_t *sat, const cdf_sat_t *ssat, const cdf_stream_t *sst, in cdf_read_summary_info() argument
820 return cdf_read_user_stream(info, h, sat, ssat, sst, dir, in cdf_read_summary_info()
826 const cdf_sat_t *sat, const cdf_sat_t *ssat, const cdf_stream_t *sst, in cdf_read_user_stream() argument
838 return cdf_read_sector_chain(info, h, sat, ssat, sst, in cdf_read_user_stream()
1386 const cdf_sat_t *sat, const cdf_sat_t *ssat, const cdf_stream_t *sst, in cdf_dump_dir() argument
1428 if (cdf_read_sector_chain(info, h, sat, ssat, sst, in cdf_dump_dir()
1565 cdf_sat_t sat, ssat; in main() local
1594 if (cdf_read_ssat(&info, &h, &sat, &ssat) == -1) in main()
1597 cdf_dump_sat("SSAT", &ssat, CDF_SHORT_SEC_SIZE(&h)); in main()
1611 cdf_dump_dir(&info, &h, &sat, &ssat, &sst, &dir); in main()
1615 if (cdf_read_summary_info(&info, &h, &sat, &ssat, &sst, &dir, in main()
1622 if (cdf_read_user_stream(&info, &h, &sat, &ssat, &sst, in main()