Lines Matching refs:sh
760 cdf_section_header_t sh; in cdf_read_property_info() local
779 sh.sh_len = CDF_TOLE4(shp->sh_len); in cdf_read_property_info()
781 if (sh.sh_len > CDF_SHLEN_LIMIT) { in cdf_read_property_info()
785 sh.sh_properties = CDF_TOLE4(shp->sh_properties); in cdf_read_property_info()
787 if (sh.sh_properties > CDF_PROP_LIMIT) in cdf_read_property_info()
789 DPRINTF(("section len: %u properties %u\n", sh.sh_len, in cdf_read_property_info()
790 sh.sh_properties)); in cdf_read_property_info()
794 *maxcount += sh.sh_properties; in cdf_read_property_info()
798 *maxcount = sh.sh_properties; in cdf_read_property_info()
806 *count += sh.sh_properties; in cdf_read_property_info()
809 offs + sizeof(sh))); in cdf_read_property_info()
811 (((const char *)(const void *)shp) + sh.sh_len)); in cdf_read_property_info()
814 for (i = 0; i < sh.sh_properties; i++) { in cdf_read_property_info()
911 for (j = 0; j < nelements && i < sh.sh_properties; in cdf_read_property_info()