Lines Matching full:reason

69     -unref      List all unreferenced function and reason codes on stderr;
134 my %rmax; # lib -> max assigned reason code
135 my %rassigned; # lib -> colon-separated list of assigned reason codes
136 my %rnew; # lib -> count of new reason codes
137 my %rextra; # "extra" reason code -> lib
138 my %rcodes; # reason-name -> value
139 my $statefile; # state file with assigned reason and function codes
189 # Scan function and reason codes and store them: keep a note of the
220 die "$lib reason code $code collision at $name\n"
237 print STDERR "Reason codes for ${lib}:\n";
248 # Scan each C source file and look for reason codes. This is done by
249 # looking for strings that "look like" reason codes: basically anything
255 # Store all reason codes found in and %usedreasons so all those unreferenced
277 print STDERR " New reason $1\n" if $debug;
281 print STDERR " Reason $1 = $rcodes{$1}\n" if $debug;
301 # Make a sorted list of error and reason codes for later use.
367 print OUT "\n/*\n * $lib reason codes.\n */\n";
380 print STDERR "New Reason code $i\n" if $debug;
462 void ERR_${lib}_error(int function, int reason, const char *file, int line);
470 print OUT "\n/*\n * $lib reason codes.\n */\n";
483 print STDERR "New Reason code $i\n" if $debug;
499 # First, read any existing reason string definitions:
556 # Add each reason code.
624 ${st}void ERR_${lib}_error(int function, int reason, const char *file, int line)
628 ERR_raise(lib_code, reason);
651 # Make a list of unreferenced reason codes
658 print STDERR "The following reason codes were not referenced:\n";
679 print OUT "\n#Reason codes\n";