Lines Matching defs:ndx
512 part_id ndx;
514 ndx = 0;
520 if (ndx == id) {
543 ndx++;
643 disklabel_get_type(size_t ndx)
648 if (ndx < __arraycount(dl_types))
649 return &dl_types[ndx];
651 ndx -= __arraycount(dl_types);
652 if (ndx >= dl_custom_ptype_count)
655 return &dl_custom_ptypes[ndx].desc;
768 part_id ndx;
773 ndx = 0;
779 if (ndx == id) {
809 ndx++;
810 if (ndx > parts->dp.num_part || ndx > id)
823 part_id ndx;
829 ndx = 0;
835 if (ndx == id) {
875 ndx++;
876 if (ndx > parts->dp.num_part || ndx > id)