Lines Matching defs:nr_sections
426 int nr_sections;
437 nr_sections = bitmap_weight(self->adds_features, HEADER_FEAT_BITS);
438 if (!nr_sections)
441 feat_sec = calloc(sizeof(*feat_sec), nr_sections);
445 sec_size = sizeof(*feat_sec) * nr_sections;
615 int nr_sections;
620 nr_sections = bitmap_weight(self->adds_features, HEADER_FEAT_BITS);
621 if (!nr_sections)
624 feat_sec = calloc(sizeof(*feat_sec), nr_sections);
628 sec_size = sizeof(*feat_sec) * nr_sections;
636 while (idx < nr_sections && feat < HEADER_LAST_FEATURE) {