Lines Matching refs:sh
797 cdf_section_header_t sh; in cdf_read_property_info() local
816 sh.sh_len = CDF_TOLE4(shp->sh_len); in cdf_read_property_info()
818 if (sh.sh_len > CDF_SHLEN_LIMIT) { in cdf_read_property_info()
822 sh.sh_properties = CDF_TOLE4(shp->sh_properties); in cdf_read_property_info()
824 if (sh.sh_properties > CDF_PROP_LIMIT) in cdf_read_property_info()
826 DPRINTF(("section len: %u properties %u\n", sh.sh_len, in cdf_read_property_info()
827 sh.sh_properties)); in cdf_read_property_info()
831 *maxcount += sh.sh_properties; in cdf_read_property_info()
835 *maxcount = sh.sh_properties; in cdf_read_property_info()
843 *count += sh.sh_properties; in cdf_read_property_info()
846 offs + sizeof(sh))); in cdf_read_property_info()
848 (((const char *)(const void *)shp) + sh.sh_len)); in cdf_read_property_info()
851 for (i = 0; i < sh.sh_properties; i++) { in cdf_read_property_info()
953 for (j = 0; j < nelements && i < sh.sh_properties; in cdf_read_property_info()