Lines Matching refs:sst_len
288 if (e >= b && (size_t)(e - b) <= ss * sst->sst_len) in cdf_check_stream_offset()
293 ss * sst->sst_len, ss, sst->sst_len)); in cdf_check_stream_offset()
375 if (pos + len > CDF_SEC_SIZE(h) * sst->sst_len) { in cdf_read_short_sector()
378 pos + len, CDF_SEC_SIZE(h) * sst->sst_len)); in cdf_read_short_sector()
517 scn->sst_len = cdf_count_chain(sat, sid, ss); in cdf_read_long_sector_chain()
520 if (scn->sst_len == (size_t)-1) in cdf_read_long_sector_chain()
523 scn->sst_tab = calloc(scn->sst_len, ss); in cdf_read_long_sector_chain()
533 if (i >= scn->sst_len) { in cdf_read_long_sector_chain()
536 scn->sst_len)); in cdf_read_long_sector_chain()
542 if (i == scn->sst_len - 1 && nr > 0) { in cdf_read_long_sector_chain()
563 scn->sst_len = cdf_count_chain(ssat, sid, CDF_SEC_SIZE(h)); in cdf_read_short_sector_chain()
566 if (sst->sst_tab == NULL || scn->sst_len == (size_t)-1) in cdf_read_short_sector_chain()
569 scn->sst_tab = calloc(scn->sst_len, ss); in cdf_read_short_sector_chain()
579 if (i >= scn->sst_len) { in cdf_read_short_sector_chain()
582 i, scn->sst_len)); in cdf_read_short_sector_chain()
735 scn->sst_len = 0; in cdf_read_short_stream()
1041 const char *eb = b + ss * sst->sst_len; in cdf_unpack_catalog()
1258 cdf_dump(sst->sst_tab, ss * sst->sst_len); in cdf_dump_stream()