Lines Matching refs:opts
414 my ($location, $message, %opts) = @_;
415 my $msg = ($partial eq '' ? $opts{'header'} : '') . $message
416 . ($opts{'partial'} ? '' : $opts{'footer'});
498 my ($location, $message, %opts) = @_;
500 return 0 if ($opts{'silent'});
502 my $msg = _format_message ($location, $message, %opts);
503 if ($opts{'partial'})
517 if ($opts{'type'} eq 'warning' && $warnings_are_errors);
521 if ($opts{'uniq_part'} ne UP_NONE)
524 if ($opts{'uniq_part'} eq UP_TEXT)
528 elsif ($opts{'uniq_part'} eq UP_LOC_TEXT)
534 $to_filter = $opts{'uniq_part'};
539 if ($opts{'uniq_scope'} == US_LOCAL)
543 elsif ($opts{'uniq_scope'} == US_GLOBAL)
549 confess "unknown value for uniq_scope: " . $opts{'uniq_scope'};
563 my $file = $opts{'file'};
564 if ($opts{'ordered'} && $opts{'queue'})
566 _enqueue ($opts{'queue'}, $opts{'queue_key'}, $opts{'uniq_scope'},
640 my %opts = %{$channels{$channel}};
641 _merge_options (%opts, %options);
643 if (exists $buffering{$opts{'type'}})
650 if (_print_message ($location, $message, %opts))
653 if ($opts{'type'} eq 'error'
654 || $opts{'type'} eq 'fatal'
655 || ($opts{'type'} eq 'warning' && $warnings_are_errors))
657 my $es = $opts{'exit_code'};
662 confess if $opts{'backtrace'};
663 if ($opts{'type'} eq 'fatal')
681 my ($name, %opts) = @_;
683 _merge_options %{$channels{$name}}, %opts;
695 my ($type, %opts) = @_;
698 setup_channel $channel, %opts