Lines Matching full:segment
158 #make API calls on the segment instances.
171 #If this segment is a card but not a FRU,
174 my $segment = $targetObj->getInstanceName($target);
175 $item->{OBMC_NAME} =~ s/\b$segment-\d+\b\///;
184 #to the card segment that plugs into the connector.
206 my ($segment) = $target =~ /\b(\w+-\d+)$/;
210 $item->{OBMC_NAME} =~ s/\b$segment\/(\w+)-\d+/$1-$pos/;
246 #based on the type of the segment.
308 #The same as renameSegmentWithType, but finds the segment
371 #seen a particular segment with the same instance before.
373 for my $segment (@segments) {
374 my ($s, $inst) = $segment =~ /(\w+)-(\d+)/;
389 for my $segment (keys %instanceHash) {
390 if (not exists $instanceHash{$segment}{keep}) {
392 $item->{OBMC_NAME} =~ s/$segment-\d+/$segment/;
399 #Removes the '-' from between the segment name and instance.
459 =item * If there is only 1 instance of any segment in the system, then