Lines Matching defs:number_of_sections
224 parse_section_table(struct executable *x, off_t off, int number_of_sections)
229 range_check(x, off, sizeof(*psh) * number_of_sections,
232 if (x->x_headers_len <= off + sizeof(*psh) * number_of_sections)
237 if (number_of_sections >= MAX_SECTIONS) {
239 number_of_sections, MAX_SECTIONS);
241 x->x_nsections = number_of_sections;
243 for (i = 0; i < number_of_sections; i++) {
261 int number_of_rva_and_sizes, int number_of_sections)
293 off + sizeof(*pde) * number_of_rva_and_sizes, number_of_sections));
347 int number_of_sections)
392 po->po_number_of_rva_and_sizes, number_of_sections));
396 parse_optional_32(struct executable *x, off_t off, int number_of_sections)
441 po->po_number_of_rva_and_sizes, number_of_sections));
445 parse_optional(struct executable *x, off_t off, int number_of_sections)
457 return (parse_optional_32(x, off, number_of_sections));
459 return (parse_optional_32_plus(x, off, number_of_sections));