Lines Matching refs:sst_len
283 if (e >= b && (size_t)(e - b) <= ss * sst->sst_len) in cdf_check_stream_offset()
288 ss * sst->sst_len, ss, sst->sst_len)); in cdf_check_stream_offset()
370 if (pos + len > CDF_SEC_SIZE(h) * sst->sst_len) { in cdf_read_short_sector()
373 pos + len, CDF_SEC_SIZE(h) * sst->sst_len)); in cdf_read_short_sector()
501 scn->sst_len = cdf_count_chain(sat, sid, ss); in cdf_read_long_sector_chain()
504 if (scn->sst_len == (size_t)-1) in cdf_read_long_sector_chain()
507 scn->sst_tab = calloc(scn->sst_len, ss); in cdf_read_long_sector_chain()
517 if (i >= scn->sst_len) { in cdf_read_long_sector_chain()
520 scn->sst_len)); in cdf_read_long_sector_chain()
526 if (i == scn->sst_len - 1 && nr > 0) { in cdf_read_long_sector_chain()
547 scn->sst_len = cdf_count_chain(ssat, sid, CDF_SEC_SIZE(h)); in cdf_read_short_sector_chain()
550 if (sst->sst_tab == NULL || scn->sst_len == (size_t)-1) in cdf_read_short_sector_chain()
553 scn->sst_tab = calloc(scn->sst_len, ss); in cdf_read_short_sector_chain()
563 if (i >= scn->sst_len) { in cdf_read_short_sector_chain()
566 i, scn->sst_len)); in cdf_read_short_sector_chain()
716 scn->sst_len = 0; in cdf_read_short_stream()
1141 cdf_dump(sst->sst_tab, ss * sst->sst_len); in cdf_dump_stream()