Lines Matching refs:sh
967 cdf_section_header_t sh; in cdf_read_property_info() local
980 sh.sh_len = CDF_TOLE4(shp->sh_len); in cdf_read_property_info()
981 if (sh.sh_len > CDF_SHLEN_LIMIT) { in cdf_read_property_info()
986 if (cdf_check_stream_offset(sst, h, shp, sh.sh_len, __LINE__) == -1) in cdf_read_property_info()
989 sh.sh_properties = CDF_TOLE4(shp->sh_properties); in cdf_read_property_info()
990 DPRINTF(("section len: %u properties %u\n", sh.sh_len, in cdf_read_property_info()
991 sh.sh_properties)); in cdf_read_property_info()
992 if (sh.sh_properties > CDF_PROP_LIMIT) in cdf_read_property_info()
994 inp = cdf_grow_info(info, maxcount, sh.sh_properties); in cdf_read_property_info()
998 *count += sh.sh_properties; in cdf_read_property_info()
999 p = CAST(const uint8_t *, cdf_offset(sst->sst_tab, offs + sizeof(sh))); in cdf_read_property_info()
1000 e = CAST(const uint8_t *, cdf_offset(shp, sh.sh_len)); in cdf_read_property_info()
1004 for (i = 0; i < sh.sh_properties; i++) { in cdf_read_property_info()
1066 for (j = 0; j < nelements && i < sh.sh_properties; in cdf_read_property_info()