Lines Matching +full:sub +full:- +full:function

2 # Copyright 2018-2021 The OpenSSL Project Authors. All Rights Reserved.
26 sub all_conds {
35 # checker a function that does a more complex comparison.
44 # this is: 'F' for function, 'S' for struct,
65 # These are used to convert certain pre-precessor expressions into
73 massager => sub {
85 massager => sub {
98 massager => sub {
111 massager => sub {
128 massager => sub {
188 massager => sub {
205 massager => sub {
224 massager => sub {
239 massager => sub {
249 massager => sub { return (); }
267 massager => sub { return $1; },
270 massager => sub { return "$1 $2"; },
277 # function the libcrypto<->provider interface
279 massager => sub {
293 massager => sub { return ("$1struct lhash_st_$2$3"); }
296 massager => sub {
324 massager => sub { return ("$1struct stack_st_$2$3"); }
327 # massager => sub {
336 massager => sub {
375 massager => sub {
390 massager => sub { return ("SKM_DEFINE_STACK_OF($1,$2,$2)"); },
393 massager => sub { return ("SKM_DEFINE_STACK_OF($1,$1,$1)"); },
396 massager => sub { return ("SKM_DEFINE_STACK_OF($1,const $2,$2)"); },
399 massager => sub { return ("SKM_DEFINE_STACK_OF($1,const $1,$1)"); },
405 massager => sub {
412 massager => sub {
420 massager => sub {
429 massager => sub {
438 massager => sub {
446 massager => sub {
454 massager => sub {
465 massager => sub { return (<<"EOF");
475 massager => sub {
482 massager => sub {
489 massager => sub {
496 massager => sub { return (); }
499 massager => sub {
506 massager => sub {
522 massager => sub { return (<<"EOF");
528 massager => sub { return (); }
534 massager => sub { return (<<"EOF");
545 massager => sub { return (<<"EOF");
560 massager => sub { return (<<"EOF");
569 massager => sub { return (<<"EOF");
580 massager => sub { return (<<"EOF");
589 massager => sub { return (<<"EOF");
607 massager => sub { return (<<"EOF");
616 massager => sub { return ("extern"); }
622 massager => sub { return (); }
633 # Note that the main parse function has a special hack for 'extern "C" {'
637 massager => sub { return ($1); },
642 \b # word to non-word boundary
646 massager => sub { return (); },
655 \b # word to non-word boundary
662 massager => sub {
683 massager => sub { return (); }
685 # Function returning function pointer declaration
691 ([[:alpha:]_]\w*) # Function name ($3)
697 massager => sub {
702 # Function pointer declaration, or typedef thereof
703 # This sort of declaration never has a function body
710 massager => sub {
716 # Function declaration, or typedef thereof
721 ([[:alpha:]_]\w*) # Function name ($3)
725 massager => sub {
739 massager => sub {
752 { massager => sub {
767 # type type, see the massage handler function
773 sub parse {
851 print STDERR "DEBUG:----------------------------\n";
1032 | \#[a-z]+
1111 } elsif (m/^ (?| (?: 0[xX][[:xdigit:]]+ | 0[bB][01]+ | [0-9]+ )
1113 | [0-9]+\.[0-9]+(?:[eE][\-\+]\d+)? (?i: F | L)?
1137 } elsif (m|^(?:\\)?.|) { # Catch-all
1145 if ($handler->{massager}) {
1146 $handler->{massager}->(\%opts);
1155 sub _run_handlers {
1165 if ($handler->{regexp}
1166 && $line =~ m|^$handler->{regexp}$|) {
1167 if ($handler->{massager}) {
1170 … print STDERR "DEBUG[",$opts{debug_type},"]: (matches /\^",$handler->{regexp},"\$/)\n";
1175 $handler->{massager}->($saved_line, \%opts);