Searched refs:nparents (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/t/
H A DLgrp_api.t106 my $nparents = @parents;
109 $fail++ unless $nparents == 1;
123 my $nparents = @parents;
124 $fail++ unless $nparents == 1;
H A DLgrp.t148 my $nparents = @parents;
151 $fail++ unless $nparents == 1;
152 $fail_lgrp_parents++ if $nparents != lgrp_parents($c, $l);
178 my $nparents = lgrp_parents($c, -1);
181 ok($nparents, undef, 'No parents means undef as scalar');
/illumos-gate/usr/src/lib/liblgrp/common/
H A Dlgrp.c618 int nparents; local
671 nparents = 0;
674 if (parents != NULL && nparents < count) {
675 parents[nparents] = i;
677 nparents++;
680 return (nparents);

Completed in 61 milliseconds