Lines Matching defs:sh
995 cdf_section_header_t sh;
1008 sh.sh_len = CDF_TOLE4(shp->sh_len);
1009 if (sh.sh_len > CDF_SHLEN_LIMIT) {
1014 if (cdf_check_stream_offset(sst, h, shp, sh.sh_len, __LINE__) == -1)
1017 sh.sh_properties = CDF_TOLE4(shp->sh_properties);
1018 DPRINTF(("section len: %u properties %u\n", sh.sh_len,
1019 sh.sh_properties));
1020 if (sh.sh_properties > CDF_PROP_LIMIT)
1022 inp = cdf_grow_info(info, maxcount, sh.sh_properties);
1026 *count += sh.sh_properties;
1027 p = CAST(const uint8_t *, cdf_offset(sst->sst_tab, offs + sizeof(sh)));
1028 e = CAST(const uint8_t *, cdf_offset(shp, sh.sh_len));
1032 for (i = 0; i < sh.sh_properties; i++) {
1094 for (j = 0; j < nelements && i < sh.sh_properties;