hexsha
stringlengths
40
40
size
int64
3
1.05M
ext
stringclasses
163 values
lang
stringclasses
53 values
max_stars_repo_path
stringlengths
3
945
max_stars_repo_name
stringlengths
4
112
max_stars_repo_head_hexsha
stringlengths
40
78
max_stars_repo_licenses
sequencelengths
1
10
max_stars_count
float64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
3
945
max_issues_repo_name
stringlengths
4
113
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
sequencelengths
1
10
max_issues_count
float64
1
116k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
3
945
max_forks_repo_name
stringlengths
4
113
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
sequencelengths
1
10
max_forks_count
float64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
3
1.05M
avg_line_length
float64
1
966k
max_line_length
int64
1
977k
alphanum_fraction
float64
0
1
edc3023f843597a4970ff5b2af27fd635e714579
2,237
t
Perl
perl/src/lib/Class/ISA/t/00_about_verbose.t
nokibsarkar/sl4a
d3c17dca978cbeee545e12ea240a9dbf2a6999e9
[ "Apache-2.0" ]
2,293
2015-01-02T12:46:10.000Z
2022-03-29T09:45:43.000Z
perl/src/lib/Class/ISA/t/00_about_verbose.t
nokibsarkar/sl4a
d3c17dca978cbeee545e12ea240a9dbf2a6999e9
[ "Apache-2.0" ]
315
2015-05-31T11:55:46.000Z
2022-01-12T08:36:37.000Z
perl/src/lib/Class/ISA/t/00_about_verbose.t
nokibsarkar/sl4a
d3c17dca978cbeee545e12ea240a9dbf2a6999e9
[ "Apache-2.0" ]
1,033
2015-01-04T07:48:40.000Z
2022-03-24T09:34:37.000Z
BEGIN { chdir 't' if -d 't'; @INC = '../lib'; } require 5; # Time-stamp: "2004-12-29 20:57:15 AST" # Summary of, well, things. use Test; BEGIN {plan tests => 2}; ok 1; use Class::ISA (); #chdir "t" if -e "t"; { my @out; push @out, "\n\nPerl v", defined($^V) ? sprintf('%vd', $^V) : $], " under $^O ", (defined(&Win32::BuildNumber) and defined &Win32::BuildNumber()) ? ("(Win32::BuildNumber ", &Win32::BuildNumber(), ")") : (), (defined $MacPerl::Version) ? ("(MacPerl version $MacPerl::Version)") : (), "\n" ; # Ugly code to walk the symbol tables: my %v; my @stack = (''); # start out in %:: my $this; my $count = 0; my $pref; while(@stack) { $this = shift @stack; die "Too many packages?" if ++$count > 1000; next if exists $v{$this}; next if $this eq 'main'; # %main:: is %:: #print "Peeking at $this => ${$this . '::VERSION'}\n"; if(defined ${$this . '::VERSION'} ) { $v{$this} = ${$this . '::VERSION'} } elsif( defined *{$this . '::ISA'} or defined &{$this . '::import'} or ($this ne '' and grep defined *{$_}{'CODE'}, values %{$this . "::"}) # If it has an ISA, an import, or any subs... ) { # It's a class/module with no version. $v{$this} = undef; } else { # It's probably an unpopulated package. ## $v{$this} = '...'; } $pref = length($this) ? "$this\::" : ''; push @stack, map m/^(.+)::$/ ? "$pref$1" : (), keys %{$this . '::'}; #print "Stack: @stack\n"; } push @out, " Modules in memory:\n"; delete @v{'', '[none]'}; foreach my $p (sort {lc($a) cmp lc($b)} keys %v) { $indent = ' ' x (2 + ($p =~ tr/:/:/)); push @out, ' ', $indent, $p, defined($v{$p}) ? " v$v{$p};\n" : ";\n"; } push @out, sprintf "[at %s (local) / %s (GMT)]\n", scalar(gmtime), scalar(localtime); my $x = join '', @out; $x =~ s/^/#/mg; print $x; } print "# Running", (chr(65) eq 'A') ? " in an ASCII world.\n" : " in a non-ASCII world.\n", "#\n", ; print "# \@INC:\n", map("# [$_]\n", @INC), "#\n#\n"; print "# \%INC:\n"; foreach my $x (sort {lc($a) cmp lc($b)} keys %INC) { print "# [$x] = [", $INC{$x} || '', "]\n"; } ok 1;
24.855556
78
0.47519
ede1a2be350665bae3939bfbe217caa32e501aa1
158
t
Perl
t/01-pod.t
idmgroup/DSpace-REST-Client-Perl
98d7881be73707f208e5f349ba7bbffabdd7b4aa
[ "Apache-2.0" ]
null
null
null
t/01-pod.t
idmgroup/DSpace-REST-Client-Perl
98d7881be73707f208e5f349ba7bbffabdd7b4aa
[ "Apache-2.0" ]
2
2015-10-26T08:20:37.000Z
2015-10-29T15:35:04.000Z
t/01-pod.t
idmgroup/DSpace-REST-Client-Perl
98d7881be73707f208e5f349ba7bbffabdd7b4aa
[ "Apache-2.0" ]
null
null
null
#!perl -T use strict; use Test::More; plan skip_all => "Test::Pod 1.14 required for testing POD" unless eval "use Test::Pod 1.14; 1"; all_pod_files_ok();
22.571429
58
0.683544
edc67626c31c274860d9a9bee5d4b8311752eca8
577
t
Perl
t/miss.t
sanbeg/Test-Directory
71ad17559cbfed1ae2075bf3edb2fd12ae653dda
[ "Artistic-2.0" ]
null
null
null
t/miss.t
sanbeg/Test-Directory
71ad17559cbfed1ae2075bf3edb2fd12ae653dda
[ "Artistic-2.0" ]
1
2019-09-17T23:22:27.000Z
2019-09-22T04:24:08.000Z
t/miss.t
sanbeg/Test-Directory
71ad17559cbfed1ae2075bf3edb2fd12ae653dda
[ "Artistic-2.0" ]
1
2019-09-17T23:14:44.000Z
2019-09-17T23:14:44.000Z
use Test::More tests=>4; use lib '.'; use constant MODULE => 'Test::Directory'; use_ok(MODULE); my $d='tmp-td-miss'; my $td = MODULE->new($d); $td->touch('past', 'present'); $td->mkdir('old-dir'); $td->mkdir('sub-dir'); $td->mkdir('rm-dir'); is ($td->remove_directories('rm-dir'), 1); unlink( $td->path('past') ); rmdir( $td->path('old-dir') ); open my($tmpfh), '>', $td->path('future'); mkdir($td->path('new-dir')); is( $td->count_missing, 2, '2 missing file'); is( $td->count_unknown, 2, '2 unknown file'); $td->check_file('future'); $td->check_directory('new-dir');
20.607143
45
0.604853
ed744e09cf3e2b331130caa30e5de91b61fbbb3d
3,468
t
Perl
test/show.t
sl4mmy/taskwarrior
db94ffdac47ff36fa9f6001af0a363338c905532
[ "MIT" ]
null
null
null
test/show.t
sl4mmy/taskwarrior
db94ffdac47ff36fa9f6001af0a363338c905532
[ "MIT" ]
null
null
null
test/show.t
sl4mmy/taskwarrior
db94ffdac47ff36fa9f6001af0a363338c905532
[ "MIT" ]
null
null
null
#!/usr/bin/env python2.7 # -*- coding: utf-8 -*- ############################################################################### # # Copyright 2006 - 2016, Paul Beckingham, Federico Hernandez. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included # in all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS # OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. # # http://www.opensource.org/licenses/mit-license.php # ############################################################################### import sys import os import unittest # Ensure python finds the local simpletap module sys.path.append(os.path.dirname(os.path.abspath(__file__))) from basetest import Task, TestCase class TestShowCommand(TestCase): def setUp(self): """Executed before each test in the class""" self.t = Task() def test_show_no_arg(self): """Verify show command lists all with no arg provided""" code, out, err = self.t("show") self.assertIn("dateformat", out) self.assertIn("regex", out) def test_show_all_arg(self): """Verify show command lists all with no arg provided""" code, out, err = self.t("show all") self.assertIn("dateformat", out) self.assertIn("regex", out) def test_show_one_arg(self): """Verify show command lists one result with an arg provided""" code, out, err = self.t("show default.due") self.assertNotIn("default.command", out) self.assertIn("default.due", out) self.assertNotIn("default.project", out) def test_show_error_on_multi_args(self): """Verify show command errors on multiple args""" code, out, err = self.t.runError("show one two") self.assertIn("You can only specify 'all' or a search string.", err) def test_show_no_unrecognized(self): """Verify show command lists all with no arg provided""" self.t.config("foo", "bar") code, out, err = self.t("show") self.assertIn("Your .taskrc file contains these unrecognized variables:\n foo", out) class TestShowHelperCommand(TestCase): def setUp(self): """Executed before each test in the class""" self.t = Task() def test_show_helper_no_arg(self): """Verify _show command lists all with no arg provided""" code, out, err = self.t("_show") self.assertIn("debug=no\n", out) self.assertIn("verbose=", out) if __name__ == "__main__": from simpletap import TAPTestRunner unittest.main(testRunner=TAPTestRunner()) # vim: ai sts=4 et sw=4 ft=python
38.10989
93
0.659746
ede9379bdcb0dc7c8517ccfa2c1e22999d16d6f3
956
pm
Perl
lib/Raisin/Util.pm
gitpan/Raisin
376640017b68eefe0b7c338bee6b95de8ccb8e5f
[ "Artistic-1.0" ]
null
null
null
lib/Raisin/Util.pm
gitpan/Raisin
376640017b68eefe0b7c338bee6b95de8ccb8e5f
[ "Artistic-1.0" ]
null
null
null
lib/Raisin/Util.pm
gitpan/Raisin
376640017b68eefe0b7c338bee6b95de8ccb8e5f
[ "Artistic-1.0" ]
null
null
null
package Raisin::Util; use strict; use warnings; use Plack::Util; my %SERIALIZERS = ( json => 'json', json_rpc => 'json', yaml => 'yaml', yml => 'yaml', text => 'text', txt => 'text', plain => 'text', ); sub detect_serializer { my $type = shift; return unless $type; $type =~ s{^(.+)/}{}; $type =~ tr{-}{_}; $SERIALIZERS{$type}; } sub make_serializer_class { my $format = shift; 'Raisin::Plugin::Format::' . uc($format); } 1; __END__ =head1 NAME Raisin::Util - Utility subroutine for Raisin. =head1 FUNCTIONS =head2 detect_serializer Detects serializer by content type or extension. =head2 make_serializer_class Returns C<Raisin::Plugin::Format::E<lt>NAMEE<gt>> class name. =head1 AUTHOR Artur Khabibullin - rtkh E<lt>atE<gt> cpan.org =head1 LICENSE This module and all the modules in this package are governed by the same license as Perl itself. =cut
14.9375
80
0.625523
ede0d042aa294a89bb0438db6ff6c0b95d5d6249
25
t
Perl
plugins/robots/generators/nxt/nxtRussianCGenerator/templates/wait/timer.t
AlekseiPrivalihin/trik-studio
d19246f7a71306d1f847eee137a7bcd2ac67186f
[ "Apache-2.0" ]
39
2015-01-26T16:18:43.000Z
2021-12-20T23:36:41.000Z
plugins/robots/generators/nxt/nxtRussianCGenerator/templates/wait/timer.t
AlekseiPrivalihin/trik-studio
d19246f7a71306d1f847eee137a7bcd2ac67186f
[ "Apache-2.0" ]
1,248
2019-02-21T19:32:09.000Z
2022-03-29T16:50:04.000Z
plugins/robots/generators/nxt/nxtRussianCGenerator/templates/wait/timer.t
AlekseiPrivalihin/trik-studio
d19246f7a71306d1f847eee137a7bcd2ac67186f
[ "Apache-2.0" ]
58
2015-03-03T12:57:28.000Z
2020-05-09T15:54:42.000Z
подождать_мс(@@DELAY@@);
12.5
24
0.68
edd1da714947bbad957bc8161ef32219d79a4443
6,265
pm
Perl
auto-lib/Paws/Batch/LinuxParameters.pm
0leksii/aws-sdk-perl
b2132fe3c79a06fd15b6137e8a0eb628de722e0f
[ "Apache-2.0" ]
164
2015-01-08T14:58:53.000Z
2022-02-20T19:16:24.000Z
auto-lib/Paws/Batch/LinuxParameters.pm
0leksii/aws-sdk-perl
b2132fe3c79a06fd15b6137e8a0eb628de722e0f
[ "Apache-2.0" ]
348
2015-01-07T22:08:38.000Z
2022-01-27T14:34:44.000Z
auto-lib/Paws/Batch/LinuxParameters.pm
0leksii/aws-sdk-perl
b2132fe3c79a06fd15b6137e8a0eb628de722e0f
[ "Apache-2.0" ]
87
2015-04-22T06:29:47.000Z
2021-09-29T14:45:55.000Z
# Generated by default/object.tt package Paws::Batch::LinuxParameters; use Moose; has Devices => (is => 'ro', isa => 'ArrayRef[Paws::Batch::Device]', request_name => 'devices', traits => ['NameInRequest']); has InitProcessEnabled => (is => 'ro', isa => 'Bool', request_name => 'initProcessEnabled', traits => ['NameInRequest']); has MaxSwap => (is => 'ro', isa => 'Int', request_name => 'maxSwap', traits => ['NameInRequest']); has SharedMemorySize => (is => 'ro', isa => 'Int', request_name => 'sharedMemorySize', traits => ['NameInRequest']); has Swappiness => (is => 'ro', isa => 'Int', request_name => 'swappiness', traits => ['NameInRequest']); has Tmpfs => (is => 'ro', isa => 'ArrayRef[Paws::Batch::Tmpfs]', request_name => 'tmpfs', traits => ['NameInRequest']); 1; ### main pod documentation begin ### =head1 NAME Paws::Batch::LinuxParameters =head1 USAGE This class represents one of two things: =head3 Arguments in a call to a service Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object. As an example, if Att1 is expected to be a Paws::Batch::LinuxParameters object: $service_obj->Method(Att1 => { Devices => $value, ..., Tmpfs => $value }); =head3 Results returned from an API call Use accessors for each attribute. If Att1 is expected to be an Paws::Batch::LinuxParameters object: $result = $service_obj->Method(...); $result->Att1->Devices =head1 DESCRIPTION Linux-specific modifications that are applied to the container, such as details for device mappings. =head1 ATTRIBUTES =head2 Devices => ArrayRef[L<Paws::Batch::Device>] Any host devices to expose to the container. This parameter maps to C<Devices> in the Create a container (https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the Docker Remote API (https://docs.docker.com/engine/api/v1.23/) and the C<--device> option to docker run (https://docs.docker.com/engine/reference/run/). This parameter isn't applicable to jobs running on Fargate resources and shouldn't be provided. =head2 InitProcessEnabled => Bool If true, run an C<init> process inside the container that forwards signals and reaps processes. This parameter maps to the C<--init> option to docker run (https://docs.docker.com/engine/reference/run/). This parameter requires version 1.25 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log into your container instance and run the following command: C<sudo docker version | grep "Server API version"> =head2 MaxSwap => Int The total amount of swap memory (in MiB) a container can use. This parameter is translated to the C<--memory-swap> option to docker run (https://docs.docker.com/engine/reference/run/) where the value is the sum of the container memory plus the C<maxSwap> value. For more information, see C<--memory-swap> details (https://docs.docker.com/config/containers/resource_constraints/#--memory-swap-details) in the Docker documentation. If a C<maxSwap> value of C<0> is specified, the container doesn't use swap. Accepted values are C<0> or any positive integer. If the C<maxSwap> parameter is omitted, the container doesn't use the swap configuration for the container instance it is running on. A C<maxSwap> value must be set for the C<swappiness> parameter to be used. This parameter isn't applicable to jobs running on Fargate resources and shouldn't be provided. =head2 SharedMemorySize => Int The value for the size (in MiB) of the C</dev/shm> volume. This parameter maps to the C<--shm-size> option to docker run (https://docs.docker.com/engine/reference/run/). This parameter isn't applicable to jobs running on Fargate resources and shouldn't be provided. =head2 Swappiness => Int This allows you to tune a container's memory swappiness behavior. A C<swappiness> value of C<0> causes swapping not to happen unless absolutely necessary. A C<swappiness> value of C<100> causes pages to be swapped very aggressively. Accepted values are whole numbers between C<0> and C<100>. If the C<swappiness> parameter isn't specified, a default value of C<60> is used. If a value isn't specified for C<maxSwap> then this parameter is ignored. If C<maxSwap> is set to 0, the container doesn't use swap. This parameter maps to the C<--memory-swappiness> option to docker run (https://docs.docker.com/engine/reference/run/). Consider the following when you use a per-container swap configuration. =over =item * Swap space must be enabled and allocated on the container instance for the containers to use. The Amazon ECS optimized AMIs don't have swap enabled by default. You must enable swap on the instance to use this feature. For more information, see Instance Store Swap Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-store-swap-volumes.html) in the I<Amazon EC2 User Guide for Linux Instances> or How do I allocate memory to work as swap space in an Amazon EC2 instance by using a swap file? (http://aws.amazon.com/premiumsupport/knowledge-center/ec2-memory-swap-file/) =item * The swap space parameters are only supported for job definitions using EC2 resources. =item * If the C<maxSwap> and C<swappiness> parameters are omitted from a job definition, each container will have a default C<swappiness> value of 60, and the total swap usage will be limited to two times the memory reservation of the container. =back This parameter isn't applicable to jobs running on Fargate resources and shouldn't be provided. =head2 Tmpfs => ArrayRef[L<Paws::Batch::Tmpfs>] The container path, mount options, and size (in MiB) of the tmpfs mount. This parameter maps to the C<--tmpfs> option to docker run (https://docs.docker.com/engine/reference/run/). This parameter isn't applicable to jobs running on Fargate resources and shouldn't be provided. =head1 SEE ALSO This class forms part of L<Paws>, describing an object used in L<Paws::Batch> =head1 BUGS and CONTRIBUTIONS The source code is located here: L<https://github.com/pplu/aws-sdk-perl> Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> =cut
36.005747
126
0.751955
ede3d9ac4eac397c9e7f808d997c0340aa264423
552
pl
Perl
scripts/release/8-all-releases-by-author-es.pl
zmughal/metacpan-examples
60412eb3964157c14ae4e3ec8a937ec91fd92332
[ "Artistic-1.0" ]
24
2017-03-26T04:53:03.000Z
2021-07-28T23:07:16.000Z
scripts/release/8-all-releases-by-author-es.pl
zmughal/metacpan-examples
60412eb3964157c14ae4e3ec8a937ec91fd92332
[ "Artistic-1.0" ]
7
2017-06-04T04:29:12.000Z
2021-09-26T16:28:30.000Z
scripts/release/8-all-releases-by-author-es.pl
zmughal/metacpan-examples
60412eb3964157c14ae4e3ec8a937ec91fd92332
[ "Artistic-1.0" ]
15
2017-01-24T13:15:38.000Z
2021-09-26T06:14:00.000Z
#!/usr/bin/env perl use strict; use warnings; use feature qw( say ); use lib './lib'; use MetaCPAN::Util qw( es ); my $uploads = es()->search( index => 'cpan', type => 'release', body => { query => { filtered => { filter => { term => { 'author' => 'OALDERS' } }, }, }, fields => [ 'author', 'archive', 'date' ], sort => [ { "date" => "desc" } ], }, size => 100, ); my @releases = map { $_->{fields} } @{ $uploads->{hits}->{hits} }; use DDP; p @releases;
19.714286
66
0.443841
73d25e7854701cd95ae8981eef474af850bde307
22,787
pm
Perl
lib/Net/SNMP/Transport.pm
Helmholtz-HIPS/prosnap
5286cda39276d5eda85d2ddb23b8ab83c5d4960c
[ "MIT" ]
1
2021-11-26T17:29:56.000Z
2021-11-26T17:29:56.000Z
lib/Net/SNMP/Transport.pm
Helmholtz-HIPS/prosnap
5286cda39276d5eda85d2ddb23b8ab83c5d4960c
[ "MIT" ]
1
2020-03-19T21:12:23.000Z
2020-03-19T21:12:23.000Z
lib/Net/SNMP/Transport.pm
Helmholtz-HIPS/prosnap
5286cda39276d5eda85d2ddb23b8ab83c5d4960c
[ "MIT" ]
null
null
null
# -*- mode: perl -*- # ============================================================================ package Net::SNMP::Transport; # $Id: Transport.pm,v 3.0 2009/09/09 15:05:33 dtown Rel $ # Base object for the Net::SNMP Transport Domain objects. # Copyright (c) 2004-2009 David M. Town <dtown@cpan.org> # All rights reserved. # This program is free software; you may redistribute it and/or modify it # under the same terms as the Perl 5 programming language system itself. # ============================================================================ use strict; ## Version of the Net::SNMP::Transport module our $VERSION = v3.0.0; ## Handle importing/exporting of symbols use base qw( Exporter ); our @EXPORT_OK = qw( TRUE FALSE DEBUG_INFO ); our %EXPORT_TAGS = ( domains => [ qw( DOMAIN_UDP DOMAIN_UDPIPV4 DOMAIN_UDPIPV6 DOMAIN_UDPIPV6Z DOMAIN_TCPIPV4 DOMAIN_TCPIPV6 DOMAIN_TCPIPV6Z ) ], msgsize => [ qw( MSG_SIZE_DEFAULT MSG_SIZE_MINIMUM MSG_SIZE_MAXIMUM ) ], ports => [ qw( SNMP_PORT SNMP_TRAP_PORT ) ], retries => [ qw( RETRIES_DEFAULT RETRIES_MINIMUM RETRIES_MAXIMUM ) ], timeout => [ qw( TIMEOUT_DEFAULT TIMEOUT_MINIMUM TIMEOUT_MAXIMUM ) ], ); Exporter::export_ok_tags( qw( domains msgsize ports retries timeout ) ); $EXPORT_TAGS{ALL} = [ @EXPORT_OK ]; ## Transport Layer Domain definitions # RFC 3417 Transport Mappings for SNMP # Presuhn, Case, McCloghrie, Rose, and Waldbusser; December 2002 sub DOMAIN_UDP { '1.3.6.1.6.1.1' } # snmpUDPDomain # RFC 3419 Textual Conventions for Transport Addresses # Consultant, Schoenwaelder, and Braunschweig; December 2002 sub DOMAIN_UDPIPV4 { '1.3.6.1.2.1.100.1.1' } # transportDomainUdpIpv4 sub DOMAIN_UDPIPV6 { '1.3.6.1.2.1.100.1.2' } # transportDomainUdpIpv6 sub DOMAIN_UDPIPV6Z { '1.3.6.1.2.1.100.1.4' } # transportDomainUdpIpv6z sub DOMAIN_TCPIPV4 { '1.3.6.1.2.1.100.1.5' } # transportDomainTcpIpv4 sub DOMAIN_TCPIPV6 { '1.3.6.1.2.1.100.1.6' } # transportDomainTcpIpv6 sub DOMAIN_TCPIPV6Z { '1.3.6.1.2.1.100.1.8' } # transportDomainTcpIpv6z ## SNMP well-known ports sub SNMP_PORT { 161 } sub SNMP_TRAP_PORT { 162 } ## RFC 3411 - snmpEngineMaxMessageSize::=INTEGER (484..2147483647) sub MSG_SIZE_DEFAULT { 484 } sub MSG_SIZE_MINIMUM { 484 } sub MSG_SIZE_MAXIMUM { 65535 } # 2147483647 is not reasonable sub RETRIES_DEFAULT { 1 } sub RETRIES_MINIMUM { 0 } sub RETRIES_MAXIMUM { 20 } sub TIMEOUT_DEFAULT { 5.0 } sub TIMEOUT_MINIMUM { 1.0 } sub TIMEOUT_MAXIMUM { 60.0 } ## Truth values sub TRUE { 0x01 } sub FALSE { 0x00 } ## Shared socket array indexes sub _SHARED_SOCKET { 0 } # Shared Socket object sub _SHARED_REFC { 1 } # Reference count sub _SHARED_MAXSIZE { 2 } # Shared maxMsgSize ## Package variables our $DEBUG = FALSE; # Debug flag our $AUTOLOAD; # Used by the AUTOLOAD method our $SOCKETS = {}; # List of shared sockets # [public methods] ----------------------------------------------------------- { my $domains = { 'udp/?(?:ip)?v?4?', DOMAIN_UDPIPV4, quotemeta DOMAIN_UDP, DOMAIN_UDPIPV4, quotemeta DOMAIN_UDPIPV4, DOMAIN_UDPIPV4, 'udp/?(?:ip)?v?6', DOMAIN_UDPIPV6, quotemeta DOMAIN_UDPIPV6, DOMAIN_UDPIPV6, quotemeta DOMAIN_UDPIPV6Z, DOMAIN_UDPIPV6, 'tcp/?(?:ip)?v?4?', DOMAIN_TCPIPV4, quotemeta DOMAIN_TCPIPV4, DOMAIN_TCPIPV4, 'tcp/?(?:ip)?v?6', DOMAIN_TCPIPV6, quotemeta DOMAIN_TCPIPV6, DOMAIN_TCPIPV6, quotemeta DOMAIN_TCPIPV6Z, DOMAIN_TCPIPV6, }; sub new { my ($class, %argv) = @_; my $domain = DOMAIN_UDPIPV4; my $error = q{}; # See if a Transport Layer Domain argument has been passed. for (keys %argv) { if (/^-?domain$/i) { my $key = $argv{$_}; $domain = undef; for (keys %{$domains}) { if ($key =~ /^$_$/i) { $domain = $domains->{$_}; last; } } if (!defined $domain) { $error = err_msg( 'The transport domain "%s" is unknown', $argv{$_} ); return wantarray ? (undef, $error) : undef; } $argv{$_} = $domain; } } # Return the appropriate object based on the Transport Domain. To # avoid consuming unnecessary resources, only load the appropriate # module when requested. Some modules require non-core modules and # if these modules are not present, we gracefully return an error. if ($domain eq DOMAIN_UDPIPV6) { if (defined ($error = load_module('Net::SNMP::Transport::IPv6::UDP'))) { $error = 'UDP/IPv6 support is unavailable ' . $error; return wantarray ? (undef, $error) : undef; } return Net::SNMP::Transport::IPv6::UDP->new(%argv); } elsif ($domain eq DOMAIN_TCPIPV6) { if (defined ($error = load_module('Net::SNMP::Transport::IPv6::TCP'))) { $error = 'TCP/IPv6 support is unavailable ' . $error; return wantarray ? (undef, $error) : undef; } return Net::SNMP::Transport::IPv6::TCP->new(%argv); } elsif ($domain eq DOMAIN_TCPIPV4) { if (defined ($error = load_module('Net::SNMP::Transport::IPv4::TCP'))) { $error = 'TCP/IPv4 support is unavailable ' . $error; return wantarray ? (undef, $error) : undef; } return Net::SNMP::Transport::IPv4::TCP->new(%argv); } # Load the default Transport Domain module without eval protection. require Net::SNMP::Transport::IPv4::UDP; return Net::SNMP::Transport::IPv4::UDP->new(%argv); } } sub max_msg_size { my ($this, $size) = @_; if (@_ < 2) { return $this->{_max_msg_size}; } $this->_error_clear(); if ($size !~ m/^\d+$/) { return $this->_error( 'The maxMsgSize value "%s" is expected in positive numeric format', $size ); } if ($size < MSG_SIZE_MINIMUM || $size > MSG_SIZE_MAXIMUM) { return $this->_error( 'The maxMsgSize value %s is out of range (%d..%d)', $size, MSG_SIZE_MINIMUM, MSG_SIZE_MAXIMUM ); } # Adjust the share maximum size if necessary. $this->_shared_max_size($size); return $this->{_max_msg_size} = $size; } sub timeout { my ($this, $timeout) = @_; if (@_ < 2) { return $this->{_timeout}; } $this->_error_clear(); if ($timeout !~ m/^\d+(?:\.\d+)?$/) { return $this->_error( 'The timeout value "%s" is expected in positive numeric format', $timeout ); } if ($timeout < TIMEOUT_MINIMUM || $timeout > TIMEOUT_MAXIMUM) { return $this->_error( 'The timeout value %s is out of range (%d..%d)', $timeout, TIMEOUT_MINIMUM, TIMEOUT_MAXIMUM ); } return $this->{_timeout} = $timeout; } sub retries { my ($this, $retries) = @_; if (@_ < 2) { return $this->{_retries}; } $this->_error_clear(); if ($retries !~ m/^\d+$/) { return $this->_error( 'The retries value "%s" is expected in positive numeric format', $retries ); } if ($retries < RETRIES_MINIMUM || $retries > RETRIES_MAXIMUM) { return $this->_error( 'The retries value %s is out of range (%d..%d)', $retries, RETRIES_MINIMUM, RETRIES_MAXIMUM ); } return $this->{_retries} = $retries; } sub agent_addr { return '0.0.0.0'; } sub connectionless { return TRUE; } sub debug { return (@_ == 2) ? $DEBUG = ($_[1]) ? TRUE : FALSE : $DEBUG; } sub domain { return '0.0'; } sub error { return $_[0]->{_error} || q{}; } sub fileno { return defined($_[0]->{_socket}) ? $_[0]->{_socket}->fileno() : undef; } sub socket { return $_[0]->{_socket}; } sub type { return '<unknown>'; # unknown(0) } sub sock_name { if (defined $_[0]->{_socket}) { return $_[0]->{_socket}->sockname() || $_[0]->{_sock_name}; } else { return $_[0]->{_sock_name}; } } sub sock_hostname { return $_[0]->{_sock_hostname} || $_[0]->sock_address(); } sub sock_address { return $_[0]->_address($_[0]->sock_name()); } sub sock_addr { return $_[0]->_addr($_[0]->sock_name()); } sub sock_port { return $_[0]->_port($_[0]->sock_name()); } sub sock_taddress { return $_[0]->_taddress($_[0]->sock_name()); } sub sock_taddr { return $_[0]->_taddr($_[0]->sock_name()); } sub sock_tdomain { return $_[0]->_tdomain($_[0]->sock_name()); } sub dest_name { return $_[0]->{_dest_name}; } sub dest_hostname { return $_[0]->{_dest_hostname} || $_[0]->dest_address(); } sub dest_address { return $_[0]->_address($_[0]->dest_name()); } sub dest_addr { return $_[0]->_addr($_[0]->dest_name()); } sub dest_port { return $_[0]->_port($_[0]->dest_name()); } sub dest_taddress { return $_[0]->_taddress($_[0]->dest_name()); } sub dest_taddr { return $_[0]->_taddr($_[0]->dest_name()); } sub dest_tdomain { return $_[0]->_tdomain($_[0]->dest_name()); } sub peer_name { if (defined $_[0]->{_socket}) { return $_[0]->{_socket}->peername() || $_[0]->dest_name(); } else { return $_[0]->dest_name(); } } sub peer_hostname { return $_[0]->peer_address(); } sub peer_address { return $_[0]->_address($_[0]->peer_name()); } sub peer_addr { return $_[0]->_addr($_[0]->peer_name()); } sub peer_port { return $_[0]->_port($_[0]->peer_name()); } sub peer_taddress { return $_[0]->_taddress($_[0]->peer_name()); } sub peer_taddr { return $_[0]->_taddr($_[0]->peer_name()); } sub peer_tdomain { return $_[0]->_tdomain($_[0]->peer_name()); } sub AUTOLOAD { my $this = shift; return if $AUTOLOAD =~ /::DESTROY$/; $AUTOLOAD =~ s/.*://; if (ref $this) { if (defined($this->{_socket}) && ($this->{_socket}->can($AUTOLOAD))) { return $this->{_socket}->$AUTOLOAD(@_); } else { $this->_error_clear(); return $this->_error( 'The method "%s" is not supported by this Transport Domain', $AUTOLOAD ); } } else { require Carp; Carp::croak(sprintf 'The function "%s" is not supported', $AUTOLOAD); } # Never get here. return; } sub DESTROY { my ($this) = @_; # Connection-oriented transports do not share sockets. return if !$this->connectionless(); # If the shared socket structure exists, decrement the reference count # and clear the shared socket structure if it is no longer being used. if (defined($this->{_sock_name}) && exists $SOCKETS->{$this->{_sock_name}}) { if (--$SOCKETS->{$this->{_sock_name}}->[_SHARED_REFC] < 1) { delete $SOCKETS->{$this->{_sock_name}}; } } return; } ## Obsolete methods - previous deprecated sub OBSOLETE { my ($this, $method) = splice @_, 0, 2; require Carp; Carp::croak( sprintf '%s() is obsolete, use %s() instead', (caller 1)[3], $method ); # Never get here. return $this->${\$method}(@_); } sub name { return $_[0]->OBSOLETE('type'); } sub srcaddr { return $_[0]->OBSOLETE('sock_addr'); } sub srcport { return $_[0]->OBSOLETE('sock_port'); } sub srchost { return $_[0]->OBSOLETE('sock_address'); } sub srcname { return $_[0]->OBSOLETE('sock_address'); } sub dstaddr { return $_[0]->OBSOLETE('dest_addr'); } sub dstport { return $_[0]->OBSOLETE('dest_port'); } sub dsthost { return $_[0]->OBSOLETE('dest_address'); } sub dstname { return $_[0]->OBSOLETE('dest_hostname'); } sub recvaddr { return $_[0]->OBSOLETE('peer_addr'); } sub recvport { return $_[0]->OBSOLETE('peer_port'); } sub recvhost { return $_[0]->OBSOLETE('peer_address'); } # [private methods] ---------------------------------------------------------- sub _new { my ($class, %argv) = @_; my $this = bless { '_dest_hostname' => 'localhost', # Destination hostname '_dest_name' => undef, # Destination sockaddr '_error' => undef, # Error message '_max_msg_size' => $class->_msg_size_default(), # maxMsgSize '_retries' => RETRIES_DEFAULT, # Number of retries '_socket' => undef, # Socket object '_sock_hostname' => q{}, # Socket hostname '_sock_name' => undef, # Socket sockaddr '_timeout' => TIMEOUT_DEFAULT, # Timeout period (secs) }, $class; # Default the values for the "name (sockaddr) hashes". my $sock_nh = { port => 0, addr => $this->_addr_any() }; my $dest_nh = { port => SNMP_PORT, addr => $this->_addr_loopback() }; # Validate the "port" arguments first to allow for a consistency # check with any values passed with the "address" arguments. my ($dest_port, $sock_port, $listen) = (undef, undef, 0); for (keys %argv) { if (/^-?debug$/i) { $this->debug(delete $argv{$_}); } elsif (/^-?(?:de?st|peer)?port$/i) { $this->_service_resolve(delete($argv{$_}), $dest_nh); $dest_port = $dest_nh->{port}; } elsif (/^-?(?:src|sock|local)port$/i) { $this->_service_resolve(delete($argv{$_}), $sock_nh); $sock_port = $sock_nh->{port}; } if (defined $this->{_error}) { return wantarray ? (undef, $this->{_error}) : undef; } } # Validate the rest of the arguments. for (keys %argv) { if (/^-?domain$/i) { if ($argv{$_} ne $this->domain()) { $this->_error( 'The domain value "%s" was expected, but "%s" was found', $this->domain(), $argv{$_} ); } } elsif ((/^-?hostname$/i) || (/^-?(?:de?st|peer)?addr$/i)) { $this->_hostname_resolve( $this->{_dest_hostname} = $argv{$_}, $dest_nh ); if (defined($dest_port) && ($dest_port != $dest_nh->{port})) { $this->_error( 'Inconsistent %s port information was specified (%d != %d)', $this->type(), $dest_port, $dest_nh->{port} ); } } elsif (/^-?(?:src|sock|local)addr$/i) { $this->_hostname_resolve( $this->{_sock_hostname} = $argv{$_}, $sock_nh ); if (defined($sock_port) && ($sock_port != $sock_nh->{port})) { $this->_error( 'Inconsistent %s port information was specified (%d != %d)', $this->type(), $sock_port, $sock_nh->{port} ); } } elsif (/^-?listen$/i) { if (($argv{$_} !~ /^\d+$/) || ($argv{$_} < 1)) { $this->_error( 'The listen queue size value "%s" was expected in positive ' . 'non-zero numeric format', $argv{$_} ); } elsif (!$this->connectionless()) { $listen = $argv{$_}; } } elsif ((/^-?maxmsgsize$/i) || (/^-?mtu$/i)) { $this->max_msg_size($argv{$_}); } elsif (/^-?retries$/i) { $this->retries($argv{$_}); } elsif (/^-?timeout$/i) { $this->timeout($argv{$_}); } else { $this->_error('The argument "%s" is unknown', $_); } if (defined $this->{_error}) { return wantarray ? (undef, $this->{_error}) : undef; } } # Pack the socket name (sockaddr) information. $this->{_sock_name} = $this->_name_pack($sock_nh); # Pack the destination name (sockaddr) information. $this->{_dest_name} = $this->_name_pack($dest_nh); # For all connection-oriented transports and for each unique source # address for connectionless transports, create a new socket. if (!$this->connectionless() || !exists $SOCKETS->{$this->{_sock_name}}) { # Create a new IO::Socket object. if (!defined ($this->{_socket} = $this->_socket_create())) { $this->_perror('Failed to open %s socket', $this->type()); return wantarray ? (undef, $this->{_error}) : undef } DEBUG_INFO('opened %s socket [%d]', $this->type(), $this->fileno()); # Bind the socket. if (!defined $this->{_socket}->bind($this->{_sock_name})) { $this->_perror('Failed to bind %s socket', $this->type()); return wantarray ? (undef, $this->{_error}) : undef } # For connection-oriented transports, we either listen or connect. if (!$this->connectionless()) { if ($listen) { if (!defined $this->{_socket}->listen($listen)) { $this->_perror('Failed to listen on %s socket', $this->type()); return wantarray ? (undef, $this->{_error}) : undef } } else { if (!defined $this->{_socket}->connect($this->{_dest_name})) { $this->_perror( q{Failed to connect to remote host '%s'}, $this->dest_hostname() ); return wantarray ? (undef, $this->{_error}) : undef } } } # Flag the socket as non-blocking outside of socket creation or # the object instantiation fails on some systems (e.g. MSWin32). $this->{_socket}->blocking(FALSE); # Add the socket to the global socket list with a reference # count to track when to close the socket and the maxMsgSize # associated with this new object for connectionless transports. if ($this->connectionless()) { $SOCKETS->{$this->{_sock_name}} = [ $this->{_socket}, # Shared Socket object 1, # Reference count $this->{_max_msg_size}, # Shared maximum message size ]; } } else { # Bump up the reference count. $SOCKETS->{$this->{_sock_name}}->[_SHARED_REFC]++; # Assign the socket to the object. $this->{_socket} = $SOCKETS->{$this->{_sock_name}}->[_SHARED_SOCKET]; # Adjust the shared maxMsgSize if necessary. $this->_shared_max_size($this->{_max_msg_size}); DEBUG_INFO('reused %s socket [%d]', $this->type(), $this->fileno()); } # Return the object and empty error message (in list context) return wantarray ? ($this, q{}) : $this; } sub _service_resolve { my ($this, $serv, $nh) = @_; $nh->{port} = undef; if ($serv !~ /^\d+$/) { my $port = ($serv =~ s/\((\d+)\)$//) ? ($1 > 65535) ? undef : $1 : undef; $nh->{port} = getservbyname($serv, $this->_protocol_name()) || $port; if (!defined $nh->{port}) { return $this->_error( 'Unable to resolve the %s service name "%s"', $this->type(), $_[1] ); } } elsif ($serv > 65535) { return $this->_error( 'The %s port number %s is out of range (0..65535)', $this->type(), $serv ); } else { $nh->{port} = $serv; } return $nh->{port}; } sub _protocol { return (getprotobyname $_[0]->_protocol_name())[2]; } sub _shared_max_size { my ($this, $size) = @_; # Connection-oriented transports do not share sockets. if (!$this->connectionless()) { return $this->{_max_msg_size}; } if (@_ == 2) { # Handle calls during object creation. if (!defined $this->{_sock_name}) { return $this->{_max_msg_size}; } # Update the shared maxMsgSize if the passed # value is greater than the current size. if ($size > $SOCKETS->{$this->{_sock_name}}->[_SHARED_MAXSIZE]) { $SOCKETS->{$this->{_sock_name}}->[_SHARED_MAXSIZE] = $size; } } return $SOCKETS->{$this->{_sock_name}}->[_SHARED_MAXSIZE]; } sub _msg_size_default { return MSG_SIZE_DEFAULT; } sub _error { my $this = shift; if (!defined $this->{_error}) { $this->{_error} = (@_ > 1) ? sprintf(shift(@_), @_) : $_[0]; if ($this->debug()) { printf "error: [%d] %s(): %s\n", (caller 0)[2], (caller 1)[3], $this->{_error}; } } return; } sub strerror { if ($! =~ /^Unknown error/) { return sprintf '%s', $^E if ($^E); require Errno; for (keys (%!)) { if ($!{$_}) { return sprintf 'Error %s', $_; } } return sprintf '%s (%d)', $!, $!; } return $! ? sprintf('%s', $!) : 'No error'; } sub _perror { my $this = shift; if (!defined $this->{_error}) { $this->{_error} = ((@_ > 1) ? sprintf(shift(@_), @_) : $_[0]) || q{}; $this->{_error} .= (($this->{_error}) ? ': ' : q{}) . strerror(); if ($this->debug()) { printf "error: [%d] %s(): %s\n", (caller 0)[2], (caller 1)[3], $this->{_error}; } } return; } sub _error_clear { $! = 0; return $_[0]->{_error} = undef; } { my %modules; sub load_module { my ($module) = @_; # We attempt to load the required module under the protection of an # eval statement. If there is a failure, typically it is due to a # missing module required by the requested module and we attempt to # simplify the error message by just listing that module. We also # need to track failures since require() only produces an error on # the first attempt to load the module. # NOTE: Contrary to our typical convention, a return value of "undef" # actually means success and a defined value means error. return $modules{$module} if exists $modules{$module}; if (!eval "require $module") { if ($@ =~ /locate (\S+\.pm)/) { $modules{$module} = err_msg('(Required module %s not found)', $1); } elsif ($@ =~ /(.*)\n/) { $modules{$module} = err_msg('(%s)', $1); } else { $modules{$module} = err_msg('(%s)', $@); } } else { $modules{$module} = undef; } return $modules{$module}; } } sub err_msg { my $msg = (@_ > 1) ? sprintf(shift(@_), @_) : $_[0]; if ($DEBUG) { printf "error: [%d] %s(): %s\n", (caller 0)[2], (caller 1)[3], $msg; } return $msg; } sub DEBUG_INFO { return $DEBUG if (!$DEBUG); return printf sprintf('debug: [%d] %s(): ', (caller 0)[2], (caller 1)[3]) . ((@_ > 1) ? shift(@_) : '%s') . "\n", @_; } # ============================================================================ 1; # [end Net::SNMP::Transport]
25.545964
80
0.539255
ede4915763a890a1a4fa2b1f26ddc4df60e8ad81
354
pl
Perl
tournaments/crossingSum/crossingSum.pl
gurfinkel/codeSignal
114817947ac6311bd53a48f0f0e17c0614bf7911
[ "MIT" ]
5
2020-02-06T09:51:22.000Z
2021-03-19T00:18:44.000Z
tournaments/crossingSum/crossingSum.pl
gurfinkel/codeSignal
114817947ac6311bd53a48f0f0e17c0614bf7911
[ "MIT" ]
null
null
null
tournaments/crossingSum/crossingSum.pl
gurfinkel/codeSignal
114817947ac6311bd53a48f0f0e17c0614bf7911
[ "MIT" ]
3
2019-09-27T13:06:21.000Z
2021-04-20T23:13:17.000Z
#!/usr/bin/perl use strict; use warnings FATAL => 'all'; sub crossingSum { my ($matrix, $a, $b) = @_; my $result = -@{@$matrix[$a]}[$b]; for (my $i = 0; @$matrix[$i]; ++$i) { $result += @{@$matrix[$i]}[$b]; } for (my $i = 0; @{@$matrix[0]}[$i]; ++$i) { $result += @{@$matrix[$a]}[$i]; } return $result; }
17.7
47
0.423729
ed837bd07d2b3fe61579af3f74e616345cf0238a
1,000
pl
Perl
prolog/n_queens.pl
jaimecgomezz/exercises
30c0da0e6831c8a87643263396759e68802abb98
[ "MIT" ]
null
null
null
prolog/n_queens.pl
jaimecgomezz/exercises
30c0da0e6831c8a87643263396759e68802abb98
[ "MIT" ]
null
null
null
prolog/n_queens.pl
jaimecgomezz/exercises
30c0da0e6831c8a87643263396759e68802abb98
[ "MIT" ]
null
null
null
:- use_module(library(clpfd)). safe_diagonal(Q1, Q2, Distance) :- abs(Q2 - Q1) #\= Distance. safe_queen(_, [], _). safe_queen(Queen, [Qn | Queens], Difference) :- safe_diagonal(Queen, Qn, Difference), safe_queen(Queen, Queens, Difference + 1). safe([]). safe([Queen | Queens]) :- safe_queen(Queen, Queens, 1), safe(Queens). header(N) :- ConcreteN is N, print(ConcreteN), put_char('\t'). headers(0). headers(N) :- put_char(0' ), put_char(0' ), forall(between(1, N, V), header(V)), nl. indent(Level, Row) :- H is Level - 1, ConcreteRow is Row, print(ConcreteRow), put_char(0' ), forall(between(1, H, _), put_char('\t')). show([]). show(Queens) :- length(Queens, N), headers(N), show(Queens, 0). show([], _). show([Queen | Queens], Row) :- indent(Queen, Row + 1), writef("Q%t", [Queen]), nl, nl, nl, show(Queens, Row + 1). queens(N, Queens) :- length(Queens, N), Queens ins 1..N, all_distinct(Queens), safe(Queens), label(Queens), show(Queens).
20.408163
78
0.613
ed4e7b6af8f77563e50fdae378cdb276f8e7d0cc
1,228
t
Perl
misc/p5-net-fastcgi/t/020_protocol/030_end_request_body.t
adarshdec23/h2o_custom_priority
c6dde246a2df2570e40618b51757616de2b3df89
[ "MIT" ]
null
null
null
misc/p5-net-fastcgi/t/020_protocol/030_end_request_body.t
adarshdec23/h2o_custom_priority
c6dde246a2df2570e40618b51757616de2b3df89
[ "MIT" ]
null
null
null
misc/p5-net-fastcgi/t/020_protocol/030_end_request_body.t
adarshdec23/h2o_custom_priority
c6dde246a2df2570e40618b51757616de2b3df89
[ "MIT" ]
null
null
null
#!perl use strict; use warnings; use lib 't/lib', 'lib'; use myconfig; use Test::More tests => 9; use Test::HexString; use Test::Exception; BEGIN { use_ok('Net::FastCGI::Protocol', qw[ build_end_request_body parse_end_request_body ]); } my @tests = ( # octets app_status protocol_status [ "\x00\x00\x00\x00\x00\x00\x00\x00", 0, 0 ], [ "\xFF\xFF\xFF\xFF\xFF\x00\x00\x00", 0xFFFFFFFF, 0xFF ], ); foreach my $test (@tests) { my $expected = $test->[0]; my $got = build_end_request_body(@$test[1..2]); is_hexstr($got, $expected, 'build_end_request_body()'); } foreach my $test (@tests) { my @expected = @$test[1..2]; my @got = parse_end_request_body($test->[0]); is_deeply(\@got, \@expected, "parse_end_request_body()"); } throws_ok { parse_end_request_body("") } qr/^FastCGI: Insufficient .* FCGI_EndRequestBody/; throws_ok { parse_end_request_body(undef) } qr/^FastCGI: Insufficient .* FCGI_EndRequestBody/; throws_ok { build_end_request_body() } qr/^Usage: /; throws_ok { parse_end_request_body() } qr/^Usage: /;
28.55814
95
0.580619
edcd665ad1bd05ca9ed31127e2de3bfd00a9ef14
4,235
pm
Perl
modules/EnsEMBL/Web/Component/Location/SyntenyMatches.pm
helensch/ensembl-webcode
2d55f2bb4f06260fd4ab68407f5fae1211bd525a
[ "Apache-2.0" ]
null
null
null
modules/EnsEMBL/Web/Component/Location/SyntenyMatches.pm
helensch/ensembl-webcode
2d55f2bb4f06260fd4ab68407f5fae1211bd525a
[ "Apache-2.0" ]
null
null
null
modules/EnsEMBL/Web/Component/Location/SyntenyMatches.pm
helensch/ensembl-webcode
2d55f2bb4f06260fd4ab68407f5fae1211bd525a
[ "Apache-2.0" ]
null
null
null
=head1 LICENSE Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute Copyright [2016-2018] EMBL-European Bioinformatics Institute Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. =cut package EnsEMBL::Web::Component::Location::SyntenyMatches; ### Module to replace part of the former SyntenyView, in this case displaying ### a table of homology matches use strict; use base qw(EnsEMBL::Web::Component::Location); sub _init { my $self = shift; $self->cacheable(0); $self->ajaxable(1); } sub caption { return 'Homology Matches'; } sub content { my $self = shift; my $hub = $self->hub; my $species = $hub->species; my $other = $hub->otherspecies; my $data = $self->object->get_synteny_matches($other); (my $sp_tidy = $species) =~ s/_/ /; (my $other_tidy = $other) =~ s/_/ /; my $html; if (scalar @$data) { my $table = $self->new_table([], [], { exportable => 1, data_table => 1 }); $table->add_columns( { key => 'gene_ids', title => "<i>$sp_tidy</i> genes", width => '20%', align => 'left', sort => 'html' }, { key => 'gene_loc', title => 'Location', width => '15%', align => 'left', sort => 'position_html' }, { key => 'arrow', title => ' ', width => '10%', align => 'center', sort => 'none' }, { key => 'homo_ids', title => "<i>$other_tidy</i> homologues", width => '20%', align => 'left', sort => 'html' }, { key => 'homo_loc', title => 'Location', width => '15%', align => 'left', sort => 'position_html' }, { key => 'multi', title => ' ', width => '10%', align => 'left', sort => 'none' } ); my $old_id; foreach my $row (@$data) { my ($sp_ids, $sp_loc, $other_ids, $other_loc, $multi); my $sp_stable_id = $row->{'sp_stable_id'}; my $other_stable_id = $row->{'other_stable_id'}; my $r = sprintf '%s:%s-%s', $row->{'sp_chr'}, $row->{'sp_start'}, $row->{'sp_end'}; if ($old_id ne $sp_stable_id) { $sp_ids = sprintf '<a href="%s"><strong>%s</strong></a> (%s)', $hub->url({ type => 'Gene', action => 'Summary', r => $r, g => $sp_stable_id }), $row->{'sp_synonym'}, $sp_stable_id; $sp_loc = sprintf '<a href="%s">%s</a>', $hub->url({ action => 'View', r => $r, g => $sp_stable_id }), $r; $old_id = $sp_stable_id; } if ($other_stable_id) { my $other_r = sprintf '%s:%s-%s', $row->{'other_chr'}, $row->{'other_start'}, $row->{'other_end'}; $other_ids = sprintf( '<a href="%s"><strong>%s</strong></a> (%s)', $hub->url({ species => $other, type => 'Gene', action => 'Summary', r => $other_r, g => $other_stable_id }), $row->{'other_synonym'}, $other_stable_id ); $other_loc = sprintf '<a href="%s">%s</a>', $hub->url({ species => $other, action => 'View', r => $other_r, g => $other_stable_id }), $other_r; $multi = sprintf '<a href="%s">Region Comparison</a>', $hub->url({ action => 'Multi', r => $r, s1 => $other, r1 => $other_r, g1 => $other_stable_id }); } else { $other_ids = 'No homologues'; } $table->add_row({ gene_ids => $sp_ids, gene_loc => $sp_loc, arrow => $row->{'homologue_no'} ? '&rarr;' : '', homo_ids => $other_ids, homo_loc => $other_loc, multi => $multi }); } $html = $table->render; } else { $html = '<p>Sorry, there are no genes in this region. Use the links in the navigation box to move to the nearest ones.</p>'; } return $html; } 1;
38.5
188
0.553483
edd7d01281cab31e7fb5a18d01fd6c12b52d2905
57,867
pl
Perl
deps/src/node-v10.15.3/deps/openssl/openssl/crypto/ec/asm/ecp_nistz256-avx2.pl
Mstronach/turicreate
c5e0e58d44adc1c1414eac486f3dc17a721a296e
[ "BSD-3-Clause" ]
2,757
2018-04-28T21:41:36.000Z
2022-03-29T06:33:36.000Z
deps/src/node-v10.15.3/deps/openssl/openssl/crypto/ec/asm/ecp_nistz256-avx2.pl
Mstronach/turicreate
c5e0e58d44adc1c1414eac486f3dc17a721a296e
[ "BSD-3-Clause" ]
1,432
2017-06-21T04:08:48.000Z
2020-08-25T16:21:15.000Z
deps/src/node-v10.15.3/deps/openssl/openssl/crypto/ec/asm/ecp_nistz256-avx2.pl
Mstronach/turicreate
c5e0e58d44adc1c1414eac486f3dc17a721a296e
[ "BSD-3-Clause" ]
449
2018-05-09T05:54:05.000Z
2022-03-30T14:54:18.000Z
#! /usr/bin/env perl # Copyright 2014-2018 The OpenSSL Project Authors. All Rights Reserved. # # Licensed under the OpenSSL license (the "License"). You may not use # this file except in compliance with the License. You can obtain a copy # in the file LICENSE in the source distribution or at # https://www.openssl.org/source/license.html ############################################################################## # # # Copyright 2014 Intel Corporation # # # # Licensed under the Apache License, Version 2.0 (the "License"); # # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # # # http://www.apache.org/licenses/LICENSE-2.0 # # # # Unless required by applicable law or agreed to in writing, software # # distributed under the License is distributed on an "AS IS" BASIS, # # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # # See the License for the specific language governing permissions and # # limitations under the License. # # # ############################################################################## # # # Developers and authors: # # Shay Gueron (1, 2), and Vlad Krasnov (1) # # (1) Intel Corporation, Israel Development Center # # (2) University of Haifa # # Reference: # # S.Gueron and V.Krasnov, "Fast Prime Field Elliptic Curve Cryptography with# # 256 Bit Primes" # # # ############################################################################## $flavour = shift; $output = shift; if ($flavour =~ /\./) { $output = $flavour; undef $flavour; } $win64=0; $win64=1 if ($flavour =~ /[nm]asm|mingw64/ || $output =~ /\.asm$/); $0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1; ( $xlate="${dir}x86_64-xlate.pl" and -f $xlate ) or ( $xlate="${dir}../../perlasm/x86_64-xlate.pl" and -f $xlate) or die "can't locate x86_64-xlate.pl"; open OUT,"| \"$^X\" $xlate $flavour $output"; *STDOUT=*OUT; if (`$ENV{CC} -Wa,-v -c -o /dev/null -x assembler /dev/null 2>&1` =~ /GNU assembler version ([2-9]\.[0-9]+)/) { $avx = ($1>=2.19) + ($1>=2.22); $addx = ($1>=2.23); } if (!$addx && $win64 && ($flavour =~ /nasm/ || $ENV{ASM} =~ /nasm/) && `nasm -v 2>&1` =~ /NASM version ([2-9]\.[0-9]+)/) { $avx = ($1>=2.09) + ($1>=2.10); $addx = ($1>=2.10); } if (!$addx && $win64 && ($flavour =~ /masm/ || $ENV{ASM} =~ /ml64/) && `ml64 2>&1` =~ /Version ([0-9]+)\./) { $avx = ($1>=10) + ($1>=11); $addx = ($1>=12); } if (!$addx && `$ENV{CC} -v 2>&1` =~ /((?:^clang|LLVM) version|based on LLVM) ([3-9])\.([0-9]+)/) { my $ver = $2 + $3/100.0; # 3.1->3.01, 3.10->3.10 $avx = ($ver>=3.0) + ($ver>=3.01); $addx = ($ver>=3.03); } if ($avx>=2) {{ $digit_size = "\$29"; $n_digits = "\$9"; $code.=<<___; .text .align 64 .LAVX2_AND_MASK: .LAVX2_POLY: .quad 0x1fffffff, 0x1fffffff, 0x1fffffff, 0x1fffffff .quad 0x1fffffff, 0x1fffffff, 0x1fffffff, 0x1fffffff .quad 0x1fffffff, 0x1fffffff, 0x1fffffff, 0x1fffffff .quad 0x000001ff, 0x000001ff, 0x000001ff, 0x000001ff .quad 0x00000000, 0x00000000, 0x00000000, 0x00000000 .quad 0x00000000, 0x00000000, 0x00000000, 0x00000000 .quad 0x00040000, 0x00040000, 0x00040000, 0x00040000 .quad 0x1fe00000, 0x1fe00000, 0x1fe00000, 0x1fe00000 .quad 0x00ffffff, 0x00ffffff, 0x00ffffff, 0x00ffffff .LAVX2_POLY_x2: .quad 0x7FFFFFFC, 0x7FFFFFFC, 0x7FFFFFFC, 0x7FFFFFFC .quad 0x7FFFFFFC, 0x7FFFFFFC, 0x7FFFFFFC, 0x7FFFFFFC .quad 0x7FFFFFFC, 0x7FFFFFFC, 0x7FFFFFFC, 0x7FFFFFFC .quad 0x400007FC, 0x400007FC, 0x400007FC, 0x400007FC .quad 0x3FFFFFFE, 0x3FFFFFFE, 0x3FFFFFFE, 0x3FFFFFFE .quad 0x3FFFFFFE, 0x3FFFFFFE, 0x3FFFFFFE, 0x3FFFFFFE .quad 0x400FFFFE, 0x400FFFFE, 0x400FFFFE, 0x400FFFFE .quad 0x7F7FFFFE, 0x7F7FFFFE, 0x7F7FFFFE, 0x7F7FFFFE .quad 0x03FFFFFC, 0x03FFFFFC, 0x03FFFFFC, 0x03FFFFFC .LAVX2_POLY_x8: .quad 0xFFFFFFF8, 0xFFFFFFF8, 0xFFFFFFF8, 0xFFFFFFF8 .quad 0xFFFFFFF8, 0xFFFFFFF8, 0xFFFFFFF8, 0xFFFFFFF8 .quad 0xFFFFFFF8, 0xFFFFFFF8, 0xFFFFFFF8, 0xFFFFFFF8 .quad 0x80000FF8, 0x80000FF8, 0x80000FF8, 0x80000FF8 .quad 0x7FFFFFFC, 0x7FFFFFFC, 0x7FFFFFFC, 0x7FFFFFFC .quad 0x7FFFFFFC, 0x7FFFFFFC, 0x7FFFFFFC, 0x7FFFFFFC .quad 0x801FFFFC, 0x801FFFFC, 0x801FFFFC, 0x801FFFFC .quad 0xFEFFFFFC, 0xFEFFFFFC, 0xFEFFFFFC, 0xFEFFFFFC .quad 0x07FFFFF8, 0x07FFFFF8, 0x07FFFFF8, 0x07FFFFF8 .LONE: .quad 0x00000020, 0x00000020, 0x00000020, 0x00000020 .quad 0x00000000, 0x00000000, 0x00000000, 0x00000000 .quad 0x00000000, 0x00000000, 0x00000000, 0x00000000 .quad 0x1fffc000, 0x1fffc000, 0x1fffc000, 0x1fffc000 .quad 0x1fffffff, 0x1fffffff, 0x1fffffff, 0x1fffffff .quad 0x1fffffff, 0x1fffffff, 0x1fffffff, 0x1fffffff .quad 0x1f7fffff, 0x1f7fffff, 0x1f7fffff, 0x1f7fffff .quad 0x03ffffff, 0x03ffffff, 0x03ffffff, 0x03ffffff .quad 0x00000000, 0x00000000, 0x00000000, 0x00000000 # RR = 2^266 mod p in AVX2 format, to transform from the native OpenSSL # Montgomery form (*2^256) to our format (*2^261) .LTO_MONT_AVX2: .quad 0x00000400, 0x00000400, 0x00000400, 0x00000400 .quad 0x00000000, 0x00000000, 0x00000000, 0x00000000 .quad 0x00000000, 0x00000000, 0x00000000, 0x00000000 .quad 0x1ff80000, 0x1ff80000, 0x1ff80000, 0x1ff80000 .quad 0x1fffffff, 0x1fffffff, 0x1fffffff, 0x1fffffff .quad 0x1fffffff, 0x1fffffff, 0x1fffffff, 0x1fffffff .quad 0x0fffffff, 0x0fffffff, 0x0fffffff, 0x0fffffff .quad 0x1fffffff, 0x1fffffff, 0x1fffffff, 0x1fffffff .quad 0x00000003, 0x00000003, 0x00000003, 0x00000003 .LFROM_MONT_AVX2: .quad 0x00000001, 0x00000001, 0x00000001, 0x00000001 .quad 0x00000000, 0x00000000, 0x00000000, 0x00000000 .quad 0x00000000, 0x00000000, 0x00000000, 0x00000000 .quad 0x1ffffe00, 0x1ffffe00, 0x1ffffe00, 0x1ffffe00 .quad 0x1fffffff, 0x1fffffff, 0x1fffffff, 0x1fffffff .quad 0x1fffffff, 0x1fffffff, 0x1fffffff, 0x1fffffff .quad 0x1ffbffff, 0x1ffbffff, 0x1ffbffff, 0x1ffbffff .quad 0x001fffff, 0x001fffff, 0x001fffff, 0x001fffff .quad 0x00000000, 0x00000000, 0x00000000, 0x00000000 .LIntOne: .long 1,1,1,1,1,1,1,1 ___ { # This function receives a pointer to an array of four affine points # (X, Y, <1>) and rearanges the data for AVX2 execution, while # converting it to 2^29 radix redundant form my ($X0,$X1,$X2,$X3, $Y0,$Y1,$Y2,$Y3, $T0,$T1,$T2,$T3, $T4,$T5,$T6,$T7)=map("%ymm$_",(0..15)); $code.=<<___; .globl ecp_nistz256_avx2_transpose_convert .type ecp_nistz256_avx2_transpose_convert,\@function,2 .align 64 ecp_nistz256_avx2_transpose_convert: vzeroupper ___ $code.=<<___ if ($win64); lea -8-16*10(%rsp), %rsp vmovaps %xmm6, -8-16*10(%rax) vmovaps %xmm7, -8-16*9(%rax) vmovaps %xmm8, -8-16*8(%rax) vmovaps %xmm9, -8-16*7(%rax) vmovaps %xmm10, -8-16*6(%rax) vmovaps %xmm11, -8-16*5(%rax) vmovaps %xmm12, -8-16*4(%rax) vmovaps %xmm13, -8-16*3(%rax) vmovaps %xmm14, -8-16*2(%rax) vmovaps %xmm15, -8-16*1(%rax) ___ $code.=<<___; # Load the data vmovdqa 32*0(%rsi), $X0 lea 112(%rsi), %rax # size optimization vmovdqa 32*1(%rsi), $Y0 lea .LAVX2_AND_MASK(%rip), %rdx vmovdqa 32*2(%rsi), $X1 vmovdqa 32*3(%rsi), $Y1 vmovdqa 32*4-112(%rax), $X2 vmovdqa 32*5-112(%rax), $Y2 vmovdqa 32*6-112(%rax), $X3 vmovdqa 32*7-112(%rax), $Y3 # Transpose X and Y independently vpunpcklqdq $X1, $X0, $T0 # T0 = [B2 A2 B0 A0] vpunpcklqdq $X3, $X2, $T1 # T1 = [D2 C2 D0 C0] vpunpckhqdq $X1, $X0, $T2 # T2 = [B3 A3 B1 A1] vpunpckhqdq $X3, $X2, $T3 # T3 = [D3 C3 D1 C1] vpunpcklqdq $Y1, $Y0, $T4 vpunpcklqdq $Y3, $Y2, $T5 vpunpckhqdq $Y1, $Y0, $T6 vpunpckhqdq $Y3, $Y2, $T7 vperm2i128 \$0x20, $T1, $T0, $X0 # X0 = [D0 C0 B0 A0] vperm2i128 \$0x20, $T3, $T2, $X1 # X1 = [D1 C1 B1 A1] vperm2i128 \$0x31, $T1, $T0, $X2 # X2 = [D2 C2 B2 A2] vperm2i128 \$0x31, $T3, $T2, $X3 # X3 = [D3 C3 B3 A3] vperm2i128 \$0x20, $T5, $T4, $Y0 vperm2i128 \$0x20, $T7, $T6, $Y1 vperm2i128 \$0x31, $T5, $T4, $Y2 vperm2i128 \$0x31, $T7, $T6, $Y3 vmovdqa (%rdx), $T7 vpand (%rdx), $X0, $T0 # out[0] = in[0] & mask; vpsrlq \$29, $X0, $X0 vpand $T7, $X0, $T1 # out[1] = (in[0] >> shift) & mask; vpsrlq \$29, $X0, $X0 vpsllq \$6, $X1, $T2 vpxor $X0, $T2, $T2 vpand $T7, $T2, $T2 # out[2] = ((in[0] >> (shift*2)) ^ (in[1] << (64-shift*2))) & mask; vpsrlq \$23, $X1, $X1 vpand $T7, $X1, $T3 # out[3] = (in[1] >> ((shift*3)%64)) & mask; vpsrlq \$29, $X1, $X1 vpsllq \$12, $X2, $T4 vpxor $X1, $T4, $T4 vpand $T7, $T4, $T4 # out[4] = ((in[1] >> ((shift*4)%64)) ^ (in[2] << (64*2-shift*4))) & mask; vpsrlq \$17, $X2, $X2 vpand $T7, $X2, $T5 # out[5] = (in[2] >> ((shift*5)%64)) & mask; vpsrlq \$29, $X2, $X2 vpsllq \$18, $X3, $T6 vpxor $X2, $T6, $T6 vpand $T7, $T6, $T6 # out[6] = ((in[2] >> ((shift*6)%64)) ^ (in[3] << (64*3-shift*6))) & mask; vpsrlq \$11, $X3, $X3 vmovdqa $T0, 32*0(%rdi) lea 112(%rdi), %rax # size optimization vpand $T7, $X3, $T0 # out[7] = (in[3] >> ((shift*7)%64)) & mask; vpsrlq \$29, $X3, $X3 # out[8] = (in[3] >> ((shift*8)%64)) & mask; vmovdqa $T1, 32*1(%rdi) vmovdqa $T2, 32*2(%rdi) vmovdqa $T3, 32*3(%rdi) vmovdqa $T4, 32*4-112(%rax) vmovdqa $T5, 32*5-112(%rax) vmovdqa $T6, 32*6-112(%rax) vmovdqa $T0, 32*7-112(%rax) vmovdqa $X3, 32*8-112(%rax) lea 448(%rdi), %rax # size optimization vpand $T7, $Y0, $T0 # out[0] = in[0] & mask; vpsrlq \$29, $Y0, $Y0 vpand $T7, $Y0, $T1 # out[1] = (in[0] >> shift) & mask; vpsrlq \$29, $Y0, $Y0 vpsllq \$6, $Y1, $T2 vpxor $Y0, $T2, $T2 vpand $T7, $T2, $T2 # out[2] = ((in[0] >> (shift*2)) ^ (in[1] << (64-shift*2))) & mask; vpsrlq \$23, $Y1, $Y1 vpand $T7, $Y1, $T3 # out[3] = (in[1] >> ((shift*3)%64)) & mask; vpsrlq \$29, $Y1, $Y1 vpsllq \$12, $Y2, $T4 vpxor $Y1, $T4, $T4 vpand $T7, $T4, $T4 # out[4] = ((in[1] >> ((shift*4)%64)) ^ (in[2] << (64*2-shift*4))) & mask; vpsrlq \$17, $Y2, $Y2 vpand $T7, $Y2, $T5 # out[5] = (in[2] >> ((shift*5)%64)) & mask; vpsrlq \$29, $Y2, $Y2 vpsllq \$18, $Y3, $T6 vpxor $Y2, $T6, $T6 vpand $T7, $T6, $T6 # out[6] = ((in[2] >> ((shift*6)%64)) ^ (in[3] << (64*3-shift*6))) & mask; vpsrlq \$11, $Y3, $Y3 vmovdqa $T0, 32*9-448(%rax) vpand $T7, $Y3, $T0 # out[7] = (in[3] >> ((shift*7)%64)) & mask; vpsrlq \$29, $Y3, $Y3 # out[8] = (in[3] >> ((shift*8)%64)) & mask; vmovdqa $T1, 32*10-448(%rax) vmovdqa $T2, 32*11-448(%rax) vmovdqa $T3, 32*12-448(%rax) vmovdqa $T4, 32*13-448(%rax) vmovdqa $T5, 32*14-448(%rax) vmovdqa $T6, 32*15-448(%rax) vmovdqa $T0, 32*16-448(%rax) vmovdqa $Y3, 32*17-448(%rax) vzeroupper ___ $code.=<<___ if ($win64); movaps 16*0(%rsp), %xmm6 movaps 16*1(%rsp), %xmm7 movaps 16*2(%rsp), %xmm8 movaps 16*3(%rsp), %xmm9 movaps 16*4(%rsp), %xmm10 movaps 16*5(%rsp), %xmm11 movaps 16*6(%rsp), %xmm12 movaps 16*7(%rsp), %xmm13 movaps 16*8(%rsp), %xmm14 movaps 16*9(%rsp), %xmm15 lea 8+16*10(%rsp), %rsp ___ $code.=<<___; ret .size ecp_nistz256_avx2_transpose_convert,.-ecp_nistz256_avx2_transpose_convert ___ } { ################################################################################ # This function receives a pointer to an array of four AVX2 formatted points # (X, Y, Z) convert the data to normal representation, and rearanges the data my ($D0,$D1,$D2,$D3, $D4,$D5,$D6,$D7, $D8)=map("%ymm$_",(0..8)); my ($T0,$T1,$T2,$T3, $T4,$T5,$T6)=map("%ymm$_",(9..15)); $code.=<<___; .globl ecp_nistz256_avx2_convert_transpose_back .type ecp_nistz256_avx2_convert_transpose_back,\@function,2 .align 32 ecp_nistz256_avx2_convert_transpose_back: vzeroupper ___ $code.=<<___ if ($win64); lea -8-16*10(%rsp), %rsp vmovaps %xmm6, -8-16*10(%rax) vmovaps %xmm7, -8-16*9(%rax) vmovaps %xmm8, -8-16*8(%rax) vmovaps %xmm9, -8-16*7(%rax) vmovaps %xmm10, -8-16*6(%rax) vmovaps %xmm11, -8-16*5(%rax) vmovaps %xmm12, -8-16*4(%rax) vmovaps %xmm13, -8-16*3(%rax) vmovaps %xmm14, -8-16*2(%rax) vmovaps %xmm15, -8-16*1(%rax) ___ $code.=<<___; mov \$3, %ecx .Lconv_loop: vmovdqa 32*0(%rsi), $D0 lea 160(%rsi), %rax # size optimization vmovdqa 32*1(%rsi), $D1 vmovdqa 32*2(%rsi), $D2 vmovdqa 32*3(%rsi), $D3 vmovdqa 32*4-160(%rax), $D4 vmovdqa 32*5-160(%rax), $D5 vmovdqa 32*6-160(%rax), $D6 vmovdqa 32*7-160(%rax), $D7 vmovdqa 32*8-160(%rax), $D8 vpsllq \$29, $D1, $D1 vpsllq \$58, $D2, $T0 vpaddq $D1, $D0, $D0 vpaddq $T0, $D0, $D0 # out[0] = (in[0]) ^ (in[1] << shift*1) ^ (in[2] << shift*2); vpsrlq \$6, $D2, $D2 vpsllq \$23, $D3, $D3 vpsllq \$52, $D4, $T1 vpaddq $D2, $D3, $D3 vpaddq $D3, $T1, $D1 # out[1] = (in[2] >> (64*1-shift*2)) ^ (in[3] << shift*3%64) ^ (in[4] << shift*4%64); vpsrlq \$12, $D4, $D4 vpsllq \$17, $D5, $D5 vpsllq \$46, $D6, $T2 vpaddq $D4, $D5, $D5 vpaddq $D5, $T2, $D2 # out[2] = (in[4] >> (64*2-shift*4)) ^ (in[5] << shift*5%64) ^ (in[6] << shift*6%64); vpsrlq \$18, $D6, $D6 vpsllq \$11, $D7, $D7 vpsllq \$40, $D8, $T3 vpaddq $D6, $D7, $D7 vpaddq $D7, $T3, $D3 # out[3] = (in[6] >> (64*3-shift*6)) ^ (in[7] << shift*7%64) ^ (in[8] << shift*8%64); vpunpcklqdq $D1, $D0, $T0 # T0 = [B2 A2 B0 A0] vpunpcklqdq $D3, $D2, $T1 # T1 = [D2 C2 D0 C0] vpunpckhqdq $D1, $D0, $T2 # T2 = [B3 A3 B1 A1] vpunpckhqdq $D3, $D2, $T3 # T3 = [D3 C3 D1 C1] vperm2i128 \$0x20, $T1, $T0, $D0 # X0 = [D0 C0 B0 A0] vperm2i128 \$0x20, $T3, $T2, $D1 # X1 = [D1 C1 B1 A1] vperm2i128 \$0x31, $T1, $T0, $D2 # X2 = [D2 C2 B2 A2] vperm2i128 \$0x31, $T3, $T2, $D3 # X3 = [D3 C3 B3 A3] vmovdqa $D0, 32*0(%rdi) vmovdqa $D1, 32*3(%rdi) vmovdqa $D2, 32*6(%rdi) vmovdqa $D3, 32*9(%rdi) lea 32*9(%rsi), %rsi lea 32*1(%rdi), %rdi dec %ecx jnz .Lconv_loop vzeroupper ___ $code.=<<___ if ($win64); movaps 16*0(%rsp), %xmm6 movaps 16*1(%rsp), %xmm7 movaps 16*2(%rsp), %xmm8 movaps 16*3(%rsp), %xmm9 movaps 16*4(%rsp), %xmm10 movaps 16*5(%rsp), %xmm11 movaps 16*6(%rsp), %xmm12 movaps 16*7(%rsp), %xmm13 movaps 16*8(%rsp), %xmm14 movaps 16*9(%rsp), %xmm15 lea 8+16*10(%rsp), %rsp ___ $code.=<<___; ret .size ecp_nistz256_avx2_convert_transpose_back,.-ecp_nistz256_avx2_convert_transpose_back ___ } { my ($r_ptr,$a_ptr,$b_ptr,$itr)=("%rdi","%rsi","%rdx","%ecx"); my ($ACC0,$ACC1,$ACC2,$ACC3,$ACC4,$ACC5,$ACC6,$ACC7,$ACC8)=map("%ymm$_",(0..8)); my ($B,$Y,$T0,$AND_MASK,$OVERFLOW)=map("%ymm$_",(9..13)); sub NORMALIZE { my $ret=<<___; vpsrlq $digit_size, $ACC0, $T0 vpand $AND_MASK, $ACC0, $ACC0 vpaddq $T0, $ACC1, $ACC1 vpsrlq $digit_size, $ACC1, $T0 vpand $AND_MASK, $ACC1, $ACC1 vpaddq $T0, $ACC2, $ACC2 vpsrlq $digit_size, $ACC2, $T0 vpand $AND_MASK, $ACC2, $ACC2 vpaddq $T0, $ACC3, $ACC3 vpsrlq $digit_size, $ACC3, $T0 vpand $AND_MASK, $ACC3, $ACC3 vpaddq $T0, $ACC4, $ACC4 vpsrlq $digit_size, $ACC4, $T0 vpand $AND_MASK, $ACC4, $ACC4 vpaddq $T0, $ACC5, $ACC5 vpsrlq $digit_size, $ACC5, $T0 vpand $AND_MASK, $ACC5, $ACC5 vpaddq $T0, $ACC6, $ACC6 vpsrlq $digit_size, $ACC6, $T0 vpand $AND_MASK, $ACC6, $ACC6 vpaddq $T0, $ACC7, $ACC7 vpsrlq $digit_size, $ACC7, $T0 vpand $AND_MASK, $ACC7, $ACC7 vpaddq $T0, $ACC8, $ACC8 #vpand $AND_MASK, $ACC8, $ACC8 ___ $ret; } sub STORE { my $ret=<<___; vmovdqa $ACC0, 32*0(%rdi) lea 160(%rdi), %rax # size optimization vmovdqa $ACC1, 32*1(%rdi) vmovdqa $ACC2, 32*2(%rdi) vmovdqa $ACC3, 32*3(%rdi) vmovdqa $ACC4, 32*4-160(%rax) vmovdqa $ACC5, 32*5-160(%rax) vmovdqa $ACC6, 32*6-160(%rax) vmovdqa $ACC7, 32*7-160(%rax) vmovdqa $ACC8, 32*8-160(%rax) ___ $ret; } $code.=<<___; .type avx2_normalize,\@abi-omnipotent .align 32 avx2_normalize: vpsrlq $digit_size, $ACC0, $T0 vpand $AND_MASK, $ACC0, $ACC0 vpaddq $T0, $ACC1, $ACC1 vpsrlq $digit_size, $ACC1, $T0 vpand $AND_MASK, $ACC1, $ACC1 vpaddq $T0, $ACC2, $ACC2 vpsrlq $digit_size, $ACC2, $T0 vpand $AND_MASK, $ACC2, $ACC2 vpaddq $T0, $ACC3, $ACC3 vpsrlq $digit_size, $ACC3, $T0 vpand $AND_MASK, $ACC3, $ACC3 vpaddq $T0, $ACC4, $ACC4 vpsrlq $digit_size, $ACC4, $T0 vpand $AND_MASK, $ACC4, $ACC4 vpaddq $T0, $ACC5, $ACC5 vpsrlq $digit_size, $ACC5, $T0 vpand $AND_MASK, $ACC5, $ACC5 vpaddq $T0, $ACC6, $ACC6 vpsrlq $digit_size, $ACC6, $T0 vpand $AND_MASK, $ACC6, $ACC6 vpaddq $T0, $ACC7, $ACC7 vpsrlq $digit_size, $ACC7, $T0 vpand $AND_MASK, $ACC7, $ACC7 vpaddq $T0, $ACC8, $ACC8 #vpand $AND_MASK, $ACC8, $ACC8 ret .size avx2_normalize,.-avx2_normalize .type avx2_normalize_n_store,\@abi-omnipotent .align 32 avx2_normalize_n_store: vpsrlq $digit_size, $ACC0, $T0 vpand $AND_MASK, $ACC0, $ACC0 vpaddq $T0, $ACC1, $ACC1 vpsrlq $digit_size, $ACC1, $T0 vpand $AND_MASK, $ACC1, $ACC1 vmovdqa $ACC0, 32*0(%rdi) lea 160(%rdi), %rax # size optimization vpaddq $T0, $ACC2, $ACC2 vpsrlq $digit_size, $ACC2, $T0 vpand $AND_MASK, $ACC2, $ACC2 vmovdqa $ACC1, 32*1(%rdi) vpaddq $T0, $ACC3, $ACC3 vpsrlq $digit_size, $ACC3, $T0 vpand $AND_MASK, $ACC3, $ACC3 vmovdqa $ACC2, 32*2(%rdi) vpaddq $T0, $ACC4, $ACC4 vpsrlq $digit_size, $ACC4, $T0 vpand $AND_MASK, $ACC4, $ACC4 vmovdqa $ACC3, 32*3(%rdi) vpaddq $T0, $ACC5, $ACC5 vpsrlq $digit_size, $ACC5, $T0 vpand $AND_MASK, $ACC5, $ACC5 vmovdqa $ACC4, 32*4-160(%rax) vpaddq $T0, $ACC6, $ACC6 vpsrlq $digit_size, $ACC6, $T0 vpand $AND_MASK, $ACC6, $ACC6 vmovdqa $ACC5, 32*5-160(%rax) vpaddq $T0, $ACC7, $ACC7 vpsrlq $digit_size, $ACC7, $T0 vpand $AND_MASK, $ACC7, $ACC7 vmovdqa $ACC6, 32*6-160(%rax) vpaddq $T0, $ACC8, $ACC8 #vpand $AND_MASK, $ACC8, $ACC8 vmovdqa $ACC7, 32*7-160(%rax) vmovdqa $ACC8, 32*8-160(%rax) ret .size avx2_normalize_n_store,.-avx2_normalize_n_store ################################################################################ # void avx2_mul_x4(void* RESULTx4, void *Ax4, void *Bx4); .type avx2_mul_x4,\@abi-omnipotent .align 32 avx2_mul_x4: lea .LAVX2_POLY(%rip), %rax vpxor $ACC0, $ACC0, $ACC0 vpxor $ACC1, $ACC1, $ACC1 vpxor $ACC2, $ACC2, $ACC2 vpxor $ACC3, $ACC3, $ACC3 vpxor $ACC4, $ACC4, $ACC4 vpxor $ACC5, $ACC5, $ACC5 vpxor $ACC6, $ACC6, $ACC6 vpxor $ACC7, $ACC7, $ACC7 vmovdqa 32*7(%rax), %ymm14 vmovdqa 32*8(%rax), %ymm15 mov $n_digits, $itr lea -512($a_ptr), $a_ptr # strategic bias to control u-op density jmp .Lavx2_mul_x4_loop .align 32 .Lavx2_mul_x4_loop: vmovdqa 32*0($b_ptr), $B lea 32*1($b_ptr), $b_ptr vpmuludq 32*0+512($a_ptr), $B, $T0 vpmuludq 32*1+512($a_ptr), $B, $OVERFLOW # borrow $OVERFLOW vpaddq $T0, $ACC0, $ACC0 vpmuludq 32*2+512($a_ptr), $B, $T0 vpaddq $OVERFLOW, $ACC1, $ACC1 vpand $AND_MASK, $ACC0, $Y vpmuludq 32*3+512($a_ptr), $B, $OVERFLOW vpaddq $T0, $ACC2, $ACC2 vpmuludq 32*4+512($a_ptr), $B, $T0 vpaddq $OVERFLOW, $ACC3, $ACC3 vpmuludq 32*5+512($a_ptr), $B, $OVERFLOW vpaddq $T0, $ACC4, $ACC4 vpmuludq 32*6+512($a_ptr), $B, $T0 vpaddq $OVERFLOW, $ACC5, $ACC5 vpmuludq 32*7+512($a_ptr), $B, $OVERFLOW vpaddq $T0, $ACC6, $ACC6 # Skip some multiplications, optimizing for the constant poly vpmuludq $AND_MASK, $Y, $T0 vpaddq $OVERFLOW, $ACC7, $ACC7 vpmuludq 32*8+512($a_ptr), $B, $ACC8 vpaddq $T0, $ACC0, $OVERFLOW vpaddq $T0, $ACC1, $ACC0 vpsrlq $digit_size, $OVERFLOW, $OVERFLOW vpaddq $T0, $ACC2, $ACC1 vpmuludq 32*3(%rax), $Y, $T0 vpaddq $OVERFLOW, $ACC0, $ACC0 vpaddq $T0, $ACC3, $ACC2 .byte 0x67 vmovdqa $ACC4, $ACC3 vpsllq \$18, $Y, $OVERFLOW .byte 0x67 vmovdqa $ACC5, $ACC4 vpmuludq %ymm14, $Y, $T0 vpaddq $OVERFLOW, $ACC6, $ACC5 vpmuludq %ymm15, $Y, $OVERFLOW vpaddq $T0, $ACC7, $ACC6 vpaddq $OVERFLOW, $ACC8, $ACC7 dec $itr jnz .Lavx2_mul_x4_loop vpxor $ACC8, $ACC8, $ACC8 ret .size avx2_mul_x4,.-avx2_mul_x4 # Function optimized for the constant 1 ################################################################################ # void avx2_mul_by1_x4(void* RESULTx4, void *Ax4); .type avx2_mul_by1_x4,\@abi-omnipotent .align 32 avx2_mul_by1_x4: lea .LAVX2_POLY(%rip), %rax vpxor $ACC0, $ACC0, $ACC0 vpxor $ACC1, $ACC1, $ACC1 vpxor $ACC2, $ACC2, $ACC2 vpxor $ACC3, $ACC3, $ACC3 vpxor $ACC4, $ACC4, $ACC4 vpxor $ACC5, $ACC5, $ACC5 vpxor $ACC6, $ACC6, $ACC6 vpxor $ACC7, $ACC7, $ACC7 vpxor $ACC8, $ACC8, $ACC8 vmovdqa 32*3+.LONE(%rip), %ymm14 vmovdqa 32*7+.LONE(%rip), %ymm15 mov $n_digits, $itr jmp .Lavx2_mul_by1_x4_loop .align 32 .Lavx2_mul_by1_x4_loop: vmovdqa 32*0($a_ptr), $B .byte 0x48,0x8d,0xb6,0x20,0,0,0 # lea 32*1($a_ptr), $a_ptr vpsllq \$5, $B, $OVERFLOW vpmuludq %ymm14, $B, $T0 vpaddq $OVERFLOW, $ACC0, $ACC0 vpaddq $T0, $ACC3, $ACC3 .byte 0x67 vpmuludq $AND_MASK, $B, $T0 vpand $AND_MASK, $ACC0, $Y vpaddq $T0, $ACC4, $ACC4 vpaddq $T0, $ACC5, $ACC5 vpaddq $T0, $ACC6, $ACC6 vpsllq \$23, $B, $T0 .byte 0x67,0x67 vpmuludq %ymm15, $B, $OVERFLOW vpsubq $T0, $ACC6, $ACC6 vpmuludq $AND_MASK, $Y, $T0 vpaddq $OVERFLOW, $ACC7, $ACC7 vpaddq $T0, $ACC0, $OVERFLOW vpaddq $T0, $ACC1, $ACC0 .byte 0x67,0x67 vpsrlq $digit_size, $OVERFLOW, $OVERFLOW vpaddq $T0, $ACC2, $ACC1 vpmuludq 32*3(%rax), $Y, $T0 vpaddq $OVERFLOW, $ACC0, $ACC0 vpaddq $T0, $ACC3, $ACC2 vmovdqa $ACC4, $ACC3 vpsllq \$18, $Y, $OVERFLOW vmovdqa $ACC5, $ACC4 vpmuludq 32*7(%rax), $Y, $T0 vpaddq $OVERFLOW, $ACC6, $ACC5 vpaddq $T0, $ACC7, $ACC6 vpmuludq 32*8(%rax), $Y, $ACC7 dec $itr jnz .Lavx2_mul_by1_x4_loop ret .size avx2_mul_by1_x4,.-avx2_mul_by1_x4 ################################################################################ # void avx2_sqr_x4(void* RESULTx4, void *Ax4, void *Bx4); .type avx2_sqr_x4,\@abi-omnipotent .align 32 avx2_sqr_x4: lea .LAVX2_POLY(%rip), %rax vmovdqa 32*7(%rax), %ymm14 vmovdqa 32*8(%rax), %ymm15 vmovdqa 32*0($a_ptr), $B vmovdqa 32*1($a_ptr), $ACC1 vmovdqa 32*2($a_ptr), $ACC2 vmovdqa 32*3($a_ptr), $ACC3 vmovdqa 32*4($a_ptr), $ACC4 vmovdqa 32*5($a_ptr), $ACC5 vmovdqa 32*6($a_ptr), $ACC6 vmovdqa 32*7($a_ptr), $ACC7 vpaddq $ACC1, $ACC1, $ACC1 # 2*$ACC0..7 vmovdqa 32*8($a_ptr), $ACC8 vpaddq $ACC2, $ACC2, $ACC2 vmovdqa $ACC1, 32*0(%rcx) vpaddq $ACC3, $ACC3, $ACC3 vmovdqa $ACC2, 32*1(%rcx) vpaddq $ACC4, $ACC4, $ACC4 vmovdqa $ACC3, 32*2(%rcx) vpaddq $ACC5, $ACC5, $ACC5 vmovdqa $ACC4, 32*3(%rcx) vpaddq $ACC6, $ACC6, $ACC6 vmovdqa $ACC5, 32*4(%rcx) vpaddq $ACC7, $ACC7, $ACC7 vmovdqa $ACC6, 32*5(%rcx) vpaddq $ACC8, $ACC8, $ACC8 vmovdqa $ACC7, 32*6(%rcx) vmovdqa $ACC8, 32*7(%rcx) #itr 1 vpmuludq $B, $B, $ACC0 vpmuludq $B, $ACC1, $ACC1 vpand $AND_MASK, $ACC0, $Y vpmuludq $B, $ACC2, $ACC2 vpmuludq $B, $ACC3, $ACC3 vpmuludq $B, $ACC4, $ACC4 vpmuludq $B, $ACC5, $ACC5 vpmuludq $B, $ACC6, $ACC6 vpmuludq $AND_MASK, $Y, $T0 vpmuludq $B, $ACC7, $ACC7 vpmuludq $B, $ACC8, $ACC8 vmovdqa 32*1($a_ptr), $B vpaddq $T0, $ACC0, $OVERFLOW vpaddq $T0, $ACC1, $ACC0 vpsrlq $digit_size, $OVERFLOW, $OVERFLOW vpaddq $T0, $ACC2, $ACC1 vpmuludq 32*3(%rax), $Y, $T0 vpaddq $OVERFLOW, $ACC0, $ACC0 vpaddq $T0, $ACC3, $ACC2 vmovdqa $ACC4, $ACC3 vpsllq \$18, $Y, $T0 vmovdqa $ACC5, $ACC4 vpmuludq %ymm14, $Y, $OVERFLOW vpaddq $T0, $ACC6, $ACC5 vpmuludq %ymm15, $Y, $T0 vpaddq $OVERFLOW, $ACC7, $ACC6 vpaddq $T0, $ACC8, $ACC7 #itr 2 vpmuludq $B, $B, $OVERFLOW vpand $AND_MASK, $ACC0, $Y vpmuludq 32*1(%rcx), $B, $T0 vpaddq $OVERFLOW, $ACC1, $ACC1 vpmuludq 32*2(%rcx), $B, $OVERFLOW vpaddq $T0, $ACC2, $ACC2 vpmuludq 32*3(%rcx), $B, $T0 vpaddq $OVERFLOW, $ACC3, $ACC3 vpmuludq 32*4(%rcx), $B, $OVERFLOW vpaddq $T0, $ACC4, $ACC4 vpmuludq 32*5(%rcx), $B, $T0 vpaddq $OVERFLOW, $ACC5, $ACC5 vpmuludq 32*6(%rcx), $B, $OVERFLOW vpaddq $T0, $ACC6, $ACC6 vpmuludq $AND_MASK, $Y, $T0 vpaddq $OVERFLOW, $ACC7, $ACC7 vpmuludq 32*7(%rcx), $B, $ACC8 vmovdqa 32*2($a_ptr), $B vpaddq $T0, $ACC0, $OVERFLOW vpaddq $T0, $ACC1, $ACC0 vpsrlq $digit_size, $OVERFLOW, $OVERFLOW vpaddq $T0, $ACC2, $ACC1 vpmuludq 32*3(%rax), $Y, $T0 vpaddq $OVERFLOW, $ACC0, $ACC0 vpaddq $T0, $ACC3, $ACC2 vmovdqa $ACC4, $ACC3 vpsllq \$18, $Y, $T0 vmovdqa $ACC5, $ACC4 vpmuludq %ymm14, $Y, $OVERFLOW vpaddq $T0, $ACC6, $ACC5 vpmuludq %ymm15, $Y, $T0 vpaddq $OVERFLOW, $ACC7, $ACC6 vpaddq $T0, $ACC8, $ACC7 #itr 3 vpmuludq $B, $B, $T0 vpand $AND_MASK, $ACC0, $Y vpmuludq 32*2(%rcx), $B, $OVERFLOW vpaddq $T0, $ACC2, $ACC2 vpmuludq 32*3(%rcx), $B, $T0 vpaddq $OVERFLOW, $ACC3, $ACC3 vpmuludq 32*4(%rcx), $B, $OVERFLOW vpaddq $T0, $ACC4, $ACC4 vpmuludq 32*5(%rcx), $B, $T0 vpaddq $OVERFLOW, $ACC5, $ACC5 vpmuludq 32*6(%rcx), $B, $OVERFLOW vpaddq $T0, $ACC6, $ACC6 vpmuludq $AND_MASK, $Y, $T0 vpaddq $OVERFLOW, $ACC7, $ACC7 vpmuludq 32*7(%rcx), $B, $ACC8 vmovdqa 32*3($a_ptr), $B vpaddq $T0, $ACC0, $OVERFLOW vpaddq $T0, $ACC1, $ACC0 vpsrlq $digit_size, $OVERFLOW, $OVERFLOW vpaddq $T0, $ACC2, $ACC1 vpmuludq 32*3(%rax), $Y, $T0 vpaddq $OVERFLOW, $ACC0, $ACC0 vpaddq $T0, $ACC3, $ACC2 vmovdqa $ACC4, $ACC3 vpsllq \$18, $Y, $T0 vmovdqa $ACC5, $ACC4 vpmuludq %ymm14, $Y, $OVERFLOW vpaddq $T0, $ACC6, $ACC5 vpmuludq %ymm15, $Y, $T0 vpand $AND_MASK, $ACC0, $Y vpaddq $OVERFLOW, $ACC7, $ACC6 vpaddq $T0, $ACC8, $ACC7 #itr 4 vpmuludq $B, $B, $OVERFLOW vpmuludq 32*3(%rcx), $B, $T0 vpaddq $OVERFLOW, $ACC3, $ACC3 vpmuludq 32*4(%rcx), $B, $OVERFLOW vpaddq $T0, $ACC4, $ACC4 vpmuludq 32*5(%rcx), $B, $T0 vpaddq $OVERFLOW, $ACC5, $ACC5 vpmuludq 32*6(%rcx), $B, $OVERFLOW vpaddq $T0, $ACC6, $ACC6 vpmuludq $AND_MASK, $Y, $T0 vpaddq $OVERFLOW, $ACC7, $ACC7 vpmuludq 32*7(%rcx), $B, $ACC8 vmovdqa 32*4($a_ptr), $B vpaddq $T0, $ACC0, $OVERFLOW vpaddq $T0, $ACC1, $ACC0 vpsrlq $digit_size, $OVERFLOW, $OVERFLOW vpaddq $T0, $ACC2, $ACC1 vpmuludq 32*3(%rax), $Y, $T0 vpaddq $OVERFLOW, $ACC0, $ACC0 vpaddq $T0, $ACC3, $ACC2 vmovdqa $ACC4, $ACC3 vpsllq \$18, $Y, $T0 vmovdqa $ACC5, $ACC4 vpmuludq %ymm14, $Y, $OVERFLOW vpaddq $T0, $ACC6, $ACC5 vpmuludq %ymm15, $Y, $T0 vpand $AND_MASK, $ACC0, $Y vpaddq $OVERFLOW, $ACC7, $ACC6 vpaddq $T0, $ACC8, $ACC7 #itr 5 vpmuludq $B, $B, $T0 vpmuludq 32*4(%rcx), $B, $OVERFLOW vpaddq $T0, $ACC4, $ACC4 vpmuludq 32*5(%rcx), $B, $T0 vpaddq $OVERFLOW, $ACC5, $ACC5 vpmuludq 32*6(%rcx), $B, $OVERFLOW vpaddq $T0, $ACC6, $ACC6 vpmuludq $AND_MASK, $Y, $T0 vpaddq $OVERFLOW, $ACC7, $ACC7 vpmuludq 32*7(%rcx), $B, $ACC8 vmovdqa 32*5($a_ptr), $B vpaddq $T0, $ACC0, $OVERFLOW vpsrlq $digit_size, $OVERFLOW, $OVERFLOW vpaddq $T0, $ACC1, $ACC0 vpaddq $T0, $ACC2, $ACC1 vpmuludq 32*3+.LAVX2_POLY(%rip), $Y, $T0 vpaddq $OVERFLOW, $ACC0, $ACC0 vpaddq $T0, $ACC3, $ACC2 vmovdqa $ACC4, $ACC3 vpsllq \$18, $Y, $T0 vmovdqa $ACC5, $ACC4 vpmuludq %ymm14, $Y, $OVERFLOW vpaddq $T0, $ACC6, $ACC5 vpmuludq %ymm15, $Y, $T0 vpand $AND_MASK, $ACC0, $Y vpaddq $OVERFLOW, $ACC7, $ACC6 vpaddq $T0, $ACC8, $ACC7 #itr 6 vpmuludq $B, $B, $OVERFLOW vpmuludq 32*5(%rcx), $B, $T0 vpaddq $OVERFLOW, $ACC5, $ACC5 vpmuludq 32*6(%rcx), $B, $OVERFLOW vpaddq $T0, $ACC6, $ACC6 vpmuludq $AND_MASK, $Y, $T0 vpaddq $OVERFLOW, $ACC7, $ACC7 vpmuludq 32*7(%rcx), $B, $ACC8 vmovdqa 32*6($a_ptr), $B vpaddq $T0, $ACC0, $OVERFLOW vpaddq $T0, $ACC1, $ACC0 vpsrlq $digit_size, $OVERFLOW, $OVERFLOW vpaddq $T0, $ACC2, $ACC1 vpmuludq 32*3(%rax), $Y, $T0 vpaddq $OVERFLOW, $ACC0, $ACC0 vpaddq $T0, $ACC3, $ACC2 vmovdqa $ACC4, $ACC3 vpsllq \$18, $Y, $T0 vmovdqa $ACC5, $ACC4 vpmuludq %ymm14, $Y, $OVERFLOW vpaddq $T0, $ACC6, $ACC5 vpmuludq %ymm15, $Y, $T0 vpand $AND_MASK, $ACC0, $Y vpaddq $OVERFLOW, $ACC7, $ACC6 vpaddq $T0, $ACC8, $ACC7 #itr 7 vpmuludq $B, $B, $T0 vpmuludq 32*6(%rcx), $B, $OVERFLOW vpaddq $T0, $ACC6, $ACC6 vpmuludq $AND_MASK, $Y, $T0 vpaddq $OVERFLOW, $ACC7, $ACC7 vpmuludq 32*7(%rcx), $B, $ACC8 vmovdqa 32*7($a_ptr), $B vpaddq $T0, $ACC0, $OVERFLOW vpsrlq $digit_size, $OVERFLOW, $OVERFLOW vpaddq $T0, $ACC1, $ACC0 vpaddq $T0, $ACC2, $ACC1 vpmuludq 32*3(%rax), $Y, $T0 vpaddq $OVERFLOW, $ACC0, $ACC0 vpaddq $T0, $ACC3, $ACC2 vmovdqa $ACC4, $ACC3 vpsllq \$18, $Y, $T0 vmovdqa $ACC5, $ACC4 vpmuludq %ymm14, $Y, $OVERFLOW vpaddq $T0, $ACC6, $ACC5 vpmuludq %ymm15, $Y, $T0 vpand $AND_MASK, $ACC0, $Y vpaddq $OVERFLOW, $ACC7, $ACC6 vpaddq $T0, $ACC8, $ACC7 #itr 8 vpmuludq $B, $B, $OVERFLOW vpmuludq $AND_MASK, $Y, $T0 vpaddq $OVERFLOW, $ACC7, $ACC7 vpmuludq 32*7(%rcx), $B, $ACC8 vmovdqa 32*8($a_ptr), $B vpaddq $T0, $ACC0, $OVERFLOW vpsrlq $digit_size, $OVERFLOW, $OVERFLOW vpaddq $T0, $ACC1, $ACC0 vpaddq $T0, $ACC2, $ACC1 vpmuludq 32*3(%rax), $Y, $T0 vpaddq $OVERFLOW, $ACC0, $ACC0 vpaddq $T0, $ACC3, $ACC2 vmovdqa $ACC4, $ACC3 vpsllq \$18, $Y, $T0 vmovdqa $ACC5, $ACC4 vpmuludq %ymm14, $Y, $OVERFLOW vpaddq $T0, $ACC6, $ACC5 vpmuludq %ymm15, $Y, $T0 vpand $AND_MASK, $ACC0, $Y vpaddq $OVERFLOW, $ACC7, $ACC6 vpaddq $T0, $ACC8, $ACC7 #itr 9 vpmuludq $B, $B, $ACC8 vpmuludq $AND_MASK, $Y, $T0 vpaddq $T0, $ACC0, $OVERFLOW vpsrlq $digit_size, $OVERFLOW, $OVERFLOW vpaddq $T0, $ACC1, $ACC0 vpaddq $T0, $ACC2, $ACC1 vpmuludq 32*3(%rax), $Y, $T0 vpaddq $OVERFLOW, $ACC0, $ACC0 vpaddq $T0, $ACC3, $ACC2 vmovdqa $ACC4, $ACC3 vpsllq \$18, $Y, $T0 vmovdqa $ACC5, $ACC4 vpmuludq %ymm14, $Y, $OVERFLOW vpaddq $T0, $ACC6, $ACC5 vpmuludq %ymm15, $Y, $T0 vpaddq $OVERFLOW, $ACC7, $ACC6 vpaddq $T0, $ACC8, $ACC7 vpxor $ACC8, $ACC8, $ACC8 ret .size avx2_sqr_x4,.-avx2_sqr_x4 ################################################################################ # void avx2_sub_x4(void* RESULTx4, void *Ax4, void *Bx4); .type avx2_sub_x4,\@abi-omnipotent .align 32 avx2_sub_x4: vmovdqa 32*0($a_ptr), $ACC0 lea 160($a_ptr), $a_ptr lea .LAVX2_POLY_x8+128(%rip), %rax lea 128($b_ptr), $b_ptr vmovdqa 32*1-160($a_ptr), $ACC1 vmovdqa 32*2-160($a_ptr), $ACC2 vmovdqa 32*3-160($a_ptr), $ACC3 vmovdqa 32*4-160($a_ptr), $ACC4 vmovdqa 32*5-160($a_ptr), $ACC5 vmovdqa 32*6-160($a_ptr), $ACC6 vmovdqa 32*7-160($a_ptr), $ACC7 vmovdqa 32*8-160($a_ptr), $ACC8 vpaddq 32*0-128(%rax), $ACC0, $ACC0 vpaddq 32*1-128(%rax), $ACC1, $ACC1 vpaddq 32*2-128(%rax), $ACC2, $ACC2 vpaddq 32*3-128(%rax), $ACC3, $ACC3 vpaddq 32*4-128(%rax), $ACC4, $ACC4 vpaddq 32*5-128(%rax), $ACC5, $ACC5 vpaddq 32*6-128(%rax), $ACC6, $ACC6 vpaddq 32*7-128(%rax), $ACC7, $ACC7 vpaddq 32*8-128(%rax), $ACC8, $ACC8 vpsubq 32*0-128($b_ptr), $ACC0, $ACC0 vpsubq 32*1-128($b_ptr), $ACC1, $ACC1 vpsubq 32*2-128($b_ptr), $ACC2, $ACC2 vpsubq 32*3-128($b_ptr), $ACC3, $ACC3 vpsubq 32*4-128($b_ptr), $ACC4, $ACC4 vpsubq 32*5-128($b_ptr), $ACC5, $ACC5 vpsubq 32*6-128($b_ptr), $ACC6, $ACC6 vpsubq 32*7-128($b_ptr), $ACC7, $ACC7 vpsubq 32*8-128($b_ptr), $ACC8, $ACC8 ret .size avx2_sub_x4,.-avx2_sub_x4 .type avx2_select_n_store,\@abi-omnipotent .align 32 avx2_select_n_store: vmovdqa `8+32*9*8`(%rsp), $Y vpor `8+32*9*8+32`(%rsp), $Y, $Y vpandn $ACC0, $Y, $ACC0 vpandn $ACC1, $Y, $ACC1 vpandn $ACC2, $Y, $ACC2 vpandn $ACC3, $Y, $ACC3 vpandn $ACC4, $Y, $ACC4 vpandn $ACC5, $Y, $ACC5 vpandn $ACC6, $Y, $ACC6 vmovdqa `8+32*9*8+32`(%rsp), $B vpandn $ACC7, $Y, $ACC7 vpandn `8+32*9*8`(%rsp), $B, $B vpandn $ACC8, $Y, $ACC8 vpand 32*0(%rsi), $B, $T0 lea 160(%rsi), %rax vpand 32*1(%rsi), $B, $Y vpxor $T0, $ACC0, $ACC0 vpand 32*2(%rsi), $B, $T0 vpxor $Y, $ACC1, $ACC1 vpand 32*3(%rsi), $B, $Y vpxor $T0, $ACC2, $ACC2 vpand 32*4-160(%rax), $B, $T0 vpxor $Y, $ACC3, $ACC3 vpand 32*5-160(%rax), $B, $Y vpxor $T0, $ACC4, $ACC4 vpand 32*6-160(%rax), $B, $T0 vpxor $Y, $ACC5, $ACC5 vpand 32*7-160(%rax), $B, $Y vpxor $T0, $ACC6, $ACC6 vpand 32*8-160(%rax), $B, $T0 vmovdqa `8+32*9*8+32`(%rsp), $B vpxor $Y, $ACC7, $ACC7 vpand 32*0(%rdx), $B, $Y lea 160(%rdx), %rax vpxor $T0, $ACC8, $ACC8 vpand 32*1(%rdx), $B, $T0 vpxor $Y, $ACC0, $ACC0 vpand 32*2(%rdx), $B, $Y vpxor $T0, $ACC1, $ACC1 vpand 32*3(%rdx), $B, $T0 vpxor $Y, $ACC2, $ACC2 vpand 32*4-160(%rax), $B, $Y vpxor $T0, $ACC3, $ACC3 vpand 32*5-160(%rax), $B, $T0 vpxor $Y, $ACC4, $ACC4 vpand 32*6-160(%rax), $B, $Y vpxor $T0, $ACC5, $ACC5 vpand 32*7-160(%rax), $B, $T0 vpxor $Y, $ACC6, $ACC6 vpand 32*8-160(%rax), $B, $Y vpxor $T0, $ACC7, $ACC7 vpxor $Y, $ACC8, $ACC8 `&STORE` ret .size avx2_select_n_store,.-avx2_select_n_store ___ $code.=<<___ if (0); # inlined ################################################################################ # void avx2_mul_by2_x4(void* RESULTx4, void *Ax4); .type avx2_mul_by2_x4,\@abi-omnipotent .align 32 avx2_mul_by2_x4: vmovdqa 32*0($a_ptr), $ACC0 lea 160($a_ptr), %rax vmovdqa 32*1($a_ptr), $ACC1 vmovdqa 32*2($a_ptr), $ACC2 vmovdqa 32*3($a_ptr), $ACC3 vmovdqa 32*4-160(%rax), $ACC4 vmovdqa 32*5-160(%rax), $ACC5 vmovdqa 32*6-160(%rax), $ACC6 vmovdqa 32*7-160(%rax), $ACC7 vmovdqa 32*8-160(%rax), $ACC8 vpaddq $ACC0, $ACC0, $ACC0 vpaddq $ACC1, $ACC1, $ACC1 vpaddq $ACC2, $ACC2, $ACC2 vpaddq $ACC3, $ACC3, $ACC3 vpaddq $ACC4, $ACC4, $ACC4 vpaddq $ACC5, $ACC5, $ACC5 vpaddq $ACC6, $ACC6, $ACC6 vpaddq $ACC7, $ACC7, $ACC7 vpaddq $ACC8, $ACC8, $ACC8 ret .size avx2_mul_by2_x4,.-avx2_mul_by2_x4 ___ my ($r_ptr_in,$a_ptr_in,$b_ptr_in)=("%rdi","%rsi","%rdx"); my ($r_ptr,$a_ptr,$b_ptr)=("%r8","%r9","%r10"); $code.=<<___; ################################################################################ # void ecp_nistz256_avx2_point_add_affine_x4(void* RESULTx4, void *Ax4, void *Bx4); .globl ecp_nistz256_avx2_point_add_affine_x4 .type ecp_nistz256_avx2_point_add_affine_x4,\@function,3 .align 32 ecp_nistz256_avx2_point_add_affine_x4: mov %rsp, %rax push %rbp vzeroupper ___ $code.=<<___ if ($win64); lea -16*10(%rsp), %rsp vmovaps %xmm6, -8-16*10(%rax) vmovaps %xmm7, -8-16*9(%rax) vmovaps %xmm8, -8-16*8(%rax) vmovaps %xmm9, -8-16*7(%rax) vmovaps %xmm10, -8-16*6(%rax) vmovaps %xmm11, -8-16*5(%rax) vmovaps %xmm12, -8-16*4(%rax) vmovaps %xmm13, -8-16*3(%rax) vmovaps %xmm14, -8-16*2(%rax) vmovaps %xmm15, -8-16*1(%rax) ___ $code.=<<___; lea -8(%rax), %rbp # Result + 32*0 = Result.X # Result + 32*9 = Result.Y # Result + 32*18 = Result.Z # A + 32*0 = A.X # A + 32*9 = A.Y # A + 32*18 = A.Z # B + 32*0 = B.X # B + 32*9 = B.Y sub \$`32*9*8+32*2+32*8`, %rsp and \$-64, %rsp mov $r_ptr_in, $r_ptr mov $a_ptr_in, $a_ptr mov $b_ptr_in, $b_ptr vmovdqa 32*0($a_ptr_in), %ymm0 vmovdqa .LAVX2_AND_MASK(%rip), $AND_MASK vpxor %ymm1, %ymm1, %ymm1 lea 256($a_ptr_in), %rax # size optimization vpor 32*1($a_ptr_in), %ymm0, %ymm0 vpor 32*2($a_ptr_in), %ymm0, %ymm0 vpor 32*3($a_ptr_in), %ymm0, %ymm0 vpor 32*4-256(%rax), %ymm0, %ymm0 lea 256(%rax), %rcx # size optimization vpor 32*5-256(%rax), %ymm0, %ymm0 vpor 32*6-256(%rax), %ymm0, %ymm0 vpor 32*7-256(%rax), %ymm0, %ymm0 vpor 32*8-256(%rax), %ymm0, %ymm0 vpor 32*9-256(%rax), %ymm0, %ymm0 vpor 32*10-256(%rax), %ymm0, %ymm0 vpor 32*11-256(%rax), %ymm0, %ymm0 vpor 32*12-512(%rcx), %ymm0, %ymm0 vpor 32*13-512(%rcx), %ymm0, %ymm0 vpor 32*14-512(%rcx), %ymm0, %ymm0 vpor 32*15-512(%rcx), %ymm0, %ymm0 vpor 32*16-512(%rcx), %ymm0, %ymm0 vpor 32*17-512(%rcx), %ymm0, %ymm0 vpcmpeqq %ymm1, %ymm0, %ymm0 vmovdqa %ymm0, `32*9*8`(%rsp) vpxor %ymm1, %ymm1, %ymm1 vmovdqa 32*0($b_ptr), %ymm0 lea 256($b_ptr), %rax # size optimization vpor 32*1($b_ptr), %ymm0, %ymm0 vpor 32*2($b_ptr), %ymm0, %ymm0 vpor 32*3($b_ptr), %ymm0, %ymm0 vpor 32*4-256(%rax), %ymm0, %ymm0 lea 256(%rax), %rcx # size optimization vpor 32*5-256(%rax), %ymm0, %ymm0 vpor 32*6-256(%rax), %ymm0, %ymm0 vpor 32*7-256(%rax), %ymm0, %ymm0 vpor 32*8-256(%rax), %ymm0, %ymm0 vpor 32*9-256(%rax), %ymm0, %ymm0 vpor 32*10-256(%rax), %ymm0, %ymm0 vpor 32*11-256(%rax), %ymm0, %ymm0 vpor 32*12-512(%rcx), %ymm0, %ymm0 vpor 32*13-512(%rcx), %ymm0, %ymm0 vpor 32*14-512(%rcx), %ymm0, %ymm0 vpor 32*15-512(%rcx), %ymm0, %ymm0 vpor 32*16-512(%rcx), %ymm0, %ymm0 vpor 32*17-512(%rcx), %ymm0, %ymm0 vpcmpeqq %ymm1, %ymm0, %ymm0 vmovdqa %ymm0, `32*9*8+32`(%rsp) # Z1^2 = Z1*Z1 lea `32*9*2`($a_ptr), %rsi lea `32*9*2`(%rsp), %rdi lea `32*9*8+32*2`(%rsp), %rcx # temporary vector call avx2_sqr_x4 call avx2_normalize_n_store # U2 = X2*Z1^2 lea `32*9*0`($b_ptr), %rsi lea `32*9*2`(%rsp), %rdx lea `32*9*0`(%rsp), %rdi call avx2_mul_x4 #call avx2_normalize `&STORE` # S2 = Z1*Z1^2 = Z1^3 lea `32*9*2`($a_ptr), %rsi lea `32*9*2`(%rsp), %rdx lea `32*9*1`(%rsp), %rdi call avx2_mul_x4 call avx2_normalize_n_store # S2 = S2*Y2 = Y2*Z1^3 lea `32*9*1`($b_ptr), %rsi lea `32*9*1`(%rsp), %rdx lea `32*9*1`(%rsp), %rdi call avx2_mul_x4 call avx2_normalize_n_store # H = U2 - U1 = U2 - X1 lea `32*9*0`(%rsp), %rsi lea `32*9*0`($a_ptr), %rdx lea `32*9*3`(%rsp), %rdi call avx2_sub_x4 call avx2_normalize_n_store # R = S2 - S1 = S2 - Y1 lea `32*9*1`(%rsp), %rsi lea `32*9*1`($a_ptr), %rdx lea `32*9*4`(%rsp), %rdi call avx2_sub_x4 call avx2_normalize_n_store # Z3 = H*Z1*Z2 lea `32*9*3`(%rsp), %rsi lea `32*9*2`($a_ptr), %rdx lea `32*9*2`($r_ptr), %rdi call avx2_mul_x4 call avx2_normalize lea .LONE(%rip), %rsi lea `32*9*2`($a_ptr), %rdx call avx2_select_n_store # R^2 = R^2 lea `32*9*4`(%rsp), %rsi lea `32*9*6`(%rsp), %rdi lea `32*9*8+32*2`(%rsp), %rcx # temporary vector call avx2_sqr_x4 call avx2_normalize_n_store # H^2 = H^2 lea `32*9*3`(%rsp), %rsi lea `32*9*5`(%rsp), %rdi call avx2_sqr_x4 call avx2_normalize_n_store # H^3 = H^2*H lea `32*9*3`(%rsp), %rsi lea `32*9*5`(%rsp), %rdx lea `32*9*7`(%rsp), %rdi call avx2_mul_x4 call avx2_normalize_n_store # U2 = U1*H^2 lea `32*9*0`($a_ptr), %rsi lea `32*9*5`(%rsp), %rdx lea `32*9*0`(%rsp), %rdi call avx2_mul_x4 #call avx2_normalize `&STORE` # Hsqr = U2*2 #lea 32*9*0(%rsp), %rsi #lea 32*9*5(%rsp), %rdi #call avx2_mul_by2_x4 vpaddq $ACC0, $ACC0, $ACC0 # inlined avx2_mul_by2_x4 lea `32*9*5`(%rsp), %rdi vpaddq $ACC1, $ACC1, $ACC1 vpaddq $ACC2, $ACC2, $ACC2 vpaddq $ACC3, $ACC3, $ACC3 vpaddq $ACC4, $ACC4, $ACC4 vpaddq $ACC5, $ACC5, $ACC5 vpaddq $ACC6, $ACC6, $ACC6 vpaddq $ACC7, $ACC7, $ACC7 vpaddq $ACC8, $ACC8, $ACC8 call avx2_normalize_n_store # X3 = R^2 - H^3 #lea 32*9*6(%rsp), %rsi #lea 32*9*7(%rsp), %rdx #lea 32*9*5(%rsp), %rcx #lea 32*9*0($r_ptr), %rdi #call avx2_sub_x4 #NORMALIZE #STORE # X3 = X3 - U2*2 #lea 32*9*0($r_ptr), %rsi #lea 32*9*0($r_ptr), %rdi #call avx2_sub_x4 #NORMALIZE #STORE lea `32*9*6+128`(%rsp), %rsi lea .LAVX2_POLY_x2+128(%rip), %rax lea `32*9*7+128`(%rsp), %rdx lea `32*9*5+128`(%rsp), %rcx lea `32*9*0`($r_ptr), %rdi vmovdqa 32*0-128(%rsi), $ACC0 vmovdqa 32*1-128(%rsi), $ACC1 vmovdqa 32*2-128(%rsi), $ACC2 vmovdqa 32*3-128(%rsi), $ACC3 vmovdqa 32*4-128(%rsi), $ACC4 vmovdqa 32*5-128(%rsi), $ACC5 vmovdqa 32*6-128(%rsi), $ACC6 vmovdqa 32*7-128(%rsi), $ACC7 vmovdqa 32*8-128(%rsi), $ACC8 vpaddq 32*0-128(%rax), $ACC0, $ACC0 vpaddq 32*1-128(%rax), $ACC1, $ACC1 vpaddq 32*2-128(%rax), $ACC2, $ACC2 vpaddq 32*3-128(%rax), $ACC3, $ACC3 vpaddq 32*4-128(%rax), $ACC4, $ACC4 vpaddq 32*5-128(%rax), $ACC5, $ACC5 vpaddq 32*6-128(%rax), $ACC6, $ACC6 vpaddq 32*7-128(%rax), $ACC7, $ACC7 vpaddq 32*8-128(%rax), $ACC8, $ACC8 vpsubq 32*0-128(%rdx), $ACC0, $ACC0 vpsubq 32*1-128(%rdx), $ACC1, $ACC1 vpsubq 32*2-128(%rdx), $ACC2, $ACC2 vpsubq 32*3-128(%rdx), $ACC3, $ACC3 vpsubq 32*4-128(%rdx), $ACC4, $ACC4 vpsubq 32*5-128(%rdx), $ACC5, $ACC5 vpsubq 32*6-128(%rdx), $ACC6, $ACC6 vpsubq 32*7-128(%rdx), $ACC7, $ACC7 vpsubq 32*8-128(%rdx), $ACC8, $ACC8 vpsubq 32*0-128(%rcx), $ACC0, $ACC0 vpsubq 32*1-128(%rcx), $ACC1, $ACC1 vpsubq 32*2-128(%rcx), $ACC2, $ACC2 vpsubq 32*3-128(%rcx), $ACC3, $ACC3 vpsubq 32*4-128(%rcx), $ACC4, $ACC4 vpsubq 32*5-128(%rcx), $ACC5, $ACC5 vpsubq 32*6-128(%rcx), $ACC6, $ACC6 vpsubq 32*7-128(%rcx), $ACC7, $ACC7 vpsubq 32*8-128(%rcx), $ACC8, $ACC8 call avx2_normalize lea 32*0($b_ptr), %rsi lea 32*0($a_ptr), %rdx call avx2_select_n_store # H = U2 - X3 lea `32*9*0`(%rsp), %rsi lea `32*9*0`($r_ptr), %rdx lea `32*9*3`(%rsp), %rdi call avx2_sub_x4 call avx2_normalize_n_store # lea `32*9*3`(%rsp), %rsi lea `32*9*4`(%rsp), %rdx lea `32*9*3`(%rsp), %rdi call avx2_mul_x4 call avx2_normalize_n_store # lea `32*9*7`(%rsp), %rsi lea `32*9*1`($a_ptr), %rdx lea `32*9*1`(%rsp), %rdi call avx2_mul_x4 call avx2_normalize_n_store # lea `32*9*3`(%rsp), %rsi lea `32*9*1`(%rsp), %rdx lea `32*9*1`($r_ptr), %rdi call avx2_sub_x4 call avx2_normalize lea 32*9($b_ptr), %rsi lea 32*9($a_ptr), %rdx call avx2_select_n_store #lea 32*9*0($r_ptr), %rsi #lea 32*9*0($r_ptr), %rdi #call avx2_mul_by1_x4 #NORMALIZE #STORE lea `32*9*1`($r_ptr), %rsi lea `32*9*1`($r_ptr), %rdi call avx2_mul_by1_x4 call avx2_normalize_n_store vzeroupper ___ $code.=<<___ if ($win64); movaps %xmm6, -16*10(%rbp) movaps %xmm7, -16*9(%rbp) movaps %xmm8, -16*8(%rbp) movaps %xmm9, -16*7(%rbp) movaps %xmm10, -16*6(%rbp) movaps %xmm11, -16*5(%rbp) movaps %xmm12, -16*4(%rbp) movaps %xmm13, -16*3(%rbp) movaps %xmm14, -16*2(%rbp) movaps %xmm15, -16*1(%rbp) ___ $code.=<<___; mov %rbp, %rsp pop %rbp ret .size ecp_nistz256_avx2_point_add_affine_x4,.-ecp_nistz256_avx2_point_add_affine_x4 ################################################################################ # void ecp_nistz256_avx2_point_add_affines_x4(void* RESULTx4, void *Ax4, void *Bx4); .globl ecp_nistz256_avx2_point_add_affines_x4 .type ecp_nistz256_avx2_point_add_affines_x4,\@function,3 .align 32 ecp_nistz256_avx2_point_add_affines_x4: mov %rsp, %rax push %rbp vzeroupper ___ $code.=<<___ if ($win64); lea -16*10(%rsp), %rsp vmovaps %xmm6, -8-16*10(%rax) vmovaps %xmm7, -8-16*9(%rax) vmovaps %xmm8, -8-16*8(%rax) vmovaps %xmm9, -8-16*7(%rax) vmovaps %xmm10, -8-16*6(%rax) vmovaps %xmm11, -8-16*5(%rax) vmovaps %xmm12, -8-16*4(%rax) vmovaps %xmm13, -8-16*3(%rax) vmovaps %xmm14, -8-16*2(%rax) vmovaps %xmm15, -8-16*1(%rax) ___ $code.=<<___; lea -8(%rax), %rbp # Result + 32*0 = Result.X # Result + 32*9 = Result.Y # Result + 32*18 = Result.Z # A + 32*0 = A.X # A + 32*9 = A.Y # B + 32*0 = B.X # B + 32*9 = B.Y sub \$`32*9*8+32*2+32*8`, %rsp and \$-64, %rsp mov $r_ptr_in, $r_ptr mov $a_ptr_in, $a_ptr mov $b_ptr_in, $b_ptr vmovdqa 32*0($a_ptr_in), %ymm0 vmovdqa .LAVX2_AND_MASK(%rip), $AND_MASK vpxor %ymm1, %ymm1, %ymm1 lea 256($a_ptr_in), %rax # size optimization vpor 32*1($a_ptr_in), %ymm0, %ymm0 vpor 32*2($a_ptr_in), %ymm0, %ymm0 vpor 32*3($a_ptr_in), %ymm0, %ymm0 vpor 32*4-256(%rax), %ymm0, %ymm0 lea 256(%rax), %rcx # size optimization vpor 32*5-256(%rax), %ymm0, %ymm0 vpor 32*6-256(%rax), %ymm0, %ymm0 vpor 32*7-256(%rax), %ymm0, %ymm0 vpor 32*8-256(%rax), %ymm0, %ymm0 vpor 32*9-256(%rax), %ymm0, %ymm0 vpor 32*10-256(%rax), %ymm0, %ymm0 vpor 32*11-256(%rax), %ymm0, %ymm0 vpor 32*12-512(%rcx), %ymm0, %ymm0 vpor 32*13-512(%rcx), %ymm0, %ymm0 vpor 32*14-512(%rcx), %ymm0, %ymm0 vpor 32*15-512(%rcx), %ymm0, %ymm0 vpor 32*16-512(%rcx), %ymm0, %ymm0 vpor 32*17-512(%rcx), %ymm0, %ymm0 vpcmpeqq %ymm1, %ymm0, %ymm0 vmovdqa %ymm0, `32*9*8`(%rsp) vpxor %ymm1, %ymm1, %ymm1 vmovdqa 32*0($b_ptr), %ymm0 lea 256($b_ptr), %rax # size optimization vpor 32*1($b_ptr), %ymm0, %ymm0 vpor 32*2($b_ptr), %ymm0, %ymm0 vpor 32*3($b_ptr), %ymm0, %ymm0 vpor 32*4-256(%rax), %ymm0, %ymm0 lea 256(%rax), %rcx # size optimization vpor 32*5-256(%rax), %ymm0, %ymm0 vpor 32*6-256(%rax), %ymm0, %ymm0 vpor 32*7-256(%rax), %ymm0, %ymm0 vpor 32*8-256(%rax), %ymm0, %ymm0 vpor 32*9-256(%rax), %ymm0, %ymm0 vpor 32*10-256(%rax), %ymm0, %ymm0 vpor 32*11-256(%rax), %ymm0, %ymm0 vpor 32*12-512(%rcx), %ymm0, %ymm0 vpor 32*13-512(%rcx), %ymm0, %ymm0 vpor 32*14-512(%rcx), %ymm0, %ymm0 vpor 32*15-512(%rcx), %ymm0, %ymm0 vpor 32*16-512(%rcx), %ymm0, %ymm0 vpor 32*17-512(%rcx), %ymm0, %ymm0 vpcmpeqq %ymm1, %ymm0, %ymm0 vmovdqa %ymm0, `32*9*8+32`(%rsp) # H = U2 - U1 = X2 - X1 lea `32*9*0`($b_ptr), %rsi lea `32*9*0`($a_ptr), %rdx lea `32*9*3`(%rsp), %rdi call avx2_sub_x4 call avx2_normalize_n_store # R = S2 - S1 = Y2 - Y1 lea `32*9*1`($b_ptr), %rsi lea `32*9*1`($a_ptr), %rdx lea `32*9*4`(%rsp), %rdi call avx2_sub_x4 call avx2_normalize_n_store # Z3 = H*Z1*Z2 = H lea `32*9*3`(%rsp), %rsi lea `32*9*2`($r_ptr), %rdi call avx2_mul_by1_x4 call avx2_normalize vmovdqa `32*9*8`(%rsp), $B vpor `32*9*8+32`(%rsp), $B, $B vpandn $ACC0, $B, $ACC0 lea .LONE+128(%rip), %rax vpandn $ACC1, $B, $ACC1 vpandn $ACC2, $B, $ACC2 vpandn $ACC3, $B, $ACC3 vpandn $ACC4, $B, $ACC4 vpandn $ACC5, $B, $ACC5 vpandn $ACC6, $B, $ACC6 vpandn $ACC7, $B, $ACC7 vpand 32*0-128(%rax), $B, $T0 vpandn $ACC8, $B, $ACC8 vpand 32*1-128(%rax), $B, $Y vpxor $T0, $ACC0, $ACC0 vpand 32*2-128(%rax), $B, $T0 vpxor $Y, $ACC1, $ACC1 vpand 32*3-128(%rax), $B, $Y vpxor $T0, $ACC2, $ACC2 vpand 32*4-128(%rax), $B, $T0 vpxor $Y, $ACC3, $ACC3 vpand 32*5-128(%rax), $B, $Y vpxor $T0, $ACC4, $ACC4 vpand 32*6-128(%rax), $B, $T0 vpxor $Y, $ACC5, $ACC5 vpand 32*7-128(%rax), $B, $Y vpxor $T0, $ACC6, $ACC6 vpand 32*8-128(%rax), $B, $T0 vpxor $Y, $ACC7, $ACC7 vpxor $T0, $ACC8, $ACC8 `&STORE` # R^2 = R^2 lea `32*9*4`(%rsp), %rsi lea `32*9*6`(%rsp), %rdi lea `32*9*8+32*2`(%rsp), %rcx # temporary vector call avx2_sqr_x4 call avx2_normalize_n_store # H^2 = H^2 lea `32*9*3`(%rsp), %rsi lea `32*9*5`(%rsp), %rdi call avx2_sqr_x4 call avx2_normalize_n_store # H^3 = H^2*H lea `32*9*3`(%rsp), %rsi lea `32*9*5`(%rsp), %rdx lea `32*9*7`(%rsp), %rdi call avx2_mul_x4 call avx2_normalize_n_store # U2 = U1*H^2 lea `32*9*0`($a_ptr), %rsi lea `32*9*5`(%rsp), %rdx lea `32*9*0`(%rsp), %rdi call avx2_mul_x4 #call avx2_normalize `&STORE` # Hsqr = U2*2 #lea 32*9*0(%rsp), %rsi #lea 32*9*5(%rsp), %rdi #call avx2_mul_by2_x4 vpaddq $ACC0, $ACC0, $ACC0 # inlined avx2_mul_by2_x4 lea `32*9*5`(%rsp), %rdi vpaddq $ACC1, $ACC1, $ACC1 vpaddq $ACC2, $ACC2, $ACC2 vpaddq $ACC3, $ACC3, $ACC3 vpaddq $ACC4, $ACC4, $ACC4 vpaddq $ACC5, $ACC5, $ACC5 vpaddq $ACC6, $ACC6, $ACC6 vpaddq $ACC7, $ACC7, $ACC7 vpaddq $ACC8, $ACC8, $ACC8 call avx2_normalize_n_store # X3 = R^2 - H^3 #lea 32*9*6(%rsp), %rsi #lea 32*9*7(%rsp), %rdx #lea 32*9*5(%rsp), %rcx #lea 32*9*0($r_ptr), %rdi #call avx2_sub_x4 #NORMALIZE #STORE # X3 = X3 - U2*2 #lea 32*9*0($r_ptr), %rsi #lea 32*9*0($r_ptr), %rdi #call avx2_sub_x4 #NORMALIZE #STORE lea `32*9*6+128`(%rsp), %rsi lea .LAVX2_POLY_x2+128(%rip), %rax lea `32*9*7+128`(%rsp), %rdx lea `32*9*5+128`(%rsp), %rcx lea `32*9*0`($r_ptr), %rdi vmovdqa 32*0-128(%rsi), $ACC0 vmovdqa 32*1-128(%rsi), $ACC1 vmovdqa 32*2-128(%rsi), $ACC2 vmovdqa 32*3-128(%rsi), $ACC3 vmovdqa 32*4-128(%rsi), $ACC4 vmovdqa 32*5-128(%rsi), $ACC5 vmovdqa 32*6-128(%rsi), $ACC6 vmovdqa 32*7-128(%rsi), $ACC7 vmovdqa 32*8-128(%rsi), $ACC8 vpaddq 32*0-128(%rax), $ACC0, $ACC0 vpaddq 32*1-128(%rax), $ACC1, $ACC1 vpaddq 32*2-128(%rax), $ACC2, $ACC2 vpaddq 32*3-128(%rax), $ACC3, $ACC3 vpaddq 32*4-128(%rax), $ACC4, $ACC4 vpaddq 32*5-128(%rax), $ACC5, $ACC5 vpaddq 32*6-128(%rax), $ACC6, $ACC6 vpaddq 32*7-128(%rax), $ACC7, $ACC7 vpaddq 32*8-128(%rax), $ACC8, $ACC8 vpsubq 32*0-128(%rdx), $ACC0, $ACC0 vpsubq 32*1-128(%rdx), $ACC1, $ACC1 vpsubq 32*2-128(%rdx), $ACC2, $ACC2 vpsubq 32*3-128(%rdx), $ACC3, $ACC3 vpsubq 32*4-128(%rdx), $ACC4, $ACC4 vpsubq 32*5-128(%rdx), $ACC5, $ACC5 vpsubq 32*6-128(%rdx), $ACC6, $ACC6 vpsubq 32*7-128(%rdx), $ACC7, $ACC7 vpsubq 32*8-128(%rdx), $ACC8, $ACC8 vpsubq 32*0-128(%rcx), $ACC0, $ACC0 vpsubq 32*1-128(%rcx), $ACC1, $ACC1 vpsubq 32*2-128(%rcx), $ACC2, $ACC2 vpsubq 32*3-128(%rcx), $ACC3, $ACC3 vpsubq 32*4-128(%rcx), $ACC4, $ACC4 vpsubq 32*5-128(%rcx), $ACC5, $ACC5 vpsubq 32*6-128(%rcx), $ACC6, $ACC6 vpsubq 32*7-128(%rcx), $ACC7, $ACC7 vpsubq 32*8-128(%rcx), $ACC8, $ACC8 call avx2_normalize lea 32*0($b_ptr), %rsi lea 32*0($a_ptr), %rdx call avx2_select_n_store # H = U2 - X3 lea `32*9*0`(%rsp), %rsi lea `32*9*0`($r_ptr), %rdx lea `32*9*3`(%rsp), %rdi call avx2_sub_x4 call avx2_normalize_n_store # H = H*R lea `32*9*3`(%rsp), %rsi lea `32*9*4`(%rsp), %rdx lea `32*9*3`(%rsp), %rdi call avx2_mul_x4 call avx2_normalize_n_store # S2 = S1 * H^3 lea `32*9*7`(%rsp), %rsi lea `32*9*1`($a_ptr), %rdx lea `32*9*1`(%rsp), %rdi call avx2_mul_x4 call avx2_normalize_n_store # lea `32*9*3`(%rsp), %rsi lea `32*9*1`(%rsp), %rdx lea `32*9*1`($r_ptr), %rdi call avx2_sub_x4 call avx2_normalize lea 32*9($b_ptr), %rsi lea 32*9($a_ptr), %rdx call avx2_select_n_store #lea 32*9*0($r_ptr), %rsi #lea 32*9*0($r_ptr), %rdi #call avx2_mul_by1_x4 #NORMALIZE #STORE lea `32*9*1`($r_ptr), %rsi lea `32*9*1`($r_ptr), %rdi call avx2_mul_by1_x4 call avx2_normalize_n_store vzeroupper ___ $code.=<<___ if ($win64); movaps %xmm6, -16*10(%rbp) movaps %xmm7, -16*9(%rbp) movaps %xmm8, -16*8(%rbp) movaps %xmm9, -16*7(%rbp) movaps %xmm10, -16*6(%rbp) movaps %xmm11, -16*5(%rbp) movaps %xmm12, -16*4(%rbp) movaps %xmm13, -16*3(%rbp) movaps %xmm14, -16*2(%rbp) movaps %xmm15, -16*1(%rbp) ___ $code.=<<___; mov %rbp, %rsp pop %rbp ret .size ecp_nistz256_avx2_point_add_affines_x4,.-ecp_nistz256_avx2_point_add_affines_x4 ################################################################################ # void ecp_nistz256_avx2_to_mont(void* RESULTx4, void *Ax4); .globl ecp_nistz256_avx2_to_mont .type ecp_nistz256_avx2_to_mont,\@function,2 .align 32 ecp_nistz256_avx2_to_mont: vzeroupper ___ $code.=<<___ if ($win64); lea -8-16*10(%rsp), %rsp vmovaps %xmm6, -8-16*10(%rax) vmovaps %xmm7, -8-16*9(%rax) vmovaps %xmm8, -8-16*8(%rax) vmovaps %xmm9, -8-16*7(%rax) vmovaps %xmm10, -8-16*6(%rax) vmovaps %xmm11, -8-16*5(%rax) vmovaps %xmm12, -8-16*4(%rax) vmovaps %xmm13, -8-16*3(%rax) vmovaps %xmm14, -8-16*2(%rax) vmovaps %xmm15, -8-16*1(%rax) ___ $code.=<<___; vmovdqa .LAVX2_AND_MASK(%rip), $AND_MASK lea .LTO_MONT_AVX2(%rip), %rdx call avx2_mul_x4 call avx2_normalize_n_store vzeroupper ___ $code.=<<___ if ($win64); movaps 16*0(%rsp), %xmm6 movaps 16*1(%rsp), %xmm7 movaps 16*2(%rsp), %xmm8 movaps 16*3(%rsp), %xmm9 movaps 16*4(%rsp), %xmm10 movaps 16*5(%rsp), %xmm11 movaps 16*6(%rsp), %xmm12 movaps 16*7(%rsp), %xmm13 movaps 16*8(%rsp), %xmm14 movaps 16*9(%rsp), %xmm15 lea 8+16*10(%rsp), %rsp ___ $code.=<<___; ret .size ecp_nistz256_avx2_to_mont,.-ecp_nistz256_avx2_to_mont ################################################################################ # void ecp_nistz256_avx2_from_mont(void* RESULTx4, void *Ax4); .globl ecp_nistz256_avx2_from_mont .type ecp_nistz256_avx2_from_mont,\@function,2 .align 32 ecp_nistz256_avx2_from_mont: vzeroupper ___ $code.=<<___ if ($win64); lea -8-16*10(%rsp), %rsp vmovaps %xmm6, -8-16*10(%rax) vmovaps %xmm7, -8-16*9(%rax) vmovaps %xmm8, -8-16*8(%rax) vmovaps %xmm9, -8-16*7(%rax) vmovaps %xmm10, -8-16*6(%rax) vmovaps %xmm11, -8-16*5(%rax) vmovaps %xmm12, -8-16*4(%rax) vmovaps %xmm13, -8-16*3(%rax) vmovaps %xmm14, -8-16*2(%rax) vmovaps %xmm15, -8-16*1(%rax) ___ $code.=<<___; vmovdqa .LAVX2_AND_MASK(%rip), $AND_MASK lea .LFROM_MONT_AVX2(%rip), %rdx call avx2_mul_x4 call avx2_normalize_n_store vzeroupper ___ $code.=<<___ if ($win64); movaps 16*0(%rsp), %xmm6 movaps 16*1(%rsp), %xmm7 movaps 16*2(%rsp), %xmm8 movaps 16*3(%rsp), %xmm9 movaps 16*4(%rsp), %xmm10 movaps 16*5(%rsp), %xmm11 movaps 16*6(%rsp), %xmm12 movaps 16*7(%rsp), %xmm13 movaps 16*8(%rsp), %xmm14 movaps 16*9(%rsp), %xmm15 lea 8+16*10(%rsp), %rsp ___ $code.=<<___; ret .size ecp_nistz256_avx2_from_mont,.-ecp_nistz256_avx2_from_mont ################################################################################ # void ecp_nistz256_avx2_set1(void* RESULTx4); .globl ecp_nistz256_avx2_set1 .type ecp_nistz256_avx2_set1,\@function,1 .align 32 ecp_nistz256_avx2_set1: lea .LONE+128(%rip), %rax lea 128(%rdi), %rdi vzeroupper vmovdqa 32*0-128(%rax), %ymm0 vmovdqa 32*1-128(%rax), %ymm1 vmovdqa 32*2-128(%rax), %ymm2 vmovdqa 32*3-128(%rax), %ymm3 vmovdqa 32*4-128(%rax), %ymm4 vmovdqa 32*5-128(%rax), %ymm5 vmovdqa %ymm0, 32*0-128(%rdi) vmovdqa 32*6-128(%rax), %ymm0 vmovdqa %ymm1, 32*1-128(%rdi) vmovdqa 32*7-128(%rax), %ymm1 vmovdqa %ymm2, 32*2-128(%rdi) vmovdqa 32*8-128(%rax), %ymm2 vmovdqa %ymm3, 32*3-128(%rdi) vmovdqa %ymm4, 32*4-128(%rdi) vmovdqa %ymm5, 32*5-128(%rdi) vmovdqa %ymm0, 32*6-128(%rdi) vmovdqa %ymm1, 32*7-128(%rdi) vmovdqa %ymm2, 32*8-128(%rdi) vzeroupper ret .size ecp_nistz256_avx2_set1,.-ecp_nistz256_avx2_set1 ___ } { ################################################################################ # void ecp_nistz256_avx2_multi_gather_w7(void* RESULT, void *in, # int index0, int index1, int index2, int index3); ################################################################################ my ($val,$in_t,$index0,$index1,$index2,$index3)=("%rdi","%rsi","%edx","%ecx","%r8d","%r9d"); my ($INDEX0,$INDEX1,$INDEX2,$INDEX3)=map("%ymm$_",(0..3)); my ($R0a,$R0b,$R1a,$R1b,$R2a,$R2b,$R3a,$R3b)=map("%ymm$_",(4..11)); my ($M0,$T0,$T1,$TMP0)=map("%ymm$_",(12..15)); $code.=<<___; .globl ecp_nistz256_avx2_multi_gather_w7 .type ecp_nistz256_avx2_multi_gather_w7,\@function,6 .align 32 ecp_nistz256_avx2_multi_gather_w7: vzeroupper ___ $code.=<<___ if ($win64); lea -8-16*10(%rsp), %rsp vmovaps %xmm6, -8-16*10(%rax) vmovaps %xmm7, -8-16*9(%rax) vmovaps %xmm8, -8-16*8(%rax) vmovaps %xmm9, -8-16*7(%rax) vmovaps %xmm10, -8-16*6(%rax) vmovaps %xmm11, -8-16*5(%rax) vmovaps %xmm12, -8-16*4(%rax) vmovaps %xmm13, -8-16*3(%rax) vmovaps %xmm14, -8-16*2(%rax) vmovaps %xmm15, -8-16*1(%rax) ___ $code.=<<___; lea .LIntOne(%rip), %rax vmovd $index0, %xmm0 vmovd $index1, %xmm1 vmovd $index2, %xmm2 vmovd $index3, %xmm3 vpxor $R0a, $R0a, $R0a vpxor $R0b, $R0b, $R0b vpxor $R1a, $R1a, $R1a vpxor $R1b, $R1b, $R1b vpxor $R2a, $R2a, $R2a vpxor $R2b, $R2b, $R2b vpxor $R3a, $R3a, $R3a vpxor $R3b, $R3b, $R3b vmovdqa (%rax), $M0 vpermd $INDEX0, $R0a, $INDEX0 vpermd $INDEX1, $R0a, $INDEX1 vpermd $INDEX2, $R0a, $INDEX2 vpermd $INDEX3, $R0a, $INDEX3 mov \$64, %ecx lea 112($val), $val # size optimization jmp .Lmulti_select_loop_avx2 # INDEX=0, corresponds to the point at infty (0,0) .align 32 .Lmulti_select_loop_avx2: vpcmpeqd $INDEX0, $M0, $TMP0 vmovdqa `32*0+32*64*2*0`($in_t), $T0 vmovdqa `32*1+32*64*2*0`($in_t), $T1 vpand $TMP0, $T0, $T0 vpand $TMP0, $T1, $T1 vpxor $T0, $R0a, $R0a vpxor $T1, $R0b, $R0b vpcmpeqd $INDEX1, $M0, $TMP0 vmovdqa `32*0+32*64*2*1`($in_t), $T0 vmovdqa `32*1+32*64*2*1`($in_t), $T1 vpand $TMP0, $T0, $T0 vpand $TMP0, $T1, $T1 vpxor $T0, $R1a, $R1a vpxor $T1, $R1b, $R1b vpcmpeqd $INDEX2, $M0, $TMP0 vmovdqa `32*0+32*64*2*2`($in_t), $T0 vmovdqa `32*1+32*64*2*2`($in_t), $T1 vpand $TMP0, $T0, $T0 vpand $TMP0, $T1, $T1 vpxor $T0, $R2a, $R2a vpxor $T1, $R2b, $R2b vpcmpeqd $INDEX3, $M0, $TMP0 vmovdqa `32*0+32*64*2*3`($in_t), $T0 vmovdqa `32*1+32*64*2*3`($in_t), $T1 vpand $TMP0, $T0, $T0 vpand $TMP0, $T1, $T1 vpxor $T0, $R3a, $R3a vpxor $T1, $R3b, $R3b vpaddd (%rax), $M0, $M0 # increment lea 32*2($in_t), $in_t dec %ecx jnz .Lmulti_select_loop_avx2 vmovdqu $R0a, 32*0-112($val) vmovdqu $R0b, 32*1-112($val) vmovdqu $R1a, 32*2-112($val) vmovdqu $R1b, 32*3-112($val) vmovdqu $R2a, 32*4-112($val) vmovdqu $R2b, 32*5-112($val) vmovdqu $R3a, 32*6-112($val) vmovdqu $R3b, 32*7-112($val) vzeroupper ___ $code.=<<___ if ($win64); movaps 16*0(%rsp), %xmm6 movaps 16*1(%rsp), %xmm7 movaps 16*2(%rsp), %xmm8 movaps 16*3(%rsp), %xmm9 movaps 16*4(%rsp), %xmm10 movaps 16*5(%rsp), %xmm11 movaps 16*6(%rsp), %xmm12 movaps 16*7(%rsp), %xmm13 movaps 16*8(%rsp), %xmm14 movaps 16*9(%rsp), %xmm15 lea 8+16*10(%rsp), %rsp ___ $code.=<<___; ret .size ecp_nistz256_avx2_multi_gather_w7,.-ecp_nistz256_avx2_multi_gather_w7 .extern OPENSSL_ia32cap_P .globl ecp_nistz_avx2_eligible .type ecp_nistz_avx2_eligible,\@abi-omnipotent .align 32 ecp_nistz_avx2_eligible: mov OPENSSL_ia32cap_P+8(%rip),%eax shr \$5,%eax and \$1,%eax ret .size ecp_nistz_avx2_eligible,.-ecp_nistz_avx2_eligible ___ } }} else {{ # assembler is too old $code.=<<___; .text .globl ecp_nistz256_avx2_transpose_convert .globl ecp_nistz256_avx2_convert_transpose_back .globl ecp_nistz256_avx2_point_add_affine_x4 .globl ecp_nistz256_avx2_point_add_affines_x4 .globl ecp_nistz256_avx2_to_mont .globl ecp_nistz256_avx2_from_mont .globl ecp_nistz256_avx2_set1 .globl ecp_nistz256_avx2_multi_gather_w7 .type ecp_nistz256_avx2_multi_gather_w7,\@abi-omnipotent ecp_nistz256_avx2_transpose_convert: ecp_nistz256_avx2_convert_transpose_back: ecp_nistz256_avx2_point_add_affine_x4: ecp_nistz256_avx2_point_add_affines_x4: ecp_nistz256_avx2_to_mont: ecp_nistz256_avx2_from_mont: ecp_nistz256_avx2_set1: ecp_nistz256_avx2_multi_gather_w7: .byte 0x0f,0x0b # ud2 ret .size ecp_nistz256_avx2_multi_gather_w7,.-ecp_nistz256_avx2_multi_gather_w7 .globl ecp_nistz_avx2_eligible .type ecp_nistz_avx2_eligible,\@abi-omnipotent ecp_nistz_avx2_eligible: xor %eax,%eax ret .size ecp_nistz_avx2_eligible,.-ecp_nistz_avx2_eligible ___ }} foreach (split("\n",$code)) { s/\`([^\`]*)\`/eval($1)/geo; print $_,"\n"; } close STDOUT;
27.542599
109
0.611938
ed82ea2527f4ee4728805e6ec6954b96aebbdf72
10,147
t
Perl
t/local/43_misc_functions.t
chincheta0815/p5-net-ssleay
ce5f62ece2c9c6f9e57875cd29ef4942c137f3b3
[ "Artistic-2.0" ]
null
null
null
t/local/43_misc_functions.t
chincheta0815/p5-net-ssleay
ce5f62ece2c9c6f9e57875cd29ef4942c137f3b3
[ "Artistic-2.0" ]
null
null
null
t/local/43_misc_functions.t
chincheta0815/p5-net-ssleay
ce5f62ece2c9c6f9e57875cd29ef4942c137f3b3
[ "Artistic-2.0" ]
null
null
null
#!/usr/bin/perl use strict; use warnings; use Test::More; use Socket; use File::Spec; use Net::SSLeay; use Config; use IO::Socket::INET; BEGIN { plan skip_all => "fork() not supported on $^O" unless $Config{d_fork}; } my $tests = 34; plan tests => $tests; my $pid; alarm(30); END { kill 9,$pid if $pid } # Values that were previously looked up for get_keyblock_size test # Revisit: currently the only known user for get_keyblock_size is # EAP-FAST. How it works with AEAD ciphers is for future study. our %non_aead_cipher_to_keyblock_size = ( 'RC4-MD5' => 64, 'RC4-SHA' => 72, 'AES256-SHA256' => 160, 'AES128-SHA256' => 128, 'AES128-SHA' => 104, 'AES256-SHA' => 136, ); our %tls_1_2_aead_cipher_to_keyblock_size = ( 'AES128-GCM-SHA256' => 56, 'AES256-GCM-SHA384' => 88, ); our %tls_1_3_aead_cipher_to_keyblock_size = ( # Only in TLS 1.3 'TLS_AES_128_GCM_SHA256' => 56, 'TLS_AES_256_GCM_SHA384' => 88, 'TLS_CHACHA20_POLY1305_SHA256' => 88, ); # Combine the AEAD hashes our %aead_cipher_to_keyblock_size = (%tls_1_2_aead_cipher_to_keyblock_size, %tls_1_3_aead_cipher_to_keyblock_size); # Combine the hashes our %cipher_to_keyblock_size = (%non_aead_cipher_to_keyblock_size, %aead_cipher_to_keyblock_size); our %version_str2int = ( 'SSLv3' => sub {return eval {Net::SSLeay::SSL3_VERSION();}}, 'TLSv1' => sub {return eval {Net::SSLeay::TLS1_VERSION();}}, 'TLSv1.1' => sub {return eval {Net::SSLeay::TLS1_1_VERSION();}}, 'TLSv1.2' => sub {return eval {Net::SSLeay::TLS1_2_VERSION();}}, 'TLSv1.3' => sub {return eval {Net::SSLeay::TLS1_3_VERSION();}}, ); my $server; Net::SSLeay::initialize(); { # SSL server - just handle single connect, send information to # client and exit my $cert_pem = File::Spec->catfile('t', 'data', 'cert.pem'); my $key_pem = File::Spec->catfile('t', 'data', 'key.pem'); $server = IO::Socket::INET->new( LocalAddr => '127.0.0.1', Listen => 3) or BAIL_OUT("failed to create server socket: $!"); defined($pid = fork()) or BAIL_OUT("failed to fork: $!"); if ($pid == 0) { my $cl = $server->accept or BAIL_OUT("accept failed: $!"); my $ctx = Net::SSLeay::CTX_new(); Net::SSLeay::set_cert_and_key($ctx, $cert_pem, $key_pem); # my $get_keyblock_size_ciphers = join(':', keys(%cipher_to_keyblock_size)); my $get_keyblock_size_ciphers = join(':', keys(%non_aead_cipher_to_keyblock_size)); Net::SSLeay::CTX_set_cipher_list($ctx, $get_keyblock_size_ciphers); my $ssl = Net::SSLeay::new($ctx); Net::SSLeay::set_fd($ssl, fileno($cl)); Net::SSLeay::accept($ssl); # Send our idea of Finished messages to the client. my ($f_len, $finished_s, $finished_c); $f_len = Net::SSLeay::get_finished($ssl, $finished_s); Net::SSLeay::write($ssl, "server: $f_len ". unpack('H*', $finished_s)); $f_len = Net::SSLeay::get_peer_finished($ssl, $finished_c); Net::SSLeay::write($ssl, "client: $f_len ". unpack('H*', $finished_c)); # Echo back the termination request from client my $end = Net::SSLeay::read($ssl); Net::SSLeay::write($ssl, $end); exit(0); } } sub client { # SSL client - connect to server and receive information that we # compare to our expected values my ($f_len, $f_len_trunc, $finished_s, $finished_c, $msg, $expected); my $saddr = $server->sockhost.':'.$server->sockport; my $cl = IO::Socket::INET->new($saddr) or BAIL_OUT("failed to connect to server: $!"); my $ctx = Net::SSLeay::CTX_new(); Net::SSLeay::CTX_set_options($ctx, &Net::SSLeay::OP_ALL); my $ssl = Net::SSLeay::new($ctx); Net::SSLeay::set_fd($ssl, $cl); client_test_finished($ssl); client_test_keyblock_size($ssl); client_test_version_funcs($ssl); client_test_ciphersuites(); # Tell the server to quit and see that our connection is still up my $end = "end"; Net::SSLeay::write($ssl, $end); ok($end eq Net::SSLeay::read($ssl), 'Successful termination'); return; } client(); waitpid $pid, 0; exit(0); # Test get_finished() and get_peer_finished() with server. sub client_test_finished { my ($ssl) = @_; my ($f_len, $f_len_trunc, $finished_s, $finished_c, $msg, $expected); # Finished messages have not been sent yet $f_len = Net::SSLeay::get_peer_finished($ssl, $finished_s); ok($f_len == 0, 'Return value for get_peer_finished is empty before connect for server'); ok(defined $finished_s && $finished_s eq '', 'Server Finished is empty'); $f_len = Net::SSLeay::get_finished($ssl, $finished_c); ok($f_len == 0, 'Finished is empty before connect for client'); ok(defined $finished_c && $finished_c eq '', 'Client Finished is empty'); # Complete connection. After this we have Finished messages from both peers. Net::SSLeay::connect($ssl); $f_len = Net::SSLeay::get_peer_finished($ssl, $finished_s); ok($f_len, 'Server Finished is not empty'); ok($f_len == length($finished_s), 'Return value for get_peer_finished equals to Finished length'); $expected = "server: $f_len " . unpack('H*', $finished_s); $msg = Net::SSLeay::read($ssl); ok($msg eq $expected, 'Server Finished is equal'); $f_len = Net::SSLeay::get_finished($ssl, $finished_c); ok($f_len, 'Client Finished is not empty'); ok($f_len == length($finished_c), 'Return value for get_finished equals to Finished length'); $expected = "client: $f_len " . unpack('H*', $finished_c); $msg = Net::SSLeay::read($ssl); ok($msg eq $expected, 'Client Finished is equal'); ok($finished_s ne $finished_c, 'Server and Client Finished are not equal'); # Finished should still be the same. See that we can fetch truncated values. my $trunc8_s = substr($finished_s, 0, 8); $f_len_trunc = Net::SSLeay::get_peer_finished($ssl, $finished_s, 8); ok($f_len_trunc == $f_len, 'Return value for get_peer_finished is unchanged when count is set'); ok($trunc8_s eq $finished_s, 'Count works for get_peer_finished'); my $trunc8_c = substr($finished_c, 0, 8); $f_len_trunc = Net::SSLeay::get_finished($ssl, $finished_c, 8); ok($f_len_trunc == $f_len, 'Return value for get_finished is unchanged when count is set'); ok($trunc8_c eq $finished_c, 'Count works for get_finished'); } # Test get_keyblock_size # Notes: With TLS 1.3 the cipher is always an AEAD cipher. If AEAD # ciphers are enabled for TLS 1.2 and earlier, with LibreSSL # get_keyblock_size returns -1 when AEAD cipher is chosen. sub client_test_keyblock_size { my ($ssl) = @_; my $cipher = Net::SSLeay::get_cipher($ssl); ok($cipher, "get_cipher returns a value: $cipher"); my $keyblock_size = &Net::SSLeay::get_keyblock_size($ssl); ok(defined $keyblock_size, 'get_keyblock_size return value is defined'); if ($keyblock_size == -1) { # Accept -1 with AEAD ciphers with LibreSSL like(Net::SSLeay::SSLeay_version(Net::SSLeay::SSLEAY_VERSION()), qr/^LibreSSL/, 'get_keyblock_size returns -1 with LibreSSL'); ok(defined $aead_cipher_to_keyblock_size{$cipher}, 'keyblock size is -1 for an AEAD cipher'); } else { ok($keyblock_size >= 0, 'get_keyblock_size return value is not negative'); ok($cipher_to_keyblock_size{$cipher} == $keyblock_size, "keyblock size $keyblock_size is the expected value $cipher_to_keyblock_size{$cipher}"); } } # Test SSL_get_version and related functions sub client_test_version_funcs { my ($ssl) = @_; my $version_str = Net::SSLeay::get_version($ssl); my $version_const = $version_str2int{$version_str}; my $version = Net::SSLeay::version($ssl); ok(defined $version_const, "Net::SSLeay::get_version return value $version_str is known"); is(&$version_const, $version, "Net:SSLeay::version return value $version matches get_version string"); if (defined &Net::SSLeay::client_version) { if ($version_str eq 'TLSv1.3') { # Noticed that client_version and version are equal for all SSL/TLS versions except of TLSv1.3 # For more, see https://github.com/openssl/openssl/issues/7079 is(Net::SSLeay::client_version($ssl), &{$version_str2int{'TLSv1.2'}}, 'Net::SSLeay::client_version TLSv1.2 is expected when Net::SSLeay::version indicates TLSv1.3'); } else { is(Net::SSLeay::client_version($ssl), $version, 'Net::SSLeay::client_version equals to Net::SSLeay::version'); } is(Net::SSLeay::is_dtls($ssl), 0, 'Net::SSLeay::is_dtls returns 0'); } else { SKIP: { skip('Do not have Net::SSLeay::client_version nor Net::SSLeay::is_dtls', 2); }; } return; } sub client_test_ciphersuites { unless (defined &Net::SSLeay::CTX_set_ciphersuites) { SKIP: { skip('Do not have Net::SSLeay::CTX_set_ciphersuites', 10); } return; } my $ciphersuites = join(':', keys(%tls_1_3_aead_cipher_to_keyblock_size)); my ($ctx, $rv, $ssl); $ctx = Net::SSLeay::CTX_new(); $rv = Net::SSLeay::CTX_set_ciphersuites($ctx, $ciphersuites); is($rv, 1, 'CTX set good ciphersuites'); $rv = Net::SSLeay::CTX_set_ciphersuites($ctx, ''); is($rv, 1, 'CTX set empty ciphersuites'); { no warnings 'uninitialized'; $rv = Net::SSLeay::CTX_set_ciphersuites($ctx, undef); }; is($rv, 1, 'CTX set undef ciphersuites'); $rv = Net::SSLeay::CTX_set_ciphersuites($ctx, 'nosuchthing:' . $ciphersuites); is($rv, 0, 'CTX set partially bad ciphersuites'); $rv = Net::SSLeay::CTX_set_ciphersuites($ctx, 'nosuchthing:'); is($rv, 0, 'CTX set bad ciphersuites'); $ssl = Net::SSLeay::new($ctx); $rv = Net::SSLeay::set_ciphersuites($ssl, $ciphersuites); is($rv, 1, 'SSL set good ciphersuites'); $rv = Net::SSLeay::set_ciphersuites($ssl, ''); is($rv, 1, 'SSL set empty ciphersuites'); { no warnings 'uninitialized'; $rv = Net::SSLeay::set_ciphersuites($ssl, undef); }; is($rv, 1, 'SSL set undef ciphersuites'); $rv = Net::SSLeay::set_ciphersuites($ssl, 'nosuchthing:' . $ciphersuites); is($rv, 0, 'SSL set partially bad ciphersuites'); $rv = Net::SSLeay::set_ciphersuites($ssl, 'nosuchthing:'); is($rv, 0, 'SSL set bad ciphersuites'); return; }
35.479021
145
0.666502
edf467c6e2622020a316d3866e71b602c6fe4a1f
9,710
pl
Perl
examples/gen/generateScalarLlvmir.pl
patrickfrey/mewa
cb3b160b596dd99c9fcf5b811afff673bd06d083
[ "MIT" ]
12
2021-05-26T23:58:42.000Z
2022-03-31T03:29:34.000Z
examples/gen/generateScalarLlvmir.pl
patrickfrey/mewa
cb3b160b596dd99c9fcf5b811afff673bd06d083
[ "MIT" ]
5
2021-02-28T09:56:01.000Z
2022-03-30T12:33:29.000Z
examples/gen/generateScalarLlvmir.pl
patrickfrey/mewa
cb3b160b596dd99c9fcf5b811afff673bd06d083
[ "MIT" ]
null
null
null
#!/usr/bin/perl use strict; use warnings; use Getopt::Long; my $typelist = "examples/language1/scalar_types.txt"; my $verbose = 0; GetOptions ( "typelist|t=s" => \$typelist, # string, file with list of types "verbose|V" => \$verbose) # verbose output or die("Error in command line arguments\n"); my %alignmap = ( double => 8, float => 4, i64 => 8, i32 => 4, i16 => 2, i8 => 1, i1 => 1 ); my %sizeWeightMap = ( double => 0.40, float => 0.35, i64 => 0.30, i32 => 0.25, i16 => 0.20, i8 => 0.15, i1 => 0.125 ); my %precisionBitsMap = ( double => 53, float => 24, i64 => 64, i32 => 32, i16 => 16, i8 => 8, i1 => 1 ); my %defaultmap = ( double => "0.00000", float => "0.00000", i64 => "0", i32 => "0", i16 => "0", i8 => "0", i1 => "false" ); my %maxvaluemap = ( double_fp => "1.8e+308", float_fp => "3.402823e+38", i64_unsigned => "18446744073709551616", i64_signed => "9223372036854775808", i32_unsigned => "4294967296", i32_signed => "2147483648", i16_unsigned => "65536", i16_signed => "32768", i8_unsigned => "256", i8_signed => "128", i1_bool => "1" ); sub LLVM { my $rt = ""; my @arg = @_; foreach my $aa( @arg) { if ($rt ne "") {$rt .= ", ";} $aa =~ s/['"\\\$\%\@]/\\$1/g; $rt .= '"' . $aa . '"'; } return $rt; } sub readNonEmptyLinesFromFile { my $infile = $_[0]; my @rt = (); open( INFILE, "$infile") or die "failed to read from file $infile: $!"; while (<INFILE>) { chomp; if (/\S+/) { push( @rt, $_); } } close( INFILE); return @rt; } sub load_constructor { my $llvmtype = $_[0]; if ($llvmtype eq "i1") { return "{1} = load i8, i8* {this}\\n{out} = trunc i8 {1} to i1\\n"; } else { return "{out} = load $llvmtype, $llvmtype* {this}\\n"; } } sub assign_constructor { my $llvmtype = $_[0]; if ($llvmtype eq "i1") { return "{1} = zext i1 {arg1} to i8\\nstore i8 {1}, i8* {this}\\n"; } else { return "store $llvmtype {arg1}, $llvmtype* {this}\\n"; } } sub ctor_copy_constructor { my $llvmtype = $_[0]; if ($llvmtype eq "i1") { $llvmtype = "i8"; } return "{1} = load $llvmtype, $llvmtype* {arg1}\\nstore $llvmtype {1}, $llvmtype* {this}\\n"; } sub default_constructor { my $llvmtype = $_[0]; my $default = $defaultmap{ $llvmtype}; return "store $llvmtype $default, $llvmtype* {this}\\n"; } sub typeSize { my $llvmtype = $_[0]; return int($alignmap{ $llvmtype}); } sub conv_constructor { my $llvmtype_out = $_[0]; my $sgn_out = $_[1]; my $llvmtype_in = $_[2]; my $sgn_in = $_[3]; my $convop = undef; if ($sgn_out eq "fp") { my $rt = ""; if ($sgn_in eq "bool") { return "{1} = trunc i8 {this} to i1\\n" . "{2} = zext i1 {1} to i32\\n" . "{out} = sitofp i32 {2} to $llvmtype_out\\n"; } if ($sgn_in eq "fp" && typeSize( $llvmtype_out) > typeSize( $llvmtype_in)) {$convop = "fpext";} elsif ($sgn_in eq "fp" && typeSize( $llvmtype_out) < typeSize( $llvmtype_in)) {$convop = "fptrunc";} elsif ($sgn_in eq "signed") {$convop = "sitofp";} elsif ($sgn_in eq "unsigned") {$convop = "uitofp";} } elsif ($sgn_in eq "fp") { if ($sgn_out eq "bool") { return "{out} = fcmp une $llvmtype_in {this}, $defaultmap{$llvmtype_in}\\n"; } if ($sgn_out eq "signed") {$convop = "fptosi";} elsif ($sgn_out eq "unsigned") {$convop = "fptoui";} } elsif ($sgn_out eq "bool") { return "{out} = icmp ne $llvmtype_in {this}, $defaultmap{$llvmtype_in}\\n"; } else { if ($precisionBitsMap{ $llvmtype_out} < $precisionBitsMap{ $llvmtype_in}) { $convop = "trunc"; } elsif ($precisionBitsMap{ $llvmtype_out} > $precisionBitsMap{ $llvmtype_in}) { if ($sgn_in eq "bool") {$convop = "zext";} elsif ($sgn_in eq "unsigned") {$convop = "zext";} elsif ($sgn_in eq "signed") {$convop = "sext";} } } if ($convop) { return "{out} = $convop $llvmtype_in {this} to $llvmtype_out\\n"; } else { return undef; } } print "-- WARNING !!! GENERATED FILE !!! DO NOT EDIT\n"; print "-- ---------------------------------------------------------------------------------------------------------------------------------\n"; print "-- This file has been generated by the perl script call \"examples/gen/generateScalarLlvmir.pl examples/language1/scalar_types.txt\"\n"; print "-- ---------------------------------------------------------------------------------------------------------------------------------\n"; print "return {\n"; my @content = readNonEmptyLinesFromFile( $typelist); my $linecnt = 0; foreach my $line (@content) { if ($linecnt++ > 0) {print ",\n";} my ($typename, $llvmtype, $sgn) = split( /;/, $line); print "\t$typename = {\n"; my $llvmtype_storage = $llvmtype; if ($sgn eq "bool") { $llvmtype_storage = "i8"; } print "\t\tdef_local = \"{out} = alloca $llvmtype_storage, align $alignmap{$llvmtype}\\n\",\n"; print "\t\tdef_global = \"{out} = internal global $llvmtype_storage $defaultmap{ $llvmtype}, align $alignmap{$llvmtype}\\n\",\n"; print "\t\tdef_global_val = \"{out} = internal global $llvmtype_storage {val}, align $alignmap{$llvmtype}\\n\",\n"; print "\t\tdefault = \"" . $defaultmap{ $llvmtype} . "\",\n"; print "\t\tllvmtype = \"$llvmtype\",\n"; print "\t\tscalar = true,\n"; print "\t\tclass = \"$sgn\",\n"; print "\t\tsize = $alignmap{$llvmtype},\n"; print "\t\talign = $alignmap{$llvmtype},\n"; print "\t\tsizeweight = $sizeWeightMap{$llvmtype},\n"; print "\t\tmaxvalue = \"" . $maxvaluemap{ $llvmtype . "_" . $sgn } . "\",\n"; print "\t\tassign = \"" . assign_constructor( $llvmtype) . "\",\n"; print "\t\tctor_init = \"" . default_constructor( $llvmtype) . "\",\n"; print "\t\tctor_copy = \"" . ctor_copy_constructor( $llvmtype) . "\",\n"; print "\t\tload = \"" . load_constructor( $llvmtype) . "\",\n"; print "\t\tpromote = {"; my $oi = 0; foreach my $operand (@content) { my ($op_typename, $op_llvmtype, $op_sgn) = split( /;/, $operand); if ($typename ne $op_typename) { if ($alignmap{$op_llvmtype} >= $alignmap{$llvmtype}) { my $do_promote = undef; if ($sgn eq "fp" && $op_sgn ne "fp") { # Never promote a floating point to a non floating point } elsif ($sgn eq "signed" && $op_sgn eq "unsigned") { # Never promote from signed to unsigned } elsif ($alignmap{$op_llvmtype} == $alignmap{$llvmtype}) { # For equal size types only promote unsigned to signed or to floating point if (($sgn eq "unsigned" && $op_sgn eq "signed") || $op_sgn eq "fp") { $do_promote = 1; } } else { $do_promote = 1; } if ($do_promote) { if ($oi++ > 0) {print ", ";} print "\"$op_typename\""; } } } } print "},\n"; print "\t\tconv = {"; $oi = 0; foreach my $operand (@content) { my ($op_typename, $op_llvmtype, $op_sgn) = split( /;/, $operand); if ($op_typename ne $typename) { if ($oi++ > 0) {print ",\n";} else {print "\n";} my $cnv = conv_constructor( $llvmtype, $sgn, $op_llvmtype, $op_sgn); my $weight = 0.0; my $points = 0; if ($precisionBitsMap{$llvmtype} < $precisionBitsMap{$op_llvmtype}) { $points += 1; } if ($precisionBitsMap{$llvmtype} != $precisionBitsMap{$op_llvmtype}) { $points += 1; } if ($sgn ne $op_sgn) { $points += 1; } $weight = $points * 1.0 / 8; if ($cnv) { print "\t\t\t[\"$op_typename\"] = {fmt=\"" . $cnv . "\", weight=$weight}"; } else { print "\t\t\t[\"$op_typename\"] = {weight=$weight}"; } } } print "},\n"; print "\t\tunop = {\n"; if ($sgn eq "bool") { print "\t\t\t[\"\!\"] = \"{out} = xor $llvmtype {this}, true\\n\""; } elsif ($sgn eq "unsigned") { print "\t\t\t[\"\~\"] = \"{out} = xor $llvmtype {this}, -1\\n\""; } elsif ($sgn eq "signed") { print "\t\t\t[\"-\"] = \"{out} = sub $llvmtype 0, {this}\\n\""; } elsif ($sgn eq "fp") { print "\t\t\t[\"-\"] = \"{out} = fneg $llvmtype {this}\\n\""; } else { die "Unknown sgn '$sgn' (3rd column in typelist)"; } print "},\n"; print "\t\tbinop = {"; my @ops = (); if ($sgn eq "bool") { } elsif ($sgn eq "unsigned") { @ops = ("[\"+\"] add nuw", "[\"-\"] sub nsw", "[\"*\"] mul nsw", "[\"/\"] udiv", "[\"%\"] urem", "[\"<<\"] shl", "[\">>\"] lshr", "[\"&\"] and", "[\"|\"] or", "[\"^\"] xor"); } elsif ($sgn eq "signed") { @ops = ("[\"+\"] add nsw", "[\"-\"] sub nsw", "[\"*\"] mul nsw", "[\"/\"] sdiv", "[\"%\"] srem", "[\"<<\"] shl nsw", "[\">>\"] ashr"); } elsif ($sgn eq "fp") { @ops = ("[\"+\"] fadd", "[\"-\"] fsub", "[\"*\"] fmul", "[\"/\"] fdiv", "[\"%\"] frem"); } else { die "Unknown sgn '$sgn' (3rd column in typelist)"; } $oi = 0; foreach my $op( @ops) { if ($oi++ > 0) {print ",\n";} else {print "\n";} my ($name,$llvm_name) = split / /, $op, 2; print "\t\t\t$name = \"{out} = $llvm_name $llvmtype {this}, {arg1}\\n\""; } print "},\n"; print "\t\tcmpop = {"; my @cmps = (); if ($sgn eq "bool" || $sgn eq "unsigned") { @cmps = ("[\"==\"] icmp eq", "[\"!=\"] icmp ne", "[\"<=\"] icmp ule", "[\"<\"] icmp ult", "[\">=\"] icmp uge", "[\">\"] icmp ugt"); } elsif ($sgn eq "signed") { @cmps = ("[\"==\"] icmp eq", "[\"!=\"] icmp ne", "[\"<=\"] icmp sle", "[\"<\"] icmp slt", "[\">=\"] icmp sge", "[\">\"] icmp sgt"); } elsif ($sgn eq "fp") { @cmps = ("[\"==\"] fcmp oeq", "[\"!=\"] fcmp one", "[\"<=\"] fcmp ole", "[\"<\"] fcmp olt", "[\">=\"] fcmp oge", "[\">\"] fcmp ogt"); } else { die "Unknown sgn '$sgn' (3rd column in typelist)"; } $oi = 0; foreach my $op( @cmps) { if ($oi++ > 0) {print ",\n";} else {print "\n";} my ($name,$llvm_name) = split / /, $op, 2; print "\t\t\t$name = \"{out} = $llvm_name $llvmtype {this}, {arg1}\\n\""; } print "}\n"; print "\t}"; } print "\n}\n";
25.15544
143
0.519773
edb372321753170bfde769573f98c7b09922f5fd
173
pl
Perl
script/cgi/perthon/ex/syntax.pl
ErikNissen/webanwendung
92ea306c1764f74035aa843d98eed186ea2339b4
[ "MIT" ]
null
null
null
script/cgi/perthon/ex/syntax.pl
ErikNissen/webanwendung
92ea306c1764f74035aa843d98eed186ea2339b4
[ "MIT" ]
null
null
null
script/cgi/perthon/ex/syntax.pl
ErikNissen/webanwendung
92ea306c1764f74035aa843d98eed186ea2339b4
[ "MIT" ]
null
null
null
use strict; print "123\ 234\n"; print qq(123\ 234\n); print <<TEXT; 123\ 234 TEXT print '123\ 234' . "\n"; print q(123\ 234) . "\n"; print <<'TEXT'; 123\ 234 TEXT
6.178571
15
0.566474
ed7d6f4d409fe62c66b8543fb3fe5b7c0539efcb
1,333
t
Perl
gnuradio-3.7.13.4/gr-blocks/lib/sample_and_hold_XX_impl.h.t
v1259397/cosmic-gnuradio
64c149520ac6a7d44179c3f4a38f38add45dd5dc
[ "BSD-3-Clause" ]
1
2021-03-09T07:32:37.000Z
2021-03-09T07:32:37.000Z
gnuradio-3.7.13.4/gr-blocks/lib/sample_and_hold_XX_impl.h.t
v1259397/cosmic-gnuradio
64c149520ac6a7d44179c3f4a38f38add45dd5dc
[ "BSD-3-Clause" ]
null
null
null
gnuradio-3.7.13.4/gr-blocks/lib/sample_and_hold_XX_impl.h.t
v1259397/cosmic-gnuradio
64c149520ac6a7d44179c3f4a38f38add45dd5dc
[ "BSD-3-Clause" ]
null
null
null
/* -*- c++ -*- */ /* * Copyright 2007,2013 Free Software Foundation, Inc. * * This file is part of GNU Radio * * GNU Radio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3, or (at your option) * any later version. * * GNU Radio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with GNU Radio; see the file COPYING. If not, write to * the Free Software Foundation, Inc., 51 Franklin Street, * Boston, MA 02110-1301, USA. */ // @WARNING@ #ifndef @GUARD_NAME_IMPL@ #define @GUARD_NAME_IMPL@ #include <gnuradio/blocks/@NAME@.h> namespace gr { namespace blocks { class @NAME_IMPL@ : public @NAME@ { private: @O_TYPE@ d_data; public: @NAME_IMPL@(); ~@NAME_IMPL@(); int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items); }; } /* namespace blocks */ } /* namespace gr */ #endif /* @GUARD_NAME_IMPL@ */
26.137255
71
0.675169
edf7e2d309da29bc33388cff9a8fbd26af9f9c9e
3,159
pl
Perl
util/perl/cert_median.pl
mortior/coremark-pro
4832cc67b0926c7a80a4b7ce0ce00f4640ea6bec
[ "RSA-MD" ]
72
2019-08-31T01:24:19.000Z
2022-03-29T13:34:44.000Z
util/perl/cert_median.pl
mortior/coremark-pro
4832cc67b0926c7a80a4b7ce0ce00f4640ea6bec
[ "RSA-MD" ]
8
2019-07-25T11:39:12.000Z
2021-03-11T19:37:21.000Z
util/perl/cert_median.pl
mortior/coremark-pro
4832cc67b0926c7a80a4b7ce0ce00f4640ea6bec
[ "RSA-MD" ]
28
2019-09-15T07:40:07.000Z
2022-02-12T08:02:37.000Z
#!/usr/bin/perl # File: util/perl/cert_median.pl # Description: # Calculate median of performance runs during certification use strict; my $id=0; my $iid; my $ires; my $iname; my $itime; my %all_fields; my %field_id; my %name; my %res; my %timed; my $lastuid; my $lastline; my $perf_runs=0; #hardcode column ids $iid = 0; $ires = 8; $iname = 2; $itime = 6; my ($fn, $contype) = @ARGV; die "Usage: $0 filename currencytype(best|single)\n" if ! defined $contype || ! -f $fn; open FP, $fn or die "$0: Failed to open file $fn : $!\n"; #extract all results from the log file while (<FP>) { chomp; $lastline=$_; my @fields = split /\s+/; my $nfields=scalar @fields; # #collect field indexes # if ($id==0) { # foreach my $f (@fields) { # $field_id{"$f"}=$id; # $id++; # } # $id--; # $iid=$field_id{"UID"}; # $ires=$field_id{"i/s"}; # $iname=$field_id{"Name"}; # $itime=$field_id{"t(s)"}; # next; # } #scan for start of performance runs if (/performance runs/) { $perf_runs=1; } if (/verification run/) { $perf_runs=0; } next if (!$perf_runs); #now save all results next if ($nfields < $ires); next if ($fields[$iid] eq "UID"); next if $fields[$iid] =~ /^#/; $lastuid=$fields[$iid]; $all_fields{$lastuid}=\@fields; $name{$lastuid}=$fields[$iname]; push @{$res{$lastuid}}, $fields[$ires]; push @{$timed{$lastuid}}, $fields[$itime]; } close FP; #for each workload, calculate and print the median as an extra result line foreach $lastuid (sort keys %res) { my $numres=scalar @{$res{$lastuid}}; if ($numres<3) { print "Could not find 3 valid results for $name{$lastuid} [$lastuid]\n"; next; } splice @{$res{$lastuid}}, 0, $numres-3; my $med=median($res{$lastuid}); $all_fields{$lastuid}->[$ires]=$med; $med=median($timed{$lastuid}); $all_fields{$lastuid}->[$itime]=$med; printf("%-15d %5s %-40s %3d %3d %5d %10.3f %10d %10.2f %9d %10d median $contype\n", @{$all_fields{$lastuid}}, #variance($res{$lastuid}), #std_dev($res{$lastuid}) ); # foreach my $f (@{$all_fields{$lastuid}}) { # print "$f\t"; # } # #add variance and standard deviation at the end. # print variance($res{$lastuid}); # print "\t"; # print std_dev($res{$lastuid}); # print "\n"; } exit; sub median { my $rpole = shift; my @pole = @$rpole; my $ret; my @spole=sort {$a <=> $b} @pole; if( (@spole % 2) == 1 ) { $ret = $spole[((@spole+1) / 2)-1]; } else { $ret = ($spole[(@spole / 2)-1] + $spole[@spole / 2]) / 2; } my $i; return $ret; } sub mean { my $result; foreach (@_) { $result += $_ } return $result / @_; } sub std_dev { my $mean = mean(@_); my @elem_squared; foreach (@_) { push (@elem_squared, ($_ **2)); } return sqrt( mean(@elem_squared) - ($mean ** 2)); } sub variance { my $array_ref = shift; my $n = scalar(@{$array_ref}); my $result = 0; my $item; my $sum = 0; my $sum_sq = 0; my $n = scalar @{$array_ref}; foreach $item (@{$array_ref}) { $sum += $item; $sum_sq += $item*$item; } if ($n > 1) { $result = (($n * $sum_sq) - $sum**2)/($n*($n-1)); } return $result; }
19.867925
84
0.568534
ed8fac0ab0d69a75210113037e7ba64702a757f9
11,826
pl
Perl
data/processed/0.5_0.5_150/earthquake_80_1592975436_True_examples.pl
VincentDerk/Paper-AC-Decisions-Learning
abd1dc8893fbb11b43ebb49a25e26c0183bdba62
[ "Apache-2.0" ]
null
null
null
data/processed/0.5_0.5_150/earthquake_80_1592975436_True_examples.pl
VincentDerk/Paper-AC-Decisions-Learning
abd1dc8893fbb11b43ebb49a25e26c0183bdba62
[ "Apache-2.0" ]
null
null
null
data/processed/0.5_0.5_150/earthquake_80_1592975436_True_examples.pl
VincentDerk/Paper-AC-Decisions-Learning
abd1dc8893fbb11b43ebb49a25e26c0183bdba62
[ "Apache-2.0" ]
null
null
null
evidence(maryCalls,false). evidence(alarm,false). evidence(johnCalls,false). utility(7). ----- evidence(alarm,false). evidence(johnCalls,false). utility(7). ----- evidence(burglary,false). evidence(maryCalls,false). evidence(earthquake,false). utility(7). ----- evidence(burglary,false). evidence(johnCalls,false). evidence(earthquake,false). utility(7). ----- utility(7). ----- evidence(burglary,false). evidence(johnCalls,false). evidence(earthquake,false). utility(7). ----- evidence(burglary,false). evidence(maryCalls,false). utility(7). ----- evidence(alarm,false). evidence(earthquake,false). utility(7). ----- evidence(burglary,false). evidence(maryCalls,false). evidence(alarm,false). evidence(earthquake,false). utility(7). ----- evidence(burglary,false). evidence(maryCalls,false). evidence(earthquake,false). utility(7). ----- evidence(maryCalls,false). evidence(earthquake,false). utility(7). ----- evidence(burglary,false). evidence(maryCalls,false). evidence(alarm,false). evidence(earthquake,false). utility(7). ----- evidence(johnCalls,false). evidence(earthquake,false). utility(7). ----- evidence(alarm,false). evidence(earthquake,false). utility(7). ----- evidence(burglary,false). evidence(alarm,false). evidence(johnCalls,false). evidence(earthquake,false). utility(7). ----- evidence(burglary,false). evidence(maryCalls,false). evidence(earthquake,false). utility(7). ----- evidence(burglary,false). evidence(maryCalls,false). utility(7). ----- evidence(maryCalls,false). evidence(alarm,false). evidence(johnCalls,false). evidence(earthquake,false). utility(7). ----- utility(7). ----- evidence(burglary,false). evidence(alarm,false). evidence(johnCalls,false). utility(7). ----- evidence(earthquake,false). utility(7). ----- evidence(maryCalls,false). evidence(alarm,false). utility(7). ----- evidence(burglary,false). utility(7). ----- evidence(maryCalls,false). evidence(johnCalls,false). utility(7). ----- evidence(maryCalls,false). evidence(johnCalls,false). evidence(earthquake,false). utility(7). ----- evidence(maryCalls,false). evidence(johnCalls,false). evidence(earthquake,false). utility(7). ----- utility(7). ----- evidence(burglary,false). evidence(maryCalls,false). evidence(alarm,false). evidence(johnCalls,false). utility(7). ----- evidence(maryCalls,false). utility(7). ----- evidence(maryCalls,false). evidence(earthquake,false). utility(7). ----- evidence(earthquake,false). utility(7). ----- evidence(burglary,false). evidence(maryCalls,false). utility(7). ----- evidence(burglary,false). evidence(maryCalls,false). evidence(alarm,false). evidence(johnCalls,false). evidence(earthquake,false). utility(7). ----- evidence(alarm,false). evidence(johnCalls,false). utility(7). ----- evidence(burglary,false). evidence(maryCalls,false). evidence(earthquake,false). utility(7). ----- evidence(burglary,false). evidence(maryCalls,false). utility(7). ----- evidence(burglary,false). evidence(maryCalls,false). evidence(alarm,false). evidence(johnCalls,false). utility(7). ----- evidence(burglary,false). evidence(alarm,false). utility(7). ----- utility(7). ----- evidence(burglary,false). evidence(alarm,false). evidence(earthquake,false). utility(7). ----- evidence(burglary,false). evidence(maryCalls,false). evidence(alarm,false). utility(7). ----- evidence(burglary,false). evidence(alarm,false). evidence(johnCalls,false). utility(7). ----- evidence(maryCalls,false). evidence(alarm,false). evidence(johnCalls,false). utility(7). ----- evidence(burglary,false). evidence(earthquake,false). utility(7). ----- evidence(maryCalls,false). evidence(alarm,false). evidence(johnCalls,false). utility(7). ----- evidence(maryCalls,false). evidence(alarm,false). utility(7). ----- evidence(burglary,false). evidence(maryCalls,false). evidence(alarm,false). evidence(johnCalls,false). evidence(earthquake,false). utility(7). ----- evidence(burglary,false). evidence(maryCalls,false). evidence(johnCalls,false). evidence(earthquake,false). utility(7). ----- evidence(alarm,false). evidence(earthquake,false). utility(7). ----- evidence(burglary,false). evidence(maryCalls,false). evidence(johnCalls,false). evidence(earthquake,false). utility(7). ----- evidence(burglary,false). evidence(maryCalls,false). evidence(johnCalls,false). utility(7). ----- evidence(alarm,false). utility(7). ----- utility(7). ----- evidence(burglary,false). evidence(alarm,false). evidence(johnCalls,false). evidence(earthquake,false). utility(7). ----- evidence(burglary,false). evidence(alarm,false). evidence(johnCalls,false). utility(7). ----- evidence(maryCalls,false). utility(7). ----- evidence(alarm,false). evidence(johnCalls,false). evidence(earthquake,false). utility(7). ----- evidence(maryCalls,false). evidence(alarm,false). evidence(earthquake,false). utility(7). ----- evidence(burglary,false). evidence(maryCalls,false). evidence(johnCalls,false). evidence(earthquake,false). utility(7). ----- evidence(burglary,false). evidence(maryCalls,false). evidence(johnCalls,false). utility(7). ----- evidence(alarm,false). evidence(johnCalls,false). utility(7). ----- evidence(maryCalls,false). evidence(alarm,false). evidence(johnCalls,false). utility(7). ----- evidence(burglary,false). evidence(alarm,false). utility(7). ----- evidence(burglary,false). evidence(alarm,false). evidence(johnCalls,false). utility(7). ----- evidence(burglary,false). evidence(maryCalls,false). evidence(earthquake,false). utility(7). ----- evidence(earthquake,false). utility(7). ----- evidence(burglary,false). evidence(maryCalls,false). evidence(johnCalls,false). evidence(earthquake,false). utility(7). ----- evidence(johnCalls,false). utility(7). ----- evidence(burglary,false). evidence(maryCalls,false). evidence(johnCalls,false). evidence(earthquake,false). utility(7). ----- evidence(burglary,false). utility(7). ----- evidence(johnCalls,false). evidence(earthquake,false). utility(7). ----- evidence(burglary,false). evidence(johnCalls,false). utility(7). ----- evidence(maryCalls,false). evidence(johnCalls,false). utility(7). ----- evidence(alarm,false). utility(7). ----- evidence(burglary,false). evidence(maryCalls,false). evidence(alarm,false). utility(7). ----- evidence(burglary,false). evidence(maryCalls,false). evidence(earthquake,false). utility(7). ----- evidence(burglary,false). evidence(earthquake,false). utility(7). ----- evidence(burglary,false). utility(7). ----- evidence(earthquake,false). utility(7). ----- evidence(alarm,false). evidence(johnCalls,false). evidence(earthquake,false). utility(7). ----- evidence(burglary,false). utility(7). ----- evidence(maryCalls,false). utility(7). ----- evidence(alarm,false). evidence(earthquake,false). utility(7). ----- evidence(maryCalls,false). evidence(alarm,false). evidence(johnCalls,false). utility(7). ----- evidence(burglary,false). evidence(maryCalls,false). utility(7). ----- evidence(alarm,false). utility(7). ----- evidence(maryCalls,false). evidence(alarm,false). utility(7). ----- evidence(johnCalls,false). utility(7). ----- evidence(alarm,false). evidence(johnCalls,false). utility(7). ----- evidence(burglary,false). evidence(maryCalls,false). evidence(alarm,false). evidence(earthquake,false). utility(7). ----- evidence(burglary,false). evidence(alarm,false). utility(7). ----- evidence(maryCalls,false). evidence(alarm,false). evidence(johnCalls,false). evidence(earthquake,false). utility(7). ----- evidence(burglary,false). evidence(maryCalls,false). evidence(alarm,false). evidence(johnCalls,false). evidence(earthquake,false). utility(7). ----- evidence(johnCalls,false). evidence(earthquake,false). utility(7). ----- evidence(burglary,false). evidence(johnCalls,true). utility(7). ----- evidence(burglary,false). evidence(maryCalls,false). evidence(alarm,false). utility(18). ----- evidence(burglary,false). evidence(maryCalls,false). evidence(alarm,false). evidence(earthquake,false). utility(7). ----- evidence(alarm,false). utility(7). ----- evidence(alarm,false). evidence(johnCalls,false). utility(7). ----- evidence(johnCalls,false). utility(7). ----- evidence(johnCalls,false). evidence(earthquake,false). utility(7). ----- evidence(maryCalls,false). utility(7). ----- evidence(burglary,false). evidence(alarm,false). evidence(johnCalls,false). evidence(earthquake,false). utility(7). ----- evidence(burglary,false). evidence(johnCalls,false). evidence(earthquake,false). utility(7). ----- evidence(maryCalls,false). evidence(johnCalls,false). utility(7). ----- evidence(maryCalls,false). evidence(earthquake,false). utility(7). ----- evidence(burglary,false). evidence(alarm,false). evidence(johnCalls,false). utility(7). ----- evidence(maryCalls,false). evidence(earthquake,false). utility(7). ----- evidence(burglary,false). evidence(alarm,false). evidence(johnCalls,true). utility(7). ----- evidence(maryCalls,false). evidence(johnCalls,false). utility(7). ----- evidence(maryCalls,false). evidence(alarm,false). evidence(johnCalls,false). evidence(earthquake,false). utility(7). ----- utility(7). ----- evidence(maryCalls,true). evidence(alarm,true). evidence(earthquake,false). utility(121). ----- evidence(burglary,false). evidence(maryCalls,false). evidence(alarm,false). evidence(earthquake,false). utility(7). ----- evidence(burglary,false). evidence(earthquake,false). utility(7). ----- evidence(maryCalls,false). utility(7). ----- evidence(johnCalls,false). utility(7). ----- evidence(johnCalls,false). utility(7). ----- evidence(burglary,false). evidence(alarm,false). evidence(johnCalls,false). evidence(earthquake,false). utility(7). ----- evidence(burglary,false). evidence(maryCalls,false). evidence(alarm,false). utility(7). ----- evidence(alarm,false). utility(7). ----- evidence(maryCalls,false). evidence(alarm,false). evidence(johnCalls,false). utility(7). ----- evidence(burglary,false). utility(18). ----- evidence(alarm,false). utility(7). ----- evidence(alarm,false). evidence(earthquake,false). utility(7). ----- evidence(burglary,false). evidence(johnCalls,false). evidence(earthquake,false). utility(7). ----- evidence(earthquake,false). utility(7). ----- evidence(alarm,false). evidence(earthquake,false). utility(7). ----- utility(33). ----- evidence(maryCalls,false). evidence(alarm,false). evidence(earthquake,false). utility(7). ----- evidence(burglary,false). evidence(johnCalls,false). utility(7). ----- evidence(maryCalls,false). evidence(alarm,false). evidence(earthquake,false). utility(7). ----- evidence(burglary,false). evidence(earthquake,false). utility(7). ----- evidence(burglary,false). evidence(maryCalls,false). evidence(alarm,false). utility(7). ----- evidence(burglary,false). evidence(johnCalls,false). evidence(earthquake,false). utility(7). ----- evidence(burglary,false). evidence(johnCalls,false). utility(7). ----- evidence(burglary,false). evidence(maryCalls,false). evidence(alarm,false). evidence(johnCalls,false). utility(7). ----- evidence(johnCalls,false). evidence(earthquake,false). utility(7). ----- evidence(maryCalls,false). evidence(alarm,false). evidence(johnCalls,true). evidence(earthquake,false). utility(7). ----- evidence(burglary,false). evidence(johnCalls,false). evidence(earthquake,false). utility(7). ----- evidence(burglary,false). evidence(alarm,false). utility(7). ----- evidence(earthquake,false). utility(7). ----- evidence(johnCalls,false). evidence(earthquake,false). utility(7). ----- evidence(burglary,false). evidence(earthquake,false). utility(7). ----- utility(7). ----- evidence(maryCalls,false). evidence(johnCalls,false). evidence(earthquake,false). utility(7). ----- evidence(maryCalls,false). utility(7). ----- evidence(maryCalls,false). evidence(alarm,false). utility(7). ----- evidence(maryCalls,false). evidence(earthquake,false). utility(7). ----- evidence(burglary,false). evidence(earthquake,false). utility(7). -----
18.22188
27
0.726027
ed66ee3be7eac90fef059293e03bc500b8d6ef3f
4,971
pm
Perl
centreon/common/cisco/standard/snmp/mode/load.pm
aladdinchan/centreon-plugins
cf68e79983245f9aea510e155340020e4babd591
[ "Apache-2.0" ]
null
null
null
centreon/common/cisco/standard/snmp/mode/load.pm
aladdinchan/centreon-plugins
cf68e79983245f9aea510e155340020e4babd591
[ "Apache-2.0" ]
null
null
null
centreon/common/cisco/standard/snmp/mode/load.pm
aladdinchan/centreon-plugins
cf68e79983245f9aea510e155340020e4babd591
[ "Apache-2.0" ]
null
null
null
# # Copyright 2019 Centreon (http://www.centreon.com/) # # Centreon is a full-fledged industry-strength solution that meets # the needs in IT infrastructure and application monitoring for # service performance. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # package centreon::common::cisco::standard::snmp::mode::load; use base qw(centreon::plugins::templates::counter); use strict; use warnings; sub set_counters { my ($self, %options) = @_; $self->{maps_counters_type} = [ { name => 'cpu_core', type => 1, cb_prefix_output => 'prefix_cpu_core_output', message_separator => ' ', message_multiple => 'All core cpu loads are ok', skipped_code => { -10 => 1 } } ]; $self->{maps_counters}->{cpu_core} = [ { label => 'core-load-1m', nlabel => 'core.cpu.load.1m.count', set => { key_values => [ { name => 'cpmCPULoadAvg1min' }, { name => 'display' } ], output_template => '%.2f (1m)', perfdatas => [ { value => 'cpmCPULoadAvg1min_absolute', template => '%.2f', min => 0, label_extra_instance => 1, instance_use => 'display_absolute' }, ], } }, { label => 'core-load-5m', nlabel => 'core.cpu.load.5m.count', set => { key_values => [ { name => 'cpmCPULoadAvg5min' }, { name => 'display' } ], output_template => '%.2f (5m)', perfdatas => [ { value => 'cpmCPULoadAvg5min_absolute', template => '%.2f', min => 0, label_extra_instance => 1, instance_use => 'display_absolute' }, ], } }, { label => 'core-load-15m', nlabel => 'core.cpu.load.15m.count', set => { key_values => [ { name => 'cpmCPULoadAvg15min' }, { name => 'display' } ], output_template => '%.2f (15m)', perfdatas => [ { value => 'cpmCPULoadAvg15min_absolute', template => '%.2f', min => 0, label_extra_instance => 1, instance_use => 'display_absolute' }, ], } }, ]; } sub prefix_cpu_core_output { my ($self, %options) = @_; return "CPU '" . $options{instance_value}->{display} . "' load "; } sub new { my ($class, %options) = @_; my $self = $class->SUPER::new(package => __PACKAGE__, %options, force_new_perfdata => 1); bless $self, $class; $options{options}->add_options(arguments => { }); return $self; } my $mapping = { cpmCPUTotalPhysicalIndex => { oid => '.1.3.6.1.4.1.9.9.109.1.1.1.1.2' }, cpmCPULoadAvg1min => { oid => '.1.3.6.1.4.1.9.9.109.1.1.1.1.24' }, cpmCPULoadAvg5min => { oid => '.1.3.6.1.4.1.9.9.109.1.1.1.1.25' }, cpmCPULoadAvg15min => { oid => '.1.3.6.1.4.1.9.9.109.1.1.1.1.26' }, }; sub manage_selection { my ($self, %options) = @_; my $oid_cpmCPUTotalEntry = '.1.3.6.1.4.1.9.9.109.1.1.1.1'; my $snmp_result = $options{snmp}->get_multiple_table( oids => [ { oid => $oid_cpmCPUTotalEntry, start => $mapping->{cpmCPULoadAvg1min}->{oid}, end => $mapping->{cpmCPULoadAvg15min}->{oid} }, { oid => $mapping->{cpmCPUTotalPhysicalIndex}->{oid} }, ], return_type => 1, nothing_quit => 1 ); $self->{cpu_core} = {}; foreach my $oid (keys %$snmp_result) { next if ($oid !~ /^$mapping->{cpmCPULoadAvg1min}->{oid}\.(.*)$/); my $instance = $1; my $result = $options{snmp}->map_instance(mapping => $mapping, results => $snmp_result, instance => $instance); $self->{cpu_core}->{$instance} = { display => $instance, %$result }; } my $oid_entPhysicalDescr = '.1.3.6.1.2.1.47.1.1.1.1.2'; $snmp_result = $options{snmp}->get_leef( oids => [ map($_->{cpmCPUTotalPhysicalIndex} != 0 ? $oid_entPhysicalDescr . '.' . $_->{cpmCPUTotalPhysicalIndex} : (), values(%{$self->{cpu_core}})) ] ); foreach (values %{$self->{cpu_core}}) { next if (!defined($snmp_result->{ $oid_entPhysicalDescr . '.' . $_->{cpmCPUTotalPhysicalIndex} })); $_->{display} = $snmp_result->{ $oid_entPhysicalDescr . '.' . $_->{cpmCPUTotalPhysicalIndex} }; } } 1; __END__ =head1 MODE Check cpu load usage. =over 8 =item B<--warning-*> B<--critical-*> Thresholds. Can be: 'core-load-1m', 'core-load-5m', 'core-load-15m'. =back =cut
34.762238
192
0.562663
edf6065987a26032887aabf0bfda3abf1bd65369
2,945
t
Perl
t/300_high/01_simple.t
jorol/Furl
537c1e6a65a5e32f6ac3d25f235831f9319308f1
[ "Artistic-1.0" ]
28
2015-02-01T17:37:08.000Z
2022-01-14T03:52:27.000Z
t/300_high/01_simple.t
jorol/Furl
537c1e6a65a5e32f6ac3d25f235831f9319308f1
[ "Artistic-1.0" ]
40
2015-01-02T17:51:41.000Z
2022-03-09T02:41:47.000Z
t/300_high/01_simple.t
jorol/Furl
537c1e6a65a5e32f6ac3d25f235831f9319308f1
[ "Artistic-1.0" ]
30
2015-02-06T06:24:07.000Z
2022-03-10T15:52:13.000Z
use strict; use warnings; use Furl; use Test::TCP; use Test::Requires qw(Plack::Request HTTP::Body), 'Plack'; use Plack::Loader; use Test::More; use Plack::Request; use File::Temp; use Fcntl qw/:seek/; my @data = ( ['get', [], sub { }], ['get', [['X-Foo' => 'bar']], sub { is $_->header('X-Foo'), 'bar'; }], ['head', [], sub { }], ['head', [['X-Foo' => 'bar']], sub { is $_->header('X-Foo'), 'bar'; }], ['post', [[], 'doya'], sub { is $_->content_length, 4; is $_->content, 'doya' }], ['post', [undef, 'doya'], sub { is $_->content_length, 4; is $_->content, 'doya' }], ['post', [[], ['do' => 'ya']], sub { is $_->content_length, 5; is $_->content, 'do=ya' }], ['post', [[], {'do' => 'ya'}], sub { is $_->content_length, 5; is $_->content, 'do=ya' }], ['post', [[], ['do' => 'ya', '=foo=' => 'bar baz']], sub { my $c = 'do=ya&%3Dfoo%3D=bar%20baz'; is $_->content_length, length($c); is $_->content, $c; }, ], ['put', [[], 'doya'], sub { is $_->content_length, 4; is $_->content, 'doya' }], ['put', [undef, 'doya'], sub { is $_->content_length, 4; is $_->content, 'doya' }], ['put', [[], ['do' => 'ya']], sub { is $_->content_length, 5; is $_->content, 'do=ya' }], ['put', [[], {'do' => 'ya'}], sub { is $_->content_length, 5; is $_->content, 'do=ya' }], ['put', [[], ['do' => 'ya', '=foo=' => 'bar baz']], sub { my $c = 'do=ya&%3Dfoo%3D=bar%20baz'; is $_->content_length, length($c); is $_->content, $c; }, ], ['delete', [], sub { }], ['delete', [['X-Foo' => 'bar']], sub { is $_->header('X-Foo'), 'bar'; }], ['delete', [undef, 'doya'], sub { is $_->content_length, 4; is $_->content, 'doya'; }], ); test_tcp( client => sub { my $port = shift; my $furl = Furl->new(); my $url = "http://127.0.0.1:$port"; my @d = @data; while (my $row = shift @d) { my ($method, $args) = @$row; note "-- $method"; my $res = $furl->$method($url, @$args); is $res->status, 200, "client: status by $method()" or die "BAD: " . join(', ', $res->status, $res->message, $res->content); } done_testing; }, server => sub { my $port = shift; my @d = @data; Plack::Loader->auto( port => $port )->run(sub { while (my $row = shift @d) { my $env = shift; my $row = shift @data; my ($method, $args, $code) = @$row; local $_ = Plack::Request->new($env); is uc($_->method), uc($method), 'server: method'; $code->(); return [ 200, [ 'Content-Length' => 2 ], ['OK'] ]; } }); } );
34.244186
94
0.418336
edf9e14ff6d43b0a20965685e06e7df1c2e5a799
1,938
pm
Perl
tests/console/soundtouch.pm
acerv/os-autoinst-distri-opensuse
0e0cfca02f3a86323682c511a1efa926c7f0df3a
[ "FSFAP" ]
84
2015-02-10T16:01:52.000Z
2022-03-10T21:20:14.000Z
tests/console/soundtouch.pm
acerv/os-autoinst-distri-opensuse
0e0cfca02f3a86323682c511a1efa926c7f0df3a
[ "FSFAP" ]
8,065
2015-01-07T07:44:02.000Z
2022-03-31T12:02:06.000Z
tests/console/soundtouch.pm
acerv/os-autoinst-distri-opensuse
0e0cfca02f3a86323682c511a1efa926c7f0df3a
[ "FSFAP" ]
404
2015-01-14T14:42:44.000Z
2022-03-30T07:38:08.000Z
# SUSE's openQA tests # # Copyright 2019 SUSE LLC # SPDX-License-Identifier: FSFAP # Package: soundtouch alsa-utils # Summary: Using soundstretch to change original track and check the result, changing: # - rate # - tempo and pitch # - bmp # Maintainer: Katerina Lorenzova <klorenzova@suse.cz> use base 'consoletest'; use strict; use warnings; use testapi; use utils; use registration qw(cleanup_registration register_product add_suseconnect_product get_addon_fullname remove_suseconnect_product); use version_utils 'is_sle'; sub run { select_console 'root-console'; # development module needed for dependencies, released products are tested with sdk module if (is_sle() && !main_common::is_updates_tests()) { cleanup_registration; register_product; add_suseconnect_product('sle-module-desktop-applications'); add_suseconnect_product(get_addon_fullname('sdk')); } zypper_call "in soundtouch"; zypper_call "in alsa-utils"; select_console 'user-console'; assert_script_run 'mkdir soundtouch'; assert_script_run 'set_default_volume -f'; assert_script_run 'soundstretch data/1d5d9dD.wav soundtouch/1d5d9dD_rate.wav -rate=+35'; assert_script_run 'soundstretch data/1d5d9dD.wav soundtouch/1d5d9dD_tempo-and-pitch.wav -tempo=-60 -pitch=-6'; #soundstrech is not able to detect bpm on 1d5d9dD.wav, using bar.wav instead assert_script_run 'soundstretch data/bar.wav soundtouch/bar_bpm.wav -bpm=60'; start_audiocapture; assert_script_run 'aplay soundtouch/1d5d9dD_rate.wav soundtouch/1d5d9dD_tempo-and-pitch.wav soundtouch/bar_bpm.wav'; record_soft_failure 'bsc#1048271' unless assert_recorded_sound 'soundtouch'; assert_script_run 'rm -rf soundtouch'; # unregister SDK if (is_sle() && !main_common::is_updates_tests()) { select_console 'root-console'; remove_suseconnect_product(get_addon_fullname('sdk')); } } 1;
36.566038
129
0.75129
edabfa7bdb9eca66377e63d2c206d51d512b232a
2,178
t
Perl
examples/typeinference/ExampleAntipattern.t
rewriting/tom
2918e95c78006f08a2a0919ef440413fa5c2342a
[ "BSD-3-Clause" ]
36
2016-02-19T12:09:49.000Z
2022-02-03T13:13:21.000Z
examples/typeinference/ExampleAntipattern.t
rewriting/tom
2918e95c78006f08a2a0919ef440413fa5c2342a
[ "BSD-3-Clause" ]
null
null
null
examples/typeinference/ExampleAntipattern.t
rewriting/tom
2918e95c78006f08a2a0919ef440413fa5c2342a
[ "BSD-3-Clause" ]
6
2017-11-30T17:07:10.000Z
2022-03-12T14:46:21.000Z
/* * Copyright (c) 2004-2015, Universite de Lorraine, Inria * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * - Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * - Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * - Neither the name of the Inria nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ package typeinference; import typeinference.exampleantipattern.exampleantipattern.types.*; public class ExampleAntipattern { %gom { module ExampleAntipattern imports int abstract syntax B = conc(int*) } public static void main(String[] args) { B list = `conc(1,2,3); B emptyList = `conc(); %match{ conc(_*,!3,_*) << B list -> { System.out.println("ligne 1 = " + `list); } !conc(_*,3,_*) << B list -> { System.out.println("ligne 2 = " + `list); } !conc(_*,3,_*) << B emptyList -> { System.out.println("ligne 3 = " + `list); } } } }
41.09434
84
0.71809
ed9ffca533db70457d67b8733f598de7580237a3
745
pm
Perl
modules/Sanger/Graphics/Glyph/Intron.pm
sanjay-boddu/ensembl-webcode
2a8f55a9edde3553e705fe0fc1c6ef69e69e7153
[ "Apache-2.0", "MIT" ]
null
null
null
modules/Sanger/Graphics/Glyph/Intron.pm
sanjay-boddu/ensembl-webcode
2a8f55a9edde3553e705fe0fc1c6ef69e69e7153
[ "Apache-2.0", "MIT" ]
null
null
null
modules/Sanger/Graphics/Glyph/Intron.pm
sanjay-boddu/ensembl-webcode
2a8f55a9edde3553e705fe0fc1c6ef69e69e7153
[ "Apache-2.0", "MIT" ]
null
null
null
=head1 LICENSE Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. =cut package Sanger::Graphics::Glyph::Intron; use strict; use base qw(Sanger::Graphics::Glyph); 1;
31.041667
100
0.787919
edf32aed2703accf5fe75f3037896fe7ccce3483
29,777
pm
Perl
src/fhem/trunk/fhem/FHEM/53_GHoma.pm
nastymorbol/fhem-docker
c88d13e6fb098a487486b448806048eab1222b81
[ "MIT" ]
null
null
null
src/fhem/trunk/fhem/FHEM/53_GHoma.pm
nastymorbol/fhem-docker
c88d13e6fb098a487486b448806048eab1222b81
[ "MIT" ]
null
null
null
src/fhem/trunk/fhem/FHEM/53_GHoma.pm
nastymorbol/fhem-docker
c88d13e6fb098a487486b448806048eab1222b81
[ "MIT" ]
null
null
null
############################################## # $Id: 53_GHoma.pm 19551 2019-06-04 20:10:50Z klausw $ # # # modifikation fuer Energiemessung von martin-s # # Todo: # - unbekannte Strings mit Log1 speichern # - unbekannte Steckermodelle mit Log1 speichern # # Protokoll: # Prefix (5a a5), Anzahl Nutzbytes (2 Byte), Payload, Checksumme (FF - LowByte der Summe aller Payloadbytes), Postfix (5b b5) # Antwort von Dose hat immer die letzen 3 Bloecke der MAC vom 11-13 Byte # # Payload immer in "|" # #Init1 (vom Server): # 5a a5 00 07|02 05 0d 07 05 07 12|c6 5b b5 # ** ** ** ** ** ** ** scheinen zufaellig zu sein # 5a a5 00 01|02|fd 5b b5 #Antwort auf Init1 von Dose: # 5A A5 00 0B|03 01 0A C0 32 23 62 8A 7E 01 C2|AF 5B B5 # MM MM MM ** MM: letzte 3 Stellen der MAC, ** scheinbar eine Checksumme basierend auf den 6 zufaelligen Bytes von Init1 # ?? ?? ??: Unterschiedlich bei verschiedenen Steckermodellen #Init2 (vom Server): # 5a a5 00 02|05 01|f9 5b b5 #Antwort auf Init2 von Dose: # 5A A5 00 12|07 01 0A C0 32 23 62 8A 7E 00 01 06 AC CF 23 62 8A 7E|5F 5B B5 # MM MM MM MM: letzte 3 Stellen der MAC # MM MM MM MM MM MM MM: komplette MAC # ?? ?? ??: Unterschiedlich bei verschiedenen Steckermodellen # 5A A5 00 12|07 01 0A C0 32 23 62 8A 7E 00 02 05 00 01 01 08 11|4C 5B B5 Anzahl Bytes stimmt nicht! ist aber immer so # FF FF FF FF: Firmware Version # 5A A5 00 15|90 01 0A E0 32 23 62 8A 7E 00 00 00 81 11 00 00 01 00 00 00 00|32 5B B5 Status der Dose (wird auch immer bei Zustandsaenderung geschickt) # MM MM MM MM: letzte 3 Stellen der MAC # qq qq: Schaltquelle 81=lokal geschaltet, 11=remote geschaltet # oo oo: Schaltzustand ff=an, 00=aus # ?? ?? ??: Unterschiedlich bei verschiedenen Steckermodellen # Danach kommt alle x Sekunden ein Heartbeat von der Dose: # 5A A5 00 09|04 01 0A C0 32 23 62 8A 7E|71 5B B5 # MM MM MM # ?? ?? ??: Unterschiedlich bei verschiedenen Steckermodellen # Antwort vom Server (wenn die nicht kommt blinkt Dose wieder und muss neu initialisiert werden): # 5a a5 00 01|06|f9 5b b5 #--------------------------------------------------------------------------------------------------------- # Einschalten der Dose: # 5a a5 00 17|10 01 01 0a e0 32 23 62 8a 7e ff fe 00 00 10 11 00 00 01 00 00 00 ff|26 5b b5 # MM MM MM # ?? ?? ??: Unterschiedlich bei verschiedenen Steckermodellen # Ausschalten der Dose # 5a a5 00 17|10 01 01 0a e0 32 23 62 8a 7e ff fe 00 00 10 11 00 00 01 00 00 00 00|25 5b b5 # MM MM MM # ?? ?? ??: Unterschiedlich bei verschiedenen Steckermodellen # beides wird quittiert (ebenso wird auch bei lokaler betaetigung quittiert) -> siehe 3. Antwort auf Init 2 #--------------------------------------------------------------------------------------------------------- # Bei Dosen mit Verbrauchsdaten: # 5A A5 00 16|90 01 0a e0 35 23 d3 48 d4 ff fe 01 81 39 00 00 01 03 20 00 56 9b|70 5b b5 Verbrauchsdaten # ?? ?? MM MM MM # id id: Art der Daten 01 = Leistung, 02 = Energie, 03 = Spannung, 04 = Strom, 05 = Frequenz, 07 = maxpower, 08 = Cosphi # VV VV VV VV: Verbrauchswerte (muss durch 100 geteilt werden) package main; use strict; use warnings; use SetExtensions; use TcpServerUtils; my $prefix = pack('C*', (0x5a,0xa5)); my $postfix = pack('C*', (0x5b,0xb5)); my $init1a = pack('C*', (0x02,0x05,0x0d,0x07,0x05,0x07,0x12)); my $init1b = pack('C*', (0x02)); my $init2 = pack('C*', (0x05,0x01)); my $hbeat = pack('C*', (0x06)); my $switch1 = pack('C*', (0x10,0x01,0x01,0x0a,0xe0)); my $switch2 = pack('C*', (0xff,0xfe,0x00,0x00,0x10,0x11,0x00,0x00,0x01,0x00,0x00,0x00)); my $dosehb = pack('C*', (0x00,0x09,0x04,0x01,0x0a,0xc0)); my $cinit1 = pack('C*', (0x03,0x01,0x0a,0xc0)); my $cmac = pack('C*', (0x07,0x01,0x0a,0xc0)); my $cswitch = pack('C*', (0x90,0x01,0x0a,0xe0)); my $measure = pack('C*', (0xff,0xfe,0x01,0x81,0x39,0x00,0x00,0x01)); my %values = ( '01' => 'power', '02' => 'energy', '03' => 'voltage', '04' => 'current', '05' => 'frequency', '07' => 'maxpower', '08' => 'cosphi', ); my $timeout = 60; ##################################### sub GHoma_Initialize($) { # my ($hash) = @_; $hash->{SetFn} = "GHoma_Set"; # evtl. noch in define rein!!! $hash->{DefFn} = "GHoma_Define"; $hash->{ReadFn} = "GHoma_Read"; # wird von der globalen loop aufgerufen (ueber $hash->{FD} gefunden), wenn Daten verfuegbar sind $hash->{UndefFn} = "GHoma_Undef"; $hash->{AttrFn} = "GHoma_Attr"; $hash->{StateFn} = "GHoma_State"; $hash->{AttrList} = "restoreOnStartup:last,on,off restoreOnReinit:last,on,off blocklocal:yes,no ". "allowfrom connectTimeout connectInterval $readingFnAttributes"; $hash->{noAutocreatedFilelog} = 1; # kein Filelog bei Autocreate anlegen $hash->{ShutdownFn} = "GHoma_Shutdown"; $hash->{DbLog_splitFn} = "GHoma_DbLog_splitFn"; } ##################################### sub GHoma_ClientConnect($) { # im Mom unnuetz my ($hash) = @_; my $name = $hash->{NAME}; $hash->{DEF} =~ m/^(IPV6:)?(.*):(\d+)$/; my ($isIPv6, $server, $port) = ($1, $2, $3); Log3 $name, 4, "$name: Connecting to $server:$port..."; my @opts = ( PeerAddr => "$server:$port", Timeout => AttrVal($name, "connectTimeout", 60), ); my $client; if($hash->{SSL}) { $client = IO::Socket::SSL->new(@opts); } else { $client = IO::Socket::INET->new(@opts); } if($client) { $hash->{FD} = $client->fileno(); $hash->{CD} = $client; # sysread / close won't work on fileno $hash->{BUF} = ""; $hash->{CONNECTS}++; $selectlist{$name} = $hash; $hash->{STATE} = "Connected"; RemoveInternalTimer($hash); Log3 $name, 3, "$name: connected to $server:$port"; syswrite($hash->{CD}, ( GHoma_BuildString($init1a) . GHoma_BuildString($init1b) ) ); InternalTimer(gettimeofday()+ $timeout + 30, "GHoma_Timer", $hash,0); } else { GHoma_ClientDisconnect($hash, 1); } } ##################################### sub GHoma_ClientDisconnect($$) { # im Mom unnuetz my ($hash, $connect) = @_; my $name = $hash->{NAME}; close($hash->{CD}) if($hash->{CD}); delete($hash->{FD}); delete($hash->{CD}); delete($selectlist{$name}); $hash->{STATE} = "Offline"; InternalTimer(gettimeofday()+AttrVal($name, "connectInterval", 60), "GHoma_ClientConnect", $hash, 0); if($connect) { Log3 $name, 4, "$name: Connect failed."; } else { Log3 $name, 3, "$name: Offline"; } } ##################################### sub GHoma_Shutdown($) { # my ($hash) = @_; return unless defined $hash->{Id}; #nicht f?r Server # state auf letzten Schaltwert setzen oder auf fixen Startwert (wird bereitsbeim Shutdown ausgefuehrt) if (AttrVal($hash->{NAME},"restoreOnStartup","last") eq "on") { readingsSingleUpdate($hash, "state", "on", 1); } elsif (AttrVal($hash->{NAME},"restoreOnStartup","last") eq "last" && defined $hash->{LASTSTATE} && $hash->{LASTSTATE} eq "on" ) { readingsSingleUpdate($hash, "state", "on", 1); } else { readingsSingleUpdate($hash, "state", "off", 1); } return undef; } ##################################### sub GHoma_Define($$$) { # my ($hash, $def) = @_; #my @a = split("[ \t][ \t]*", $def); my ($name, $type, $pport, $global) = split("[ \t]+", $def); my $port = $pport; $port =~ s/^IPV6://; my $isServer = 1 if(defined($port) && $port =~ m/^\d+$/); my $isClient = 1 if($port && $port =~ m/^(.+):\d+$/); my $isSerCli = 1 if(defined($port) && $port =~ m/^([\da-f]{6})$/i); #return "Usage: define <name> GHoma { [IPV6:]<tcp-portnr>|<serverName:port> }" if(!($isServer || $isClient || $isSerCli)); return "Usage: define <name> GHoma { [IPV6:]<tcp-portnr> }" if(!($isServer || $isClient || $isSerCli)); #$hash->{DeviceName} = $pport; if($isSerCli) { #ServerClient #my $name = $a[0]; # my $addr = $a[2]; #$hash->{Id} = pack('C*', ( hex(substr($pport,0,2)), hex(substr($pport,2,2)), hex(substr($pport,4,2)) ) ); $hash->{Id} = $pport; return; } # Make sure that fhem only runs once if($isServer) { my $ret = TcpServer_Open($hash, $pport, "global"); if($ret && !$init_done) { Log3 $name, 1, "$ret. Exiting."; exit(1); } return $ret; } if($isClient) { $hash->{isClient} = 1; GHoma_ClientConnect($hash); } return; } ##################################### sub GHoma_BuildString($) { # Botschaft zum senden erzeugen my ($data) = @_; my $count = pack('n*', length($data)); my $checksum = pack ('C*', 0xFF - (unpack("%8c*", $data)) ); #(my $smsg = ($prefix . $count . $data . $checksum . $postfix)) =~ s/(.|\n)/sprintf("%.2X ",ord($1))/eg; #Log3 undef, 1, "GHoma TX: $smsg"; return $prefix . $count . $data . $checksum . $postfix; } # ##################################### sub GHoma_moveclient($$) { # Handles von temporaerem Client zu Statischem uebertragen und Temporaeren dann loeschen my ($thash, $chash) = @_; if(defined($chash->{CD})) { # alte Verbindung entfernen, falls noch offen close($chash->{CD}); delete($chash->{CD}); #delete($selectlist{$chash->{NAME}}); delete($chash->{FD}); # Avoid Read->Close->Write } $chash->{FD} = $thash->{FD}; $chash->{CD} = $thash->{CD}; $chash->{SNAME} = $thash->{SNAME}; my @client = split("_",$thash->{NAME}); $chash->{IP} = $client[1]; $chash->{PORT} = $client[2]; $selectlist{$chash->{NAME}} = $chash; readingsSingleUpdate($chash, "state", "Initialize...", 1); delete($selectlist{$thash->{NAME}}); delete $thash->{FD}; CommandDelete(undef, $thash->{NAME}); syswrite( $chash->{CD}, GHoma_BuildString($init2) ); InternalTimer(gettimeofday()+ $timeout, "GHoma_Timer", $chash,0); } ##################################### sub GHoma_Read($) { # wird von der globalen loop aufgerufen (ueber $hash->{FD} gefunden), wenn Daten verfuegbar sind my ($hash) = @_; my $name = $hash->{NAME}; if($hash->{SERVERSOCKET}) { # Accept and create a child my $chash = TcpServer_Accept($hash, "GHoma"); return if(!$chash); Log3 $name, 4, "$name: angelegt: $chash->{NAME}"; syswrite($chash->{CD}, ( GHoma_BuildString($init1a) . GHoma_BuildString($init1b) ) ); InternalTimer(gettimeofday()+ $timeout, "GHoma_Timer", $chash,0); $chash->{CD}->flush(); return; } my $buf; my $ret = sysread($hash->{CD}, $buf, 256); if(!defined($ret)) { if($hash->{isClient}) { Log3 $name, 1, "$name \$buf nicht definiert"; GHoma_ClientDisconnect($hash, 0); } else { CommandDelete(undef, $name); } return; } if ( substr($buf,0,8) eq ($prefix . $dosehb )) { # Heartbeat (Dosen Id wird nicht ueberprueft) #DevIo_SimpleWrite($hash, GHoma_BuildString($hbeat) , undef); RemoveInternalTimer($hash); $buf =~ s/(.|\n)/sprintf("%.2X ",ord($1))/eg; #empfangene Zeichen in Hexwerte wandeln Log3 $name, 5, "$name Heartbeatanfrage empfangen: $buf"; syswrite( $hash->{CD}, GHoma_BuildString($hbeat) ); Log3 $hash, 5, "$hash->{NAME} Heartbeat gesendet"; InternalTimer(gettimeofday()+ $timeout, "GHoma_Timer", $hash,0); } else { # alles ausser Heartbeat my @msg = split(/$prefix/,$buf); foreach (@msg) { next if ( $_ eq "" ); if ( hex(unpack('H*', substr($_,length($_)-2,2))) != hex(unpack('H*', $postfix ))) { # Check Postfix Log3 $hash, 1, "$hash->{NAME} Fehler: postfix = " . unpack('H*', substr($_,length($_)-2,2)); next; } if ( hex(unpack('H*', substr($_,length($_)-3,1))) != ( 0xFF - unpack("%8c*", substr($_,2,length($_)-5) ) ) ) { # Check Checksum Log3 $hash, 1, "$hash->{NAME} Fehler: Checksum soll = " . hex(unpack('H*', substr($_,length($_)-3,1))) . " ist = ". ( 0xFF - unpack("%8c*", substr($_,2,length($_)-5) ) ); next; } if ( hex(unpack('H*', substr($_,0,2))) != ( length($_) - 5 ) ) { # Check Laenge Log3 $hash, 4, "$hash->{NAME} laengesoll = " . hex(unpack('H*', substr($_,0,2))) . " laengeist = " . ( length($_) - 5 ) } (my $smsg = $_) =~ s/(.|\n)/sprintf("%.2X ",ord($1))/eg; # empfangene Zeichen in Hexwerte wandeln Log3 $hash, 4, "$hash->{NAME} RX: 5A A5 $smsg"; # ...und ins Log schreiben $hash->{Pattern} = unpack('H*', substr($_,6,2) ) unless defined $hash->{Pattern}; if ( substr($_,2,4) eq ($cinit1)) { # Antwort auf erstes Init $hash->{Id} = unpack('H*', substr($_,8,3) ); unless ($hash->{isClient}) { # fuer Server Loesung bei erster Antwort von Dose nach bestehendem Device mit gleicher Id suchen und Verbindung auf dieses Modul uebertragen my $clientdefined = undef; foreach my $dev (devspec2array("TYPE=$hash->{TYPE}")) { # bereits bestehendes define mit dieser Id suchen if ($hash->{Id} eq InternalVal($dev,"Id","") && $hash->{NAME} ne $dev && InternalVal($dev,"TEMPORARY","") ne "1") { #Log3 $hash, 5, "$hash->{NAME}: $dev passt -> Handles uebertragen"; GHoma_moveclient($hash, $defs{$dev}); $clientdefined = 1; last } } unless ( defined $clientdefined) { # ...ein Neues anlegen, falls keins existiert Log3 $name, 4, "GHoma Unknown device $hash->{Id}, please define it"; DoTrigger("global", "UNDEFINED GHoma_$hash->{Id} GHoma $hash->{Id}"); GHoma_moveclient($hash, $defs{"GHoma_$hash->{Id}"}) if ($defs{"GHoma_$hash->{Id}"}); } } else { readingsSingleUpdate($hash, "state", "Initialize...", 1); syswrite( $hash->{CD}, GHoma_BuildString($init2) ); RemoveInternalTimer($hash); InternalTimer(gettimeofday()+ $timeout, "GHoma_Timer", $hash,0); } } elsif ( substr($_,2,4) eq $cmac && substr($_,8,3) eq substr($_,17,3) ) { # Nachricht mit MAC (kommt unter Anderem als Antwort auf Init2) my $mac; for my $i (0...5) { # MAC formattieren $mac .= sprintf("%.2X",ord( substr($_,14+$i,1) )); last if $i == 5; $mac .= ":"; } $hash->{MAC} = $mac; } elsif ( substr($_,2,4) eq $cmac && (( length($_) - 5 ) == 0x11 ) ) { # Nachricht mit Firmware Version my ($high,$mid,$low)=unpack('CCC',substr($_,16,3)); $hash->{FWVERSION} = $high.".".$mid.".".$low; } elsif ( substr($_,2,4) eq $cswitch && (( length($_) - 5 ) == 0x15 ) ) { # An oder Aus my $id = unpack('H*', substr($_,8,3) ); my $rstate = hex(unpack('H*', substr($_,22,1))) == 0xFF ? "on" : "off"; my $src = hex(unpack('H*', substr($_,14,1))) == 0x81 ? "local" : "remote"; if ( defined $hash->{LASTSTATE} && $hash->{STATE} eq "Initialize..." ) { # wenn dies erste Statusbotschaft nach Anmeldung my $nstate = AttrVal($name, "restoreOnReinit", "last"); if ( $nstate ne "last" && $nstate ne $rstate ) { GHoma_Set( $hash, $hash->{NAME}, $nstate ); } elsif ($nstate eq "last" && $hash->{LASTSTATE} ne $rstate) { GHoma_Set( $hash, $hash->{NAME}, $hash->{LASTSTATE} ); } } elsif ($src eq "local") { # bei schalten direkt an Steckdose soll... if (AttrVal($name, "blocklocal", "no") eq "yes") { # ...wieder zurueckgeschaltet werden, wenn Attribut blocklocal yes ist GHoma_Set($hash, $hash->{NAME}, $hash->{LASTSTATE}); } else { # ...laststate angepasst werden (um bei reinit richtigen wert zu haben) $hash->{LASTSTATE} = $rstate; } } if (defined $hash->{SNAME} && defined $defs{$hash->{SNAME}} ) { # Readings auch im Server eintragen readingsBeginUpdate($defs{$hash->{SNAME}}); readingsBulkUpdate($defs{$hash->{SNAME}}, $id .'_state', $rstate); readingsBulkUpdate($defs{$hash->{SNAME}}, $id .'_source', $src); readingsEndUpdate($defs{$hash->{SNAME}}, 1); } readingsBeginUpdate($hash); readingsBulkUpdate($hash, 'state', $rstate); readingsBulkUpdate($hash, 'source', $src); readingsEndUpdate($hash, 1); } elsif ( substr($_,2,4) eq $cswitch && substr($_,11,8) eq $measure && ( length($_) - 5 ) == 0x16) { # Botschaft mit Verbrauchsdaten readingsBeginUpdate($hash); my $value=$values{unpack('H*',substr($_,19,1))}; if (defined($value)) { my ($high,$mid,$low)=unpack('CCC',substr($_,21,3)); readingsBulkUpdate($hash, $value, ($high*65536+$mid*256+$low)/($value eq 'energy' ? 1000 : 100)); } else { # readingsBulkUpdate($hash, 'message_'.unpack('H*',substr($_,19,1)), unpack('H*',substr($_,20))); Log3 $name, 3, "$name unknown control message Id: " . unpack('H*',substr($_,19,1)) . " value: " . unpack('H*',substr($_,20)); } readingsEndUpdate($hash, 1); } else { # readingsBeginUpdate($hash); # readingsBulkUpdate($hash, 'message_unkn', unpack('H*',$_)); # readingsEndUpdate($hash, 1); Log3 $name, 3, "$name unknown message: " . unpack('H*',$_); } } } #Log3 $name, 5, "$name empfangen: $buf"; return } ##################################### sub GHoma_Timer($) { # wird ausgeloest wenn heartbeat nicht mehr kommt my ($hash) = @_; Log3 $hash, 3, "$hash->{NAME}: Timer abgelaufen"; readingsSingleUpdate($hash, "state", "offline", 1); GHoma_ClientDisconnect($hash, 0) if $hash->{isClient}; return TcpServer_Close($hash) if defined $hash->{FD}; #DevIo_Disconnected($hash); } ##################################### sub GHoma_Attr(@) { # my ($command, $name, $attr, $val) = @_; my $hash = $defs{$name}; # if($a[0] eq "set" && $a[2] eq "SSL") { # TcpServer_SetSSL($hash); # if($hash->{CD}) { # my $ret = IO::Socket::SSL->start_SSL($hash->{CD}); # Log3 $a[1], 1, "$hash->{NAME} start_SSL: $ret" if($ret); # } # } return undef; } ##################################### sub GHoma_Set($@) { # my ($hash, @a) = @_; my $name = $a[0]; my $type = $a[1]; return "Unknown argument $type, choose one of ConfigAll ConfigSingle" unless (defined $hash->{Id} || $type eq "ConfigAll" || $type eq "ConfigSingle"); # set fuer den Server my @sets = ('on:noArg', 'off:noArg'); my $status = ReadingsVal($hash->{NAME},"state",""); if($type eq "ConfigAll") { GHoma_udpsend($hash, defined $a[2] ? $a[2] : undef, undef ); } elsif($type eq "ConfigSingle") { return "$a[2] ist not an correct IP or hostname" unless $a[2] =~ /^((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(([a-zA-Z0-9]+(-[a-zA-Z0-9]+)*)+(\.([a-zA-Z0-9]+(-[a-zA-Z0-9]+)*))*$)$/; GHoma_udpsend($hash, defined $a[3] ? $a[3] : undef, $a[2] ); } elsif($type eq "on") { $type = pack('C*', (0xff)); readingsSingleUpdate($hash, "state", "set_on", 1) if ( $status =~ m/([set_]?o[n|ff])$/i ); $hash->{LASTSTATE} = "on"; } elsif($type eq "off") { $type = pack('C*', (0x00)); readingsSingleUpdate($hash, "state", "set_off", 1) if ( $status =~ m/([set_]?o[n|ff])$/i ); $hash->{LASTSTATE} = "off"; } else { my $slist = join(' ', @sets); return SetExtensions($hash, $slist, @a); } if (defined $hash->{CD}) { Log3 $hash, 2, "$hash->{NAME}: Pattern noch nicht empfangen" unless defined $hash->{Pattern}; syswrite( $hash->{CD}, GHoma_BuildString($switch1 . pack('C*', ( hex(substr($hash->{Pattern},0,2)), hex(substr($hash->{Pattern},2,2)) ) ) . pack('C*', ( hex(substr($hash->{Id},0,2)), hex(substr($hash->{Id},2,2)), hex(substr($hash->{Id},4,2)) ) ) . $switch2 . $type) ); } return undef; } ##################################### sub GHoma_State($$$$) { # reload readings at FHEM start my ($hash, $tim, $sname, $sval) = @_; Log3 $hash, 4, "$hash->{NAME}: $sname kann auf $sval wiederhergestellt werden $tim"; if ( $sname eq "state" && defined $hash->{Id} ) { #wenn kein Server $hash->{LASTSTATE} = $sval; readingsSingleUpdate($hash, "state", "offline", 1) } return; } ##################################### sub GHoma_Undef($$) { # my ($hash, $arg) = @_; RemoveInternalTimer($hash); return TcpServer_Close($hash) if defined $hash->{FD}; } ##################################### sub GHoma_udpsend{ eval "use IO::Socket::INET;"; return "please install IO::Socket::INET" if($@); my ($hash, $ownIP, $clientIP) = @_; # flush after every write $| = 1; my ($socket,$data); $socket = new IO::Socket::INET ( PeerAddr => (defined $clientIP ? $clientIP : '255.255.255.255'), PeerPort => '48899', Proto => 'udp', Broadcast => (defined $clientIP ? 0 : 1) ) or die "ERROR in Socket Creation : $!\n"; #send operation unless (defined $ownIP) { my $ownIPl = `hostname -I`; my @ownIPs = grep { /^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/ } split / /, $ownIPl; $ownIP = $ownIPs[0]; } else { return "$ownIP ist not an correct IP or hostname" unless $ownIP =~ /^((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(([a-zA-Z0-9]+(-[a-zA-Z0-9]+)*)+(\.([a-zA-Z0-9]+(-[a-zA-Z0-9]+)*))*$)$/ } Log3 $hash, 1, "$hash->{NAME}: setting server address for GHoma plugs to $ownIP:$hash->{PORT}"; my @sdata = ( "HF-A11ASSISTHREAD", "+ok", "AT+NETP=TCP,Client,$hash->{PORT},$ownIP\r", "AT+TCPTO=120\r" ); foreach (@sdata) { $socket->send($_); Log3 $hash, 1, "$hash->{NAME}: sende Multicast: $_"; } $socket->close(); } sub GHoma_DbLog_splitFn($) { # Einheiten my ($event) = @_; Log3 undef, 5, "in DbLog_splitFn empfangen: $event"; my ($reading, $value, $unit) = ""; my @parts = split(/ /,$event); $reading = shift @parts; $reading =~ tr/://d; $value = $parts[0]; $unit = "W" if(lc($reading) =~ m/power/); $unit = "kWh" if(lc($reading) =~ m/energy/); $unit = "V" if(lc($reading) =~ m/voltage/); $unit = "A" if(lc($reading) =~ m/current/); $unit = "Hz" if(lc($reading) =~ m/frequency/); $unit = "W" if(lc($reading) =~ m/maxpower/); return ($reading, $value, $unit); } 1; =pod =item device =item summary controls an G-Homa wlan adapter plug =item summary_DE Steuerung einer G-Homa Wlan Steckdose =begin html <a name="GHoma"></a> <h3>GHoma</h3> <ul> <ul> Connects fhem to an G-Homa adapter plug<br><br> <b>preliminary:</b><br> <li>Configure WLAN settings (Firmware <= 1.06):<br> bring device in AP mode (press button for more than 3s, repeat this step until the LED is permanently on)<br> Now connect with your computer to G-Home network.<br> Browse to 10.10.100.254 (username:password = admin:admin)<br> In STA Setting insert your WLAN settings<br> </li> <li>Configure WLAN settings:<br> bring device in AP mode (press button for more than 3s, repeat this step until the LED is permanently on)<br> Configure WLAN with G-Homa App.<br> </li> <li>Configure Network Parameters setting (Firmware <= 1.06):<br> Other Setting -> Protocol to TCP-Client<br> Other Setting -> Port ID (remember value for FHEM settings)<br> Other Setting -> Server Address (IP of your FHEM Server)<br> </li> <li>Configure Network Parameters settings:<br> Use <code>set ... ConfigAll</code> from server device to set parameters automaticly.<br> </li> <li>Optional:<br> Block all outgoing connections for G-Homa in your router.<br> </li> </ul> <br><br> <a name="GHomadefine"></a> <b>Define</b><br> <ul> <code>define &lt;name&gt; GHoma &lt;port&gt;</code> <br> Specifies the GHoma server device.<br> New adapters will be added automaticaly after first connection.<br> You can also manyally add an adapter:<br> <code>define &lt;name&gt; GHoma &lt;Id&gt;</code> <br> where <code>Id</code> is the last 6 numbers of the plug's MAC address<br> Example: MAC= AC:CF:23:A5:E2:3B -> Id= A5E23B<br> <br> </ul> <a name="GHomaset"></a> <b>Set</b> <ul> <code>set &lt;name&gt; &lt;value&gt;</code> <br><br> where <code>value</code> is one of:<br> <ul><code> off<br> on<br> </code> </ul> The <a href="#setExtensions"> set extensions</a> are also supported.<br> <br> For server device:<br> <code>set &lt;name&gt; ConfigAll [IP|hostname|FQDN of FHEM]</code><br> Setting all GHoma plugs via UDP broadcast to TCP client of FHEM servers address and port of GHoma server device.<br> <code>set &lt;name&gt; ConfigSingle &lt;IP of Plug&gt; [IP|hostname|FQDN of FHEM]</code><br> Setting an specific GHoma plug via UDP to TCP client of FHEM servers address and port of GHoma server device.<br> </ul> <a name="GHomaattr"></a> <b>Attributes</b><br> <ul> For plug devices: <ul><li>restoreOnStartup<br> Restore switch state after reboot<br> Default: last, valid values: last, on, off<br><br> </li> <li>restoreOnReinit<br> Restore switch state after reconnect<br> Default: last, valid values: last, on, off<br><br> </li> <li>blocklocal<br> Restore switch state to reading state immideately after local switching<br> Default: no, valid values: no, yes<br><br> </li></ul> For server devices: <ul><li>allowfrom<br> Regexp of allowed ip-addresses or hostnames. If set, only connections from these addresses are allowed.<br><br> </li></ul> <li><a href="#readingFnAttributes">readingFnAttributes</a></li> </ul> <br> </ul> =end html =begin html_DE <a name="GHoma"></a> <h3>GHoma</h3> <ul> <ul> Verbindet fhem mit einem G-Homa Zwischenstecker<br><br> <b>Vorbereitung:</b><br> <li>WLAN konfigurieren (bis Firmware 1.06):<br> Ger&auml;t in den AP modus bringen (Knopf f&uuml;r mehr als 3s dr&uuml;cken, diesen Schritt wiederholen bis die LED permanent leuchtet)<br> Nun einen Computer mit der SSID G-Home verbinden.<br> Im Browser zu 10.10.100.254 (username:passwort = admin:admin)<br> In STA Setting WLAN Einstellungen eintragen<br> </li> <li>WLAN konfigurieren:<br> Ger&auml;t in den AP modus bringen (Knopf f&uuml;r mehr als 3s dr&uuml;cken, diesen Schritt wiederholen bis die LED permanent leuchtet)<br> Mit der G-Homa App das WLAN des Zwischensteckers einstellen<br> </li> <li>Network Parameters settings (bis Firmware 1.06):<br> Other Setting -> Protocol auf TCP-Server<br> Other Setting -> Port ID (wird sp&auml;ter f&uuml;r FHEM ben&ouml;tigt)<br> Other Setting -> Server Address (IP Adresse des FHEM Servers)<br> </li> <li>Network Parameters settings:<br> &Uuml;ber <code>set ... ConfigAll</code> des Server Ger&auml;tes die Parameter automatisch setzen.<br> </li> <li>Optional:<br> Im Router alle ausgehenden Verbindungen f&uuml;r G-Homa blockieren.<br> </li> </ul> <br><br> <a name="GHomadefine"></a> <b>Define</b><br> <ul> <code>define &lt;name&gt; GHoma &lt;port&gt;</code> <br> Legt ein GHoma Server device an.<br> Neue Zwischenstecker werden beim ersten verbinden automatisch angelegt.<br> Diese k&ouml;nnen aber auch manuell angelegt werden:<br> <code>define &lt;name&gt; GHoma &lt;Id&gt;</code> <br> Die <code>Id</code> besteht aus den letzten 6 Stellen der MAC Adresse des Zwischensteckers.<br> Beispiel: MAC= AC:CF:23:A5:E2:3B -> Id= A5E23B<br> <br> </ul> <a name="GHomaset"></a> <b>Set</b> <ul> <code>set &lt;name&gt; &lt;value&gt;</code> <br><br> G&uuml;ltige Werte f&uuml;r <code>value</code>:<br> <ul><code> off<br> on<br> </code> </ul> Die <a href="#setExtensions"> set extensions</a> werden auch unterst&uuml;tzt.<br> <br> F&uuml;r Server Device:<br> <code>set &lt;name&gt; ConfigAll [IP|hostname|FQDN von FHEM]</code><br> Einstellen aller GHoma Zwischenstecker &uuml;ber UDP broadcast auf TCP client mit FHEM Server Adresse und Port des GHoma Server Devices.<br> <code>set &lt;name&gt; ConfigSingle &lt;IP des Zwischensteckers&gt; [IP|hostname|FQDN von FHEM]</code><br> Einstellen eines einzelnen GHoma Zwischensteckers &uuml;ber UDP auf TCP client mit FHEM Server Adresse und Port des GHoma Server Devices.<br> </ul> <a name="GHomaattr"></a> <b>Attributes</b><br> <ul> F&uuml;r Zwischenstecker devices: <ul><li>restoreOnStartup<br> Wiederherstellen der Portzust&auml;nde nach Neustart<br> Standard: last, g&uuml;ltige Werte: last, on, off<br><br> </li> <li>restoreOnReinit<br> Wiederherstellen der Portzust&auml;nde nach Neustart<br> Standard: last, g&uuml;ltige Werte: last, on, off<br><br> </li> <li>blocklocal<br> Wert im Reading State sofort nach &Auml;nderung &uuml;ber lokale Taste wiederherstellen<br> Standard: no, g&uuml;ltige Werte: no, yes<br><br> </li></ul> F&uuml;r Server devices: <ul><li>allowfrom<br> Regexp der erlaubten IP-Adressen oder Hostnamen. Wenn dieses Attribut gesetzt wurde, werden ausschlie&szlig;lich Verbindungen von diesen Adressen akzeptiert.<br><br> </li></ul> <li><a href="#readingFnAttributes">readingFnAttributes</a></li> </ul> <br> </ul> =end html_DE =cut
41.128453
270
0.572825
edf41a75c36db68647094001d490d7e654b29493
1,300
pl
Perl
data/processed/0.4_0.5_150/asia_80_1592975436_False_input.pl
VincentDerk/Paper-AC-Decisions-Learning
abd1dc8893fbb11b43ebb49a25e26c0183bdba62
[ "Apache-2.0" ]
null
null
null
data/processed/0.4_0.5_150/asia_80_1592975436_False_input.pl
VincentDerk/Paper-AC-Decisions-Learning
abd1dc8893fbb11b43ebb49a25e26c0183bdba62
[ "Apache-2.0" ]
null
null
null
data/processed/0.4_0.5_150/asia_80_1592975436_False_input.pl
VincentDerk/Paper-AC-Decisions-Learning
abd1dc8893fbb11b43ebb49a25e26c0183bdba62
[ "Apache-2.0" ]
null
null
null
0.01::asia. 0.5::smoke. body_5(4,lung) :- smoke. body_15(13,lung) :- \+smoke. body_23(22,tub) :- asia. body_33(31,tub) :- \+asia. body_41(40,bronc) :- smoke. body_51(49,bronc) :- \+smoke. either :- lung, tub. either :- lung, \+tub. either :- \+lung, tub. body_78(73,either) :- \+lung, \+tub. body_86(85,xray) :- either. body_96(94,xray) :- \+either. body_106(103,dysp) :- bronc, either. body_118(114,dysp) :- bronc, \+either. body_129(125,dysp) :- \+bronc, either. body_141(136,dysp) :- \+bronc, \+either. query(dysp). query(either). query(lung). query(tub). query(xray). query(smoke). query(asia). query(bronc). utility(dysp,23). utility(\+(dysp),t(V_0)) :- true. utility(either,t(V_0)) :- true. utility(lung,45). utility(\+(lung),t(V_0)) :- true. utility(xray,11). utility(smoke,t(V_0)) :- true. utility(\+(smoke),20). utility(asia,t(V_0)) :- true. utility(bronc,t(V_0)) :- true. 0.1::lung :- body_5(4,lung). 0.01::lung :- body_15(13,lung). 0.05::tub :- body_23(22,tub). 0.01::tub :- body_33(31,tub). 0.6::bronc :- body_41(40,bronc). 0.3::bronc :- body_51(49,bronc). 0.0::either :- body_78(73,either). 0.98::xray :- body_86(85,xray). 0.05::xray :- body_96(94,xray). 0.9::dysp :- body_106(103,dysp). 0.8::dysp :- body_118(114,dysp). 0.7::dysp :- body_129(125,dysp). 0.1::dysp :- body_141(136,dysp).
26
40
0.637692
ede50e9039704f8e4a7df18cfb069a4186dd15e0
659
pl
Perl
Homework/cikarim.pl
fzehracetin/uzman-sistemler
e815a56f92bfa60392e1ae28f6993df0149d91ac
[ "Apache-2.0" ]
null
null
null
Homework/cikarim.pl
fzehracetin/uzman-sistemler
e815a56f92bfa60392e1ae28f6993df0149d91ac
[ "Apache-2.0" ]
null
null
null
Homework/cikarim.pl
fzehracetin/uzman-sistemler
e815a56f92bfa60392e1ae28f6993df0149d91ac
[ "Apache-2.0" ]
null
null
null
:- dynamic unvan/2. :- dynamic neiseyarar/3. :- dynamic neolur/4. % Bir kişi bir işi yapıyorsa o işi yapanlarla aynı ünvana sahiptir. cumle(Kisi,_,_,_,Fiil):- iliski(Fiil,'kim/ne yapar?', Unvan), assert(unvan(Kisi, Unvan)), fail. % Bir kişi bir ünvana sahipse o ünvandakilerin yaptığı işleri yapar. cumle(Kisi,_,_,_,Fiil):- unvan(Kisi, Unvan), iliski(Unvan, 'ne ise yarar', Fiil2), assert(neiseyarar(Kisi, Unvan, Fiil2)), fail. % Bir kişi bir işi yapıyorsa o işi yapınca yapılan işleri de yapar. cumle(Kisi,_,_,_,Fiil):- neiseyarar(Kisi, Unvan, Fiil2), iliski(Fiil2, 'yapinca ne olur?', Fiil3), assert(neolur(Kisi, Unvan, Fiil2, Fiil3)), fail.
50.692308
148
0.708649
eda43904f0df106c26cd48ac8f27ba640314f4e8
153
pm
Perl
auto-lib/Azure/Network/GetTroubleshootingNetworkWatchersResult.pm
pplu/azure-sdk-perl
26cbef2d926f571bc1617c26338c106856f95568
[ "Apache-2.0" ]
null
null
null
auto-lib/Azure/Network/GetTroubleshootingNetworkWatchersResult.pm
pplu/azure-sdk-perl
26cbef2d926f571bc1617c26338c106856f95568
[ "Apache-2.0" ]
null
null
null
auto-lib/Azure/Network/GetTroubleshootingNetworkWatchersResult.pm
pplu/azure-sdk-perl
26cbef2d926f571bc1617c26338c106856f95568
[ "Apache-2.0" ]
1
2021-04-08T15:26:39.000Z
2021-04-08T15:26:39.000Z
package Azure::Network::GetTroubleshootingNetworkWatchersResult; use Moose; has error => (is => 'ro', isa => 'Azure::Network::ErrorDetails' ); 1;
21.857143
69
0.69281
73d1b83fa1d786f02caa9bf0a908c01a0ca8f42f
2,239
pm
Perl
webapp/perl/local/lib/perl5/DateTime/TimeZone/America/Puerto_Rico.pm
AK-10/AK-10-isucon8-preliminary-revenge
f390710721b2f2e3d9f60120394ec37c9c96b975
[ "MIT" ]
2
2019-04-15T04:28:23.000Z
2019-04-16T12:45:51.000Z
webapp/perl/local/lib/perl5/DateTime/TimeZone/America/Puerto_Rico.pm
AK-10/AK-10-isucon8-preliminary-revenge
f390710721b2f2e3d9f60120394ec37c9c96b975
[ "MIT" ]
16
2019-08-28T23:45:01.000Z
2019-12-20T02:12:13.000Z
webapp/perl/local/lib/perl5/DateTime/TimeZone/America/Puerto_Rico.pm
AK-10/AK-10-isucon8-preliminary-revenge
f390710721b2f2e3d9f60120394ec37c9c96b975
[ "MIT" ]
1
2019-04-14T01:11:20.000Z
2019-04-14T01:11:20.000Z
# This file is auto-generated by the Perl DateTime Suite time zone # code generator (0.08) This code generator comes with the # DateTime::TimeZone module distribution in the tools/ directory # # Generated from /tmp/wgHytuCyER/northamerica. Olson data version 2018e # # Do not edit this file directly. # package DateTime::TimeZone::America::Puerto_Rico; use strict; use warnings; use namespace::autoclean; our $VERSION = '2.19'; use Class::Singleton 1.03; use DateTime::TimeZone; use DateTime::TimeZone::OlsonDB; @DateTime::TimeZone::America::Puerto_Rico::ISA = ( 'Class::Singleton', 'DateTime::TimeZone' ); my $spans = [ [ DateTime::TimeZone::NEG_INFINITY, # utc_start 59902647865, # utc_end 1899-03-28 16:24:25 (Tue) DateTime::TimeZone::NEG_INFINITY, # local_start 59902632000, # local_end 1899-03-28 12:00:00 (Tue) -15865, 0, 'LMT', ], [ 59902647865, # utc_start 1899-03-28 16:24:25 (Tue) 61262625600, # utc_end 1942-05-03 04:00:00 (Sun) 59902633465, # local_start 1899-03-28 12:24:25 (Tue) 61262611200, # local_end 1942-05-03 00:00:00 (Sun) -14400, 0, 'AST', ], [ 61262625600, # utc_start 1942-05-03 04:00:00 (Sun) 61366287600, # utc_end 1945-08-14 23:00:00 (Tue) 61262614800, # local_start 1942-05-03 01:00:00 (Sun) 61366276800, # local_end 1945-08-14 20:00:00 (Tue) -10800, 1, 'AWT', ], [ 61366287600, # utc_start 1945-08-14 23:00:00 (Tue) 61370283600, # utc_end 1945-09-30 05:00:00 (Sun) 61366276800, # local_start 1945-08-14 20:00:00 (Tue) 61370272800, # local_end 1945-09-30 02:00:00 (Sun) -10800, 1, 'APT', ], [ 61370283600, # utc_start 1945-09-30 05:00:00 (Sun) 61378315200, # utc_end 1946-01-01 04:00:00 (Tue) 61370269200, # local_start 1945-09-30 01:00:00 (Sun) 61378300800, # local_end 1946-01-01 00:00:00 (Tue) -14400, 0, 'AST', ], [ 61378315200, # utc_start 1946-01-01 04:00:00 (Tue) DateTime::TimeZone::INFINITY, # utc_end 61378300800, # local_start 1946-01-01 00:00:00 (Tue) DateTime::TimeZone::INFINITY, # local_end -14400, 0, 'AST', ], ]; sub olson_version {'2018e'} sub has_dst_changes {2} sub _max_year {2028} sub _new_instance { return shift->_init( @_, spans => $spans ); } 1;
23.322917
94
0.671282
edfd5fefa7aa352eae141ea306aea575ba60e046
430
t
Perl
t/Plack-Request/body.t
Nikolo/Plack
08e66599e2559c59ed8bc897dc4e7afc224213e4
[ "Artistic-1.0" ]
136
2015-02-03T14:29:28.000Z
2021-11-19T05:51:38.000Z
t/Plack-Request/body.t
Nikolo/Plack
08e66599e2559c59ed8bc897dc4e7afc224213e4
[ "Artistic-1.0" ]
162
2015-01-16T03:14:08.000Z
2022-03-29T13:58:29.000Z
t/Plack-Request/body.t
Nikolo/Plack
08e66599e2559c59ed8bc897dc4e7afc224213e4
[ "Artistic-1.0" ]
103
2015-01-16T02:37:06.000Z
2021-09-14T08:54:57.000Z
use strict; use warnings; use Test::More; use Plack::Test; use Plack::Request; use HTTP::Request::Common; my $app = sub { my $req = Plack::Request->new(shift); is_deeply $req->body_parameters, { foo => 'bar' }; is $req->content, 'foo=bar'; $req->new_response(200)->finalize; }; test_psgi $app, sub { my $cb = shift; my $res = $cb->(POST "/", { foo => "bar" }); ok $res->is_success; }; done_testing;
19.545455
54
0.595349
ed545a24868fb2a13500db588a48262913b89e2c
2,514
t
Perl
S09-hashes/objecthash.t
ab5tract/roast
98d86f118509991929b5661942fd85fc57e58d79
[ "Artistic-2.0" ]
null
null
null
S09-hashes/objecthash.t
ab5tract/roast
98d86f118509991929b5661942fd85fc57e58d79
[ "Artistic-2.0" ]
null
null
null
S09-hashes/objecthash.t
ab5tract/roast
98d86f118509991929b5661942fd85fc57e58d79
[ "Artistic-2.0" ]
null
null
null
use v6; use Test; plan 32; { class A { method Str() { 'foo' } }; my $a = A.new; my %h{Any}; %h{$a} = 'blubb'; is %h{$a}, 'blubb', 'Any-typed hash access (+)'; nok %h{A.new}, 'and the hash really uses ===-semantics'; dies_ok { %h{Mu.new} = 3 }, 'Any-typed hash does not like Mu keys'; ok %h.keys[0] === $a, 'returned key is correct'; } #4 { my %h{Int}; %h{2} = 3; is %h{1 + 1}, 3, 'value-type semantics'; dies_ok { %h{'foo'} }, 'non-conformant type dies'; } #2 # combinations of typed and objecthash { my Int %h{Rat}; %h{0.5} = 1; %h{0.3} = 2; dies_ok { %h{2} = 3 }, 'key type mismatch'; dies_ok { %h{0.5} = 0.2 }, 'value type mismatch'; dies_ok { %h{2} = 0.5 }, 'key and value type mismatch'; is %h.keys.sort.join(','), '0.3,0.5', '.keys'; is ~%h.values.sort, '1 2', '.values'; isa_ok %h.kv.flat[0], Rat, '.kv types (1)'; isa_ok %h.kv.flat[1], Int, '.kv types (2)'; isa_ok %h.pairs[0].key, Rat, '.pairs.key type'; isa_ok %h.pairs[0].value, Int, '.pairs.value type'; is %h.elems, 2, '.elems'; lives_ok { %h{0.2} := 3 }, 'binding to typed objecthash elements'; is %h.elems, 3, 'updated .elems'; dies_ok { %h{ 3 } := 3 }, 'binding key type check failure'; dies_ok { %h{0.2} := 'a' }, 'binding value type check failure'; dies_ok { %h.push: 0.5 => 2 }, 'Hash.push fails when the resulting array conflicts with the type check'; lives_ok { %h.push: 0.9 => 3 }, 'Hash.push without array creation is OK'; dies_ok { %h.push: 1 => 3 }, 'Hash.push key type check failure'; dies_ok { %h.push: 1.1 => 0.2 }, 'Hash.push value type check failure'; } #18 { my %h{Any}; %h = 1, 2; ok %h.keys[0] === 1, 'list assignment + object hashes'; } #1 { my %h{Mu}; #?rakudo 2 skip 'oh noes, it dies' ok %h{Mu} = 2, "just make the fudging work"; is %h{Mu}, 2, 'using Mu as a key'; ok %h{Any} = 3, "just make the fudging work"; #?rakudo todo 'oh noes, it dies' is %h{Any}, 3, 'using Any as a key'; #?rakudo skip 'oh noes, it dies' is %h{ Mu, Any }.join(","), "2,3", 'check slice access on Mu'; #?rakudo todo 'oh noes, it dies' is %h{*}.join(","), "2,3", 'check whatever access with Mu as key'; } #6 # RT #118037 { my %h{Any}; %h{Any}=1; ok %h{Any}:exists, '.exists returns True on a %h{Any} in a TypedHash'; }
32.649351
86
0.515911
ede4b7a93169fc66d09274d1947d675385e135c7
14,757
pl
Perl
tests/48admin.pl
bodqhrohro/sytest
3914ed6b457426267fbe66dcba59b45d89c3addf
[ "Apache-2.0" ]
null
null
null
tests/48admin.pl
bodqhrohro/sytest
3914ed6b457426267fbe66dcba59b45d89c3addf
[ "Apache-2.0" ]
null
null
null
tests/48admin.pl
bodqhrohro/sytest
3914ed6b457426267fbe66dcba59b45d89c3addf
[ "Apache-2.0" ]
null
null
null
use Future::Utils qw( repeat ); use Time::HiRes qw( time ); use URI::Escape qw( uri_escape ); # poll the status endpoint until it completes. Returns the final status. sub await_purge_complete { my ( $admin_user, $purge_id ) = @_; my $delay = 0.1; return repeat( sub { my ( $prev_trial ) = @_; # delay if this isn't the first time around the loop ( $prev_trial ? delay( $delay *= 1.5 ) : Future->done )->then( sub { do_request_json_for( $admin_user, method => "GET", uri => "/r0/admin/purge_history_status/$purge_id", ) })->then( sub { my ($body) = @_; assert_json_keys( $body, "status" ); Future->done( $body->{status} ); }) }, while => sub { $_[0]->get eq 'active' }); } test "/whois", requires => [ $main::API_CLIENTS[0] ], do => sub { my ( $http ) = @_; my $user; # Register a user, rather than using a fixture, because we want to very # tightly control the actions taken by that user. # Conceivably this API may change based on the number of API calls the # user made, for instance. matrix_register_user( $http, "admin" ) ->then( sub { ( $user ) = @_; do_request_json_for( $user, method => "GET", uri => "/r0/admin/whois/".$user->user_id, ) })->then( sub { my ( $body ) = @_; assert_json_keys( $body, qw( devices user_id ) ); assert_eq( $body->{user_id}, $user->user_id, "user_id" ); assert_json_object( $body->{devices} ); foreach my $value ( values %{ $body->{devices} } ) { assert_json_keys( $value, "sessions" ); assert_json_list( $value->{sessions} ); assert_json_keys( $value->{sessions}[0], "connections" ); assert_json_list( $value->{sessions}[0]{connections} ); assert_json_keys( $value->{sessions}[0]{connections}[0], qw( ip last_seen user_agent ) ); } Future->done( 1 ); }); }; test "/purge_history", requires => [ local_admin_fixture(), local_user_and_room_fixtures() ], implementation_specific => "synapse", do => sub { my ( $admin, $user, $room_id ) = @_; my $last_event_id; matrix_put_room_state( $user, $room_id, type => "m.room.name", content => { name => "A room name" }, )->then( sub { matrix_sync( $user ) })->then( sub { repeat( sub { my $msgnum = $_[0]; matrix_send_room_text_message( $user, $room_id, body => "Message $msgnum", ) }, foreach => [ 1 .. 10 ]) })->then( sub { ( $last_event_id ) = @_; await_message_in_room( $user, $room_id, $last_event_id ), })->then( sub { do_request_json_for( $user, method => "POST", uri => "/r0/admin/purge_history/$room_id/${ \uri_escape( $last_event_id ) }", content => {} )->main::expect_http_403; # Must be server admin })->then( sub { do_request_json_for( $admin, method => "POST", uri => "/r0/admin/purge_history/$room_id/${ \uri_escape( $last_event_id ) }", content => {} ) })->then( sub { my ( $body ) = @_; assert_json_keys( $body, "purge_id" ); my $purge_id = $body->{purge_id}; await_purge_complete( $admin, $purge_id ); })->then( sub { my ( $purge_status ) = @_; assert_eq( $purge_status, 'complete' ); # Test that /sync with an existing token still works. matrix_sync_again( $user ) })->then( sub { # Test that an initial /sync has the correct data. matrix_sync( $user ) })->then( sub { my ( $body ) = @_; assert_json_keys( $body->{rooms}{join}, $room_id ); my $room = $body->{rooms}{join}{$room_id}; log_if_fail( "Room", $room->{timeline}{events} ); # The only message event should be the last one. all { $_->{type} ne "m.room.message" || $_->{event_id} eq $last_event_id } @{ $room->{timeline}{events} } or die "Expected no message events"; # Ensure we still see the state. foreach my $expected_type( qw( m.room.create m.room.member m.room.power_levels m.room.name ) ) { any { $_->{type} eq $expected_type } @{ $room->{state}{events} } or die "Expected state event of type $expected_type"; } Future->done( 1 ); }) }; test "/purge_history by ts", requires => [ local_admin_fixture(), local_user_and_room_fixtures() ], implementation_specific => "synapse", do => sub { my ( $admin, $user, $room_id ) = @_; my ($last_event_id, $last_event_ts); # we send 9 messages, get the current ts, and # then send one more. matrix_put_room_state( $user, $room_id, type => "m.room.name", content => { name => "A room name" }, )->then( sub { matrix_sync( $user ) })->then( sub { repeat( sub { my $msgnum = $_[0]; matrix_send_room_text_message( $user, $room_id, body => "Message $msgnum", ) }, foreach => [ 1 .. 9 ]) })->then( sub { $last_event_ts = time(); delay(0.01); })->then( sub { matrix_send_room_text_message( $user, $room_id, body => "Message 10", ); })->then( sub { ( $last_event_id ) = @_; await_message_in_room( $user, $room_id, $last_event_id ), })->then( sub { do_request_json_for( $admin, method => "POST", uri => "/r0/admin/purge_history/$room_id", content => { purge_up_to_ts => int($last_event_ts * 1000), }, ) })->then( sub { my ( $body ) = @_; assert_json_keys( $body, "purge_id" ); my $purge_id = $body->{purge_id}; await_purge_complete( $admin, $purge_id ); })->then( sub { my ( $purge_status ) = @_; assert_eq( $purge_status, 'complete' ); # Test that /sync with an existing token still works. matrix_sync_again( $user ) })->then( sub { # Test that an initial /sync has the correct data. matrix_sync( $user ) })->then( sub { my ( $body ) = @_; assert_json_keys( $body->{rooms}{join}, $room_id ); my $room = $body->{rooms}{join}{$room_id}; log_if_fail( "Room", $room->{timeline}{events} ); # The only message event should be the last one. all { $_->{type} ne "m.room.message" || $_->{event_id} eq $last_event_id } @{ $room->{timeline}{events} } or die "Expected no message events"; Future->done( 1 ); }) }; test "Can backfill purged history", requires => [ local_admin_fixture(), local_user_and_room_fixtures(), remote_user_fixture(), qw( can_paginate_room_remotely ) ], implementation_specific => "synapse", # this test is a bit slow. timeout => 50, do => sub { my ( $admin, $user, $room_id, $remote_user ) = @_; my @event_ids; my $last_event_id; matrix_invite_user_to_room( $user, $remote_user, $room_id ) ->then( sub { matrix_join_room( $remote_user, $room_id ) })->then( sub { matrix_put_room_state( $user, $room_id, type => "m.room.name", content => { name => "A room name" }, ) })->then( sub { Future->needs_all( matrix_sync( $user ), matrix_sync( $remote_user ) ) })->then( sub { # Send half the messages as the local user... repeat( sub { my $msgnum = $_[0]; matrix_send_room_text_message( $user, $room_id, body => "Message $msgnum", )->on_done( sub { push @event_ids, $_[0]; } ) }, foreach => [ 0 .. 4 ]) })->then( sub { my ( $last_local_id ) = @_; # Wait until both users see the last event Future->needs_all( await_message_in_room( $user, $room_id, $last_local_id ), await_message_in_room( $remote_user, $room_id, $last_local_id ) ) })->then( sub { # ... and half as the remote. This is useful to esnre that both local # and remote events are handled correctly. repeat( sub { my $msgnum = $_[0]; matrix_send_room_text_message( $remote_user, $room_id, body => "Message $msgnum", )->on_done( sub { push @event_ids, $_[0]; } ) }, foreach => [ 5 .. 9 ]) })->then( sub { ( $last_event_id ) = @_; log_if_fail "last_event_id", $last_event_id; # Wait until both users see the last event Future->needs_all( await_message_in_room( $user, $room_id, $last_event_id ), await_message_in_room( $remote_user, $room_id, $last_event_id ) ) })->then( sub { do_request_json_for( $admin, method => "POST", uri => "/r0/admin/purge_history/$room_id/${ \uri_escape( $last_event_id ) }", content => {} ) })->then( sub { my ( $body ) = @_; assert_json_keys( $body, "purge_id" ); my $purge_id = $body->{purge_id}; await_purge_complete( $admin, $purge_id ); })->then( sub { my ( $purge_status ) = @_; assert_eq( $purge_status, 'complete' ); matrix_sync( $user ) })->then( sub { my ( $body ) = @_; assert_json_keys( $body->{rooms}{join}, $room_id ); my $room = $body->{rooms}{join}{$room_id}; log_if_fail( "Room timeline", $room->{timeline}{events} ); # The only message event should be the last one. all { $_->{type} ne "m.room.message" || $_->{event_id} eq $last_event_id } @{ $room->{timeline}{events} } or die "Expected no message events"; # Ensure we still see the state. foreach my $expected_type( qw( m.room.create m.room.member m.room.power_levels m.room.name ) ) { any { $_->{type} eq $expected_type } @{ $room->{state}{events} } or die "Expected state event of type $expected_type"; } my $prev_batch = $room->{timeline}{prev_batch}; my @missing_event_ids = grep { $_ ne $last_event_id } @event_ids; # Keep paginating untill we see all the old messages. repeat( sub { log_if_fail "prev_batch", $prev_batch; matrix_get_room_messages( $user, $room_id, limit => 20, from => $prev_batch, )->on_done( sub { my ( $body ) = @_; log_if_fail( "Pagination result", $body ); $prev_batch ne $body->{end} or die "Pagination token did not change"; $prev_batch = $body->{end}; foreach my $event ( @{ $body->{chunk} } ) { @missing_event_ids = grep { $_ ne $event->{event_id} } @missing_event_ids; } log_if_fail "Missing", \@missing_event_ids; }) }, while => sub { scalar @missing_event_ids > 0 }); }); }; multi_test "Shutdown room", requires => [ local_admin_fixture(), local_user_fixtures( 2 ), remote_user_fixture(), room_alias_name_fixture() ], implementation_specific => "synapse", do => sub { my ( $admin, $user, $dummy_user, $remote_user, $room_alias_name ) = @_; my $server_name = $user->http->server_name; my $room_alias = "#$room_alias_name:$server_name"; my ( $room_id, $new_room_id ); matrix_create_room( $user, room_alias_name => $room_alias_name, )->then( sub { ( $room_id ) = @_; matrix_invite_user_to_room( $user, $remote_user, $room_id ); })->then( sub { matrix_join_room( $remote_user, $room_id ); })->then( sub { do_request_json_for( $admin, method => "POST", uri => "/r0/admin/shutdown_room/$room_id", content => { "new_room_user_id" => $dummy_user->user_id }, ); })->SyTest::pass_on_done( "Shutdown room returned success" ) ->then( sub { my ( $body ) = @_; $new_room_id = $body->{new_room_id}; log_if_fail "Shutdown room, new room ID", $new_room_id; matrix_send_room_text_message( $user, $room_id, body => "Hello" ) ->main::expect_http_403; })->SyTest::pass_on_done( "User cannot post in room" ) ->then( sub { matrix_join_room( $user, $room_id ) ->main::expect_http_403; })->SyTest::pass_on_done( "User cannot rejoin room" ) ->then( sub { matrix_invite_user_to_room( $remote_user, $user, $room_id ) ->main::expect_http_403; })->SyTest::pass_on_done( "Remote users can't invite local users into room" ) ->then( sub { do_request_json_for( $user, method => "GET", uri => "/r0/directory/room/$room_alias", ); })->then( sub { my ( $body ) = @_; assert_json_keys( $body, qw( room_id )); $body->{room_id} eq $new_room_id or die "Expected room_id to be new"; pass( "Aliases were repointed" ); retry_until_success { matrix_get_room_state( $user, $new_room_id, type => "m.room.name", state_key => "", )->SyTest::pass_on_done( "User was added to new room" ) } })->then( sub { matrix_send_room_text_message( $user, $new_room_id, body => "Hello" ) ->main::expect_http_403; })->SyTest::pass_on_done( "User cannot send into new room" ); }; sub await_message_in_room { my ( $user, $room_id, $event_id ) = @_; my $user_id = $user->user_id; repeat( sub { matrix_sync_again( $user, timeout => 500 ) ->then( sub { my ( $body ) = @_; log_if_fail "Sync for $user_id", $body; Future->done( any { $_->{event_id} eq $event_id } @{ $body->{rooms}{join}{$room_id}{timeline}{events} } ) }) }, until => sub { $_[0]->failure or $_[0]->get })->on_done( sub { log_if_fail "Found event $event_id for $user_id"; }) }
32.291028
101
0.521515
edb3efe2ef1f660712595fc90c1c24770138fcb5
2,260
pm
Perl
auto-lib/Paws/Rekognition/DetectLabels.pm
agimenez/aws-sdk-perl
9c4dff7d1af2ff0210c28ca44fb9e92bc625712b
[ "Apache-2.0" ]
null
null
null
auto-lib/Paws/Rekognition/DetectLabels.pm
agimenez/aws-sdk-perl
9c4dff7d1af2ff0210c28ca44fb9e92bc625712b
[ "Apache-2.0" ]
null
null
null
auto-lib/Paws/Rekognition/DetectLabels.pm
agimenez/aws-sdk-perl
9c4dff7d1af2ff0210c28ca44fb9e92bc625712b
[ "Apache-2.0" ]
null
null
null
package Paws::Rekognition::DetectLabels; use Moose; has Image => (is => 'ro', isa => 'Paws::Rekognition::Image', required => 1); has MaxLabels => (is => 'ro', isa => 'Int'); has MinConfidence => (is => 'ro', isa => 'Num'); use MooseX::ClassAttribute; class_has _api_call => (isa => 'Str', is => 'ro', default => 'DetectLabels'); class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Rekognition::DetectLabelsResponse'); class_has _result_key => (isa => 'Str', is => 'ro'); 1; ### main pod documentation begin ### =head1 NAME Paws::Rekognition::DetectLabels - Arguments for method DetectLabels on Paws::Rekognition =head1 DESCRIPTION This class represents the parameters used for calling the method DetectLabels on the Amazon Rekognition service. Use the attributes of this class as arguments to method DetectLabels. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DetectLabels. As an example: $service_obj->DetectLabels(Att1 => $value1, Att2 => $value2, ...); Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. =head1 ATTRIBUTES =head2 B<REQUIRED> Image => L<Paws::Rekognition::Image> The input image. You can provide a blob of image bytes or an S3 object. =head2 MaxLabels => Int Maximum number of labels you want the service to return in the response. The service returns the specified number of highest confidence labels. =head2 MinConfidence => Num Specifies the minimum confidence level for the labels to return. Amazon Rekognition doesn't return any labels with confidence lower than this specified value. If C<minConfidence> is not specified, the operation returns labels with a confidence values greater than or equal to 50 percent. =head1 SEE ALSO This class forms part of L<Paws>, documenting arguments for method DetectLabels in L<Paws::Rekognition> =head1 BUGS and CONTRIBUTIONS The source code is located here: https://github.com/pplu/aws-sdk-perl Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues =cut
29.736842
249
0.736726
edbcd02726ca3d276fc0c0739ba310a98c988ce7
50,553
pm
Perl
modules/Bio/EnsEMBL/Compara/NestedSet.pm
MatBarba/ensembl-compara
e7b0ac16adca6849934b15bc37e58603be3690ff
[ "Apache-2.0" ]
null
null
null
modules/Bio/EnsEMBL/Compara/NestedSet.pm
MatBarba/ensembl-compara
e7b0ac16adca6849934b15bc37e58603be3690ff
[ "Apache-2.0" ]
null
null
null
modules/Bio/EnsEMBL/Compara/NestedSet.pm
MatBarba/ensembl-compara
e7b0ac16adca6849934b15bc37e58603be3690ff
[ "Apache-2.0" ]
null
null
null
=head1 LICENSE Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute Copyright [2016-2018] EMBL-European Bioinformatics Institute Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. =cut =head1 NAME Bio::EnsEMBL::Compara::NestedSet =head1 DESCRIPTION Abstract superclass to encapsulate the process of storing and manipulating a nested-set representation tree. Also implements a 'reference count' system based on the ObjectiveC retain/release design. Designed to be used as the Root class for all Compara 'proxy' classes (Member, GenomeDB, DnaFrag, NCBITaxon) to allow them to be made into sets and trees. =head1 CONTACT Please email comments or questions to the public Ensembl developers list at <http://lists.ensembl.org/mailman/listinfo/dev>. Questions may also be sent to the Ensembl help desk at <http://www.ensembl.org/Help/Contact>. =head1 APPENDIX The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _ =cut package Bio::EnsEMBL::Compara::NestedSet; use strict; use warnings; use List::Util qw(sum); use Bio::EnsEMBL::Utils::Exception; use Bio::EnsEMBL::Utils::Argument; use Bio::EnsEMBL::Utils::Exception qw(throw warning); use Bio::EnsEMBL::Utils::Scalar qw(:assert); use Bio::EnsEMBL::Storable; use Bio::TreeIO; use Bio::EnsEMBL::Compara::Graph::Node; our @ISA = qw(Bio::EnsEMBL::Compara::Graph::Node Bio::EnsEMBL::Storable); ################################################# # Factory methods ################################################# =head2 _attr_to_copy_list Description: Returns the list of all the attributes to be copied by deep_copy() Returntype : Array of String Caller : deep_copy() Status : Stable =cut sub _attr_to_copy_list { return qw(_distance_to_parent _left_index _right_index); } sub copy_node { my $self = shift; my $mycopy = $self->SUPER::copy(@_); foreach my $attr ($self->_attr_to_copy_list) { $mycopy->{$attr} = $self->{$attr} if exists $self->{$attr};; } return $mycopy; } =head2 copy Overview : creates copy of tree starting at this node going down Example : my $clone = $self->copy; Returntype : Bio::EnsEMBL::Compara::NestedSet Exceptions : none Caller : general =cut sub copy { my ($self, $class, $adaptor) = @_; my $mycopy = $self->copy_node(); if ($adaptor) { $mycopy->adaptor($adaptor); $mycopy->node_id($self->node_id); } if ($class) { eval "require $class"; bless $mycopy, $class; $mycopy->_complete_cast_node($self) if $mycopy->can('_complete_cast_node'); } $mycopy->{'_children_loaded'} = 1; # So that leaves know they are leaves foreach my $child (@{$self->children}) { $mycopy->add_child($child->copy($class, $adaptor)); } return $mycopy; } =head2 release_tree Overview : deletes and frees the memory used by this tree and all the underlying nodes. Example : $self->release_tree; Returntype : undef Exceptions : none Caller : general =cut sub release_tree { my $self = shift; my $child_count = $self->get_child_count; $self->disavow_parent; $self->cascade_unlink if($child_count); return undef; } sub dbID { my ($self) = @_; # throw("NestedSet objects do not implement dbID()"); return $self->node_id; } ################################################# # Object variable methods ################################################# sub left_index { my $self = shift; $self->{'_left_index'} = shift if(@_); $self->{'_left_index'} = 0 unless(defined($self->{'_left_index'})); return $self->{'_left_index'}; } sub right_index { my $self = shift; $self->{'_right_index'} = shift if(@_); $self->{'_right_index'} = 0 unless(defined($self->{'_right_index'})); return $self->{'_right_index'}; } ####################################### # Set manipulation methods ####################################### =head2 add_child Overview : attaches child nestedset node to this nested set Arg [1] : Bio::EnsEMBL::Compara::NestedSet $child Arg [2] : (opt.) distance between this node and child Example : $self->add_child($child); Returntype : undef Exceptions : if child is undef or not a NestedSet subclass Caller : general =cut sub add_child { my $self = shift; my $child = shift; my $dist = shift; throw("child not defined") unless(defined($child)); assert_ref($child, 'Bio::EnsEMBL::Compara::NestedSet', 'child'); #printf("add_child: parent(%s) <-> child(%s)\n", $self->node_id, $child->node_id); unless(defined($dist)) { $dist = $child->_distance; } $child->disavow_parent; #create_link_to_node is a safe method which checks if connection exists my $link = $self->create_link_to_node($child); $child->_set_parent_link($link); $self->{'_children_loaded'} = 1; $link->distance_between($dist); return $link; } =head2 disavow_parent Overview : unlink and release self from its parent Example : $self->disavow_parent Returntype : undef Caller : general =cut sub disavow_parent { my $self = shift; if($self->{'_parent_link'}) { my $link = $self->{'_parent_link'}; #print("DISAVOW parent : "); $parent->print_node; #print(" child : "); $self->print_node; $link->dealloc; } $self->_set_parent_link(undef); return undef; } =head2 release_children Overview : recursive releases all children Example : $self->release_children Returntype : $self Exceptions : none Caller : general =cut sub release_children { my $self = shift; # by calling with parent, this preserved the link to the parent # and thus doesn't unlink self foreach my $child (@{$self->children}) { $child->disavow_parent; $child->release_children; } #$self->cascade_unlink($self->{'_parent_node'}); return $self; } =head2 parent Overview : returns the parent NestedSet object for this node Example : my $my_parent = $object->parent(); Returntype : undef or Bio::EnsEMBL::Compara::NestedSet Exceptions : none Caller : general =cut sub parent { my $self = shift; return $self->{'_parent_link'}->get_neighbor($self) if defined $self->{'_parent_link'}; return $self->adaptor->fetch_parent_for_node($self) if (defined $self->adaptor) and (defined $self->_parent_id); return undef; } sub parent_link { my $self = shift; return $self->{'_parent_link'}; } sub has_parent { my $self = shift; return 1 if($self->{'_parent_link'} or $self->_parent_id); return 0; } sub has_ancestor { my $self = shift; my $ancestor = shift; assert_ref($ancestor, 'Bio::EnsEMBL::Compara::NestedSet', 'ancestor'); my $node = $self->parent; while($node) { return 1 if($node->equals($ancestor)); $node = $node->parent; } return 0; } =head2 root Overview : returns the root NestedSet object for this node returns $self if node has no parent (this is the root) Example : my $root = $object->root(); Description: Returns the root of the tree for this node with links to all the intermediate nodes. Sister nodes are not included in the result. Returntype : undef or Bio::EnsEMBL::Compara::NestedSet Exceptions : none Caller : general =cut sub root { my $self = shift; # Only if we don't have it cached # Only if we have left and right and it's not a leaf # Only if it's for release clusterset (1 genetrees - 0 genomic align trees) if (!defined($self->{'_parent_link'}) and $self->adaptor and ($self->right_index-$self->left_index)>1 and (defined $self->{'_parent_id'}) and (1==$self->{'_parent_id'}) ) { return $self->adaptor->fetch_root_by_node($self); } # Otherwise, go through the step-by-step method return $self unless(defined($self->parent)); # return $self if($self->node_id eq $self->parent->node_id); return $self->parent->root; } =head2 children Overview : returns a list of NestedSet nodes directly under this parent node Example : my @children = @{$object->children()}; Returntype : array reference of Bio::EnsEMBL::Compara::NestedSet objects (could be empty) Exceptions : none Caller : general Algorithm : new algorithm for fetching children: for each link connected to this NestedsSet node, a child is defined if old: the link is not my parent_link new: the link's neighbors' parent_link is the link This allows one (with a carefully coded algorithm) to overlay a tree on top of a fully connected graph and use the parent/children methods of NestedSet to walk the 'tree' substructure of the graph. Trees that are really just trees are still trees. =cut sub children { my $self = shift; $self->load_children_if_needed; my @kids; foreach my $link (@{$self->links}) { next unless(defined($link)); my $neighbor = $link->get_neighbor($self); throw("Not neighbor found\n") unless (defined $neighbor); my $parent_link = $neighbor->parent_link; next unless($parent_link); next unless($parent_link eq $link); push @kids, $neighbor; } return \@kids; } sub each_child { my $self = shift; # Return an iterator over the children (most effective when children list is LONG) my $count = -1; $self->load_children_if_needed; my @links = @{$self->links}; return sub { while ($count < scalar(@links)) { $count++; my $link = $links[$count]; next unless(defined $link); my $neighbor = $link->get_neighbor($self); next unless($neighbor->parent_link); next unless($neighbor->parent_link->equals($link)); return $neighbor; } return undef; }; } =head2 traverse_tree Arg[1] : $callback: subroutine to call on each node Arg[2] : $sorted: boolean (false). Whether the children should be sorted or not Arg[3] : $postfix: boolean (false). Whether the parent's callback should be done after its children or not Example : $node->traverse_tree(); Description : Traverse the tree and call $callback on each node Returntype : None Exceptions : none Caller : general Status : Stable =cut sub traverse_tree { my $self = shift; my ($callback, $sorted, $postfix) = @_; $callback->($self) unless $postfix; foreach my $child (@{$sorted ? $self->sorted_children : $self->children}) { $child->traverse_tree(@_); } $callback->($self) if $postfix; } =head2 sorted_children Overview : returns a sorted list of NestedSet nodes directly under this parent node sort so that internal nodes<leaves and then on distance Example : my @kids = @{$object->ordered_children()}; Returntype : array reference of Bio::EnsEMBL::Compara::NestedSet objects (could be empty) Exceptions : none Caller : general =cut sub sorted_children { my $self = shift; my @sortedkids = sort { $a->is_leaf <=> $b->is_leaf || $a->get_child_count <=> $b->get_child_count || $a->distance_to_parent <=> $b->distance_to_parent } @{$self->children;}; return \@sortedkids; } =head2 siblings Overview : returns a ist of NestedSet nodes that share the same parent Example : my @siblings = @{$object->siblings()}; Returntype : array reference of Bio::EnsEMBL::Compara::NestedSet objects (could be empty) Exceptions : none Caller : general =cut sub siblings { my ($node) = @_; return [] unless ($node->has_parent()); my $parent = $node->parent(); my $children = $parent->children(); my @siblings = (); for my $child (@$children) { if ($child != $node) { push @siblings, $child; } } return [@siblings]; } =head2 get_all_nodes Arg 1 : arrayref $node_array [used for recursivity, do not use it!] Example : my $all_nodes = $root->get_all_nodes(); Description : Returns this and all underlying sub nodes ReturnType : listref of Bio::EnsEMBL::Compara::NestedSet objects Exceptions : none Caller : general Status : Stable =cut sub get_all_nodes { my $self = shift; my $node_array = shift || []; # The recursion is faster than traverse_tree push @$node_array, $self; foreach my $child (@{$self->children}) { no warnings 'recursion'; $child->get_all_nodes($node_array); } return $node_array; } =head2 get_all_sorted_nodes Arg 1 : arrayref $node_array [used for recursivity, do not use it!] Example : my $all_sorted_nodes = $root->get_sorted_nodes(); Description : Returns this and all underlying sub nodes ordered ReturnType : listref of Bio::EnsEMBL::Compara::NestedSet objects Exceptions : none Caller : general Status : Stable =cut sub get_all_sorted_nodes { my $self = shift; my $node_array = shift || []; # The recursion is faster than traverse_tree push @$node_array, $self; foreach my $child (@{$self->sorted_children}) { no warnings 'recursion'; $child->get_all_sorted_nodes($node_array); } return $node_array; } =head2 get_all_nodes_by_tag_value Arg 1 : tag_name Arg 2 : tag_value (optional) Example : my $all_nodes = $root->get_all_nodes_by_tagvalue('tree_support'=>'nj_dn'); Description : Returns all underlying nodes that have a tag of the given name, and optionally a value of the given value. ReturnType : listref of Bio::EnsEMBL::Compara::NestedSet objects Exceptions : none Caller : general Status : =cut sub get_all_nodes_by_tag_value { my $self = shift; my $tag = shift || die( "Need a tag name" ); my $test_value = scalar(@_); my $value = shift; my @found; $self->traverse_tree(sub { my $node = shift; if ($node->has_tag($tag) && (!$test_value || ($node->get_value_for_tag($tag) eq $value))) { push @found, $node; } }); return \@found; } =head2 get_all_subnodes Example : my @all_subnodes = $root->get_all_subnodes(); Description : Returns all underlying sub nodes ReturnType : array of Bio::EnsEMBL::Compara::NestedSet objects Exceptions : none Caller : general Status : Stable =cut sub get_all_subnodes { my $self = shift; my @array; # The recursion is faster than traverse_tree foreach my $child (@{$self->children}) { push @array, @{$child->get_all_nodes}; } return @array; } =head2 get_all_ancestors Arg 1 : Example : my @ancestors = @{$node->get_all_ancestors}; Description : Returns all ancestor nodes for a given node ReturnType : listref of Bio::EnsEMBL::Compara::NestedSet objects Exceptions : none Caller : general Status : =cut sub get_all_ancestors { my $self = shift; my $this = $self; my @ancestors; while( $this = $this->parent ){ push @ancestors, $this; } return [@ancestors] } =head2 get_all_adjacent_subtrees Arg 1 : Example : my @subtrees = @{$node->get_all_adjacent_subtrees}; Description : Returns subtree 'root' nodes where the subtree is adjacent to this node. Used e.g. by the web code for the 'collapse other nodes' action ReturnType : listref of Bio::EnsEMBL::Compara::NestedSet objects Exceptions : none Caller : EnsEMBL::Web::Component::Gene::ComparaTree Status : =cut sub get_all_adjacent_subtrees { my $self = shift; my $node_id = $self->node_id; my @node_path_to_root = ($self, @{$self->get_all_ancestors} ); my %path_node_ids = map{ $_->node_id => 1 } @node_path_to_root; my $this = $self->root; # Start at the root node my @adjacent_subtrees; while( $this ){ last if $this->node_id == $node_id; # Stop on reaching current node my $next; foreach my $child (@{$this->children}){ next if $child->is_leaf; # Leaves cannot be subtrees if( $path_node_ids{$child->node_id} ){ # Ancestor node $next = $child; } else { push @adjacent_subtrees, $child; } } $this = $next || undef; } return [@adjacent_subtrees] } =head2 num_leaves Example : my $num_leaves = $node->num_leaves Description : Returns the number of leaves underlying the node ReturnType : integer Exceptions : none Caller : general Status : At risk (relies on left and right indexes) =cut sub num_leaves { my $self = shift; my $left = $self->left_index; my $right = $self->right_index; return unless( $left && $right ); my $num = $right - $left + 1; my $num_leaves = ( ($num/2) + 1 ) / 2; return $num_leaves; } sub get_child_count { my $self = shift; $self->load_children_if_needed; return scalar @{$self->children}; # my $count = $self->link_count; # $count-- if($self->has_parent); # return $count; } sub load_children_if_needed { my $self = shift; if(!defined($self->{'_children_loaded'}) and $self->adaptor) { #define _children_id_hash thereby signally that I've tried to load my children $self->{'_children_loaded'} = 1; #print("load_children_if_needed : "); $self->print_node; $self->adaptor->fetch_all_children_for_node($self); } } sub no_autoload_children { my $self = shift; return if($self->{'_children_loaded'}); $self->{'_children_loaded'} = 1; } =head2 distance_to_parent Arg [1] : (opt.) <int or double> distance Example : my $dist = $object->distance_to_parent(); Example : $object->distance_to_parent(1.618); Description: Getter/Setter for the distance between this child and its parent Returntype : integer node_id Exceptions : none Caller : general =cut sub distance_to_parent { my $self = shift; my $dist = shift; if($self->{'_parent_link'}) { if(defined($dist)) { $self->{'_parent_link'}->distance_between($dist); } else { $dist = $self->{'_parent_link'}->distance_between; } } else { if(defined($dist)) { $self->_distance($dist); } else { $dist = $self->_distance; } } return $dist; } sub _distance { my $self = shift; $self->{'_distance_to_parent'} = shift if(@_); $self->{'_distance_to_parent'} = 0.0 unless(defined($self->{'_distance_to_parent'})); return $self->{'_distance_to_parent'}; } sub distance_to_root { my $self = shift; my $dist = $self->distance_to_parent; $dist += $self->parent->distance_to_root if($self->parent); return $dist; } =head2 distance_to_ancestor Arg [1] : Bio::EnsEMBL::Compara::NestedSet $ancestor Example : my $distance = $this_node->distance_to_ancestor($ancestor); Description : Calculates the distance in the tree between this node and its ancestor $ancestor Returntype : float Exceptions : throws if $ancestor is not an ancestor of this node. Caller : general Status : Stable =cut sub distance_to_ancestor { my $self = shift; my $ancestor = shift; if ($ancestor->node_id eq $self->node_id) { return 0; } unless (defined $self->parent) { throw("Ancestor not found\n"); } return $self->distance_to_parent + $self->parent->distance_to_ancestor($ancestor); } =head2 distance_to_node Arg [1] : Bio::EnsEMBL::Compara::NestedSet $node Example : my $distance = $this_node->distance_to_node($other_node); Description : Calculates the distance in the tree between these two nodes. Returntype : float Exceptions : returns undef if no ancestor can be found, no distances are defined in the tree, etc. Caller : general Status : Stable =cut sub distance_to_node { my $self = shift; my $node = shift; my $ancestor = $self->find_first_shared_ancestor($node); if (!$ancestor) { return undef; } my $distance = $self->distance_to_ancestor($ancestor); $distance += $node->distance_to_ancestor($ancestor); return $distance; } # Returns a TreeI-compliant object based on this NestedSet. sub get_TreeI { my $self = shift; my $newick = $self->newick_format(); open(my $fake_fh, "+<", \$newick); my $treein = new Bio::TreeIO(-fh => $fake_fh, -format => 'newick'); my $treeI = $treein->next_tree; $treein->close; return $treeI; } sub new_from_newick { my $class = shift; my $file = shift; my $treein = new Bio::TreeIO(-file => $file, -format => 'newick'); my $treeI = $treein->next_tree; $treein->close; return $class->new_from_TreeI($treeI); } sub new_from_TreeI { my $class = shift; my $treeI = shift; my $rootI = $treeI->get_root_node; my $node = new $class; # Kick off the recursive, parallel node adding. _add_nodeI_to_node($node,$rootI); return $node; } # Recursive helper for new_from_TreeI. sub _add_nodeI_to_node { my $node = shift; # Our node object (Compara) my $nodeI = shift; # Our nodeI object (BioPerl) foreach my $c ($nodeI->each_Descendent) { my $child = ref($node)->new; my $name = $c->id || ''; $name =~ s/^\s+//; $name =~ s/\s+$//; # Set name. $child->name($name); # Set branch length. $node->add_child($child,$c->branch_length); # Recurse. _add_nodeI_to_node($child,$c); } } =head2 print_tree Arg [1] : int $scale Example : $this_node->print_tree(100); Description : Prints this tree in ASCII format. The scale is used to define the width of the tree in the output Returntype : undef Exceptions : Caller : general Status : At risk (as the output might change) =cut sub print_tree { my $self = shift; my $scale = shift; $scale = 100 unless($scale); $self->_internal_print_tree(undef, 0, $scale); } sub string_tree { my $self = shift; my $scale = shift; $scale ||= 100; my $buffer = ''; $self->_internal_string_tree(undef, 0, $scale, \$buffer); return $buffer; } sub _internal_string_tree { my $self = shift; my $indent = shift; my $lastone = shift; my $scale = shift; my $buffer = shift; if(defined($indent)) { $$buffer .= $indent; for(my $i=0; $i<$self->distance_to_parent()*$scale; $i++) { $$buffer .= '-'; } } $$buffer .= $self->string_node($indent); if(defined($indent)) { if($lastone) { chop($indent); $indent .= " "; } for(my $i=0; $i<$self->distance_to_parent()*$scale; $i++) { $indent .= ' '; } } $indent = '' unless(defined($indent)); $indent .= "|"; my $children = $self->sorted_children; my $count=0; $lastone = 0; foreach my $child_node (@$children) { $count++; $lastone = 1 if($count == scalar(@$children)); $child_node->_internal_string_tree($indent,$lastone,$scale,$buffer); } } sub _internal_print_tree { my $self = shift; my $indent = shift; my $lastone = shift; my $scale = shift; if(defined($indent)) { print($indent); for(my $i=0; $i<$self->distance_to_parent()*$scale; $i++) { print('-'); } } $self->print_node($indent); if(defined($indent)) { if($lastone) { chop($indent); $indent .= " "; } for(my $i=0; $i<$self->distance_to_parent()*$scale; $i++) { $indent .= ' '; } } $indent = '' unless(defined($indent)); $indent .= "|"; my $children = $self->sorted_children; my $count=0; $lastone = 0; foreach my $child_node (@$children) { $count++; $lastone = 1 if($count == scalar(@$children)); $child_node->_internal_print_tree($indent,$lastone,$scale); } } sub print_node { my $self = shift; print $self->string_node; } sub string_node { my $self = shift; my $str = '('; my $isdup = 0; $isdup = 1 if ($self->get_value_for_tag('Duplication', 0) > 0 and not $self->get_value_for_tag('dubious_duplication', 0)); $isdup = 1 if $self->get_value_for_tag('node_type', '') eq 'duplication'; my $isdub = ($self->get_value_for_tag('node_type', '') eq 'dubious'); if ($isdup) { if ($self->isa('Bio::EnsEMBL::Compara::GeneTreeNode') and (defined $self->species_tree_node) && ($self->species_tree_node->genome_db_id)) { $str .= "Dup "; } else { $str .= "DUP "; } my $sis = $self->get_value_for_tag('duplication_confidence_score', 0) * 100; $str .= sprintf('SIS=%.2f ', $sis); } elsif ($isdub) { $str .= "DD "; $str .= 'SIS=0 '; } if($self->has_tag("bootstrap")) { my $bootstrap_value = $self->bootstrap(); $str .= "B=$bootstrap_value "; } if($self->can('taxonomy_level') && $self->taxonomy_level) { my $taxon_name_value = $self->taxonomy_level(); $str .="T=$taxon_name_value "; } $str .= sprintf("%s %d,%d)", $self->node_id, $self->left_index, $self->right_index); $str .= sprintf("%s\n", $self->name || ''); return $str; } =head2 newick_format Arg [1] : string $format_mode Example : $this_node->newick_format("full"); Description : Prints this tree in Newick format. Several modes are available: full, display_label_composite, simple, species, species_short_name, ncbi_taxon, ncbi_name, phylip Returntype : string Exceptions : Caller : general Status : Stable =cut my %ryo_modes = ( 'member_id' => '%{^-m}:%{d}', 'member_id_taxon_id' => '%{-m}%{"_"-x}:%{d}', 'display_label_composite' => '%{-l"_"}%{n}%{"_"-s}:%{d}', 'full_common' => '%{n}%{" "-c.^}%{"."-g}%{"_"-t"_MYA"}:%{d}', 'gene_stable_id_composite' => '%{-i"_"}%{n}%{"_"-s}:%{d}', 'gene_stable_id' => '%{-i}:%{d}', 'ncbi_taxon' => '%{o}', 'ncbi_name' => '%{n}', 'simple' => '%{^-n|i}:%{d}', 'full' => '%{n|i}:%{d}', 'species' => '%{^-S|p}', 'species_short_name' => '%{^-s|p}', 'otu_id' => '%{-s"|"}%{-l"|"}%{n}:%{d}', 'int_node_id' => '%{-n}%{o-}:%{d}', 'full_web' => '%{n-}%{-n|p}%{"_"-s"_"}%{":"d}', 'phylip' => '%21{n}:%{d}', ); my $nhx0 = '%{-n|i|C(taxonomy_level)}:%{d}'; my $nhx1 = ':%{-E"D=N"}%{C(_newick_dup_code)-}%{":B="C(bootstrap)}'; my $nhx2 = ':T=%{-x}%{C(species_tree_node,taxon_id)-}'; my %nhx_ryo_modes_1 = ( 'member_id_taxon_id' => '%{-m}%{o-}_%{-x}%{C(species_tree_node,taxon_id)-}:%{d}', 'protein_id' => '%{-n}:%{d}', 'transcript_id' => '%{-r}:%{d}', 'gene_id' => '%{-i}:%{d}', 'full' => $nhx0, 'full_web' => $nhx0, 'display_label' => '%{-l,|i}%{"_"-s}'.$nhx0, 'display_label_composite' => '%{-l,"_"}%{-i}%{"_"-s}'.$nhx0, 'treebest_ortho' => '%{-m}%{"_"-x}'.$nhx0, 'simple' => $ryo_modes{'simple'}, 'phylip' => $ryo_modes{'phylip'}, ); my %nhx_ryo_modes_2 = ( 'member_id_taxon_id' => $nhx1.$nhx2, 'protein_id' => $nhx1.'%{":G="-i}'.$nhx2, 'transcript_id' => $nhx1.'%{":G="-i}'.$nhx2, 'gene_id' => $nhx1.'%{":G="-r}'.$nhx2, 'full' => $nhx1.$nhx2, 'full_web' => $nhx1.$nhx2, 'display_label' => $nhx1.$nhx2, 'display_label_composite' => $nhx1.$nhx2, 'treebest_ortho' => $nhx1.$nhx2.':S=%{-x}%{C(species_tree_node,taxon_id)-}', ); sub newick_format { my $self = shift; my $format_mode = shift; my $ryo_string; if (not defined $format_mode) { $ryo_string = $ryo_modes{'full'}; } elsif ($format_mode eq "ryo") { $ryo_string = shift @_; } elsif (defined $ryo_modes{$format_mode}) { $ryo_string = $ryo_modes{$format_mode}; } else { throw("Unrecognized format '$format_mode'. Please use 'ryo' to introduce a roll-your-own format string\n"); } return $self->_internal_newick_format_ryo($ryo_string); } =head2 nhx_format Arg [1] : string $format_mode Example : $this_node->nhx_format("full"); Description : Prints this tree in NHX format. Several modes are: member_id_taxon_id, protein_id, transcript_id, gene_id, full, full_web, display_label, display_label_composite, treebest_ortho, simple, phylip Returntype : string Exceptions : Caller : general Status : Stable =cut sub nhx_format { my ($self, $format_mode) = @_; my $ryo_string1; my $ryo_string2; if (not defined $format_mode) { $ryo_string1 = $nhx_ryo_modes_1{'protein_id'}; $ryo_string2 = $nhx_ryo_modes_2{'protein_id'}; } elsif ($format_mode eq "ryo") { $ryo_string1 = shift @_; $ryo_string2 = shift @_; } elsif (defined $nhx_ryo_modes_1{$format_mode}) { $ryo_string1 = $nhx_ryo_modes_1{$format_mode}; $ryo_string2 = $nhx_ryo_modes_2{$format_mode}; } else { throw("Unrecognized format '$format_mode'. Please use 'ryo' to introduce a roll-your-own format string\n"); } my $fmt = $ryo_string1; $fmt = $ryo_string1.'[&&NHX'.$ryo_string2.']' if defined $ryo_string2; return $self->_internal_newick_format_ryo($fmt); } sub _internal_newick_format_ryo { my ($self, $ryo_string) = @_; my $newick_str; eval { use Bio::EnsEMBL::Compara::Utils::FormatTree; my $ryo_formatter = Bio::EnsEMBL::Compara::Utils::FormatTree->new($ryo_string); $newick_str = $ryo_formatter->format_newick($self); }; if ($@) { throw("Something bad happened while trying to stringify the tree: $@\n"); } return "$newick_str;"; } ################################## # # Set theory methods # ################################## #sub equals { # my $self = shift; # my $other = shift; # assert_ref($other, 'Bio::EnsEMBL::Compara::NestedSet', 'other'); # return 1 if($self->node_id eq $other->node_id); # foreach my $child (@{$self->children}) { # return 0 unless($other->has_child($child)); # } # return 1; #} sub has_child { my $self = shift; my $child = shift; assert_ref($child, 'Bio::EnsEMBL::Compara::NestedSet', 'child'); $self->load_children_if_needed; my $link = $self->link_for_neighbor($child); return 0 unless($link); return 0 if($self->{'_parent_link'} and ($self->{'_parent_link'}->equals($link))); return 1; } sub is_member_of { my $A = shift; my $B = shift; return 1 if($B->has_child($A)); return 0; } sub is_subset_of { my $A = shift; my $B = shift; foreach my $child (@{$A->children}) { return 0 unless($B->has_child($child)); } return 1; } sub is_leaf { my $self = shift; return 1 unless($self->get_child_count); return 0; } sub merge_children { my $self = shift; my $nset = shift; assert_ref($nset, 'Bio::EnsEMBL::Compara::NestedSet', 'nset'); foreach my $child_node (@{$nset->children}) { $self->add_child($child_node, $child_node->distance_to_parent); } return $self; } sub merge_node_via_shared_ancestor { my $self = shift; my $node = shift; my $node_id_index = shift or $self->_make_search_index_on_nodes('node_id', 1); my $node_dup = $node_id_index->{$node->node_id}; if($node_dup) { #warn("trying to merge in a node with already exists\n"); return $node_dup; } while (my $parent = $node->parent) { my $ancestor = $node_id_index->{$parent->node_id}; if($ancestor) { $ancestor->add_child($node); #print("common ancestor at : "); $ancestor->print_node; return $ancestor; } $node_id_index->{$parent->node_id} = $parent; $node = $parent; } } # NB: Will also minimize the tree sub extract_subtree_from_leaves { my $self = shift; my $node_ids = shift; # Array ref of node_ids. my %node_ids_to_keep = map {$_ => 1} @{$node_ids}; return $self->_rec_extract_subtree_from_leaves(\%node_ids_to_keep); } sub _rec_extract_subtree_from_leaves { my $self = shift; my $node_ids_to_keep = shift; # hashref if ($self->is_leaf) { if ($node_ids_to_keep->{$self->node_id}) { my $copy = $self->copy_node; $copy->node_id($self->node_id); return $copy; } else { return undef; } } else { my @new_children = grep {$_} map {$_->_rec_extract_subtree_from_leaves($node_ids_to_keep)} @{$self->children}; if (scalar(@new_children) == 0) { return undef; } elsif (scalar(@new_children) == 1) { $new_children[0]->distance_to_parent( $new_children[0]->distance_to_parent + $self->distance_to_parent ); return $new_children[0]; } else { my $copy = $self->copy_node; $copy->node_id( $self->node_id ); $copy->add_child($_, $_->distance_to_parent) for @new_children; return $copy; } } } ################################## # # nested_set manipulations # ################################## =head2 flatten_tree Overview : Removes all internal nodes and attaches leaves to the tree root, creating a "flattened" star tree structure. Example : $node->flatten_tree(); Returntype : undef or Bio::EnsEMBL::Compara::NestedSet Exceptions : none Caller : general =cut sub flatten_tree { my $self = shift; my $leaves = $self->get_all_leaves; foreach my $leaf (@{$leaves}) { $leaf->disavow_parent; } $self->release_children; foreach my $leaf (@{$leaves}) { $self->add_child($leaf, 0.0); } return $self; } =head2 re_root Overview : rearranges the tree structure so that the root is moved to beetween this node and its parent. If the old root was more than bifurcated (2 children) a new node is created where it was to hold the multiple children that arises from the re-rooting. The old root is returned. Example : $node->re_root(); Returntype : undef or Bio::EnsEMBL::Compara::NestedSet Exceptions : none Caller : general =cut sub re_root { my $self = shift; return $self unless($self->parent); #I'm root so just return self my $root = $self->root; my $tmp_root = new Bio::EnsEMBL::Compara::NestedSet; $tmp_root->merge_children($root); my $parent = $self->parent; my $dist = $self->distance_to_parent; $self->disavow_parent; my $old_root = $parent->_invert_tree_above; $old_root->minimize_node; $root->add_child($parent, $dist / 2.0); $root->add_child($self, $dist / 2.0); return $root; } sub _invert_tree_above { my $self = shift; return $self unless($self->parent); my $old_root = $self->parent->_invert_tree_above; #now my parent has been inverted so it is the new root #flip the direction of the link between myself and my parent $self->parent->_set_parent_link($self->{'_parent_link'}); $self->_set_parent_link(undef); #now I'm the new root and the old root might need to be modified return $old_root; } sub build_leftright_indexing { my $self = shift; my $counter = shift; $counter = 1 unless($counter); $self->left_index($counter++); foreach my $child_node (@{$self->sorted_children}) { $counter = $child_node->build_leftright_indexing($counter); } $self->right_index($counter++); return $counter; } =head2 remove_nodes Arg [1] : arrayref Bio::EnsEMBL::Compara::NestedSet $nodes Example : my $ret_tree = $tree->remove_nodes($nodes); Description : Returns the tree with removed nodes in list. Nodes should be in the tree. Returntype : Bio::EnsEMBL::Compara::NestedSet object Exceptions : Caller : general Status : At risk (behaviour on exceptions could change) =cut sub remove_nodes { my $self = shift; my $nodes = shift; foreach my $node (@$nodes) { if ($node->is_leaf) { $node->disavow_parent; $self = $self->minimize_tree; } else { my $node_children = $node->children; foreach my $child (@$node_children) { $node->parent->add_child($child); } $node->disavow_parent; } # Delete dangling one-child trees (help memory manager) if ($self->get_child_count == 1) { my $child = $self->children->[0]; $child->parent->merge_children($child); $child->disavow_parent; return undef; } # Could be zero if all asked to delete, so return undef instead of # fake one-node tree. if ($self->get_child_count < 2) { return undef; } } return $self; } =head2 delete_lineage Arg [1] : Bio::EnsEMBL::Compara::NestedSet $node Example : $tree->delete_lineage($node); Description : Removes $node from tree. Nodes should be in the tree. Returntype : Exceptions : Caller : general Status : At risk (behaviour on exceptions could change) =cut sub delete_lineage { my $self = shift; my $del_me = shift; assert_ref($del_me, 'Bio::EnsEMBL::Compara::NestedSet', 'del_me'); my $parent = $del_me->parent; while ($parent) { my $num_children = scalar @{$parent->children}; if ($num_children > 1) { $self->remove_nodes([$del_me]); return $self; } elsif ($num_children == 1) { $self->remove_nodes([$del_me]); $del_me = $parent; $parent = $del_me->parent; } } return $self; } =head2 minimize_tree Arg [1] : -none- Example : $leaf->disavow_parent(); $tree = $tree->minimize_tree(); Description : Returns the tree after removing internal nodes that do not represent an multi- or bi-furcation anymore. This is typically required after disavowing a node. Please ensure you use the object returned by the method and not the original object anymore! Returntype : Bio::EnsEMBL::Compara::NestedSet object Exceptions : Caller : general Status : Stable =cut sub minimize_tree { my $self = shift; return $self if($self->is_leaf); foreach my $child (@{$self->children}) { $child->minimize_tree; } return $self->minimize_node; } sub minimize_node { my $self = shift; return $self unless($self->get_child_count() == 1); my $child = $self->children->[0]; my $dist = $child->distance_to_parent + $self->distance_to_parent; if ($self->parent) { $self->parent->add_child($child, $dist); $self->disavow_parent; } else { $child->disavow_parent; } return $child } sub scale { my $self = shift; my $scale = shift; # This is faster than traverse_tree foreach my $node (@{$self->get_all_nodes}) { my $bl = $node->distance_to_parent; $bl = 0 unless (defined $bl); $node->distance_to_parent($bl*$scale); } return $self; } sub scale_max_to { my $self = shift; my $new_max = shift; my $max_dist = $self->max_distance + $self->distance_to_parent; my $scale_factor = $new_max / $max_dist; return $self->scale($scale_factor); } ################################## # # search methods # ################################## sub find_nodes_by_field { my ($self, $field, $value, $acc) = @_; $acc = [] unless (defined $acc); unless ($self->can($field)) { warning("No method $field available for class $self\n"); return undef; } push @$acc, $self if((defined $self->$field) and ($self->$field eq $value)); # return $self if((defined $self->$field) and ($self->$field eq $value)); my $children = $self->children; for my $child (@$children) { $child->find_nodes_by_field($field, $value, $acc); # my $found = $child->find_node_by_field($field, $value); # return $found if(defined $found); } return $acc; # return undef; } sub _make_search_index_on_nodes { my ($self, $field, $keep_only_one) = @_; my %hash = (); # This is faster than traverse_tree foreach my $node (@{$self->get_all_nodes}) { if ($node->can($field) and (defined $node->$field)) { if ($keep_only_one) { $hash{$node->$field} = $node; } else { push @{$hash{$node->$field}}, $node; } } } return \%hash; } sub find_node_by_name { my $self = shift; my $name = shift; return $self->find_nodes_by_field('name', $name)->[0]; } sub find_node_by_node_id { my $self = shift; my $node_id = shift; return $self->find_nodes_by_field('node_id', $node_id)->[0]; } sub find_leaves_by_field { my ($self, $field, $value) = @_; my @leaves; $self->traverse_tree(sub { my $node = shift; if ($node->is_leaf && $node->can($field) && (defined $node->$field) && ($node->$field eq $value)) { push @leaves, $node; } }); # The original implementation of find_leaves_by_field was calling # get_all_leaves, which sorts the leaves by node_id return [sort {$a->node_id <=> $b->node_id} @leaves]; } sub find_leaf_by_name { my $self = shift; my $name = shift; return $self if((defined $self->name) and ($name eq $self->name)); return $self->find_leaves_by_field('name', $name)->[0]; } sub find_leaf_by_node_id { my $self = shift; my $node_id = shift; return $self if($node_id eq $self->node_id); return $self->find_leaves_by_field('node_id', $node_id)->[0]; } =head2 get_all_sorted_leaves Arg [1] : Bio::EnsEMBL::Compara::NestedSet $top_leaf Arg [...] : (optional) Bio::EnsEMBL::Compara::NestedSet $secondary_priority_leaf Example : my $sorted_leaves = $object->get_all_sorted_leaves($human_leaf); Example : my $sorted_leaves = $object->get_all_sorted_leaves($human_leaf, $mouse_leaf); Description : Sorts the tree such as $top_leaf is the first leave and returns all the other leaves in the order defined by the tree. It is possible to define as many secondary top leaves as you require to sort other branches of the tree. The priority to sort the trees is defined by the order in which you specify the leaves. Returntype : listref of Bio::EnsEMBL::Compara::NestedSet (all sorted leaves) Exceptions : none Caller : general Status : Stable =cut sub get_all_sorted_leaves { my ($self, @priority_leaves) = @_; if (!@priority_leaves) { return $self->get_all_leaves; } # Assign priority scores for all parent nodes of the priority leaves my $score_by_node; my $score = 0; # Loop through all the priority leaves, starting from the last one (lowest score) while (my $priority_leaf = pop @priority_leaves) { $score++; # Increases the score, next priority leaves (earlier in the argument list) will overwrite the score if needed my $this_node = $priority_leaf; # Loop through all the parent node up to the root of the tree do { $score_by_node->{$this_node} = $score; $this_node = $this_node->parent; } while ($this_node); } my $sorted_leaves = $self->_recursive_get_all_sorted_leaves($score_by_node); return $sorted_leaves; } =head2 _recursive_get_all_sorted_leaves Arg [1] : hashref $score_by_node Example : my $sorted_leaves = $object->_recursive_get_all_sorted_leaves($score_by_node); Description : Recursive code for the get_all_sorted_leaves() method Returntype : listref of Bio::EnsEMBL::Compara::NestedSet (sorted leaves) Exceptions : none Caller : private Status : Stable =cut sub _recursive_get_all_sorted_leaves { my $self = shift; my $score_by_node = shift; my $sorted_leaves = []; my $children = $self->children; if (@$children == 0) { $sorted_leaves = [$self]; } else { $children = [sort { ($score_by_node->{$b} || $score_by_node->{$a}) ? (($score_by_node->{$b} || 0)<=>($score_by_node->{$a} || 0)) : ($a->node_id <=> $b->node_id) } @$children]; for (my $i = 0; $i < @$children; $i++) { push(@$sorted_leaves, @{$children->[$i]->_recursive_get_all_sorted_leaves($score_by_node)}); } } return $sorted_leaves; } =head2 get_all_leaves Title : get_all_leaves Usage : my @leaves = @{$tree->get_all_leaves}; Function: searching from the given starting node, searches and creates list of all leaves in this subtree and returns by reference Example : Returns : reference to list of NestedSet objects (all leaves) Args : none =cut sub get_all_leaves { my $self = shift; my $leaves = []; # The recursion is faster than traverse_tree $self->_recursive_get_all_leaves($leaves); my @leaf_list = sort {$a->node_id <=> $b->node_id} @{$leaves}; return \@leaf_list; } sub _recursive_get_all_leaves { my $self = shift; my $leaves = shift; push @$leaves, $self if($self->is_leaf); foreach my $child (@{$self->children}) { no warnings 'recursion'; $child->_recursive_get_all_leaves($leaves); } } =head2 traverse_tree_get_all_leaves Arg[1] : $callback: subroutine to call on each internal node with an array of its leaves Example : $node->traverse_tree_get_all_leaves(sub {my ($n, $l) = @_; print $n->name, " has ", scalar(@$l), " leaves\n"}); Description : Returns the leaves of the tree, but also calls a callback method. Useful to traverse the tree whilst being aware of the leaves Returntype : Arrayref of nodes (Bio::EnsEMBL::Compara::NestedSet) Exceptions : none Caller : general Status : Stable =cut sub traverse_tree_get_all_leaves { my ($self, $callback) = @_; return [$self] if $self->is_leaf; my @leaves; push @leaves, @{$_->traverse_tree_get_all_leaves($callback)} for @{$self->children}; $callback->($self, \@leaves); return \@leaves; } =head2 random_binarize_node Title : random_binarize_node Usage : $node->random_binarize_node; Function: Forces the resolution of multifurcations on a given node. It resolves them randomly. Example : Returns : none Args : none =cut sub random_binarize_node { my ($node) = @_; while (scalar(@{$node->children}) > 2) { my @children = @{$node->children}; #---------------------------------------- #Very simple algorithm (no need to recursivity): # N = root of multifurcated node # I = new internal node # A = child 1 # B = child 2 # # Select 2 children # Create new internal node attached to N # Attach A & B to I # Add new node back to the main node #---------------------------------------- # Select 2 children my $child_A = $children[0]; my $child_B = $children[1]; # Create new internal node attached to N my $newNode = $node->copy_node(); $newNode->adaptor($node->adaptor) if $node->adaptor; # Attach A & B to I # A & B will be automatically removed from previous parent $newNode->add_child($child_A); $newNode->add_child($child_B); # Add new node back to the main node $node->add_child($newNode) } } =head2 max_distance Title : max_distance Args : none Usage : $tree_node->max_distance; Function: searching from the given starting node, calculates the maximum distance to a leaf Returns : int =cut sub max_distance { my $self = shift; my $max_distance = 0; foreach my $child (@{$self->children}) { my $distance = $child->distance_to_parent + $child->max_distance; $max_distance = $distance if($distance>$max_distance); } return $max_distance; } =head2 max_depth Title : max_depth Args : none Usage : $tree_node->max_depth; Function: searching from the given starting node, calculates the maximum depth to a leaf Returns : int =cut sub max_depth { my $self = shift; my $max_depth = 0; foreach my $child (@{$self->children}) { my $depth = $child->max_depth + 1; $max_depth=$depth if($depth>$max_depth); } return $max_depth; } =head2 average_height Example : $tree_node->average_height(); Description : The average distance from the node to its leaves, computed in a recursive fashion. Once flattened out, the formula is basically a weighted average of the distances to the leaves, the weights being given by the degrees of each internal node. Returntype : Float Exceptions : none Caller : general Status : Stable =cut sub average_height { my $self = shift; return 0 if $self->is_leaf; my $children = $self->children; my $s = sum(map {$_->distance_to_parent + average_height($_)} @$children); return $s/scalar(@$children); } =head2 find_first_shared_ancestor Arg [1] : Bio::EnsEMBL::Compara::NestedSet $node Example : my $ancestor = $this_node->find_first_shared_ancestor($other_node); Description : Gets the first common ancestor between this node and the other one. Returntype : Bio::EnsEMBL::Compara::NestedSet object Exceptions : Caller : general Status : Stable =cut sub find_first_shared_ancestor { my $self = shift; my $node = shift; return $self if($self->equals($node)); return $node if($self->has_ancestor($node)); return $self->find_first_shared_ancestor($node->parent); } sub find_first_shared_ancestor_from_leaves { my $self = shift; my $leaf_list = shift; my @leaves = @{$leaf_list}; my $ancestor = shift @leaves; while (scalar @leaves > 0) { my $node = shift @leaves; $ancestor = $ancestor->find_first_shared_ancestor($node); } return $ancestor; } ################################## # # developer/adaptor API methods # ################################## # used for building tree from a DB fetch, want to restrict users to create trees # by only -add_child method sub _set_parent_link { my ($self, $link) = @_; $self->{'_parent_id'} = 0; $self->{'_parent_link'} = $link; $self->{'_parent_id'} = $link->get_neighbor($self)->node_id if($link); return $self; } # used for building tree from a DB fetch until all the objects are in memory sub _parent_id { my $self = shift; $self->{'_parent_id'} = shift if(@_); return $self->{'_parent_id'}; } # used for building tree from a DB fetch until all the objects are in memory sub _root_id { my $self = shift; $self->{'_root_id'} = shift if(@_); return $self->{'_root_id'}; } 1;
26.481404
148
0.624829
ed88de6910c9baaa99eb1927a8e8e06380613724
5,970
pl
Perl
examples/tac-compressor.pl
trizen/Math-BigNum
3dd9f271474d3e5b90d31023af497849c29335d9
[ "Artistic-2.0" ]
null
null
null
examples/tac-compressor.pl
trizen/Math-BigNum
3dd9f271474d3e5b90d31023af497849c29335d9
[ "Artistic-2.0" ]
null
null
null
examples/tac-compressor.pl
trizen/Math-BigNum
3dd9f271474d3e5b90d31023af497849c29335d9
[ "Artistic-2.0" ]
null
null
null
#!/usr/bin/perl # Author: Daniel "Trizen" Șuteu # License: GPLv3 # Date: 01 May 2015 # Website: http://github.com/trizen # ## The arithmetic coding algorithm. # # See: http://en.wikipedia.org/wiki/Arithmetic_coding#Arithmetic_coding_as_a_generalized_change_of_radix use 5.010; use strict; use autodie; use warnings; use Getopt::Std qw(getopts); use File::Basename qw(basename); use lib qw(../lib); use Math::BigNum; use constant { PKGNAME => 'TAC Compressor', VERSION => '0.02', FORMAT => 'tac', }; use constant {SIGNATURE => uc(FORMAT) . chr(1)}; sub usage { my ($code) = @_; print <<"EOH"; usage: $0 [options] [input file] [output file] options: -e : extract -i <filename> : input filename -o <filename> : output filename -r : rewrite output -v : version number -h : this message examples: $0 document.txt $0 document.txt archive.${\FORMAT} $0 archive.${\FORMAT} document.txt $0 -e -i archive.${\FORMAT} -o document.txt EOH exit($code // 0); } sub version { printf("%s %s\n", PKGNAME, VERSION); exit; } sub main { my %opt; getopts('ei:o:vhr', \%opt); $opt{h} && usage(0); $opt{v} && version(); my ($input, $output) = @ARGV; $input //= $opt{i} // usage(2); $output //= $opt{o}; my $ext = qr{\.${\FORMAT}\z}io; if ($opt{e} || $input =~ $ext) { if (not defined $output) { ($output = basename($input)) =~ s{$ext}{} || die "$0: no output file specified!\n"; } if (not $opt{r} and -e $output) { print "'$output' already exists! -- Replace? [y/N] "; <STDIN> =~ /^y/i || exit 17; } decompress($input, $output) || die "$0: error: decompression failed!\n"; } elsif ($input !~ $ext || (defined($output) && $output =~ $ext)) { $output //= basename($input) . '.' . FORMAT; compress($input, $output) || die "$0: error: compression failed!\n"; } else { warn "$0: don't know what to do...\n"; usage(1); } } sub valid_archive { my ($fh) = @_; if (read($fh, (my $sig), length(SIGNATURE), 0) == length(SIGNATURE)) { $sig eq SIGNATURE || return; } return 1; } sub cumulative_freq { my ($freq) = @_; my %cf; my $total = Math::BigNum->new(0); foreach my $c (sort keys %{$freq}) { $cf{$c} = $total; $total += $freq->{$c}; } return %cf; } sub compress { my ($input, $output) = @_; use bytes; # Open the input file open my $fh, '<:raw', $input; # Open the output file and write the archive signature open my $out_fh, '>:raw', $output; print {$out_fh} SIGNATURE; my $str = do { local $/; scalar(<$fh>); }; close $fh; my @chars = split(//, $str); # The frequency characters my %freq; $freq{$_}++ for @chars; # Create the cumulative frequency table my %cf = cumulative_freq(\%freq); # Limit and base my $base = Math::BigNum->new(scalar @chars); # Lower bound my $L = Math::BigNum->new(0); # Product of all frequencies my $pf = Math::BigNum->new(1); # Each term is multiplied by the product of the # frequencies of all previously occurring symbols foreach my $c (@chars) { $L->bmul($base)->badd($cf{$c} * $pf); $pf->bmul($freq{$c}); } # Upper bound my $U = $L + $pf; my $pow = $pf->log2->as_int; my $enc = ($U - 1) >> $pow; # Remove any divisibility by 2 while ($enc > 0 and $enc % 2 == 0) { ++$pow; $enc >>= 1; } my $bin = $enc->as_bin; my $encoded = pack('L', $pow); # the power value $encoded .= chr(scalar(keys %freq) - 1); # number of unique chars $encoded .= chr(length($bin) % 8); # padding while (my ($k, $v) = each %freq) { $encoded .= $k . pack('S', $v); # char => freq } print {$out_fh} $encoded, pack('B*', $bin); close $out_fh; } sub decompress { my ($input, $output) = @_; use bytes; # Open and validate the input file open my $fh, '<:raw', $input; valid_archive($fh) || die "$0: file `$input' is not a \U${\FORMAT}\E archive!\n"; my $content = do { local $/; <$fh> }; close $fh; my ($pow, $uniq, $padd) = unpack('LCC', $content); substr($content, 0, length(pack('LCC', 0, 0, 0)), ''); # Create the frequency table (char => freq) my %freq; foreach my $i (0 .. $uniq) { my ($char, $f) = unpack('aS', $content); $freq{$char} = $f; substr($content, 0, length(pack('aS', 0, 0)), ''); } # Decode the bits into an integer my $enc = Math::BigNum->new(unpack('B*', $content), 2); # Remove the trailing bits (if any) if ($padd != 0) { $enc >>= (8 - $padd); } $enc <<= $pow; my $base = 0; $base += $_ for values %freq; # Create the cumulative frequency table my %cf = cumulative_freq(\%freq); # Create the dictionary my %dict; while (my ($k, $v) = each %cf) { $dict{$v} = $k; } # Fill the gaps in the dictionary my $lchar; foreach my $i (0 .. $base - 1) { if (exists $dict{$i}) { $lchar = $dict{$i}; } elsif (defined $lchar) { $dict{$i} = $lchar; } } # Open the output file open my $out_fh, '>:raw', $output; # Decode the input number for (my ($i, $pow) = (0, Math::BigNum->new($base)->bipow($base - 1)) ; $i < $base ; ++$i, $pow->bidiv($base)) { my $div = $enc->idiv($pow); my $c = $dict{$div}; my $fv = $freq{$c}; my $cv = $cf{$c}; $enc->bsub($pow * $cv)->bidiv($fv); print {$out_fh} $c; } close $out_fh; } main(); exit(0);
22.276119
115
0.500838
eddbbb39fb570e412d78e9f633d654539c27af0c
53
t
Perl
gnu/src/binutils/ld/testsuite/ld-scripts/include-data.t
ghsecuritylab/ellcc-mirror
b03a4afac74d50cf0987554b8c0cd8209bcb92a2
[ "BSD-2-Clause" ]
3
2019-02-12T04:14:39.000Z
2020-11-05T08:46:20.000Z
gnu/src/binutils/ld/testsuite/ld-scripts/include-data.t
ghsecuritylab/ellcc-mirror
b03a4afac74d50cf0987554b8c0cd8209bcb92a2
[ "BSD-2-Clause" ]
null
null
null
gnu/src/binutils/ld/testsuite/ld-scripts/include-data.t
ghsecuritylab/ellcc-mirror
b03a4afac74d50cf0987554b8c0cd8209bcb92a2
[ "BSD-2-Clause" ]
1
2021-03-24T06:40:32.000Z
2021-03-24T06:40:32.000Z
.data : { INCLUDE include-subdata.t __end = .; }>ram
10.6
25
0.641509
edf9a6c41e68aa49bea47b3bd9ee1cd67d688f48
1,156
pm
Perl
auto-lib/Azure/Network/ListPacketCaptures.pm
pplu/azure-sdk-perl
26cbef2d926f571bc1617c26338c106856f95568
[ "Apache-2.0" ]
null
null
null
auto-lib/Azure/Network/ListPacketCaptures.pm
pplu/azure-sdk-perl
26cbef2d926f571bc1617c26338c106856f95568
[ "Apache-2.0" ]
null
null
null
auto-lib/Azure/Network/ListPacketCaptures.pm
pplu/azure-sdk-perl
26cbef2d926f571bc1617c26338c106856f95568
[ "Apache-2.0" ]
1
2021-04-08T15:26:39.000Z
2021-04-08T15:26:39.000Z
package Azure::Network::ListPacketCaptures; use Moose; use MooseX::ClassAttribute; has 'api_version' => (is => 'ro', required => 1, isa => 'Str', default => '2018-08-01', traits => [ 'Azure::ParamInQuery', 'Azure::LocationInResponse' ], location => 'api-version', ); has 'networkWatcherName' => (is => 'ro', required => 1, isa => 'Str', traits => [ 'Azure::ParamInPath' ], ); has 'resourceGroupName' => (is => 'ro', required => 1, isa => 'Str', traits => [ 'Azure::ParamInPath' ], ); has 'subscriptionId' => (is => 'ro', required => 1, isa => 'Str', traits => [ 'Azure::ParamInPath' ], ); class_has _api_uri => (is => 'ro', default => '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures'); class_has _returns => (is => 'ro', isa => 'HashRef', default => sub { { 200 => 'Azure::Network::ListPacketCapturesResult', default => 'Azure::Network::ListPacketCapturesResult', } }); class_has _is_async => (is => 'ro', default => 0); class_has _api_method => (is => 'ro', default => 'GET'); 1;
39.862069
198
0.611592
ededd005d4e0f72351156c081e53086a4972a322
440
t
Perl
tests/impl/uJIT-tests-Lua/suite/api-extended.t
thomasmore/luavela
f46a9f8c845366d90efc264ea54aeebc4af5b46d
[ "MIT" ]
1
2019-09-02T20:58:24.000Z
2019-09-02T20:58:24.000Z
tests/impl/uJIT-tests-Lua/suite/api-extended.t
thomasmore/luavela
f46a9f8c845366d90efc264ea54aeebc4af5b46d
[ "MIT" ]
1
2020-04-27T21:35:55.000Z
2020-04-27T21:35:55.000Z
tests/impl/uJIT-tests-Lua/suite/api-extended.t
thomasmore/luavela
f46a9f8c845366d90efc264ea54aeebc4af5b46d
[ "MIT" ]
2
2020-04-25T18:20:48.000Z
2020-08-03T13:00:50.000Z
#!/usr/bin/perl # # Generic tests for extended API. # This is a part of uJIT's testing suite. # Copyright (C) 2015-2019 IPONWEB Ltd. See Copyright Notice in COPYRIGHT use 5.010; use warnings; use strict; use lib './lib'; use UJit::Test; my $tester = UJit::Test->new( chunks_dir => './chunks/api-extended', ); $tester->run('api-extended.lua', jit => 0) ->exit_ok ; $tester->run('api-nargs.lua', jit => 0) ->exit_ok ; exit;
16.296296
72
0.647727
ed464a325a39fb19c4281db963a7ce0becb21051
626
pl
Perl
core/proteinstructure/scripts/addline.pl
tecdatalab/legacy
9b5286d3375fff691a80ceb44172549e9a6bdee5
[ "Apache-2.0" ]
null
null
null
core/proteinstructure/scripts/addline.pl
tecdatalab/legacy
9b5286d3375fff691a80ceb44172549e9a6bdee5
[ "Apache-2.0" ]
null
null
null
core/proteinstructure/scripts/addline.pl
tecdatalab/legacy
9b5286d3375fff691a80ceb44172549e9a6bdee5
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/perl # Assume that each of the parameters specified is a file and that # we need to add an index to the beginning of each line, starting from zero for $fileindex (0 .. $#ARGV) { $currentfile = $ARGV[$fileindex]; $rowindex = 0; # we'll keep the complete file in memory for I/O efficiency purposes # if this becomes a problem the program needs to be modified $newfiletext = ""; for $currentline(`cat $currentfile`) { $newfiletext .= "$rowindex\t$currentline"; $rowindex++; } #overwrite the file with the new text open(NEWFILE, ">$currentfile"); print NEWFILE $newfiletext; close(NEWFILE); }
21.586207
75
0.698083
ed9ef2335abca40c3b79a8b2a846a331d9e757e9
33,383
pl
Perl
src/build/debug/eSEL.pl
dongshijiang/hostboot
f1746c417531b1264be23a8dcf1284ae204f6153
[ "ECL-2.0", "Apache-2.0" ]
57
2015-01-28T06:16:56.000Z
2021-12-26T07:46:31.000Z
src/build/debug/eSEL.pl
dongshijiang/hostboot
f1746c417531b1264be23a8dcf1284ae204f6153
[ "ECL-2.0", "Apache-2.0" ]
185
2015-01-05T09:23:25.000Z
2022-03-17T19:47:06.000Z
src/build/debug/eSEL.pl
dongshijiang/hostboot
f1746c417531b1264be23a8dcf1284ae204f6153
[ "ECL-2.0", "Apache-2.0" ]
99
2015-01-12T22:20:29.000Z
2021-09-16T15:02:03.000Z
#!/usr/bin/perl # IBM_PROLOG_BEGIN_TAG # This is an automatically generated prolog. # # $Source: src/build/debug/eSEL.pl $ # # OpenPOWER HostBoot Project # # Contributors Listed Below - COPYRIGHT 2017,2019 # [+] International Business Machines Corp. # # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or # implied. See the License for the specific language governing # permissions and limitations under the License. # # IBM_PROLOG_END_TAG use strict; use Cwd; use POSIX; use POSIX qw(strftime); use Switch; use Getopt::Long qw(:config no_ignore_case); use File::Basename; use Data::Dumper; use File::Copy; use Fcntl qw(:seek); use constant ESEL_HEADER_LENGTH => 16; use constant PNOR_ERROR_LENGTH => 4096; use constant WORD_5_OFFSET => 100; use constant ACK_MASK => 0x00200000; use constant EMPTY_ERRLOG_IN_PNOR => "ffffffff"; # options and usage my $target = ''; # Target BMC name / IP (convert to IP) my $userid = 'ADMIN'; # BMC user id to use for the ipmitool cmd my $passwd = 'admin'; # BMC password to use for the ipmitool cmd my $dirname = dirname(__FILE__); my $errl_path = $dirname; my $fspt_path = $dirname; my $img_path = $dirname; my $output_path = cwd(); my $debug = 0; my $usage = 0; my $option = ""; my $esel_file = ""; my $bad_option = 0; my $removeEcc = 0; my $filterAcked = 0; my $keepTempFiles = 0; my @filesToDelete = (); my $ecc_executable = ""; my $esel_record_count = 0; my @esel_timestamps = (); my $timestamp = ""; my $txt_file_name = ""; my $timestamp_found = 0; my $useOpalParser = 0; my %options_table = ( get_ami_data => 0, decode_ami_data => 0, get_and_decode_ami => 0, decode_obmc_data => 0, decode_hbel_data => 0 ); sub printUsage { print "All directory paths passed as arguments to the tool MUST be Fully qualified path names.\n"; print "Usage: eSEL.pl [-h] -t <BMC Name / IP> [-U <userid>] [-P <password>]\n"; print " [-o <output dir>] # default: $output_path\n"; print " [-e <errl dir>] # default: $errl_path(*) \n"; print " [-f <fsp-trace dir>] # default $fspt_path(*)\n"; print " [-i <img dir (for hbotStringFile & hbicore.syms>] # default $img_path(*)\n"; print " [-l <eSEL file>]\n"; print " [-c] # remove ECC before processing the HBEL partition\n"; print " [-r] # filter out ACKed logs from HBEL\n"; print " [-k] # keep the temp files created by the script\n"; print " [--ecc <path>] # path to the ECC executable\n"; print " [--op] # use opal-elog-parse instead of errl\n"; print " [-p <option>]\n"; print " where <option> can be one of:\n"; print " get_ami_data (use IPMI to fetch eSEL data into binaries, no decode)\n"; print " decode_ami_data (decode AMI binary eSEL file)\n"; print " get_and_decode_ami (fetch and decode the AMI eSEL data)\n"; print " decode_obmc_data (decode OpenBMC eSEL file)\n"; print " decode_hbel_data (decode HBEL PNOR file).\n"; print " (*): Alternative to providing the paths to each of the files required, you may set the\n"; print " ESEL_PATH environment variable to point to the folder where all of the required\n"; print " files are. The script will automatically use that env variable's path.\n"; print "\n"; print "This tool will ONLY process hostboot eSEL entries that contain PEL data.\n"; exit; } if (defined $ENV{"ESEL_PATH"}) { $errl_path = $fspt_path = $img_path = $ENV{"ESEL_PATH"}; } GetOptions( "t:s" => \$target, "U:s" => \$userid, "P:s" => \$passwd, "e:s" => \$errl_path, "f:s" => \$fspt_path, "i:s" => \$img_path, "o:s" => \$output_path, "l:s" => \$esel_file, "p:s" => \&HandleOption, "c+" => \$removeEcc, "r+" => \$filterAcked, "k+" => \$keepTempFiles, "ecc:s" => \$ecc_executable, "v+" => \$debug, "h" => \$usage, "op:+" => \$useOpalParser, ) || printUsage(); if ($usage) { printUsage(); exit; } if ($bad_option) { print "***ERROR: Incorrect option provided.\n"; print "Specify an option with -p <option>.\n\n"; printUsage(); exit -1; } if (($options_table{"decode_ami_data"} or $options_table{"decode_obmc_data"}) and $esel_file eq "") { print "***ERROR: No input file provided for decode mode.\n"; print "Please specify an input file with eSEL data.\n\n"; printUsage(); exit -1; } if($ecc_executable eq "") { $ecc_executable = "/afs/awd.austin.ibm.com/projects/eclipz/lab/p8/gsiexe/ecc"; } ################################# # Variables used for the script # ################################# my $cmd = ''; # Used to store the ipmitool commands my $string_file = ''; my $cd_syms_dir = ''; my $log_file = ''; my @eSEL_lengths; # size of each eSEL my $esel_file_name = basename($esel_file); ############################################################### # Add code to check that we have the needed fields filled in. # # Not applicable if the eSEL file is provided. # ############################################################### if($options_table{"get_ami_data"} or $options_table{"get_and_decode_ami"}) { ($target) || die "Missing BMC target name / IP\n"; ($userid) || die "Missing BMC user id\n"; ($passwd) || die "Missing BMC password\n"; } # We don't need the following files in get_ami mode. if (!$options_table{"get_ami_data"}) { # check if we can find the fsp-trace program if (-e "$fspt_path/fsp-trace") { # it's good, build PATH so errl can find it. $fspt_path = "PATH=$fspt_path:\$PATH"; } else { print "can't find fsp-trace in \"$fspt_path\"; no fsp-traces\n"; $fspt_path = ""; } $img_path = glob($img_path); # check if we can get to the string file if (-e "$img_path/hbotStringFile") { # it's good, build errl option $string_file = "-t $img_path/hbotStringFile"; } else { print "can't find hbotStringFile in \"$img_path\"; incomplete fsp-traces\n"; $string_file = ""; } # check if we can find a syms file (for backtrace decoding) if (-e "$img_path/hbicore.syms") { # it's good, build cd option $cd_syms_dir = "cd $img_path &&"; } else { print "can't find hbicore.syms in \"$img_path\"; no backtrace resolution\n"; $cd_syms_dir = ""; } } if ($debug > 0) { print "target: \"$target\"\n"; print "userid: \"$userid\"\n"; print "passwd: \"$passwd\"\n"; print "errl_path: \"$errl_path\"\n"; print "fspt_path: \"$fspt_path\"\n"; print "img_path: \"$img_path\"\n"; print "output_path: \"$output_path\"\n"; print "debug: $debug\n"; print "string_file: $string_file\n"; print "cd_syms_dir: $cd_syms_dir\n"; print "eSEL file: $esel_file\n"; print "ECC executable: $ecc_executable\n"; print "options:\n"; print Dumper \%options_table; print "\n"; } ######################################################################################### # Main body # ######################################################################################### # get_and_decode_ami and decode_obmc_data need to create binary files of format # $log_file.binary. if ($options_table{"get_ami_data"}) { GetAmiEselData(); #makes log_file } elsif ($options_table{"decode_ami_data"}) { DecodeBinarySelData(); } elsif ($options_table{"get_and_decode_ami"}) { GetAmiEselData(); DecodeBinarySelData(); } elsif ($options_table{"decode_obmc_data"}) { DecodeObmcEselData(); DecodeBinarySelData(); ReplaceHostbootTimestamps(); } elsif ($options_table{"decode_hbel_data"}) { if($removeEcc) { RemoveEccFromFile(); } else { print "Remove ECC option was not given. ECC will not be removed.\n"; } if($filterAcked) { FilterACKedLogs(); } DecodeBinarySelData(); } else { print "***ERROR: No option (-p) specified.\n"; printUsage(); exit -1; } if(not $keepTempFiles) { if(@filesToDelete) { unlink @filesToDelete or warn "Unable to remove temp files: $!\n"; } } # all done exit; ######################################################################################### # Functions # ######################################################################################### sub HandleOption { my ($opt, $key) = @_; ($debug) && print "OPTION: $opt KEY: $key\n"; if(!exists $options_table{$key}) { $bad_option = 1; } else { $options_table{$key} = 1; } ($debug) && print Dumper \%options_table; } # Hostboot timestamps in the eSEL logs generated by BMC are incorrect. # This function will re-populate the timestamps from the array gathered # during the processing of the BMC eSELs. We need to post-process the # actual output text file and substitute all broken timestamps with the # good ones. The function expects @esel_timestamps to be populated already. sub ReplaceHostbootTimestamps { ($debug) && print "Opening $txt_file_name to replace hb timestamps\n"; open TXT_FILE, "<", $txt_file_name or die "Unable to open TXT_FILE $txt_file_name\n"; # We need the temp file to substitute the selected lines from the original # text output file. We move the temp at the end to the original. open TEMP_TXT_FILE, ">", $txt_file_name.".tmp" or die "Unable to open TEMP_TXT_FILE $$txt_file_name.tmp\n"; my $current_esel_number = 0; while(<TXT_FILE>) { my $line = $_; chomp($line); # We're looking for "Created at" and "Committed at" if($line =~ m{[Created|Committed] at}) { # Replace with the matching timestamp from the array of timestamps # we gathered while processing OBMC eSELs. # Match the following pattern "dd/mm/yyyy hh:mm:ss" # Note that we can't match only numbers here since the broken hb # timestamp may contain hex letters if($timestamp_found) { $line =~ s{(..)/(..)/(....) ..:..:..}{$esel_timestamps[$current_esel_number]}g; } else # We didn't collect any timestamps - populate with fake data { $line =~ s{(..)/(..)/(....) ..:..:..}{DE/AD/BEEF DE:AD:FF}g; } ($debug) && print "Made substitution: $line\n"; # Only move to the next timestamp when we've seen the "Committed at" # record (we need to put the same timestamp in two places, and the # "Committed at" entry follows the "Created at"). if($line =~ m{Committed at}) { $current_esel_number++; } } print TEMP_TXT_FILE $line."\n"; } close TXT_FILE; close TEMP_TXT_FILE; move $txt_file_name.".tmp", $txt_file_name; } sub FilterACKedLogs { my $fileSize = -s $esel_file; my $numErrors = $fileSize / PNOR_ERROR_LENGTH; my $data = ""; #Create a file where we would put the unacked errors. #This way we preserve the original file. open(my $tmpFileHandle, '>>', $esel_file.".tmp") or die "Unable to create a temp file\n"; open(my $eselFileHandle, '<', $esel_file) or die "Unable to open the eSEL file\n"; binmode($eselFileHandle); binmode($tmpFileHandle); ($debug) && print "Input file size: $fileSize\n"; ($debug) && print "The file contains $numErrors errors\n"; for(my $i = 0; $i < $numErrors; $i++) { my $offset = PNOR_ERROR_LENGTH * $i + WORD_5_OFFSET; #Get the word 5 from the ith error (it contains the #ACKed bit). Get 4 bytes to apply the mask directly my $word5 = qx/xxd -p -seek $offset -l 4 $esel_file/; if($?) { print "WARNING: Could not read word5 at offset $offset: $!\n."; next; } chomp($word5); ($debug) && print "Error $i word5: $word5.\n"; if($word5 ne EMPTY_ERRLOG_IN_PNOR) { my $word5val = hex($word5); ($debug) && print "ACKed bit: ", ($word5val & ACK_MASK), " \n"; if(($word5val & ACK_MASK) ne 0) #Error not ACKed { #Copy the current error to the temp file for further processing sysseek($eselFileHandle, PNOR_ERROR_LENGTH * $i, SEEK_SET) or die "Unable to find specified offset\n"; sysread($eselFileHandle, $data, PNOR_ERROR_LENGTH) or die "Unable to read at specified offset\n"; ($debug) && print "Error $i: ", ord($data), "\n"; print $tmpFileHandle $data; } } } close $tmpFileHandle; close $eselFileHandle; #Point the script to the new file we created above. $esel_file = $esel_file.".tmp"; push @filesToDelete, $esel_file; } # ProcessEselString takes as input any string and determines if it contains hb # PEL data. The function also does some processing of the input string to # convert it to format acceptable by the errl parser. It returns a string with # PEL data (without the eSEL header) or an empty string if the input does not # contain PEL data (does not contain either 'df' or 'dd' followed a few bytes # later by '20 00 04'). # # Ex input 1: "ESEL=00 00 df 00 00 00 00 20 00 04 0c b8 07 aa 00 00 50 48 00 30 # 01 00 09 00 00 00 00 09 e6 43 1c b9 <more data>", # Ex output 1: 50 48 00 30 01 00 09 00 00 00 00 09 e6 43 1c b9 <more data> # # Ex input 2: ESEL=00 00 dd 00 00 00 00 20 00 04 0c b8 07 aa 00 00 50 48 00 30 # 01 00 09 00 00 00 00 09 e6 43 1c b9 <more data> # Ex output 2: 50 48 00 30 01 00 09 00 00 00 00 09 e6 43 1c b9 <more data> # # Ex input 3: "Message": "org.open_power.Host.Event.Error.Event", # Ex output 3: <empty string> sub ProcessEselString { my $inputString = shift; if($inputString =~ /ESEL=/) { $inputString =~ s/ESEL=//g; # strip ESEL= ($debug) && print "ESEL data #$esel_record_count = $inputString\n"; } # If the SEL entry contains the "df" (regular) or "dd" (call home # informational) key followed (a few bytes later) by '040020' it's our eSEL my $criteria = qr/df|dd.*20 00 04/; if(!($inputString =~ /$criteria/)) { ($debug) && print " Did not find \'df\' or \'dd\' followed (a few bytes later) by \'20 00 04\' in $inputString.\n"; return ""; } $inputString =~ s/"//g; # strip quotation marks $inputString =~ s/,//g; # strip commas my @line_parts = split / /, $inputString; # get hex byte array # Chop off the eSEL header (16 bytes). The rest is PEL data. my $pel_data = join(' ', @line_parts[ESEL_HEADER_LENGTH..$#line_parts]); ($debug) && print " PEL Data: $pel_data\n"; return $pel_data; } sub RemoveEccFromFile { my $fileExtension = (split(/\./, basename($esel_file)))[-1]; ($debug) && print "File extension: $fileExtension\n"; # The ECC script needs file extension to be ".ecc" if($fileExtension ne "ecc") { ($debug) && print "Creating a .ecc file\n"; copy $esel_file, $output_path."/".$esel_file_name.".ecc" or die "Copy failed: $!\n"; $esel_file = $output_path."/".$esel_file_name.".ecc"; push @filesToDelete, $esel_file; } qx/$ecc_executable -R $esel_file -o $output_path"\/"$esel_file_name".noecc" -p/; if($?) { print "***ERROR: Failed to strip ECC from $esel_file\n"; exit -1; } $esel_file = $output_path."/".$esel_file_name.".noecc"; push @filesToDelete, $esel_file; } # open and create errorlog text output file, if possible sub DecodeBinarySelData { my $bin_file_name = ""; if (-e "$errl_path/errl" or $useOpalParser) { if ($options_table{"decode_ami_data"} or $options_table{"decode_hbel_data"}) { # These are the only two modes where eSEL file is not generated # according to the script's conventions, so we need to # strip the actual eSEL file name and make an output file # using that name $txt_file_name = "$output_path/$esel_file_name.txt"; $bin_file_name = $esel_file; ($debug) && print " esel_file_name = $esel_file_name.\n"; } else { # In all other modes the binary files are generated # according to the following convention: $txt_file_name = "$log_file.txt"; $bin_file_name = "$log_file.binary"; } ($debug) && print " txt_file_name = $txt_file_name.\n"; ($debug) && print " bin_file_name = $bin_file_name.\n"; open TXT_FILE, ">", $txt_file_name or die "Unable to open TXT_FILE $txt_file_name\n"; print "Error log text file: $txt_file_name\n"; if(not $useOpalParser) { $cmd = "$cd_syms_dir $fspt_path $errl_path/errl --file=$bin_file_name $string_file -d 2>&1"; } else { $cmd = "$cd_syms_dir $fspt_path $errl_path/opal-elog-parse -f $bin_file_name -a 2>&1"; } $debug && print "$cmd\n"; my @txt = qx/$cmd/; # Execute the command print TXT_FILE " @txt"; ($debug > 1) && print " @txt"; close TXT_FILE; } else { print "can't find errl in $errl_path; no formatted PEL data\n"; } } sub DecodeObmcEselData { # get the name of the actual sel file to make output file name $log_file = basename($esel_file); my $out_file_bin = "$output_path/$log_file.binary"; my $pel_data = ""; my $line_size = 0; my $line = ""; my $pelString = ""; ($debug) && print "out_file_bin = $out_file_bin.\n"; open LOG_FILE, $esel_file or die "Unable to open LOG_FILE $esel_file\n"; open OUT_FILE, ">", $out_file_bin or die "Unable to open OUT_FILE $out_file_bin\n"; while(<LOG_FILE>) { $line = $_; chomp($line); $pelString = ProcessEselString($line); if($pelString eq "") # string didn't contain PEL data, skip it { next; } # only collect the timestamps if we're processing OBMC eSELs. else { # found PEL string, now try to find the datestamp associated with it # (the next Timestamp in the log) my $next_line = ""; while(<LOG_FILE>) { $next_line = $_; $debug && print "Looking for timestamp.. line <$next_line>\n"; if($next_line =~ /Timestamp/) { $timestamp_found = 1; last; } elsif($next_line =~ /timestamp/) { $timestamp_found = 2; last; } elsif($next_line =~ /ESEL/ or $next_line =~ /20 00 04/) # found the next ESEL { $timestamp_found = 0; # Return the file pointer back to the ESEL line so we can # process it. seek(LOG_FILE, -length($next_line), 1); last; } } if($timestamp_found) { if($timestamp_found == 1) { # strip the "Timestamp", commas, spaces, and the newline $next_line =~ s/"Timestamp"://g; $next_line =~ s/,//g; $next_line =~ s/ //g; chomp $next_line; # convert to date/time (we are given the timestamp in ms, so divide # by 1000 to get s). $timestamp = strftime("%m/%d/%Y %H:%M:%S", localtime($next_line/1000)); } elsif($timestamp_found == 2) { # Field format :: "timestamp": "2019-10-31 10:20:50" $next_line =~ s/"timestamp"://g; $next_line =~ s/"//g; #drop the quotes my @tmp1 = split( " ", $next_line ); #break the date and time apart my @df = split( /-/, $tmp1[0] ); #break up the date fields # Convert to :: 11/05/2019 12:25:41 $timestamp = "$df[1]/$df[2]/$df[0] $tmp1[1]"; ($debug) && print "timestamp> $timestamp \n"; } else { die "Bad timestamp\n"; } ($debug) && print "Timestamp for ESEL #$esel_record_count:$next_line\n"; ($debug) && print "Decoded timestamp for ESEL #$esel_record_count:$timestamp\n"; push @esel_timestamps, $timestamp; ($debug) && $esel_record_count++; } } $line_size = split / /, $pelString; print OUT_FILE HexPack($pelString, $line_size); } ($debug) && print "Timestamps: @esel_timestamps\n"; if(!$timestamp_found) { print "No timestamp data was found in the log provided.\n"; print "Timestamps will not be corrected in the resulting"; print " error log file.\n"; } close OUT_FILE; close LOG_FILE; # Make sure the file naming is consistent with what parsing function expects $log_file = "$output_path/$log_file"; } sub GetAmiEselData { # Figure out the file name for logging the status. my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time); my $nice_timestamp = sprintf ( "%02d%02d%02d.%02d%02d%02d",$year-100,$mon+1,$mday,$hour,$min,$sec); chomp($target); $log_file = "$output_path/$target.$nice_timestamp.eSel"; open LOG_FILE, ">$log_file" or die "Unable to open the eSEL text file $log_file\n"; ################################################################ ## Run ipmitool setl list to get the list of sels and flag eSEL # ################################################################# my $total_size = 0; # total errlog buffer size my @SEL_list; # full SEL list my @eSEL_list; # entries that have eSEL data $cmd = "ipmitool -I lanplus -H $target -U $userid -P $passwd sel list 2>&1"; $debug && print ">>$cmd\n"; @SEL_list = qx/$cmd/; # Execute the command ($debug > 1) && print " @SEL_list"; if (@SEL_list[0] =~ /RAKP/) # some sort of error on the ipmi cmd { print "ERROR: \"$cmd\" failed:\n"; print " @SEL_list"; exit 1; } my $sel_count = @SEL_list; # Count the number of SELs found for(my $i=0; $i<$sel_count; $i++) { # If the SEL entry contains the "df" key, AND it has '040020' it's our eSEL # AMI BMC does not support call home informationals if (($SEL_list[$i] =~ / OEM record df /) && ($SEL_list[$i] =~ /040020/)) { push @eSEL_list, $SEL_list[$i]; } } # Check if there's no eSEL my $esel_count = @eSEL_list; if ($esel_count == 0) { print "No eSEL records with PEL data found.\n"; exit 0; } print "Found $esel_count eSELs with PEL data\n"; for(my $i=0; $i<$esel_count; $i++) { my @tmp = split(/\|/, $eSEL_list[$i]); # Split the entry on the | $tmp[0] =~ s/^\s+//; # Remove the extra white space my $sel_record = hex($tmp[0]); # Convert the hex value of the record to ascii $cmd = "ipmitool -I lanplus -H $target -U $userid -P $passwd sel get $sel_record 2>&1"; $debug && print ">>$cmd\n"; print "<"; print LOG_FILE "\n$cmd\n"; my @eSEL = qx/$cmd/; # Execute the command ($debug > 1) && print "@eSEL"; print LOG_FILE " @eSEL\n"; # get the eSEL data my $eSEL_hex = ConvertToHex($sel_record); # 2 bytes, ie: 0x01 0x02 for record 0x0201 # raw 0x32 0xf1 is AMI partial_get_esel command. command format is (bytes) # 1:2 SEL Record ID (byte reversed) # 3:4 Offset within the Record to be fetched. (byte reversed) $cmd = "ipmitool -I lan -H $target -U $userid -P $passwd raw 0x32 0xf1 $eSEL_hex 0x00 0x00 2>&1"; print ">"; $debug && print ">>$cmd\n"; print LOG_FILE "$cmd\n"; @eSEL = qx/$cmd/; # Execute the command ($debug > 1) && print " @eSEL"; print LOG_FILE " @eSEL"; ################################################# # check to see if there is more data ################################################# # response (bytes) from partial_get_esel is: # 1:2 Total Length of the Extended SEL (byte reversed) # 3 Progress # 1 Last chunk # 0 Still there is some record to read # 4:5 Remaining Bytes to Read (byte reversed) # 6:N Extended SEL data. [ Max size of 2K] my @response = split(' ', "@eSEL[0]"); if ($response[0] =~ /Unable/) # some sort of error on the ipmi cmd { if( "@eSEL[0]" =~ /rsp=0x83/ ) { # Unable to send RAW command (channel=0x0 netfn=0x32 lun=0x0 cmd=0xf1 rsp=0x83): Unknown (0x83) print "esel $sel_record has been purged from BMC -- skipping\n"; } else { print "Error on partial_get_esel of sel $sel_record\n"; print "@eSEL[0]\n"; } push @eSEL_lengths, 0; # 0 PEL length next; } my $progress = $response[2]; $debug && print "progress code $progress\n"; my $tmph = "$response[1]$response[0]"; my $tmp = hex($tmph); my $selSizeHex = $tmph; my $selSizeDec = $tmp; push @eSEL_lengths, $tmp - 16; # PEL length is SEL size - 16 (SELRecord) $total_size += $tmp-16; while ($progress == 0) { $tmph = "$response[4]$response[3]"; $debug && print "remaining size is 0x$tmph\n"; my $size_left = $selSizeDec - hex($tmph); # offset for this next chunk my $hex_offset = ConvertToHex($size_left); # 2 bytes, ie: 0x01 0x02 for offset 0x0201 ################################ # Run the raw command we built # ################################ $cmd = "ipmitool -I lan -H $target -U $userid -P $passwd raw 0x32 0xf1 $eSEL_hex $hex_offset 2>&1"; $debug && print ">>$cmd\n"; print LOG_FILE "$cmd\n"; @eSEL = qx/$cmd/; # Execute the command ($debug > 1) && print " @eSEL"; print LOG_FILE " @eSEL"; @response = split(' ', "@eSEL[0]"); if ($response[0] =~ /Unable/) # some sort of error on the ipmi cmd { $progress = -1; $debug && print "Error on partial_get_esel of sel $eSEL_hex\n"; } else { $progress = $response[2]; $debug && print "progress code $progress\n"; } } if ($progress == 1) # successful 'exit' { $debug && print "eSEL Size = 0x$selSizeHex ($selSizeDec) bytes\n\n"; print LOG_FILE "eSEL Size = 0x$selSizeHex ($selSizeDec) bytes\n\n"; } else { # error - ignore this eSEL } } close LOG_FILE; print "\neSEL text file: $log_file\n"; # convert to binary errorlog buffer ConvertToErrorlogBuffer($log_file); } sub ConvertToHex { my $in = @_[0]; my $hex = sprintf("%04x",$in); # Convert the value passed to a 4 digit hex $hex = sprintf("%s",$hex); # Convert the hex value to a string my $a = substr $hex, 0, 2; # Break the string into 2 parts my $b = substr $hex, 2, 2; my $ret = "0x$b 0x$a"; ########## Must return in the format 0x00 0x00 ########## return $ret; } sub ConvertToErrorlogBuffer() { my $file = @_[0]; # Open input file for reading open LOG_FILE, $file or die "Unable to open LOG_FILE $file\n"; # Open file for binary error log buffer my $bin_file_name = "$file.binary"; print "Error log binary file: $bin_file_name\n"; open OUT_FILE, ">", $bin_file_name or die "Unable to open OUT_FILE $bin_file_name\n"; # Read a line, convert to unsigned long, then write to target file my $skip = 0; my $pel_length = 0; my $first_raw = 0; my $esel_index = 0; while (<LOG_FILE>) { if($_ =~ /lanplus/) { $pel_length = $eSEL_lengths[$esel_index]; $debug && print "eSEL $esel_index has length $pel_length\n"; $esel_index = $esel_index+1; $first_raw = 1; # look for first ipmitool raw command $skip = 0; next; } if ($first_raw) { # skip all lines until we get to the ipmitool raw command if (!($_ =~ /raw/)) { next; } } if($_ =~ /raw/) { ############################################# # If we are at the raw command, we are at the # start of the eSEL data ############################################# # first raw commands returns # >> response header: # RECID 00: more bytes remaining # 44 01 00 3a 00 # >> SEL data (16 bytes) # 00 00 df 00 00 00 00 20 00 04 ff # ff 07 aa 00 00 # >> PEL # 50 48 00 30 01 00 05 00 00 00 00 # 0d 0d b3 9f e4 00 00 00 0d 0d b4 5f 4a 42 00 00 # 09 90 00 00 09 55 48 00 18 01 00 05 00 8a 03 40 ############################################# # following raw commands return # >> response header: # RECID 01: done bytes remaining # 44 01 01 00 00 # >> rest of PEL # 11 00 00 0d 0d b4 5f 4a 42 00 00 # 09 90 00 00 09 55 48 00 18 01 00 05 00 8a 03 40 # ... ############################################# if ($first_raw) { # first raw cmd - skip SEL data $first_raw = 0; $skip = 1; } else { # rest of the raw cmds - no SEL data, all PEL $skip = 2; } next; } # if it is the first raw command skip first line (SEL data) if($skip == 1) { $skip = 2; next; } my $input = $_; # for second line in first raw command and first line of other raw # commands skip the response header (5 bytes) if($skip == 2) # ff 07 aa 00 00 50 48 00 30 01 00 05 00 00 00 00 { $input = substr($input, 17); ($debug) && print "s2> :$input:\n"; $skip = 0; } if ($pel_length <= 0) { next; } chomp($input); if($input) { if ($input eq " ") { next; } #remove end of line character $input =~ s/^\s+|\s+$//g; my $linesize = split(/ /, $input); $pel_length -= $linesize; ($debug) && print ">$linesize> :$input:\n"; print OUT_FILE HexPack($input, $linesize); } } # Close files close LOG_FILE; close OUT_FILE; } sub HexPack { my $input = @_[0]; $input =~ s/^\s+|\s+$//g; my @in = split(/ /, $input); # Hold the split version of the input variable my $count = @_[1]; # Number of hex we want my $tmp = ''; for(my $i=0; $i<$count; $i++) { $tmp = "$tmp$in[$i]"; # Remove the whitespace } my $ret = pack('H*', $tmp); return $ret; }
34.522234
118
0.521014
ed5aba7c0f5f1a8ce8efa396ef011b64a147adfa
336
pm
Perl
lib/Moose/Exception/CannotOverrideLocalMethodIsPresent.pm
clayne/Moose
3da4722b04814b5476e05cbab1d4b9a2e5128c63
[ "Artistic-1.0" ]
94
2015-01-04T18:17:36.000Z
2021-11-18T04:51:22.000Z
lib/Moose/Exception/CannotOverrideLocalMethodIsPresent.pm
clayne/Moose
3da4722b04814b5476e05cbab1d4b9a2e5128c63
[ "Artistic-1.0" ]
82
2015-01-01T18:57:16.000Z
2021-04-13T17:58:38.000Z
lib/Moose/Exception/CannotOverrideLocalMethodIsPresent.pm
clayne/Moose
3da4722b04814b5476e05cbab1d4b9a2e5128c63
[ "Artistic-1.0" ]
69
2015-01-06T00:59:52.000Z
2022-01-17T16:52:38.000Z
package Moose::Exception::CannotOverrideLocalMethodIsPresent; our $VERSION = '2.2202'; use Moose; extends 'Moose::Exception'; with 'Moose::Exception::Role::Class', 'Moose::Exception::Role::Method'; sub _build_message { "Cannot add an override method if a local method is already present"; } __PACKAGE__->meta->make_immutable; 1;
24
73
0.75
eda32648f3e753944a623c9c6a1e7aafb93e5290
8,638
t
Perl
t/26-format-paren.t
raku-community-modules/Format-Lisp
1ae31e2a9366b287a83a9d451295fc9e3fb6d36f
[ "Artistic-2.0" ]
null
null
null
t/26-format-paren.t
raku-community-modules/Format-Lisp
1ae31e2a9366b287a83a9d451295fc9e3fb6d36f
[ "Artistic-2.0" ]
1
2022-03-09T18:57:47.000Z
2022-03-09T19:25:54.000Z
t/26-format-paren.t
raku-community-modules/Format-Lisp
1ae31e2a9366b287a83a9d451295fc9e3fb6d36f
[ "Artistic-2.0" ]
null
null
null
use v6; use Test; use lib 't/lib'; use Utils; use Format::Lisp; my $*fl = Format::Lisp.new; # (def-format-test format.paren.1 # "~(XXyy~AuuVV~)" ("ABc dEF ghI") "xxyyabc def ghiuuvv") # ok def-format-test( Q{~(XXyy~AuuVV~)}, ( Q{ABc dEF ghI} ), Q{xxyyabc def ghiuuvv} ), Q{format.paren.1}; subtest { #`( # (deftest format.paren.2 # (loop for i from 0 below (min char-code-limit (ash 1 16)) # for c = (code-char i) # when (and c # (eql (char-code c) (char-int c)) # (upper-case-p c) # (let ((s1 (format nil "~(~c~)" c)) # (s2 (string (char-downcase c)))) # (if # (or (not (eql (length s1) 1)) # (not (eql (length s2) 1)) # (not (eql (elt s1 0) # (elt s2 0)))) # (list i c s1 s2) # nil))) # collect it) # nil) # ok deftest( { my @collected; my $fn = $*fl.formatter( Q{~#B} ); my $bv = 0b11001; for 0 .. 10 -> $i { # my @args = ## my $s = $*fl.format( Q{~v,,2A}, $i, Q{ABC} ); # my $s2 = formatter-call-to-string( $fn, $i, Q{ABC} ); # is $s, $s2; # @collected.append( $s ); } @collected.elems; }, [ ] ), Q{format.paren.2}; ) #`( # (deftest formatter.paren.2 # (let ((fn (formatter "~(~c~)"))) # (loop for i from 0 below (min char-code-limit (ash 1 16)) # for c = (code-char i) # when (and c # (eql (char-code c) (char-int c)) # (upper-case-p c) # (let ((s1 (formatter-call-to-string fn c)) # (s2 (string (char-downcase c)))) # (if # (or (not (eql (length s1) 1)) # (not (eql (length s2) 1)) # (not (eql (elt s1 0) # (elt s2 0)))) # (list i c s1 s2) # nil))) # collect it)) # nil) # ok deftest( { my @collected; my $fn = $*fl.formatter( Q{~(~c~)} ); my $bv = 0b11001; for 0 .. 10 -> $i { # my @args = # is $s, $s2; # @collected.append( $s ); } @collected; }, [ ] ), Q{formatter.paren.2}; ) # (def-format-test format.paren.3 # "~@(this is a TEST.~)" nil "This is a test.") # ok def-format-test( Q{~@(this is a TEST.~)}, Nil, Q{This is a test.} ), Q{format.paren.2}; #`( # (def-format-test format.paren.4 # "~@(!@#$%^&*this is a TEST.~)" nil "!@#$%^&*This is a test.") # ok def-format-test( Q{~@(!@#$%^&*this is a TEST.~)}, Nil, Q{!@#$%^&*This is a test.} ), Q{format.paren.4}; ) #`( # (def-format-test format.paren.5 # "~:(this is a TEST.~)" nil "This Is A Test.") # ok def-format-test( Q{~:(this is a TEST.~)}, Nil, Q{This Is A Test.} ), Q{format.paren.5}; ) #`( # (def-format-test format.paren.6 # "~:(this is7a TEST.~)" nil "This Is7a Test.") # ok def-format-test( Q{~:(this is7a TEST.~)}, Nil, Q{This Is7a Test.} ), Q{format.paren.6}; ) # (def-format-test format.paren.7 # "~:@(this is AlSo A teSt~)" nil "THIS IS ALSO A TEST") # ok def-format-test( Q{~:@(this is AlSo A teSt~)}, Nil, Q{THIS IS ALSO A TEST} ), Q{format.paren.7}; #`( # (deftest format.paren.8 # (loop for i from 0 below (min char-code-limit (ash 1 16)) # for c = (code-char i) # when (and c # (eql (char-code c) (char-int c)) # (lower-case-p c) # (let ((s1 (format nil "~@:(~c~)" c)) # (s2 (string (char-upcase c)))) # (if # (or (not (eql (length s1) 1)) # (not (eql (length s2) 1)) # (not (eql (elt s1 0) # (elt s2 0)))) # (list i c s1 s2) # nil))) # collect it) # nil) # ok deftest( { my @collected; my $fn = $*fl.formatter( Q{~#B} ); my $bv = 0b11001; for 0 .. 10 -> $i { # my @args = # is $s, $s2; # @collected.append( $s ); } @collected; }, [ ] ), Q{format.paren.8}; ) #`( # (deftest formatter.paren.8 # (let ((fn (formatter "~@:(~c~)"))) # (loop for i from 0 below (min char-code-limit (ash 1 16)) # for c = (code-char i) # when (and c # (eql (char-code c) (char-int c)) # (lower-case-p c) # (let ((s1 (formatter-call-to-string fn c)) # (s2 (string (char-upcase c)))) # (if # (or (not (eql (length s1) 1)) # (not (eql (length s2) 1)) # (not (eql (elt s1 0) # (elt s2 0)))) # (list i c s1 s2) # nil))) # collect it)) # nil) # ok deftest( { my @collected; my $fn = $*fl.formatter( Q{~@(~c~)} ); my $bv = 0b11001; for 0 .. 10 -> $i { # my @args = # is $s, $s2; # @collected.append( $s ); } @collected; }, [ ] ), Q{formatter.paren.8}; ) }, Q{Conversion of simple characters to downcase}; subtest { # (def-format-test format.paren.9 # "~(aBc ~:(def~) GHi~)" nil "abc def ghi") # ok def-format-test( Q{~(aBc ~:(def~) GHi~)}, Nil, Q{abc def ghi} ), Q{format.paren.9}; # (def-format-test format.paren.10 # "~(aBc ~(def~) GHi~)" nil "abc def ghi") # ok def-format-test( Q{~(aBc ~(def~) GHi~)}, Nil, Q{abc def ghi} ), Q{format.paren.10}; # (def-format-test format.paren.11 # "~@(aBc ~:(def~) GHi~)" nil "Abc def ghi") # ok def-format-test( Q{~@(aBc ~:(def~) GHi~)}, Nil, Q{Abc def ghi} ), Q{format.paren.11}; # (def-format-test format.paren.12 # "~(aBc ~@(def~) GHi~)" nil "abc def ghi") # ok def-format-test( Q{~(aBc ~@(def~) GHi~)}, Nil, Q{abc def ghi} ), Q{format.paren.12}; # (def-format-test format.paren.13 # "~(aBc ~:(def~) GHi~)" nil "abc def ghi") # ok def-format-test( Q{~(aBc ~:(def~) GHi~)}, Nil, Q{abc def ghi} ), Q{format.paren.13}; #`( # (def-format-test format.paren.14 # "~:(aBc ~(def~) GHi~)" nil "Abc Def Ghi") # ok def-format-test( Q{~:(aBc ~(def~) GHi~)}, Nil, Q{Abc Def Ghi} ), Q{format.paren.14}; ) #`( # (def-format-test format.paren.15 # "~:(aBc ~:(def~) GHi~)" nil "Abc Def Ghi") # ok def-format-test( Q{~:(aBc ~:(def~) GHi~)}, Nil, Q{Abc Def Ghi} ), Q{format.paren.15}; ) #`( # (def-format-test format.paren.16 # "~:(aBc ~@(def~) GHi~)" nil "Abc Def Ghi") # ok def-format-test( Q{~:(aBc ~@(def~) GHi~)}, Nil, Q{Abc Def Ghi} ), Q{format.paren.16}; ) #`( # (def-format-test format.paren.17 # "~:(aBc ~@:(def~) GHi~)" nil "Abc Def Ghi") # ok def-format-test( Q{~:(aBc ~@:(def~) GHi~)}, Nil, Q{Abc Def Ghi} ), Q{format.paren.17}; ) # (def-format-test format.paren.18 # "~@(aBc ~(def~) GHi~)" nil "Abc def ghi") # ok def-format-test( Q{~@(aBc ~(def~) GHi~)}, Nil, Q{Abc def ghi} ), Q{format.paren.18}; # (def-format-test format.paren.19 # "~@(aBc ~:(def~) GHi~)" nil "Abc def ghi") # ok def-format-test( Q{~@(aBc ~:(def~) GHi~)}, Nil, Q{Abc def ghi} ), Q{format.paren.19}; # (def-format-test format.paren.20 # "~@(aBc ~@(def~) GHi~)" nil "Abc def ghi") # ok def-format-test( Q{~@(aBc ~@(def~) GHi~)}, Nil, Q{Abc def ghi} ), Q{format.paren.20}; #`( # (def-format-test format.paren.21 # "~@(aBc ~@:(def~) GHi~)" nil "Abc def ghi") # ok def-format-test( Q{~@(aBc ~@:(def~) GHi~)}, Nil, Q{Abc def ghi} ), Q{format.paren.21}; ) # (def-format-test format.paren.22 # "~:@(aBc ~(def~) GHi~)" nil "ABC DEF GHI") # ok def-format-test( Q{~:@(aBc ~(def~) GHi~)}, Nil, Q{ABC DEF GHI} ), Q{format.paren.22}; #`( # (def-format-test format.paren.23 # "~@:(aBc ~:(def~) GHi~)" nil "ABC DEF GHI") # ok def-format-test( Q{~@:(aBc ~:(def~) GHi~)}, Nil, Q{ABC DEF GHI} ), Q{format.paren.23}; ) # (def-format-test format.paren.24 # "~:@(aBc ~@(def~) GHi~)" nil "ABC DEF GHI") # ok def-format-test( Q{~:@(aBc ~@(def~) GHi~)}, Nil, Q{ABC DEF GHI} ), Q{format.paren.24}; # (def-format-test format.paren.25 # "~@:(aBc ~@:(def~) GHi~)" nil "ABC DEF GHI") # ok def-format-test( Q{~@:(aBc ~@(def~) GHi~)}, Nil, Q{ABC DEF GHI} ), Q{format.paren.25}; }, Q{Nested conversion}; done-testing; # vim: ft=perl6
25.862275
66
0.456124
ede79a7073751e975f1a05702a3a908b7f8e9dc8
1,681
t
Perl
t/14_quote_char.t
karupanerura/SQL-Maker
7f1cd0ecbf78f04af9f86240c4055fca1e53baf9
[ "Artistic-1.0" ]
10
2015-01-28T03:01:48.000Z
2021-03-01T15:38:32.000Z
t/14_quote_char.t
karupanerura/SQL-Maker
7f1cd0ecbf78f04af9f86240c4055fca1e53baf9
[ "Artistic-1.0" ]
5
2016-08-10T06:12:17.000Z
2021-02-20T13:16:24.000Z
t/14_quote_char.t
karupanerura/SQL-Maker
7f1cd0ecbf78f04af9f86240c4055fca1e53baf9
[ "Artistic-1.0" ]
7
2015-05-01T16:44:43.000Z
2020-12-27T06:42:32.000Z
use strict; use warnings; use utf8; use Test::More; use SQL::Maker; use SQL::QueryMaker qw(sql_eq); my $maker = SQL::Maker->new( driver => 'SQLite', quote_char => ':', name_sep => '-', new_line => ' ', ); my @condition_cases = ( { label => 'Condition', cond_maker => sub { my $cond = $maker->new_condition; $cond->add('foo-bar' => 'buzz'); return $cond; }, }, { label => 'QueryMaker', cond_maker => sub { return sql_eq('foo-bar', 'buzz'); }, }, { label => 'QueryMaker in Condition', cond_maker => sub { my $cond = $maker->new_condition; $cond->add('foo-bar' => sql_eq('buzz')); return $cond; }, }, ); foreach my $cond_case (@condition_cases) { subtest "select: $cond_case->{label}" => sub { my $cond = $cond_case->{cond_maker}(); my ($sql, @binds) = $maker->select("table", ["*"], $cond); like $sql, qr/:foo:-:bar:/; }; subtest "update: $cond_case->{label}" => sub { my $cond = $cond_case->{cond_maker}(); my ($sql, @binds) = $maker->update("table", ["a" => "A"], $cond); like $sql, qr/:foo:-:bar:/; }; subtest "delete: $cond_case->{label}" => sub { my $cond = $cond_case->{cond_maker}(); my ($sql, @binds) = $maker->delete("table", $cond); like $sql, qr/:foo:-:bar:/; }; subtest "where: $cond_case->{label}" => sub { my $cond = $cond_case->{cond_maker}(); my ($sql, @binds) = $maker->where($cond); like $sql, qr/:foo:-:bar:/; }; } done_testing;
25.089552
73
0.481856
ed50d34dad072ac52aaea79c9afe49d8aa94b17e
20,587
pl
Perl
propagate_eg.pl
mn1/ensj-healthcheck
bf400cd6f87f542856bd73a5e38745b441bbbd07
[ "Apache-2.0" ]
8
2015-07-27T10:52:24.000Z
2021-01-27T15:38:16.000Z
propagate_eg.pl
mn1/ensj-healthcheck
bf400cd6f87f542856bd73a5e38745b441bbbd07
[ "Apache-2.0" ]
82
2015-02-13T09:34:10.000Z
2020-04-23T08:32:58.000Z
propagate_eg.pl
mn1/ensj-healthcheck
bf400cd6f87f542856bd73a5e38745b441bbbd07
[ "Apache-2.0" ]
42
2015-02-04T17:52:23.000Z
2022-02-20T23:56:12.000Z
#!/usr/bin/env perl # Propagate manual_ok_all_releases from one release to another # modified to support EG procedures use strict; use warnings; use DBI; use Getopt::Long; use IO::File; use Carp; use File::Basename; use Data::Dumper; $Data::Dumper::Sortkeys = 1; my $core_like_dbs = [qw/core cdna otherfeatures vega rnaseq vega_update/]; my ( $host_hc, $port_hc, $user_hc, $pass_hc, $host1, $port1, $user1, $pass1, $host_prev, $port_prev, $user_prev, $pass_prev, $dbname, $old_release, $new_release, $quiet, $new_dbname ); GetOptions( 'user=s' => \$user1, 'pass=s' => \$pass1, 'host=s' => \$host1, 'port=i' => \$port1, 'user_hc=s' => \$user_hc, 'pass_hc=s' => \$pass_hc, 'host_hc=s' => \$host_hc, 'port_hc=i' => \$port_hc, 'user_prev=s' => \$user_prev, 'pass_prev=s' => \$pass_prev, 'host_prev=s' => \$host_prev, 'port_prev=i' => \$port_prev, 'dbname=s' => \$dbname, 'old_release=i' => \$old_release, 'new_release=i' => \$new_release, 'quiet' => \$quiet, 'new_dbname=s' => \$new_dbname, 'help' => sub { usage(); exit(0); } ); if ( !( $old_release && $new_release ) ) { print "Must specify -old_release and -new_release\n"; exit(1); } my $dbi1 = DBI->connect( "DBI:mysql:host=$host1:port=$port1", $user1, $pass1, { 'RaiseError' => 1 } ) || die "Can't connect to database\n"; my $dbi_hc = DBI->connect( "DBI:mysql:host=$host_hc:port=$port_hc;database=$dbname", $user_hc, $pass_hc, { 'RaiseError' => 1 } ) || die "Can't connect to HC database $dbname on $host_hc:port_hc\n"; # connect to server where previous release databases should be my $dbi_prev = DBI->connect("DBI:mysql:host=$host_prev:port=$port_prev", $user_prev, $pass_prev, { 'RaiseError' => 1 } ) || die "Can't connect to previous release database server\n"; # cache database name mappings my $old_to_new_db_name; my $session_id; # metacache used for calculating genebuild changes my $meta_cache = create_meta_cache( $dbi1, $dbi_prev ); # if we are propagating all the databases within the release, get all databases from staging if ( !$new_dbname ) { $old_to_new_db_name = create_db_name_cache( $dbi_hc, $dbi1, $old_release, $new_release ); # create a new session for new release or reuse an existing one $session_id = session_id( $dbi_hc, $old_release, $new_release ); } else { # we are propagating a single database $old_to_new_db_name = create_db_name_cache( $dbi_hc, $dbi1, $old_release, $new_release, $new_dbname ); # we will use the latest session_id (if it has already been created) $session_id = get_latest_session_id( $dbi_hc, $new_release ); if ( $session_id < 0 ) { # the session_id is not correct, probably not run propagate before; print STDERR "There is no session_id for release $new_release in the database\n. Have you propagated all the databases before?\n"; exit(1); } } sub create_meta_cache { print "Caching genebuild.start_date/version meta entries\n" unless ($quiet); my %cache; foreach my $dbi (@_) { my $list_sth = $dbi->prepare("SHOW DATABASES LIKE ?"); # get all core databases on this server whose names are in the (could be optimised by just looking at the ones we need) $list_sth->execute("%\\_core\\_%"); my $dbname; $list_sth->bind_columns( \$dbname ); while ( $list_sth->fetch() ) { if($dbname =~ m/^[a-z0-9_]+_core_[0-9]+_[0-9]+$/) { my $meta_sth = $dbi->prepare( "SELECT meta_value FROM $dbname.meta WHERE meta_key='genebuild.version' and species_id=1" ); # can't do this with a prepared statemen $meta_sth->execute(); my $start_date = ( $meta_sth->fetchrow_array() )[0] ; # || die "Error getting genebuild.version from $dbname"; if ( !defined $start_date ) { my $meta_sth = $dbi->prepare( "SELECT meta_value FROM $dbname.meta WHERE meta_key='genebuild.start_date'" ); # can't do this with a prepared statemen $meta_sth->execute(); $start_date = ( $meta_sth->fetchrow_array() )[0] ; # || die "Error getting genebuild.start_date from $dbname"; } if ( defined $start_date ) { $cache{$dbname} = $start_date; } } } ## end while ( $list_sth->fetch(...)) } ## end foreach my $dbi (@_) return \%cache; } ## end sub create_meta_cache #Meta cache for regulation my $regulatory_build_cache = create_regulation_cache( $dbi1, $dbi_prev ); # propagate! propagate! propagate( $dbi_hc, $dbi_prev, $old_release, $new_release ); #set_end_time( $dbi1 ); # -------------------------------------------------------------------------------- sub create_db_name_cache { my ( $healthcheck_dbi, $server_dbi, $old_release, $new_release, $new_dbname ) = @_; # get list of databases for old session my $sql = "SELECT distinct(database_name) from report WHERE database_name LIKE ?"; my $hc_like; if ($new_dbname) { # only propagate for new_dbname $new_dbname =~ /([a-z]+_[a-z]+_[a-z]+)_\d+/; $hc_like = "%$1\\_$old_release%"; } else { # propagate for all databases in old_release $hc_like = "%\\_${old_release}_%"; } my @old_dbs = @{ $healthcheck_dbi->selectcol_arrayref( $sql, {}, $hc_like ) }; my @new_dbs = @{ get_new_databases( $server_dbi, $new_release, $new_dbname ) }; # create mapping my %cache; foreach my $old_db (@old_dbs) { my $new_db = find_match( $old_db, @new_dbs ); if ($new_db) { # print "$old_db -> $new_db\n" unless ($quiet); $cache{$old_db} = $new_db; } } return \%cache; } ## end sub create_db_name_cache # -------------------------------------------------------------------------------- sub get_new_databases { my ( $server_dbi, $new_release, $new_dbname ) = @_; my $new_like = ($new_dbname) ? "%$new_dbname%" : # get a single DB "%\_${new_release}\_%" ; # get all DBs; note this will exclude master_schema_48 etc my $new_dbs = [ grep { $_ !~ /_temp_/ } @{ $server_dbi->selectcol_arrayref( "SHOW DATABASES LIKE ?", {}, $new_like ) } ]; return $new_dbs; } # -------------------------------------------------------------------------------- # Returns databases which could be parsed by the extract_prefix code # sub get_valid_databases { my ( $server_dbi, $release ) = @_; my @databases = grep { ( extract_prefix($_) ) ? 1 : 0 } @{ get_new_databases( $server_dbi, $release ) }; return \@databases; } # -------------------------------------------------------------------------------- sub find_match { my ( $old_db, @new_dbs ) = @_; foreach my $new_db (@new_dbs) { return $new_db if compare_dbs( $old_db, $new_db ); } return; } # -------------------------------------------------------------------------------- sub compare_dbs { my ( $old, $new ) = @_; return extract_prefix($old) eq extract_prefix($new); } # -------------------------------------------------------------------------------- sub extract_prefix { my ($dbname) = @_; my $regex = qr/( \A [a-z0-9]+ _ [a-z0-9]+ #binomial component (?: _ [a-z0-9]+)? #trinomial component or group _ [a-z]+ #group ) _ \d # _ release number of some description /xms; my ($prefix) = $dbname =~ $regex; # print $dbname."->".$prefix."\n"; return $prefix; } # -------------------------------------------------------------------------------- sub propagate { my ( $dbi, $dbi_prev, $old_release, $new_release ) = @_; my %propagated_new_databases; my @types = qw(manual_ok_all_releases manual_ok_this_assembly manual_ok_this_genebuild manual_ok_this_regulatory_build); # get complete list of unannotated failures from current session my $problem_sql = q/select testcase,text,report_id from report left join annotation using (report_id) where database_name=? and result='PROBLEM' and last_session_id=? and annotation.report_id is null/; my $problem_sth = $dbi->prepare($problem_sql); my $ann_sql = q/select testcase,text,person,action,comment,created_at,modified_at,created_by,modified_by from report join annotation using (report_id) where action=? and database_name=? and result='PROBLEM'/; my $ann_sth = $dbi->prepare($ann_sql); my $reann_sql = q/insert into annotation(report_id,person,action,comment,created_at,modified_at,created_by,modified_by) values (?,?,?,?,?,?,?,?)/; my $reann_sth = $dbi->prepare($reann_sql); my %counts = (); # find all manual_ok_all_releases etc for each old database foreach my $old_database ( sort keys %$old_to_new_db_name ) { my $new_database = $old_to_new_db_name->{$old_database}; my $problems = {}; $problem_sth->execute( $new_database, $session_id ); foreach my $row ( @{ $problem_sth->fetchall_arrayref() } ) { $problems->{ $row->[0] . $row->[1] } = $row->[2]; } foreach my $type (@types) { print "Propagating $type for $old_database to $new_database\n" unless ($quiet); $counts{$type} = 0; # type eq manual_ok_this_assembly: # will only need to propagate if it is the same assembly if ( $type eq 'manual_ok_this_assembly' ) { if ( new_assembly( $old_database, $new_database, $new_release, $dbi1, $dbi_prev ) ) { print "Skipping $new_database as it is a new assembly so we ignore '$type'\n" if !$quiet; next; } } # type eq manual_ok_this_genebuild # will only need to propagate if it is the same genebuild # i.e. if genebuild.start_date values in meta table are the same # so skip propagation if they are not the same if ( $type eq 'manual_ok_this_genebuild' ) { if ( new_genebuild( $old_database, $new_database, $new_release, $dbi1, $dbi_prev ) ) { print "Skipping $new_database as it is a new genebuild so we ignore '$type'\n" if !$quiet; next; } } # type eq manual_ok_this_regulatory_build: # will only need to propagate if it is the same regulatory build if ( $type eq 'manual_ok_this_regulatory_build' ) { if ( new_regulatory_build( $old_database, $new_database ) ) { print "Skipping $new_database as it is a new regulatory build so we ignore '$type'\n" if !$quiet; next; } } # iterate over previous annotations of this type # look for matches my $count = 0; $ann_sth->execute( $type, $old_database ); foreach my $row ( @{ $ann_sth->fetchall_arrayref() } ) { my $report_id = $problems->{ $row->[0] . $row->[1] }; if ( defined $report_id ) { $reann_sth->execute( $report_id, $row->[2], $row->[3], $row->[4], $row->[5], $row->[6], $row->[7], $row->[8] ); $count++; } } print "Propagated " . $count . " $type reports for $new_database\n" unless ($quiet); } ## end foreach my $type (@types) } # foreach type return; } ## end sub propagate # -------------------------------------------------------------------------------- # this method will return true if it is a new species assembly, false otherwise # checks the contents of meta sub new_assembly { my $old_database = shift; my $new_database = shift; my ($old_db_assembly) = $old_database =~ /_(\d+)[a-z]{0,1}$/; my ($new_db_assembly) = $new_database =~ /_(\d+)[a-z]{0,1}$/; return ( $old_db_assembly != $new_db_assembly ); } # -------------------------------------------------------------------------------- # Will check if this is a new genebuild sub new_genebuild { my ( $old_dbname, $new_dbname ) = @_; return _compare_caches( $old_dbname, $new_dbname, $meta_cache ); } # -------------------------------------------------------------------------------- # Will check if this is a new regulatory build. New means either DB's build # was null (as we can't check it) or the build values were not the same sub new_regulatory_build { my ( $old_dbname, $new_dbname ) = @_; return _compare_caches( $old_dbname, $new_dbname, $regulatory_build_cache ); } # -------------------------------------------------------------------------------- sub _compare_caches { my ( $old_dbname, $new_dbname, $cache ) = @_; #logic copied from old script. Get value or default to nothing my $old = $cache->{$old_dbname} || q{}; my $new = $cache->{$new_dbname} || q{}; return ( "$old" eq "$new" ) ? 0 : 1; #force string comparison } sub _check_changes { my ( $old_dbname, $new_dbname, $table, $dbi1, $dbi2, $dbi_prev ) = @_; my $result = 0; my $old_check = get_checksum( $old_dbname, $table, $dbi_prev ); my $new_check = get_checksum( $new_dbname, $table, $dbi1, $dbi2 ); if ( !$old_check ) { return 1; } if ( $old_check != $new_check ) { $result = 1; } return $result; } sub get_checksum { my ( $dbname, $table, @dbhs ) = @_; my $result = 0; foreach my $dbh (@dbhs) { my $sth_status = $dbh->prepare("CHECKSUM table $dbname.$table"); $sth_status->execute(); my $sth_res = $sth_status->fetchrow_array(); if ($sth_res) { $result = $sth_res; } } return $result; } sub _check_declaration { my ( $new_dbname, $new_release, $declaration ) = @_; my $prod_dbi = get_production_DBAdaptor(); my $sth = $prod_dbi->prepare( "SELECT count(*) FROM db_list dl, db d WHERE dl.db_id = d.db_id and db_type = 'core' and is_current = 1 AND full_db_name = ? AND species_id IN ( SELECT species_id FROM changelog c, changelog_species cs WHERE c.changelog_id = cs.changelog_id AND release_id = ? AND status not in ('cancelled', 'postponed') AND $declaration = 'Y')" ); $sth->execute( $new_dbname, $new_release ); my $result = $sth->fetchrow_array(); return $result; } sub get_production_DBAdaptor { my $prod_dbi = DBI->connect( "DBI:mysql:host=$host1:port=$port1;database=ensembl_production", $user1, $pass1, { 'RaiseError' => 1 } ); return $prod_dbi; } # -------------------------------------------------------------------------------- # Combines the other two session methods to add to an existing session # or create a new one if there is not one already available. sub session_id { my ( $dbi, $old_release, $new_release ) = @_; my $last_session_id = get_latest_session_id( $dbi, $new_release ); return $last_session_id if $last_session_id >= 0; return create_session( $dbi, $old_release, $new_release ); } # -------------------------------------------------------------------------------- sub create_session { my ( $dbi, $old_release, $new_release ) = @_; my $sth = $dbi->prepare( "INSERT INTO session (db_release,config,start_time) VALUES (?,?,NOW())" ); $sth->execute( $new_release, "Propagation of entries from release $old_release to release $new_release" ) || die "Error creating new session\n"; my $new_session_id = $sth->{'mysql_insertid'}; print "Created session ID $new_session_id for propagation\n" unless $quiet; return $new_session_id; } # -------------------------------------------------------------------------------- # method that will return the latest session_id in the database for the new_release sub get_latest_session_id { my ( $dbi, $new_release ) = @_; #get latest session_id for the new release my $sql = 'SELECT max(session_id) FROM session WHERE db_release = ?'; my $res = $dbi->selectcol_arrayref( $sql, {}, $new_release ); my ($session) = @{$res}; $session ||= -1; printf( "Found session %d in the DB\n", $session ); return $session; } # -------------------------------------------------------------------------------- # Works with the propagation table which records what species have been seen # by this script meaning we can support multiple runs sub record_propagation { my ( $dbname, $action, $amount ) = @_; my %allowed = map { $_ => 1 } ( 'manual_ok_all_releases', 'manual_ok_this_assembly', 'manual_ok_this_genebuild', 'manual_ok_this_regulatory_build', 'none' ); die "Do not understand the action $action " unless $allowed{$action}; $amount ||= 0; my $sth = $dbi_hc->prepare( 'insert into propagated (database_name, action, session_id, amount) values (?,?,?,?)' ); $sth->execute( $dbname, $action, $session_id, $amount ) ; #session_id is a global $sth->finish(); return; } # -------------------------------------------------------------------------------- # Queries the propagation table for the given database name and returns the # count of entries which map to this sub has_been_propagated { my ( $dbname, $action ) = @_; my $sql = 'select count(*) from propagated where database_name =?'; my @params = ($dbname); if ($action) { $sql .= ' and action =?'; push( @params, $action ); } my $sth = $dbi_hc->prepare($sql); $sth->execute(@params); my ($count) = $sth->fetchrow_array(); $sth->finish(); return $count; } sub get_propagated_problem_count { my ($dbname) = @_; my $sql = 'select * from propagated where database_name =? and action="problem_count"'; my @params = ($dbname); my $sth = $dbi_hc->prepare($sql); $sth->execute(@params); my @cnts = $sth->fetchrow_array(); $sth->finish(); if ( scalar(@cnts) == 0 ) { my $sth = $dbi_hc->prepare( 'insert into propagated(database_name,action,amount) values(?,?,?)' ); $sth->execute( $dbname, 'problem_count', 0 ); $sth->finish(); return 0; } else { return $cnts[0]; } } sub get_current_problem_count { my ($dbname) = @_; my $sql = 'select count(*) from report where last_session_id=? and database_name=? and result=?'; my @params = ( $session_id, $dbname, 'PROBLEM' ); my $sth = $dbi_hc->prepare($sql); $sth->execute(@params); my ($count) = $sth->fetchrow_array(); $sth->finish(); return $count; } sub record_problem_count { my ( $dbname, $amount ) = @_; my $sth = $dbi_hc->prepare( 'update propagated set amount=? where database_name =? and action = ?' ); $sth->execute( $amount, $dbname, 'problem_count' ) ; #session_id is a global $sth->finish(); return; } # -------------------------------------------------------------------------------- # Attempt to find all databases on the live release but did not have any data # propagated. We still want to flag that we saw it but did nothing with it. We # also need to check that we have not already propagated this data into the # schema sub flag_non_propagated_dbs { my ($propagated_new_databases) = @_; my %live_new_databases = map { $_ => 1 } @{ get_new_databases( $dbi1, $new_release ) }; foreach my $new_database ( keys %live_new_databases ) { if ( !$propagated_new_databases->{$new_database} && !has_been_propagated($new_database) ) { printf( "Recording '%s' has been seen but we had no data to propagate\n", $new_database ) if !$quiet; record_propagation( $new_database, 'none', 0 ); } } return; } # -------------------------------------------------------------------------------- # Cache all the meta entries in all databases applicable # Note all databases = all on $dbi_prev, $dbi1, $dbi2, e.g. all on ens-livemirror, ens-staging1, ens-staging2 sub create_regulation_cache { my ( $dbi1, $dbi2, $dbi_prev ) = @_; my $die_if_none = 0; return build_meta_cache( ['funcgen'], 'regbuild.last_annotation_update', $die_if_none, $dbi1, $dbi2, $dbi_prev ); } # -------------------------------------------------------------------------------- # Cache all the meta entries in all databases applicable using the specified keys sub build_meta_cache { my ( $dbtypes, $meta_key, $die_if_none, @dbhs ) = @_; confess 'barp' unless defined $dbtypes; my $types_str = join( q{,}, @{$dbtypes} ); print "Building cache '$meta_key' for '$types_str'\n" unless $quiet; my %cache; foreach my $dbtype ( @{$dbtypes} ) { foreach my $dbh (@dbhs) { if ( defined $dbh ) { my $like = "%\\_${dbtype}\\_%"; my $dbs = $dbh->selectcol_arrayref( 'SHOW DATABASES LIKE ?', {}, $like ); foreach my $db ( @{$dbs} ) { my $sql = sprintf( 'SELECT meta_value FROM %s.meta where meta_key =?', $db ); my @row = $dbh->selectrow_array( $sql, {}, $meta_key ); my ($value) = @row; if ( $die_if_none && !$value ) { croak "Error getting $meta_key from $db. Program will abort"; } $cache{$db} = $value if $value; } } } } return \%cache; } ## end sub build_meta_cache # -------------------------------------------------------------------------------- sub set_end_time { my ($dbi) = @_; my $sth = $dbi->prepare( "UPDATE session SET end_time=NOW() WHERE session_id=?"); $sth->execute($session_id) || die "Error setting end time\n"; print "Set end time for session\n" unless $quiet; }
30.319588
119
0.596542
edf51f4efdb3db35bd56cadaabefb4a30bedb23a
1,509
pm
Perl
Operation/Status.pm
hathitrust/mdp-lib
819a30367d73de7d366cfdc4419c9442e50dfed3
[ "BSD-3-Clause" ]
null
null
null
Operation/Status.pm
hathitrust/mdp-lib
819a30367d73de7d366cfdc4419c9442e50dfed3
[ "BSD-3-Clause" ]
6
2020-09-17T19:41:50.000Z
2021-11-19T18:46:11.000Z
Operation/Status.pm
hathitrust/mdp-lib
819a30367d73de7d366cfdc4419c9442e50dfed3
[ "BSD-3-Clause" ]
null
null
null
package Operation::Status; =head1 NAME Operation:Status =head1 DESCRIPTION This package defines the base "OK" opcode Operation. =head1 VERSION =head1 SYNOPSIS see MBooks::Operation:Status; =over 8 =cut use Exporter; use base qw(Exporter); our @EXPORT = qw( $ST_OK ); $ST_OK = 0; 1; __END__ =head1 AUTHOR Phillip Farber, University of Michigan, pfarber@umich.edu =head1 COPYRIGHT Copyright 2007 ©, The Regents of The University of Michigan, All Rights Reserved Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. =cut
24.33871
80
0.785951
edb4a7f87a2e37d994fe7276afeff2502dc5ec97
1,671
pm
Perl
msys64/usr/share/texinfo/lib/Text-Unidecode/lib/Text/Unidecode/x0e.pm
andresfaagit/sg-desarrollo-ruby
2c9bc5dad657d9713cc0f7fc4e883a85b83537e5
[ "Ruby" ]
647
2015-01-02T14:39:47.000Z
2022-03-26T03:35:54.000Z
msys64/usr/share/texinfo/lib/Text-Unidecode/lib/Text/Unidecode/x0e.pm
andresfaagit/sg-desarrollo-ruby
2c9bc5dad657d9713cc0f7fc4e883a85b83537e5
[ "Ruby" ]
571
2015-01-13T17:35:32.000Z
2022-03-31T04:22:16.000Z
msys64/usr/share/texinfo/lib/Text-Unidecode/lib/Text/Unidecode/x0e.pm
andresfaagit/sg-desarrollo-ruby
2c9bc5dad657d9713cc0f7fc4e883a85b83537e5
[ "Ruby" ]
296
2015-01-20T13:10:18.000Z
2022-03-20T12:39:05.000Z
# Time-stamp: "Sat Jul 14 00:27:21 2001 by Automatic Bizooty (__blocks2pm.plx)" $Text::Unidecode::Char[0x0e] = [ '[?]', 'k', 'kh', 'kh', 'kh', 'kh', 'kh', 'ng', 'cch', 'ch', 'ch', 'ch', 'ch', 'y', 'd', 't', 'th', 'th', 'th', 'n', 'd', 't', 'th', 'th', 'th', 'n', 'b', 'p', 'ph', 'f', 'ph', 'f', 'ph', 'm', 'y', 'r', 'R', 'l', 'L', 'w', 's', 's', 's', 'h', 'l', qq{`}, 'h', qq{~}, 'a', 'a', 'aa', 'am', 'i', 'ii', 'ue', 'uue', 'u', 'uu', qq{'}, '[?]', '[?]', '[?]', '[?]', qq{Bh.}, 'e', 'ae', 'o', 'ai', 'ai', 'ao', qq{+}, "", "", "", "", "", "", 'M', "", qq{ * }, '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', qq{ // }, qq{ /// }, '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', 'k', 'kh', '[?]', 'kh', '[?]', '[?]', 'ng', 'ch', '[?]', 's', '[?]', '[?]', 'ny', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', 'd', 'h', 'th', 'th', '[?]', 'n', 'b', 'p', 'ph', 'f', 'ph', 'f', '[?]', 'm', 'y', 'r', '[?]', 'l', '[?]', 'w', '[?]', '[?]', 's', 'h', '[?]', qq{`}, "", qq{~}, 'a', "", 'aa', 'am', 'i', 'ii', 'y', 'yy', 'u', 'uu', '[?]', 'o', 'l', 'ny', '[?]', '[?]', 'e', 'ei', 'o', 'ay', 'ai', '[?]', qq{+}, '[?]', "", "", "", "", "", 'M', '[?]', '[?]', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '[?]', '[?]', 'hn', 'hm', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', ]; 1;
79.571429
111
0.169958
ed126018d8eca7e3cd149f05a062239232c0b653
2,545
pl
Perl
oeis/kea/expell.pl
gfis/fasces
0134b5d0a7213789a33b2134be7d6d6cb5159ab8
[ "Apache-2.0" ]
null
null
null
oeis/kea/expell.pl
gfis/fasces
0134b5d0a7213789a33b2134be7d6d6cb5159ab8
[ "Apache-2.0" ]
null
null
null
oeis/kea/expell.pl
gfis/fasces
0134b5d0a7213789a33b2134be7d6d6cb5159ab8
[ "Apache-2.0" ]
null
null
null
#!perl # Build the Kimberling expulsion array in a triangle # @(#) $Id$ # 2018-05-03, Georg Fischer #------------------------------------------------------ # usage: # perl expell.pl maxrow #-------------------------------------------------------- use strict; my $maxrow = shift(@ARGV); # number of rows to be printed my $maxcol; my $irow = 0; # index in rows my $icol; # index for columns my @orow = (1); # old row of triangle my @nrow; # new row for triangle my $k = 0; # b-file index my $elem; # current element my $tail; # element at the end of the row &print_head(); &print_ruler(); &print_row(); $irow ++; @orow = (2, 3, 4); while ($irow < $maxrow) { &print_row(); &advance(); } # while $irow &print_ruler(); &print_head(); #---------------- sub advance { # compute next row # $orow[$irow] is the element to be expelled my $busy = 1; # whether there is a left element my $iofs = 1; # offset to the right and to the left @nrow = (); while ($busy != 0) { # to the right if (0) { } elsif ($irow + $iofs < scalar(@orow)) { $elem = $orow[$irow + $iofs]; } elsif ($irow + $iofs >= scalar(@orow)) { $elem = $orow[scalar(@orow) - 1] + 1; $tail = $elem; $busy = 0; } push(@nrow, $elem); # to the left if ($irow - $iofs >= 0) { $elem = $orow[$irow - $iofs]; push(@nrow, $elem); } $iofs ++; } # while busy while (scalar(@nrow) < $irow * 2 + 3) { $tail ++; push(@nrow, $tail); } # while $tail for ($icol = 0; $icol < scalar(@nrow); $icol ++) { $orow[$icol] = $nrow[$icol]; } $irow ++; } # advance #---------------- sub print_head { $maxcol = $maxrow * 2 - 1; $icol = 0; print sprintf("# %3s |", ""); while ($icol < $maxcol) { print sprintf("%4d", $icol); $icol ++; } # while $icol print "\n"; } # print_head sub print_ruler { $icol = 0; print sprintf("#-----+"); while ($icol < $maxcol) { print sprintf("----"); $icol ++; } # while $icol print "\n"; } # print_ruler #----------------- sub print_row { $icol = 0; print sprintf("# %3d |", $irow); while ($icol < scalar(@orow)) { print sprintf("%4d", $orow[$icol]); $icol ++; } # while $icol print "\n"; print sprintf("# |\n"); } # sub print_row #---------------- sub bfile { my ($elem) = @_; print "$k $elem\n"; $k ++; } # bfile __DATA__
24.238095
57
0.460904
edd89f3a2cd22217eba6a29a5e2bcf2c3e7c775e
649
pm
Perl
auto-lib/Paws/CloudHSMv2/ListTagsResponse.pm
0leksii/aws-sdk-perl
b2132fe3c79a06fd15b6137e8a0eb628de722e0f
[ "Apache-2.0" ]
164
2015-01-08T14:58:53.000Z
2022-02-20T19:16:24.000Z
auto-lib/Paws/CloudHSMv2/ListTagsResponse.pm
0leksii/aws-sdk-perl
b2132fe3c79a06fd15b6137e8a0eb628de722e0f
[ "Apache-2.0" ]
348
2015-01-07T22:08:38.000Z
2022-01-27T14:34:44.000Z
auto-lib/Paws/CloudHSMv2/ListTagsResponse.pm
0leksii/aws-sdk-perl
b2132fe3c79a06fd15b6137e8a0eb628de722e0f
[ "Apache-2.0" ]
87
2015-04-22T06:29:47.000Z
2021-09-29T14:45:55.000Z
package Paws::CloudHSMv2::ListTagsResponse; use Moose; has NextToken => (is => 'ro', isa => 'Str'); has TagList => (is => 'ro', isa => 'ArrayRef[Paws::CloudHSMv2::Tag]', required => 1); has _request_id => (is => 'ro', isa => 'Str'); ### main pod documentation begin ### =head1 NAME Paws::CloudHSMv2::ListTagsResponse =head1 ATTRIBUTES =head2 NextToken => Str An opaque string that indicates that the response contains only a subset of tags. Use this value in a subsequent C<ListTags> request to get more tags. =head2 B<REQUIRED> TagList => ArrayRef[L<Paws::CloudHSMv2::Tag>] A list of tags. =head2 _request_id => Str =cut 1;
18.542857
87
0.677966
edfd341d19f81628d46b7b85d52bb6e3cdc13943
19,426
al
Perl
Apps/CZ/AdvancePaymentsLocalization/app/Src/Reports/PurchaseAdvanceVATDoc.Report.al
manjulchauhan/ALAppExtensions
3f2f1d6e5337188b1af9c0275420f1c1de036a7f
[ "MIT" ]
127
2018-04-17T18:03:03.000Z
2019-05-06T18:54:17.000Z
Apps/CZ/AdvancePaymentsLocalization/app/Src/Reports/PurchaseAdvanceVATDoc.Report.al
manjulchauhan/ALAppExtensions
3f2f1d6e5337188b1af9c0275420f1c1de036a7f
[ "MIT" ]
2,279
2018-09-12T12:01:49.000Z
2019-05-06T13:59:35.000Z
Apps/CZ/AdvancePaymentsLocalization/app/Src/Reports/PurchaseAdvanceVATDoc.Report.al
Enavate-EPS-Product/ALAppExtensions
20136cf2ef6589ff3ce7b16776aed5e8823b76f2
[ "MIT" ]
41
2018-05-17T11:19:52.000Z
2019-04-30T17:30:38.000Z
report 31017 "Purchase - Advance VAT Doc.CZZ" { DefaultLayout = RDLC; RDLCLayout = './Src/Reports/PurchaseAdvanceVATDoc.rdl'; Caption = 'Purchase - Advance VAT Document'; PreviewMode = PrintLayout; UsageCategory = None; dataset { dataitem("Company Information"; "Company Information") { DataItemTableView = sorting("Primary Key"); column(CompanyAddr1; CompanyAddr[1]) { } column(CompanyAddr2; CompanyAddr[2]) { } column(CompanyAddr3; CompanyAddr[3]) { } column(CompanyAddr4; CompanyAddr[4]) { } column(CompanyAddr5; CompanyAddr[5]) { } column(CompanyAddr6; CompanyAddr[6]) { } column(RegistrationNo_CompanyInformation; "Registration No.") { } column(VATRegistrationNo_CompanyInformation; "VAT Registration No.") { } column(HomePage_CompanyInformation; "Home Page") { } column(Picture_CompanyInformation; Picture) { } dataitem("Sales & Receivables Setup"; "Sales & Receivables Setup") { DataItemTableView = sorting("Primary Key"); column(LogoPositiononDocuments_SalesReceivablesSetup; Format("Logo Position on Documents", 0, 2)) { } dataitem("General Ledger Setup"; "General Ledger Setup") { DataItemTableView = sorting("Primary Key"); column(LCYCode_GeneralLedgerSetup; "LCY Code") { } } } trigger OnAfterGetRecord() begin FormatAddress.Company(CompanyAddr, "Company Information"); end; trigger OnPreDataItem() begin CalcFields(Picture); end; } dataitem("Purch. Adv. Letter Entry"; "Purch. Adv. Letter Entry CZZ") { DataItemTableView = sorting("Entry No."); trigger OnAfterGetRecord() begin if not ("Entry Type" in ["Entry Type"::"VAT Payment", "Entry Type"::"VAT Usage", "Entry Type"::"VAT Close"]) then FieldError("Entry Type"); TempPurchAdvLetterEntry.SetRange("Document No.", "Document No."); TempPurchAdvLetterEntry.SetRange("Purch. Adv. Letter No.", "Purch. Adv. Letter No."); if TempPurchAdvLetterEntry.IsEmpty() then begin TempPurchAdvLetterEntry := "Purch. Adv. Letter Entry"; TempPurchAdvLetterEntry.Insert(); end; TempPurchAdvLetterEntry.Reset(); end; } dataitem(TempPurchAdvLetterEntry; "Purch. Adv. Letter Entry CZZ") { DataItemTableView = sorting("Document No."); UseTemporary = true; dataitem("Purch. Adv. Letter Header"; "Purch. Adv. Letter Header CZZ") { DataItemTableView = sorting("No."); DataItemLink = "No." = field("Purch. Adv. Letter No."); column(DocumentLbl; DocumentLabel) { } column(PageLbl; PageLbl) { } column(CopyLbl; CopyLbl) { } column(VendorLbl; VendLbl) { } column(CustomerLbl; CustLbl) { } column(PurchaserLbl; PurchaserLbl) { } column(CreatorLbl; CreatorLbl) { } column(VATIdentLbl; VATIdentLbl) { } column(VATPercentLbl; VATPercentLbl) { } column(VATBaseLbl; VATBaseLbl) { } column(VATAmtLbl; VATAmtLbl) { } column(TotalLbl; TotalLbl) { } column(VATLbl; VATLbl) { } column(AdvanceLetterLbl; AdvanceLetterLbl) { } column(DocumentNo_PurchAdvLetterEntry; TempPurchAdvLetterEntry."Document No.") { } column(LetterNo_PurchAdvLetterEntry; TempPurchAdvLetterEntry."Purch. Adv. Letter No.") { } column(VATRegistrationNo_DocumentHeaderCaption; FieldCaption("VAT Registration No.")) { } column(VATRegistrationNo_DocumentHeader; "VAT Registration No.") { } column(RegistrationNo_DocumentHeaderCaption; FieldCaption("Registration No.")) { } column(RegistrationNo_DocumentHeader; "Registration No.") { } column(BankAccountNo_DocumentHeaderCaption; FieldCaption("Bank Account No.")) { } column(BankAccountNo_DocumentHeader; "Bank Account No.") { } column(IBAN_DocumentHeaderCaption; FieldCaption(IBAN)) { } column(IBAN_DocumentHeader; IBAN) { } column(BIC_DocumentHeaderCaption; FieldCaption("SWIFT Code")) { } column(BIC_DocumentHeader; "SWIFT Code") { } column(DocumentDate_DocumentHeaderCaption; FieldCaption("Document Date")) { } column(DocumentDate_PurchAdvLetterEntry; TempPurchAdvLetterEntry."Posting Date") { } column(VATDate_DocumentHeaderCaption; FieldCaption("VAT Date")) { } column(VATDate_PurchAdvLetterEntry; TempPurchAdvLetterEntry."VAT Date") { } column(PaymentTerms; PaymentTerms.Description) { } column(PaymentMethod; PaymentMethod.Description) { } column(CurrencyCode_PurchAdvLetterEntry; TempPurchAdvLetterEntry."Currency Code") { } column(CalculatedExchRate; CalculatedExchRate) { } column(ExchRateText; ExchRateText) { } column(DocFooterText; DocFooterText) { } column(VendAddr1; VendAddr[1]) { } column(VendAddr2; VendAddr[2]) { } column(VendAddr3; VendAddr[3]) { } column(VendAddr4; VendAddr[4]) { } column(VendAddr5; VendAddr[5]) { } column(VendAddr6; VendAddr[6]) { } column(OriginalAdvanceVATDocumentNo; OriginalAdvanceVATDocumentNo) { } column(OriginalAdvanceVATDocumentNoLbl; OriginalAdvanceVATDocumentNoLbl) { } dataitem(CopyLoop; "Integer") { DataItemTableView = sorting(Number); column(CopyNo; CopyNo) { } dataitem("Salesperson/Purchaser"; "Salesperson/Purchaser") { DataItemLink = Code = field("Purchaser Code"); DataItemLinkReference = "Purch. Adv. Letter Header"; DataItemTableView = sorting(Code); column(Name_SalespersonPurchaser; Name) { } column(EMail_SalespersonPurchaser; "E-Mail") { } column(PhoneNo_SalespersonPurchaser; "Phone No.") { } } dataitem("VAT Entry"; "Purch. Adv. Letter Entry CZZ") { DataItemLink = "Purch. Adv. Letter No." = field("Purch. Adv. Letter No."), "Document No." = field("Document No."); DataItemLinkReference = TempPurchAdvLetterEntry; DataItemTableView = sorting("Document No.") where("Entry Type" = filter("VAT Payment" | "VAT Usage" | "VAT Close")); trigger OnAfterGetRecord() begin TempVATAmountLine.Init(); TempVATAmountLine."VAT Identifier" := "VAT Identifier"; TempVATAmountLine."VAT Calculation Type" := "VAT Calculation Type"; TempVATAmountLine."VAT %" := "VAT %"; TempVATAmountLine."VAT Base" := "VAT Base Amount"; TempVATAmountLine."Amount Including VAT" := "Amount"; TempVATAmountLine."VAT Base (LCY) CZL" := "VAT Base Amount (LCY)"; TempVATAmountLine."VAT Amount (LCY) CZL" := "VAT Amount (LCY)"; TempVATAmountLine.InsertLine(); end; trigger OnPreDataItem() begin TempVATAmountLine.DeleteAll(); end; } dataitem(VATCounter; "Integer") { DataItemTableView = sorting(Number); column(VATAmtLineVATIdentifier; TempVATAmountLine."VAT Identifier") { } column(VATAmtLineVATPer; TempVATAmountLine."VAT %") { DecimalPlaces = 0 : 5; } column(VATAmtLineVATBase; TempVATAmountLine."VAT Base") { AutoFormatExpression = "Purch. Adv. Letter Header"."Currency Code"; AutoFormatType = 1; } column(VATAmtLineVATAmt; TempVATAmountLine."VAT Amount") { AutoFormatExpression = "Purch. Adv. Letter Header"."Currency Code"; AutoFormatType = 1; } column(VATAmtLineVATBaseLCY; TempVATAmountLine."VAT Base (LCY) CZL") { AutoFormatExpression = "Purch. Adv. Letter Header"."Currency Code"; AutoFormatType = 1; } column(VATAmtLineVATAmtLCY; TempVATAmountLine."VAT Amount (LCY) CZL") { AutoFormatExpression = "Purch. Adv. Letter Header"."Currency Code"; AutoFormatType = 1; } trigger OnAfterGetRecord() begin TempVATAmountLine.GetLine(Number); end; trigger OnPreDataItem() begin SetRange(Number, 1, TempVATAmountLine.Count); end; } dataitem("User Setup"; "User Setup") { DataItemLink = "User ID" = field("User ID"); DataItemLinkReference = TempPurchAdvLetterEntry; DataItemTableView = sorting("User ID"); dataitem(Employee; Employee) { DataItemLink = "No." = field("Employee No. CZL"); DataItemTableView = sorting("No."); column(FullName_Employee; Employee.FullName()) { } column(PhoneNo_Employee; Employee."Phone No.") { } column(CompanyEMail_Employee; Employee."Company E-Mail") { } } } trigger OnAfterGetRecord() begin if Number = 1 then CopyNo := 1 else CopyNo += 1; end; trigger OnPreDataItem() begin NoOfLoops := Abs(NoOfCop) + 1; if NoOfLoops <= 0 then NoOfLoops := 1; SetRange(Number, 1, NoOfLoops); end; } trigger OnAfterGetRecord() begin CurrReport.Language := Language.GetLanguageIdOrDefault("Language Code"); if IsCreditMemo(TempPurchAdvLetterEntry) then DocumentLabel := CrMemoDocumentLbl else DocumentLabel := DocumentLbl; DocumentFooterCZL.SetFilter("Language Code", '%1|%2', '', "Language Code"); if DocumentFooterCZL.FindLast() then DocFooterText := DocumentFooterCZL."Footer Text" else DocFooterText := ''; if "Currency Code" = '' then "Currency Code" := "General Ledger Setup"."LCY Code"; if (TempPurchAdvLetterEntry."Currency Factor" <> 0) and (TempPurchAdvLetterEntry."Currency Factor" <> 1) then begin CurrencyExchangeRate.FindCurrency(TempPurchAdvLetterEntry."Posting Date", "Currency Code", 1); CalculatedExchRate := Round(1 / TempPurchAdvLetterEntry."Currency Factor" * CurrencyExchangeRate."Exchange Rate Amount", 0.000001); ExchRateText := StrSubstNo(Text009Txt, CalculatedExchRate, "General Ledger Setup"."LCY Code", CurrencyExchangeRate."Exchange Rate Amount", "Currency Code"); end else CalculatedExchRate := 1; FormatAddress.FormatAddr(VendAddr, "Pay-to Name", "Pay-to Name 2", "Pay-to Contact", "Pay-to Address", "Pay-to Address 2", "Pay-to City", "Pay-to Post Code", "Pay-to County", "Pay-to Country/Region Code"); if "Payment Terms Code" = '' then PaymentTerms.Init() else begin PaymentTerms.Get("Payment Terms Code"); PaymentTerms.TranslateDescription(PaymentTerms, "Language Code"); end; if "Payment Method Code" = '' then PaymentMethod.Init() else PaymentMethod.Get("Payment Method Code"); end; } trigger OnAfterGetRecord() var PurchAdvLetterEntryCZZ: Record "Purch. Adv. Letter Entry CZZ"; begin OriginalAdvanceVATDocumentNo := ''; if IsCreditMemo(TempPurchAdvLetterEntry) then begin PurchAdvLetterEntryCZZ.SetRange("Purch. Adv. Letter No.", TempPurchAdvLetterEntry."Purch. Adv. Letter No."); PurchAdvLetterEntryCZZ.SetRange("Related Entry", TempPurchAdvLetterEntry."Related Entry"); PurchAdvLetterEntryCZZ.SetFilter("Entry No.", '<%1', TempPurchAdvLetterEntry."Entry No."); if PurchAdvLetterEntryCZZ.FindLast() then OriginalAdvanceVATDocumentNo := PurchAdvLetterEntryCZZ."Document No."; end; end; } } requestpage { SaveValues = true; layout { area(content) { group(Options) { Caption = 'Options'; field(NoOfCopies; NoOfCop) { ApplicationArea = Basic, Suite; Caption = 'No. of Copies'; ToolTip = 'Specifies the number of copies to print.'; } } } } } var TempVATAmountLine: Record "VAT Amount Line" temporary; PaymentTerms: Record "Payment Terms"; PaymentMethod: Record "Payment Method"; CurrencyExchangeRate: Record "Currency Exchange Rate"; DocumentFooterCZL: Record "Document Footer CZL"; Language: Codeunit Language; FormatAddress: Codeunit "Format Address"; ExchRateText: Text[50]; CompanyAddr: array[8] of Text[100]; VendAddr: array[8] of Text[100]; DocFooterText: Text[1000]; DocumentLabel: Text; CalculatedExchRate: Decimal; NoOfCop: Integer; CopyNo: Integer; NoOfLoops: Integer; OriginalAdvanceVATDocumentNo: Code[20]; Text009Txt: Label 'Exchange Rate %1 %2 / %3 %4', Comment = '%1=calculatedexchrate;%2=general ledger setup.LCY Code;%3=currexchrate.exchange rate amount;%4=currency code'; DocumentLbl: Label 'VAT Document to Paid Payment'; CrMemoDocumentLbl: Label 'VAT Credit Memo to Paid Payment'; PageLbl: Label 'Page'; CopyLbl: Label 'Copy'; VendLbl: Label 'Vendor'; CustLbl: Label 'Customer'; PurchaserLbl: Label 'Purchaser'; CreatorLbl: Label 'Posted by'; VATIdentLbl: Label 'VAT Recapitulation'; VATPercentLbl: Label 'VAT %'; VATBaseLbl: Label 'VAT Base'; VATAmtLbl: Label 'VAT Amount'; TotalLbl: Label 'total'; VATLbl: Label 'VAT'; AdvanceLetterLbl: Label 'VAT Document to Advance Letter'; OriginalAdvanceVATDocumentNoLbl: Label 'Original Advance VAT Document No.'; local procedure IsCreditMemo(PurchAdvLetterEntryCZZ: Record "Purch. Adv. Letter Entry CZZ"): Boolean begin exit(((PurchAdvLetterEntryCZZ.Amount < 0) and (PurchAdvLetterEntryCZZ."Entry Type" = PurchAdvLetterEntryCZZ."Entry Type"::"VAT Payment")) or ((PurchAdvLetterEntryCZZ.Amount > 0) and (PurchAdvLetterEntryCZZ."Entry Type" = PurchAdvLetterEntryCZZ."Entry Type"::"VAT Usage")) or (PurchAdvLetterEntryCZZ."Entry Type" = PurchAdvLetterEntryCZZ."Entry Type"::"VAT Close")); end; }
40.810924
178
0.46412
edc0dfb32c5ceeb5de45da815bb10e531fede54b
820
pm
Perl
VideoGameAssistants/ThreeInThree/threesome/board7.pm
chiendarrendor/AlbertsMisc
f017b29f65d1d47eb22db66dff0b6d2145794fc8
[ "MIT" ]
null
null
null
VideoGameAssistants/ThreeInThree/threesome/board7.pm
chiendarrendor/AlbertsMisc
f017b29f65d1d47eb22db66dff0b6d2145794fc8
[ "MIT" ]
null
null
null
VideoGameAssistants/ThreeInThree/threesome/board7.pm
chiendarrendor/AlbertsMisc
f017b29f65d1d47eb22db66dff0b6d2145794fc8
[ "MIT" ]
null
null
null
$board->AddRoom("TOPLT"); $board->AddRoom("DNLT"); $board->AddRoom("CENTER"); $board->AddRoom("TOPRT"); $board->AddRoom("DNRT"); $board->AddColorToRoom("TOPLT","R"); $board->AddColorToRoom("DNLT","G"); $board->AddColorsToRoom("CENTER","G","B","O"); $board->AddColorsToRoom("TOPRT","G","R","V","B"); $board->AddColorsToRoom("DNRT","R","R","O"); $board->AddPlayer("TOPLT"); $board->AddPlayer("TOPRT"); $board->AddPlayer("TOPRT"); $board->AddTargetToRoom("DNLT"); $board->AddTargetToRoom("DNRT"); $board->AddTargetToRoom("DNRT"); $board->AddDoor("TOPLT","DNLT","G","B"); $board->AddDoor("TOPLT","DNLT","R","R"); $board->AddDoor("TOPRT","DNRT","B","G"); $board->AddDoor("CENTER","TOPRT","G","O"); $board->AddDoor("CENTER","TOPRT","R","V"); $board->AddDoor("CENTER","DNRT","R","O"); $board->AddDoor("CENTER","DNRT","R","V");
37.272727
50
0.626829
edf4881bf1cc0929111add8a6407c2230dc88972
2,280
pl
Perl
examples/NIPS/MNIST/noisy_sequence_detection/old_scenarios/scenario100_4_3/event_defs.pl
dais-ita/DeepProbCEP
22790c1672c1cce49a59d18921c710f61cdde2f2
[ "MIT" ]
6
2020-09-10T03:40:53.000Z
2021-05-26T07:30:20.000Z
examples/NIPS/MNIST/noisy_sequence_detection/old_scenarios/scenario100_4_3/event_defs.pl
dais-ita/DeepProbCEP
22790c1672c1cce49a59d18921c710f61cdde2f2
[ "MIT" ]
null
null
null
examples/NIPS/MNIST/noisy_sequence_detection/old_scenarios/scenario100_4_3/event_defs.pl
dais-ita/DeepProbCEP
22790c1672c1cce49a59d18921c710f61cdde2f2
[ "MIT" ]
1
2020-11-23T15:55:57.000Z
2020-11-23T15:55:57.000Z
nn(mnist_net,[X],Y,[0,1,2,3,4,5,6,7,8,9]) :: digit(X,Y). initiatedAtNoise(X, Y) :- initiatedAt(X, Y). % Number of timestamps to look at (should be min the length of the sequence) givenRemaining(4). initiatedAt(sequence0 = true, T) :- givenRemaining(Remaining), sequenceEndingAt([0, 0, 0], Remaining, T). initiatedAt(sequence0 = false, T) :- givenRemaining(Remaining), sequenceEndingAt([1, 1, 1], Remaining, T). initiatedAt(sequence1 = true, T) :- givenRemaining(Remaining), sequenceEndingAt([2, 2, 2], Remaining, T). initiatedAt(sequence1 = false, T) :- givenRemaining(Remaining), sequenceEndingAt([3, 3, 3], Remaining, T). initiatedAt(sequence2 = true, T) :- givenRemaining(Remaining), sequenceEndingAt([4, 4, 4], Remaining, T). initiatedAt(sequence2 = false, T) :- givenRemaining(Remaining), sequenceEndingAt([5, 5, 5], Remaining, T). initiatedAt(sequence3 = true, T) :- givenRemaining(Remaining), sequenceEndingAt([6, 6, 6], Remaining, T). initiatedAt(sequence3 = false, T) :- givenRemaining(Remaining), sequenceEndingAt([7, 7, 7], Remaining, T). initiatedAt(sequence4 = true, T) :- givenRemaining(Remaining), sequenceEndingAt([8, 8, 8], Remaining, T). initiatedAt(sequence4 = false, T) :- givenRemaining(Remaining), sequenceEndingAt([9, 9, 9], Remaining, T). % An empty sequence will always be within sequenceWithin([], _, _). % A sequence can be within Remaining of T if it starts at T sequenceWithin(L, Remaining, T) :- sequenceEndingAt(L, Remaining, T). % A sequence can be within Remaining of T if it is within NextRemaining of Tprev sequenceWithin(L, Remaining, T) :- Remaining > 0, T >= 0, NextRemaining is Remaining - 1, allTimeStamps(Timestamps), previousTimeStamp(T, Timestamps, Tprev), sequenceWithin(L, NextRemaining, Tprev). % A sequence will start at T and be within Remaining if X happens at T and the rest of the sequence is within NextRemaining of Tprev sequenceEndingAt([X | L], Remaining, T) :- Remaining > 0, T >= 0, happensAt(Y, T), digit(Y, X), NextRemaining is Remaining - 1, allTimeStamps(Timestamps), previousTimeStamp(T, Timestamps, Tprev), sequenceWithin(L, NextRemaining, Tprev). sdFluent( aux ).
32.112676
132
0.683772
edec8af57a128b7eb3d85df2448876f45a9d2a2b
18,484
pl
Perl
LPKviz/bin/Debug/swipl/library/semweb/rdf_litindex.pl
mmacinkov/Quiz
53443f83cc599e494cf2883001c60d9f3e926e8b
[ "MIT" ]
1
2021-02-12T12:33:01.000Z
2021-02-12T12:33:01.000Z
LPKviz/bin/x64/Debug/swipl/library/semweb/rdf_litindex.pl
mmacinkov/Quiz
53443f83cc599e494cf2883001c60d9f3e926e8b
[ "MIT" ]
1
2021-02-12T13:11:42.000Z
2021-02-12T13:11:42.000Z
LPKviz/bin/x64/Debug/swipl/library/semweb/rdf_litindex.pl
mmacinkov/Quiz
53443f83cc599e494cf2883001c60d9f3e926e8b
[ "MIT" ]
null
null
null
/* $Id$ Part of SWI-Prolog Author: Jan Wielemaker E-mail: wielemak@science.uva.nl WWW: http://www.swi-prolog.org Copyright (C): 2006, University of Amsterdam This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA As a special exception, if you link this library with other files, compiled with a Free Software compiler, to produce an executable, this library does not by itself cause the resulting executable to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the executable file might be covered by the GNU General Public License. */ :- module(rdf_litindex, [ rdf_set_literal_index_option/1, % +Options rdf_tokenize_literal/2, % +Literal, -Tokens rdf_find_literals/2, % +Spec, -ListOfLiterals rdf_token_expansions/2 % +Spec, -Expansions ]). :- use_module(rdf_db). :- use_module(library(debug)). :- use_module(library(lists)). :- use_module(library(error)). :- use_module(library(porter_stem)). :- use_module(library(double_metaphone)). /** <module> Search literals This module finds literals of the RDF database based on stemming and being flexible to ordering of tokens. */ :- dynamic literal_map/2, % Type, -Map new_token/1, % Hook setting/1. :- volatile literal_map/2. :- multifile tokenization/2, % +Literal, -Tokens exclude_from_index/2. % +Which, +Token setting(verbose(false)). % print progress messages setting(index_threads(1)). % # threads for creating the index setting(index(default)). % Use a thread for incremental updates %% rdf_set_literal_index_option(+Options:list) % % Set options for the literal package. Currently defined options % % * verbose(Bool) % If =true=, print progress messages while building the % index tables. % % * index_threads(+Count) % Number of threads to use for initial indexing of % literals % % * index(+How) % How to deal with indexing new literals. How is one of % =self= (execute in the same thread), thread(N) (execute % in N concurrent threads) or =default= (depends on number % of cores). rdf_set_literal_index_option([]) :- !. rdf_set_literal_index_option([H|T]) :- !, set_option(H), rdf_set_literal_index_option(T). rdf_set_literal_index_option(Option) :- set_option(Option). set_option(Term) :- check_option(Term), functor(Term, Name, Arity), functor(General, Name, Arity), retractall(setting(General)), assert(setting(Term)). check_option(X) :- var(X), !, instantiation_error(X). check_option(verbose(X)) :- !, must_be(boolean, X). check_option(index_threads(Count)) :- !, must_be(nonneg, Count). check_option(index(How)) :- !, must_be(oneof([default,thread(_),self]), How). check_option(Option) :- domain_error(literal_option, Option). /******************************* * QUERY * *******************************/ %% rdf_find_literals(+Spec, -Literals) % % Find literals in the RDF database matching Spec. Spec is defined % as: % % == % Spec ::= and(Spec,Spec) % Spec ::= or(Spec,Spec) % Spec ::= not(Spec) % Spec ::= sounds(Like) % Spec ::= stem(Like) % Spec ::= prefix(Prefix) % Spec ::= between(Low, High) % Numerical between % Spec ::= ge(High) % Numerical greater-equal % Spec ::= le(Low) % Numerical less-equal % Spec ::= Token % == % % sounds(Like) and stem(Like) both map to a disjunction. First we % compile the spec to normal form: a disjunction of conjunctions % on elementary tokens. Then we execute all the conjunctions and % generate the union using ordered-set algorithms. % % @tbd Exploit ordering of numbers and allow for > N, < N, etc. rdf_find_literals(Spec, Literals) :- compile_spec(Spec, DNF), token_index(Map), lookup(DNF, Map, _, SuperSet), flatten(SuperSet, Set0), sort(Set0, Literals). %% rdf_token_expansions(+Spec, -Extensions) % % Determine which extensions of a token contribute to finding % literals. rdf_token_expansions(prefix(Prefix), [prefix(Prefix, Tokens)]) :- token_index(Map), rdf_keys_in_literal_map(Map, prefix(Prefix), Tokens). rdf_token_expansions(sounds(Like), [sounds(Like, Tokens)]) :- metaphone_index(Map), rdf_find_literal_map(Map, [Like], Tokens). rdf_token_expansions(stem(Like), [stem(Like, Tokens)]) :- porter_index(Map), rdf_find_literal_map(Map, [Like], Tokens). rdf_token_expansions(Spec, Expansions) :- compile_spec(Spec, DNF), token_index(Map), lookup(DNF, Map, SCS, _), flatten(SCS, CS), sort(CS, Expansions0), join_expansions(Expansions0, Expansions). join_expansions([], []). join_expansions([H0|T0], [H|T]) :- untag(H0, Tag, V0), Tag =.. L0, append(L0, [[V0|Values]], L1), H =.. L1, join_expansions_by_tag(T0, Tag, T1, Values), join_expansions(T1, T). join_expansions_by_tag([H|T0], Tag, T, [V0|VT]) :- untag(H, Tag, V0), !, join_expansions_by_tag(T0, Tag, T, VT). join_expansions_by_tag(L, _, L, []). lookup(@(false), _, [], []) :- !. lookup(or(H0,T0), Map, [CH|CT], [H|T]) :- !, lookup(H0, Map, CH, H), lookup(T0, Map, CT, T). lookup(H0, Map, [C], [H]) :- lookup1(H0, Map, C, H). lookup1(Conj, Map, Cond, Literals) :- phrase(conj_to_list(Conj), List), !, rdf_find_literal_map(Map, List, Literals), ( Literals \== [] -> phrase(conj_to_cond(Conj), Cond) ; Cond = [] ). lookup1(_, _, _, []). conj_to_list(and(A,B)) --> !, conj_to_list(A), conj_to_list(B). conj_to_list(@(false)) --> !, {fail}. conj_to_list(Tagged) --> { untag(Tagged, L) }, !, [L]. conj_to_list(L) --> [L]. conj_to_cond(and(A,B)) --> !, conj_to_cond(A), conj_to_cond(B). conj_to_cond(Tagged) --> { untag(Tagged, _) }, !, [ Tagged ]. conj_to_cond(_) --> []. %% compile_spec(+Spec, -Compiled) % % Compile a specification as above into disjunctive normal form compile_spec(Spec, DNF) :- expand_fuzzy(Spec, Spec2), nnf(Spec2, NNF), dnf(NNF, DNF). expand_fuzzy(Var, _) :- var(Var), !, throw(error(instantiation_error, _)). expand_fuzzy(sounds(Like), Or) :- !, ( atom(Like) -> metaphone_index(Map), double_metaphone(Like, Key), rdf_find_literal_map(Map, [Key], Tokens), list_to_or(Tokens, sounds(Like), Or) ; expand_fuzzy(Like, Or) ). expand_fuzzy(stem(Like), Or) :- !, ( atom(Like) -> porter_index(Map), porter_stem(Like, Key), rdf_find_literal_map(Map, [Key], Tokens), list_to_or(Tokens, stem(Like), Or) ; expand_fuzzy(Like, Or) ). expand_fuzzy(prefix(Prefix), Or) :- !, ( atom(Prefix) -> token_index(Map), rdf_keys_in_literal_map(Map, prefix(Prefix), Tokens), list_to_or(Tokens, prefix(Prefix), Or) ; expand_fuzzy(Prefix, Or) ). expand_fuzzy(case(String), Or) :- !, ( atom(String) -> token_index(Map), rdf_keys_in_literal_map(Map, case(String), Tokens), list_to_or(Tokens, case(String), Or) ; expand_fuzzy(String, Or) ). expand_fuzzy(or(A0, B0), E) :- !, expand_fuzzy(A0, A), expand_fuzzy(B0, B), simplify(or(A,B), E). expand_fuzzy(and(A0, B0), E) :- !, expand_fuzzy(A0, A), expand_fuzzy(B0, B), simplify(and(A,B), E). expand_fuzzy(not(A0), not(A)) :- !, expand_fuzzy(A0, A). expand_fuzzy(between(Low, High), Or) :- !, token_index(Map), rdf_keys_in_literal_map(Map, between(Low, High), Tokens), list_to_or(Tokens, between(Low, High), Or). expand_fuzzy(le(High), Or) :- !, token_index(Map), rdf_keys_in_literal_map(Map, le(High), Tokens), list_to_or(Tokens, le(High), Or). expand_fuzzy(ge(Low), Or) :- !, token_index(Map), rdf_keys_in_literal_map(Map, ge(Low), Tokens), list_to_or(Tokens, ge(Low), Or). expand_fuzzy(Token, Token) :- atomic(Token), !. expand_fuzzy(Token, _) :- throw(error(type_error(Token, boolean_expression), _)). simplify(Expr0, Expr) :- simple(Expr0, Expr), !. simplify(Expr, Expr). simple(and(@(false), _), @(false)). simple(and(_, @(false)), @(false)). simple(or(@(false), X), X). simple(or(X, @(false)), X). list_to_or([], _, @(false)) :- !. list_to_or([X], How, One) :- !, tag(How, X, One). list_to_or([H0|T0], How, or(H, T)) :- tag(How, H0, H), list_to_or(T0, How, T). tag(sounds(X), Y, sounds(X,Y)). tag(stem(X), Y, stem(X,Y)). tag(prefix(X), Y, prefix(X,Y)). tag(case(X), Y, case(X,Y)). tag(between(L,H), Y, between(L,H,Y)). tag(ge(L), Y, ge(L,Y)). tag(le(H), Y, le(H,Y)). untag(sounds(_,Y), Y). untag(stem(_,Y), Y). untag(prefix(_,Y), Y). untag(case(_,Y), Y). untag(between(_,_,Y), Y). untag(le(_,Y), Y). untag(ge(_,Y), Y). untag(sounds(X,Y), sounds(X), Y). untag(stem(X,Y), stem(X), Y). untag(prefix(X,Y), prefix(X), Y). untag(case(X,Y), case(X), Y). untag(between(L,H,Y), between(L,H), Y). untag(ge(L,Y), ge(L), Y). untag(le(H,Y), le(H), Y). %% nnf(+Formula, -NNF) % % Rewrite to Negative Normal Form, meaning negations only appear % around literals. nnf(not(not(A0)), A) :- !, nnf(A0, A). nnf(not(and(A0,B0)), or(A,B)) :- !, nnf(not(A0), A), nnf(not(B0), B). nnf(not(or(A0,B0)), and(A,B)) :- !, nnf(not(A0), A), nnf(not(B0), B). nnf(A, A). %% dnf(+NNF, -DNF) % % Convert a formula in NNF to Disjunctive Normal Form (DNF) dnf(or(A0,B0), or(A, B)) :- !, dnf(A0, A), dnf(B0, B). dnf(and(A0,B0), DNF):- !, dnf(A0, A1), dnf(B0, B1), dnf1(and(A1,B1), DNF). dnf(DNF, DNF). dnf1(and(A0, or(B,C)), or(P,Q)) :- !, dnf1(and(A0,B), P), dnf1(and(A0,C), Q). dnf1(and(or(B,C), A0), or(P,Q)) :- !, dnf1(and(A0,B), P), dnf1(and(A0,C), Q). dnf1(DNF, DNF). /******************************* * TOKEN INDEX * *******************************/ %% token_index(-Map) % % Get the index of tokens. If not present, create one from the % current database. Once created, the map is kept up-to-date using % a monitor hook. token_index(Map) :- literal_map(tokens, Map), !. token_index(Map) :- rdf_new_literal_map(Map), assert(literal_map(tokens, Map)), make_literal_index, verbose('~N', []), Monitor = [ reset, new_literal, old_literal ], ( setting(index(default)) -> ( current_prolog_flag(cpu_count, N), N > 1 -> create_update_literal_thread(1), rdf_monitor(thread_monitor_literal, Monitor) ; rdf_monitor(monitor_literal, Monitor) ) ; setting(index(thread(N))) -> create_update_literal_thread(N), rdf_monitor(thread_monitor_literal, Monitor) ; rdf_monitor(monitor_literal, Monitor) ). %% make_literal_index % % Create the initial literal index. make_literal_index :- setting(index_threads(N)), !, threaded_literal_index(N). make_literal_index :- current_prolog_flag(cpu_count, X), threaded_literal_index(X). threaded_literal_index(N) :- N > 1, !, message_queue_create(Q, [max_size(1000)]), create_index_threads(N, Q, Ids), forall(rdf_current_literal(Literal), thread_send_message(Q, Literal)), forall(between(1, N, _), thread_send_message(Q, done(true))), maplist(thread_join, Ids, _). threaded_literal_index(_) :- forall(rdf_current_literal(Literal), register_literal(Literal)). create_index_threads(N, Q, [Id|T]) :- N > 0, !, thread_create(index_worker(Q), Id, []), N2 is N - 1, create_index_threads(N2, Q, T). create_index_threads(_, _, []) :- !. index_worker(Queue) :- repeat, thread_get_message(Queue, Msg), work(Msg). work(done(true)) :- !. work(Literal) :- register_literal(Literal), fail. % clean_token_index % % Clean after a reset. clean_token_index :- forall(literal_map(_, Map), rdf_reset_literal_map(Map)). /******************************* * THREADED UPDATE * *******************************/ % create_update_literal_thread(+Threads) % % Setup literal monitoring using threads. While loading databases % through rdf_attach_db/2 from rdf_persistency.pl, most of the % time is spent updating the literal token database. While loading % the RDF triples, most of the time is spend in updating the AVL % tree holding the literals. Updating the token index hangs on % updating the AVL trees holding the tokens. Both tasks however % can run concurrently. create_update_literal_thread(Threads) :- message_queue_create(_, [ alias(rdf_literal_monitor_queue), max_size(10000) ]), forall(between(1, Threads, N), ( atom_concat(rdf_literal_monitor_, N, Alias), thread_create(monitor_literals, _, [ alias(Alias) ]) )). monitor_literals :- set_prolog_flag(agc_margin, 0), % we don't create garbage repeat, thread_get_message(rdf_literal_monitor_queue, Literal), register_literal(Literal), fail. thread_monitor_literal(new_literal(Literal)) :- !, thread_send_message(rdf_literal_monitor_queue, Literal). thread_monitor_literal(Action) :- !, monitor_literal(Action). /******************************* * MONITORED UPDATE * *******************************/ monitor_literal(new_literal(Literal)) :- register_literal(Literal). monitor_literal(old_literal(Literal)) :- unregister_literal(Literal). monitor_literal(transaction(begin, reset)) :- rdf_monitor(monitor_literal, [-old_literal]), clean_token_index. monitor_literal(transaction(end, reset)) :- rdf_monitor(monitor_literal, [+old_literal]). %% register_literal(+Literal) % % Associate the tokens of a literal with the literal itself. register_literal(Literal) :- ( rdf_tokenize_literal(Literal, Tokens) -> text_of(Literal, Text), literal_map(tokens, Map), add_tokens(Tokens, Text, Map) ; true ). add_tokens([], _, _). add_tokens([H|T], Literal, Map) :- rdf_insert_literal_map(Map, H, Literal, Keys), ( var(Keys) -> true ; forall(new_token(H), true), ( Keys mod 1000 =:= 0 -> progress(Map, 'Tokens') ; true ) ), add_tokens(T, Literal, Map). %% unregister_literal(+Literal) % % Literal is removed from the database. As we abstract from lang % and type qualifiers we first have to check this is the last one % that is destroyed. unregister_literal(Literal) :- text_of(Literal, Text), ( rdf(_,_,literal(Text)) -> true % still something left ; rdf_tokenize_literal(Literal, Tokens), literal_map(tokens, Map), del_tokens(Tokens, Text, Map) ). del_tokens([], _, _). del_tokens([H|T], Literal, Map) :- rdf_delete_literal_map(Map, H, Literal), del_tokens(T, Literal, Map). %% rdf_tokenize_literal(+Literal, -Tokens) is semidet. % % Tokenize a literal. We make this hookable as tokenization is % generally domain dependent. rdf_tokenize_literal(Literal, Tokens) :- tokenization(Literal, Tokens), !. % Hook rdf_tokenize_literal(Literal, Tokens) :- text_of(Literal, Text), atom(Text), tokenize_atom(Text, Tokens0), select_tokens(Tokens0, Tokens). select_tokens([], []). select_tokens([H|T0], T) :- ( exclude_from_index(token, H) -> select_tokens(T0, T) ; number(H) -> ( integer(H), between(-1073741824, 1073741823, H) -> T = [H|T1], select_tokens(T0, T1) ; select_tokens(T0, T) ) ; atom_length(H, 1) -> select_tokens(T0, T) ; no_index_token(H) -> select_tokens(T0, T) ; T = [H|T1], select_tokens(T0, T1) ). % no_index_token/1 % % Tokens we do not wish to index, as they creat huge amounts of % data with little or no value. Is there a more general way to % describe this? Experience shows that simply word count is not a % good criterium as it often rules out popular domain terms. no_index_token(and). no_index_token(an). no_index_token(or). no_index_token(of). no_index_token(on). no_index_token(in). no_index_token(this). no_index_token(the). %% text_of(+LiteralArg, -Text) % % Get the textual or (integer) numerical information from a % literal value. text_of(type(_, Text), Text) :- !. text_of(lang(_, Text), Text) :- !. text_of(Text, Text) :- atom(Text), !. text_of(Text, Text) :- integer(Text). /******************************* * PORTER INDEX * *******************************/ porter_index(Map) :- literal_map(porter, Map), !. porter_index(Map) :- rdf_new_literal_map(Map), assert(literal_map(porter, Map)), fill_porter_index(Map), assert((new_token(Token) :- add_stem(Token, Map))). fill_porter_index(PorterMap) :- token_index(TokenMap), rdf_keys_in_literal_map(TokenMap, all, Tokens), stem(Tokens, PorterMap). stem([], _). stem([Token|T], Map) :- ( atom(Token) -> porter_stem(Token, Stem), rdf_insert_literal_map(Map, Stem, Token, Keys), ( integer(Keys), Keys mod 1000 =:= 0 -> progress(Map, 'Porter') ; true ) ; true ), stem(T, Map). add_stem(Token, Map) :- porter_stem(Token, Stem), rdf_insert_literal_map(Map, Stem, Token, _). /******************************* * METAPHONE INDEX * *******************************/ metaphone_index(Map) :- literal_map(metaphone, Map), !. metaphone_index(Map) :- rdf_new_literal_map(Map), assert(literal_map(metaphone, Map)), fill_metaphone_index(Map), assert((new_token(Token) :- add_metaphone(Token, Map))). fill_metaphone_index(PorterMap) :- token_index(TokenMap), rdf_keys_in_literal_map(TokenMap, all, Tokens), metaphone(Tokens, PorterMap). metaphone([], _). metaphone([Token|T], Map) :- ( atom(Token) -> double_metaphone(Token, SoundEx), rdf_insert_literal_map(Map, SoundEx, Token, Keys), ( integer(Keys), Keys mod 1000 =:= 0 -> progress(Map, 'Metaphone') ; true ) ; true ), metaphone(T, Map). add_metaphone(Token, Map) :- double_metaphone(Token, SoundEx), rdf_insert_literal_map(Map, SoundEx, Token). /******************************* * UTIL * *******************************/ verbose(Fmt, Args) :- setting(verbose(true)), !, format(user_error, Fmt, Args). verbose(_, _). progress(Map, Which) :- setting(verbose(true)), !, rdf_statistics_literal_map(Map, size(Keys, Values)), format(user_error, '\r~t~w: ~12|Keys: ~t~D~15+; Values: ~t~D~20+', [Which, Keys, Values]). progress(_,_).
26.107345
82
0.652564
edfcd13017cb4f0f26efc9f8d748db70207a0f4a
313
pl
Perl
tests-pl/issue1046-close-stream-client.pl
Skgland/scryer-prolog
75b01d502106e3cf3b34d7e7957c30bd1ec69fc2
[ "BSD-3-Clause" ]
1,092
2019-03-07T18:22:04.000Z
2022-03-31T18:37:58.000Z
tests-pl/issue1046-close-stream-client.pl
Skgland/scryer-prolog
75b01d502106e3cf3b34d7e7957c30bd1ec69fc2
[ "BSD-3-Clause" ]
1,083
2019-03-12T13:24:12.000Z
2022-03-31T18:58:52.000Z
tests-pl/issue1046-close-stream-client.pl
Skgland/scryer-prolog
75b01d502106e3cf3b34d7e7957c30bd1ec69fc2
[ "BSD-3-Clause" ]
77
2019-03-29T08:37:14.000Z
2022-03-10T20:02:10.000Z
:- use_module(library(sockets)). :- use_module(library(time)). :- use_module(library(format)). :- use_module(library(charsio)). test :- Addr = '0.0.0.0', Port = 5000, socket_client_open(Addr:Port, Stream, [type(binary)]), read_line_to_chars(Stream, Line, []), write(Line), close(Stream).
24.076923
58
0.645367
edfc681550310051716e38638b57e60a3eae7212
2,647
t
Perl
S32-list/first-end-p.t
jmaslak/roast
d69446499800e7cb274c0c240691a8199e69b22c
[ "Artistic-2.0" ]
1
2019-11-06T05:07:10.000Z
2019-11-06T05:07:10.000Z
S32-list/first-end-p.t
jmaslak/roast
d69446499800e7cb274c0c240691a8199e69b22c
[ "Artistic-2.0" ]
null
null
null
S32-list/first-end-p.t
jmaslak/roast
d69446499800e7cb274c0c240691a8199e69b22c
[ "Artistic-2.0" ]
null
null
null
use v6; use Test; # L<S32::Containers/"List"/"=item first"> plan 24; my @list = (1 ... 10); { my $result = first { $^a % 2 }, @list, :end, :p; ok $result ~~ Pair, "first(, :end, :p) returns an Pair"; is $result, 8=>9, "returned value by first() is correct"; } { my $result = first { $^a % 2 }, 1, 2, 3, 4, 5, 6, 7, 8, :end, :p; ok $result ~~ Pair, "first(, :end, :p) returns an Pair"; is $result, 6=>7, "returned value by first(, :end, :p) is correct"; } { my $result = @list.first( { $^a == 4}, :end, :p ); ok $result ~~ Pair, "method form of first, :end, :p returns an Pair"; is $result, 3=>4, "method form of first, :end, :p returns expected item"; } { ok @list.first( { $^a == 11 }, :end, :p ) =:= Nil, 'first, :end, :p returns Nil on unsuccessful match'; } { my $count = 0; my $matcher = sub (Int $x) { $count++; $x % 2 }; is @list.first($matcher, :end, :p), 8=>9, 'first(, :end, :p) search for odd elements successful'; is $count, 2, 'Matching closure in first(, :end, :p) is only executed twice'; } { is @list.first(4..6, :end, :p), 5=>6, "method form of first, :end, :p with range returns the expected item"; is @list.first(4..^6, :end, :p), 4=>5, "method form of first, :end, :p with range returns the expected item"; } { my @fancy_list = (1, 2, "Hello", 3/4, 4.Num); is @fancy_list.first(Str, :end, :p), 2=>"Hello", "first by type Str works"; is @fancy_list.first(Int, :end, :p), 1=>2, "first by type Int works"; is @fancy_list.first(Rat, :end, :p), 3=>3/4, "first by type Rat works"; } { my @fancy_list = <Philosopher Goblet Prince>; is @fancy_list.first(/o/, :end, :p), 1=>'Goblet', "first by regex /o/"; is @fancy_list.first(/ob/, :end, :p), 1=>'Goblet', "first by regex /ob/"; is @fancy_list.first(/l.*o/, :end, :p), 0=>'Philosopher', "first by regex /l.*o/"; } { is <a b c b a>.first('c' | 'b', :end, :p), 3=>'b', '.first, :end, :p also takes a junction as matcher'; is (first 'c'|'b', <a b c b a>, :end, :p), 3=>'b', '.first, :end, :p also takes a junction as matcher (sub form)'; } # Bool handling { throws-like { first $_ == 1, 1,2,3, :end, :p }, X::Match::Bool; throws-like { (1,2,3).first: $_== 1, :end, :p }, X::Match::Bool; is first( Bool,True,False,Int, :end, :p ), 1=>False, 'can we match on Bool as type'; is (True,False,Int).first(Bool, :end, :p), 1=>False, 'can we match on Bool as type'; } # :!p handling { is (^10).first(Int, :end, :!p), 9, 'is :!p the same as no attribute'; } #vim: ft=perl6
29.741573
107
0.537968
edee9962e7d882e0ab3b7cfd63a4ce65722895aa
8,354
pm
Perl
Slim/Menu/PlaylistInfo.pm
yo61/slimserver
29c2ed4f8b3bff2b12df76a63d7268cdddf78e8e
[ "BSD-3-Clause" ]
null
null
null
Slim/Menu/PlaylistInfo.pm
yo61/slimserver
29c2ed4f8b3bff2b12df76a63d7268cdddf78e8e
[ "BSD-3-Clause" ]
null
null
null
Slim/Menu/PlaylistInfo.pm
yo61/slimserver
29c2ed4f8b3bff2b12df76a63d7268cdddf78e8e
[ "BSD-3-Clause" ]
null
null
null
package Slim::Menu::PlaylistInfo; # Logitech Media Server Copyright 2001-2011 Logitech. # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License, # version 2. # Provides OPML-based extensible menu for playlist info =head1 NAME Slim::Menu::PlaylistInfo =head1 DESCRIPTION Provides a dynamic OPML-based playlist info menu to all UIs and allows plugins to register additional menu items. =cut use strict; use base qw(Slim::Menu::Base); use Scalar::Util qw(blessed); use Slim::Utils::Log; use Slim::Utils::Strings qw(cstring); my $log = logger('menu.playlistinfo'); sub init { my $class = shift; $class->SUPER::init(); Slim::Control::Request::addDispatch( [ 'playlistinfo', 'items', '_index', '_quantity' ], [ 0, 1, 1, \&cliQuery ] ); Slim::Control::Request::addDispatch( [ 'playlistinfo', 'playlist', '_method' ], [ 1, 1, 1, \&cliQuery ] ); } sub name { return 'PLAYLIST_INFO'; } ## # Register all the information providers that we provide. # This order is defined at http://wiki.slimdevices.com/index.php/UserInterfaceHierarchy # sub registerDefaultInfoProviders { my $class = shift; $class->SUPER::registerDefaultInfoProviders(); $class->registerInfoProvider( playlistitemcount => ( after => 'top', func => \&playlistItemCount, ) ); $class->registerInfoProvider( addplaylist => ( menuMode => 1, after => 'playlistitemcount', func => \&addPlaylistEnd, ) ); $class->registerInfoProvider( addplaylistnext => ( menuMode => 1, after => 'addplaylist', func => \&addPlaylistNext, ) ); $class->registerInfoProvider( playitem => ( menuMode => 1, after => 'addplaylistnext', func => \&playPlaylist, ) ); $class->registerInfoProvider( deleteplaylist => ( menuMode => 1, after => 'favorites', func => \&deletePlaylist, ) ); } sub menu { my ( $class, $client, $url, $playlist, $tags ) = @_; $tags ||= {}; # If we don't have an ordering, generate one. # This will be triggered every time a change is made to the # registered information providers, but only then. After # that, we will have our ordering and only need to step # through it. my $infoOrdering = $class->getInfoOrdering; # $remoteMeta is an empty set right now. adding to allow for parallel construction with trackinfo my $remoteMeta = {}; # Get playlist object if necessary if ( !blessed($playlist) ) { $playlist = Slim::Schema->objectForUrl( { url => $url, playlist => 1, } ); if ( !blessed($playlist) ) { $log->error( "No playlist object found for $url" ); return; } } # Function to add menu items my $addItem = sub { my ( $ref, $items ) = @_; if ( defined $ref->{func} ) { my $item = eval { $ref->{func}->( $client, $url, $playlist, $remoteMeta, $tags ) }; if ( $@ ) { $log->error( 'PlaylistInfo menu item "' . $ref->{name} . '" failed: ' . $@ ); return; } return unless defined $item; # skip jive-only items for non-jive UIs return if $ref->{menuMode} && !$tags->{menuMode}; if ( ref $item eq 'ARRAY' ) { if ( scalar @{$item} ) { push @{$items}, @{$item}; } } elsif ( ref $item eq 'HASH' ) { return if $ref->{menuMode} && !$tags->{menuMode}; if ( scalar keys %{$item} ) { push @{$items}, $item; } } else { $log->error( 'PlaylistInfo menu item "' . $ref->{name} . '" failed: not an arrayref or hashref' ); } } }; # Now run the order, which generates all the items we need my $items = []; for my $ref ( @{ $infoOrdering } ) { # Skip items with a defined parent, they are handled # as children below next if $ref->{parent}; # Add the item $addItem->( $ref, $items ); # Look for children of this item my @children = grep { $_->{parent} && $_->{parent} eq $ref->{name} } @{ $infoOrdering }; if ( @children ) { my $subitems = $items->[-1]->{items} = []; for my $child ( @children ) { $addItem->( $child, $subitems ); } } } return { name => $playlist->name, type => 'opml', items => $items, menuComplete => 1, }; } sub playlistItemCount { my ( $client, $url, $playlist, $remoteMeta, $tags) = @_; my $items = []; my $jive; return $items if !blessed($client) || !blessed($playlist); push @{$items}, { type => 'text', name => cstring($client, 'INFORMATION_TRACKS') . cstring('COLON') . ' ' . Slim::Utils::Misc::delimitThousands($playlist->tracks()->count), }; return $items; } sub playPlaylist { my ( $client, $url, $playlist, $remoteMeta, $tags) = @_; my $items = []; my $jive; return $items if !blessed($client); my $play_string = cstring($client, 'PLAY'); my $actions = { go => { player => 0, cmd => [ 'playlistcontrol' ], params => { playlist_id => $playlist->id, cmd => 'load', }, nextWindow => 'nowPlaying', }, }; $actions->{play} = $actions->{go}; $jive->{actions} = $actions; $jive->{style} = 'itemplay'; push @{$items}, { type => 'text', playcontrol => 'play', name => $play_string, jive => $jive, }; return $items; } sub addPlaylistEnd { my ( $client, $url, $playlist, $remoteMeta, $tags ) = @_; my $add_string = cstring($client, 'ADD_TO_END'); my $cmd = 'add'; addPlaylist( $client, $url, $playlist, $remoteMeta, $tags, $add_string, $cmd ); } sub addPlaylistNext { my ( $client, $url, $playlist, $remoteMeta, $tags ) = @_; my $add_string = cstring($client, 'PLAY_NEXT'); my $cmd = 'insert'; addPlaylist( $client, $url, $playlist, $remoteMeta, $tags, $add_string, $cmd ); } sub addPlaylist { my ( $client, $url, $playlist, $remoteMeta, $tags, $add_string, $cmd ) = @_; my $items = []; my $jive; return $items if !blessed($client); my $actions = { go => { player => 0, cmd => [ 'playlistcontrol' ], params => { playlist_id => $playlist->id, cmd => $cmd, }, nextWindow => 'parent', }, }; $actions->{play} = $actions->{go}; $actions->{add} = $actions->{go}; $jive->{actions} = $actions; push @{$items}, { type => 'text', playcontrol => $cmd, name => $add_string, jive => $jive, }; return $items; } sub deletePlaylist { my ( $client, $url, $playlist, $remoteMeta, $tags) = @_; return [] if !blessed($client); ### # FIXME: bug 8670. This is the 7.1 workaround to deal with the %s in the EN string my $string = cstring($client, 'JIVE_DELETE_PLAYLIST', $playlist->name); $string =~ s/\\n/ /g; return [ { type => 'text', name => $string, jive => { actions => { 'go' => { player => 0, cmd => [ 'jiveplaylists', 'delete' ], params => { url => $url, playlist_id => $playlist->id, title => $playlist->name, menu => 'track', menu_all => 1, }, }, }, style => 'item', }, } ]; } sub cliQuery { $log->debug('cliQuery'); my $request = shift; # WebUI or newWindow param from SP side results in no # _index _quantity args being sent, but XML Browser actually needs them, so they need to be hacked in # here and the tagged params mistakenly put in _index and _quantity need to be re-added # to the $request params my $index = $request->getParam('_index'); my $quantity = $request->getParam('_quantity'); if ( $index =~ /:/ ) { $request->addParam(split (/:/, $index)); $index = 0; $request->addParam('_index', $index); } if ( $quantity =~ /:/ ) { $request->addParam(split(/:/, $quantity)); $quantity = 200; $request->addParam('_quantity', $quantity); } my $client = $request->client; my $url = $request->getParam('url'); my $playlistId = $request->getParam('playlist_id'); my $menuMode = $request->getParam('menu') || 0; my $tags = { menuMode => $menuMode, }; unless ( $url || $playlistId ) { $request->setStatusBadParams(); return; } my $feed; # Default menu if ( $url ) { $feed = Slim::Menu::PlaylistInfo->menu( $client, $url, undef, $tags ); } else { my $playlist = Slim::Schema->find( Playlist => $playlistId ); $feed = Slim::Menu::PlaylistInfo->menu( $client, $playlist->url, $playlist, $tags ); } Slim::Control::XMLBrowser::cliQuery( 'playlistinfo', $feed, $request ); } 1;
22.701087
102
0.590735
ed79783b33d2b3bb3d7f416229be41aacd185f80
393,058
pm
Perl
nodejs-mobile/deps/openssl/config/archs/solaris64-x86_64-gcc/asm/configdata.pm
xuelongqy/cnode
ac256264d329e68b6c5ae3281b0e7bb5a95ae164
[ "MIT" ]
null
null
null
nodejs-mobile/deps/openssl/config/archs/solaris64-x86_64-gcc/asm/configdata.pm
xuelongqy/cnode
ac256264d329e68b6c5ae3281b0e7bb5a95ae164
[ "MIT" ]
4
2020-03-13T14:45:49.000Z
2020-03-15T16:31:22.000Z
nodejs-mobile/deps/openssl/config/archs/solaris64-x86_64-gcc/asm/configdata.pm
xuelongqy/cnode
ac256264d329e68b6c5ae3281b0e7bb5a95ae164
[ "MIT" ]
1
2020-03-15T16:02:18.000Z
2020-03-15T16:02:18.000Z
package configdata; use strict; use warnings; use Exporter; #use vars qw(@ISA @EXPORT); our @ISA = qw(Exporter); our @EXPORT = qw(%config %target %disabled %withargs %unified_info @disablables); our %config = ( b32 => "0", b64 => "0", b64l => "1", baseaddr => "0xFB00000", bn_ll => "0", build_file => "Makefile", build_file_templates => [ "Configurations/unix-Makefile.tmpl", "Configurations/common.tmpl" ], build_infos => [ "./build.info", "crypto/build.info", "ssl/build.info", "engines/build.info", "apps/build.info", "test/build.info", "util/build.info", "tools/build.info", "fuzz/build.info", "crypto/objects/build.info", "crypto/md4/build.info", "crypto/md5/build.info", "crypto/sha/build.info", "crypto/mdc2/build.info", "crypto/hmac/build.info", "crypto/ripemd/build.info", "crypto/whrlpool/build.info", "crypto/poly1305/build.info", "crypto/blake2/build.info", "crypto/des/build.info", "crypto/aes/build.info", "crypto/rc2/build.info", "crypto/rc4/build.info", "crypto/idea/build.info", "crypto/bf/build.info", "crypto/cast/build.info", "crypto/camellia/build.info", "crypto/seed/build.info", "crypto/chacha/build.info", "crypto/modes/build.info", "crypto/bn/build.info", "crypto/ec/build.info", "crypto/rsa/build.info", "crypto/dsa/build.info", "crypto/dh/build.info", "crypto/dso/build.info", "crypto/engine/build.info", "crypto/buffer/build.info", "crypto/bio/build.info", "crypto/stack/build.info", "crypto/lhash/build.info", "crypto/rand/build.info", "crypto/err/build.info", "crypto/evp/build.info", "crypto/asn1/build.info", "crypto/pem/build.info", "crypto/x509/build.info", "crypto/x509v3/build.info", "crypto/conf/build.info", "crypto/txt_db/build.info", "crypto/pkcs7/build.info", "crypto/pkcs12/build.info", "crypto/ocsp/build.info", "crypto/ui/build.info", "crypto/cms/build.info", "crypto/ts/build.info", "crypto/srp/build.info", "crypto/cmac/build.info", "crypto/ct/build.info", "crypto/async/build.info", "crypto/kdf/build.info" ], build_type => "release", builddir => ".", cc => "gcc", cflags => "", conf_files => [ "Configurations/00-base-templates.conf", "Configurations/10-main.conf" ], cross_compile_prefix => "", defines => [ "DSO_DLFCN", "HAVE_DLFCN_H", "NDEBUG", "OPENSSL_THREADS", "OPENSSL_NO_DYNAMIC_ENGINE", "OPENSSL_PIC", "OPENSSL_IA32_SSE2", "OPENSSL_BN_ASM_MONT", "OPENSSL_BN_ASM_MONT5", "OPENSSL_BN_ASM_GF2m", "SHA1_ASM", "SHA256_ASM", "SHA512_ASM", "RC4_ASM", "MD5_ASM", "AES_ASM", "VPAES_ASM", "BSAES_ASM", "GHASH_ASM", "ECP_NISTZ256_ASM", "PADLOCK_ASM", "POLY1305_ASM" ], dirs => [ "crypto", "ssl", "engines", "apps", "test", "util", "tools", "fuzz" ], dynamic_engines => "0", engdirs => [ ], ex_libs => "", export_var_as_fn => "0", fips => "0", fipslibdir => "/usr/local/ssl/fips-2.0/lib/", hashbangperl => "/usr/bin/env perl", libdir => "", major => "1", makedepprog => "gcc", minor => "1.0", openssl_algorithm_defines => [ "OPENSSL_NO_COMP", "OPENSSL_NO_MD2", "OPENSSL_NO_RC5" ], openssl_api_defines => [ ], openssl_other_defines => [ "OPENSSL_NO_AFALGENG", "OPENSSL_NO_ASAN", "OPENSSL_NO_CRYPTO_MDEBUG", "OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE", "OPENSSL_NO_EC_NISTP_64_GCC_128", "OPENSSL_NO_EGD", "OPENSSL_NO_FUZZ_AFL", "OPENSSL_NO_FUZZ_LIBFUZZER", "OPENSSL_NO_HEARTBEATS", "OPENSSL_NO_MSAN", "OPENSSL_NO_SCTP", "OPENSSL_NO_SSL_TRACE", "OPENSSL_NO_SSL3", "OPENSSL_NO_SSL3_METHOD", "OPENSSL_NO_UBSAN", "OPENSSL_NO_UNIT_TEST", "OPENSSL_NO_WEAK_SSL_CIPHERS", "OPENSSL_NO_AFALGENG" ], openssl_sys_defines => [ ], openssl_thread_defines => [ "OPENSSL_THREADS" ], openssldir => "", options => " no-afalgeng no-asan no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-fuzz-afl no-fuzz-libfuzzer no-heartbeats no-md2 no-msan no-rc5 no-sctp no-shared no-ssl-trace no-ssl3 no-ssl3-method no-ubsan no-unit-test no-weak-ssl-ciphers no-zlib no-zlib-dynamic", perl => "/usr/bin/perl", perlargv => [ "no-comp", "no-shared", "no-afalgeng", "solaris64-x86_64-gcc" ], prefix => "", processor => "", rc4_int => "unsigned int", sdirs => [ "objects", "md4", "md5", "sha", "mdc2", "hmac", "ripemd", "whrlpool", "poly1305", "blake2", "des", "aes", "rc2", "rc4", "idea", "bf", "cast", "camellia", "seed", "chacha", "modes", "bn", "ec", "rsa", "dsa", "dh", "dso", "engine", "buffer", "bio", "stack", "lhash", "rand", "err", "evp", "asn1", "pem", "x509", "x509v3", "conf", "txt_db", "pkcs7", "pkcs12", "ocsp", "ui", "cms", "ts", "srp", "cmac", "ct", "async", "kdf" ], shared_ldflag => "", shlib_major => "1", shlib_minor => "1", shlib_version_history => "", shlib_version_number => "1.1", sourcedir => ".", target => "solaris64-x86_64-gcc", version => "1.1.0i", version_num => "0x1010009fL", ); our %target = ( _conf_fname_int => [ "Configurations/00-base-templates.conf", "Configurations/00-base-templates.conf", "Configurations/10-main.conf", "Configurations/00-base-templates.conf", "Configurations/10-main.conf" ], aes_asm_src => "aes-x86_64.s vpaes-x86_64.s bsaes-x86_64.s aesni-x86_64.s aesni-sha1-x86_64.s aesni-sha256-x86_64.s aesni-mb-x86_64.s", aes_obj => "aes-x86_64.o vpaes-x86_64.o bsaes-x86_64.o aesni-x86_64.o aesni-sha1-x86_64.o aesni-sha256-x86_64.o aesni-mb-x86_64.o", apps_aux_src => "", apps_obj => "", ar => "ar", bf_asm_src => "bf_enc.c", bf_obj => "bf_enc.o", bn_asm_src => "asm/x86_64-gcc.c x86_64-mont.s x86_64-mont5.s x86_64-gf2m.s rsaz_exp.c rsaz-x86_64.s rsaz-avx2.s", bn_obj => "asm/x86_64-gcc.o x86_64-mont.o x86_64-mont5.o x86_64-gf2m.o rsaz_exp.o rsaz-x86_64.o rsaz-avx2.o", bn_ops => "SIXTY_FOUR_BIT_LONG", build_file => "Makefile", build_scheme => [ "unified", "unix" ], cast_asm_src => "c_enc.c", cast_obj => "c_enc.o", cc => "gcc", cflags => "-m64 -Wall -DL_ENDIAN -O3 -pthread -DFILIO_H", chacha_asm_src => "chacha-x86_64.s", chacha_obj => "chacha-x86_64.o", cmll_asm_src => "cmll-x86_64.s cmll_misc.c", cmll_obj => "cmll-x86_64.o cmll_misc.o", cpuid_asm_src => "x86_64cpuid.s", cpuid_obj => "x86_64cpuid.o", defines => [ ], des_asm_src => "des_enc.c fcrypt_b.c", des_obj => "des_enc.o fcrypt_b.o", dso_extension => ".so", dso_scheme => "DLFCN", ec_asm_src => "ecp_nistz256.c ecp_nistz256-x86_64.s", ec_obj => "ecp_nistz256.o ecp_nistz256-x86_64.o", ex_libs => "-lsocket -lnsl -ldl -pthread", exe_extension => "", md5_asm_src => "md5-x86_64.s", md5_obj => "md5-x86_64.o", modes_asm_src => "ghash-x86_64.s aesni-gcm-x86_64.s", modes_obj => "ghash-x86_64.o aesni-gcm-x86_64.o", multilib => "/64", nm => "nm", padlock_asm_src => "e_padlock-x86_64.s", padlock_obj => "e_padlock-x86_64.o", perlasm_scheme => "elf", poly1305_asm_src => "poly1305-x86_64.s", poly1305_obj => "poly1305-x86_64.o", ranlib => "\$(CROSS_COMPILE)ranlib", rc => "windres", rc4_asm_src => "rc4-x86_64.s rc4-md5-x86_64.s", rc4_obj => "rc4-x86_64.o rc4-md5-x86_64.o", rc5_asm_src => "rc5_enc.c", rc5_obj => "rc5_enc.o", rmd160_asm_src => "", rmd160_obj => "", sha1_asm_src => "sha1-x86_64.s sha256-x86_64.s sha512-x86_64.s sha1-mb-x86_64.s sha256-mb-x86_64.s", sha1_obj => "sha1-x86_64.o sha256-x86_64.o sha512-x86_64.o sha1-mb-x86_64.o sha256-mb-x86_64.o", shared_cflag => "-fPIC", shared_defines => [ ], shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", shared_extension_simple => ".so", shared_ldflag => "-m64 -shared -static-libgcc", shared_rcflag => "", shared_target => "solaris-shared", template => "1", thread_defines => [ ], thread_scheme => "pthreads", unistd => "<unistd.h>", uplink_aux_src => "", uplink_obj => "", wp_asm_src => "wp-x86_64.s", wp_obj => "wp-x86_64.o", ); our %available_protocols = ( tls => [ "ssl3", "tls1", "tls1_1", "tls1_2" ], dtls => [ "dtls1", "dtls1_2" ], ); our @disablables = ( "afalgeng", "asan", "asm", "async", "autoalginit", "autoerrinit", "bf", "blake2", "camellia", "capieng", "cast", "chacha", "cmac", "cms", "comp", "crypto-mdebug", "crypto-mdebug-backtrace", "ct", "deprecated", "des", "dgram", "dh", "dsa", "dso", "dtls", "dynamic-engine", "ec", "ec2m", "ecdh", "ecdsa", "ec_nistp_64_gcc_128", "egd", "engine", "err", "filenames", "fuzz-libfuzzer", "fuzz-afl", "gost", "heartbeats", "hw(-.+)?", "idea", "makedepend", "md2", "md4", "mdc2", "msan", "multiblock", "nextprotoneg", "ocb", "ocsp", "pic", "poly1305", "posix-io", "psk", "rc2", "rc4", "rc5", "rdrand", "rfc3779", "rmd160", "scrypt", "sctp", "seed", "shared", "sock", "srp", "srtp", "sse2", "ssl", "ssl-trace", "static-engine", "stdio", "threads", "tls", "ts", "ubsan", "ui", "unit-test", "whirlpool", "weak-ssl-ciphers", "zlib", "zlib-dynamic", "ssl3", "ssl3-method", "tls1", "tls1-method", "tls1_1", "tls1_1-method", "tls1_2", "tls1_2-method", "dtls1", "dtls1-method", "dtls1_2", "dtls1_2-method", ); our %disabled = ( "afalgeng" => "option", "asan" => "default", "comp" => "option", "crypto-mdebug" => "default", "crypto-mdebug-backtrace" => "default", "dynamic-engine" => "forced", "ec_nistp_64_gcc_128" => "default", "egd" => "default", "fuzz-afl" => "default", "fuzz-libfuzzer" => "default", "heartbeats" => "default", "md2" => "default", "msan" => "default", "rc5" => "default", "sctp" => "default", "shared" => "option", "ssl-trace" => "default", "ssl3" => "default", "ssl3-method" => "default", "ubsan" => "default", "unit-test" => "default", "weak-ssl-ciphers" => "default", "zlib" => "default", "zlib-dynamic" => "default", ); our %withargs = ( ); our %unified_info = ( "depends" => { "" => [ "crypto/include/internal/bn_conf.h", "crypto/include/internal/dso_conf.h", "include/openssl/opensslconf.h", ], "apps/app_rand.o" => [ "apps/progs.h", ], "apps/apps.o" => [ "apps/progs.h", ], "apps/asn1pars.o" => [ "apps/progs.h", ], "apps/ca.o" => [ "apps/progs.h", ], "apps/ciphers.o" => [ "apps/progs.h", ], "apps/cms.o" => [ "apps/progs.h", ], "apps/crl.o" => [ "apps/progs.h", ], "apps/crl2p7.o" => [ "apps/progs.h", ], "apps/dgst.o" => [ "apps/progs.h", ], "apps/dhparam.o" => [ "apps/progs.h", ], "apps/dsa.o" => [ "apps/progs.h", ], "apps/dsaparam.o" => [ "apps/progs.h", ], "apps/ec.o" => [ "apps/progs.h", ], "apps/ecparam.o" => [ "apps/progs.h", ], "apps/enc.o" => [ "apps/progs.h", ], "apps/engine.o" => [ "apps/progs.h", ], "apps/errstr.o" => [ "apps/progs.h", ], "apps/gendsa.o" => [ "apps/progs.h", ], "apps/genpkey.o" => [ "apps/progs.h", ], "apps/genrsa.o" => [ "apps/progs.h", ], "apps/nseq.o" => [ "apps/progs.h", ], "apps/ocsp.o" => [ "apps/progs.h", ], "apps/openssl" => [ "libssl", ], "apps/openssl.o" => [ "apps/progs.h", ], "apps/opt.o" => [ "apps/progs.h", ], "apps/passwd.o" => [ "apps/progs.h", ], "apps/pkcs12.o" => [ "apps/progs.h", ], "apps/pkcs7.o" => [ "apps/progs.h", ], "apps/pkcs8.o" => [ "apps/progs.h", ], "apps/pkey.o" => [ "apps/progs.h", ], "apps/pkeyparam.o" => [ "apps/progs.h", ], "apps/pkeyutl.o" => [ "apps/progs.h", ], "apps/prime.o" => [ "apps/progs.h", ], "apps/progs.h" => [ "configdata.pm", ], "apps/rand.o" => [ "apps/progs.h", ], "apps/rehash.o" => [ "apps/progs.h", ], "apps/req.o" => [ "apps/progs.h", ], "apps/rsa.o" => [ "apps/progs.h", ], "apps/rsautl.o" => [ "apps/progs.h", ], "apps/s_cb.o" => [ "apps/progs.h", ], "apps/s_client.o" => [ "apps/progs.h", ], "apps/s_server.o" => [ "apps/progs.h", ], "apps/s_socket.o" => [ "apps/progs.h", ], "apps/s_time.o" => [ "apps/progs.h", ], "apps/sess_id.o" => [ "apps/progs.h", ], "apps/smime.o" => [ "apps/progs.h", ], "apps/speed.o" => [ "apps/progs.h", ], "apps/spkac.o" => [ "apps/progs.h", ], "apps/srp.o" => [ "apps/progs.h", ], "apps/ts.o" => [ "apps/progs.h", ], "apps/verify.o" => [ "apps/progs.h", ], "apps/version.o" => [ "apps/progs.h", ], "apps/x509.o" => [ "apps/progs.h", ], "crypto/aes/aes-586.s" => [ "crypto/perlasm/x86asm.pl", ], "crypto/aes/aesni-586.s" => [ "crypto/perlasm/x86asm.pl", ], "crypto/aes/aest4-sparcv9.S" => [ "crypto/perlasm/sparcv9_modes.pl", ], "crypto/aes/vpaes-586.s" => [ "crypto/perlasm/x86asm.pl", ], "crypto/bf/bf-586.s" => [ "crypto/perlasm/cbc.pl", "crypto/perlasm/x86asm.pl", ], "crypto/bn/bn-586.s" => [ "crypto/perlasm/x86asm.pl", ], "crypto/bn/co-586.s" => [ "crypto/perlasm/x86asm.pl", ], "crypto/bn/x86-gf2m.s" => [ "crypto/perlasm/x86asm.pl", ], "crypto/bn/x86-mont.s" => [ "crypto/perlasm/x86asm.pl", ], "crypto/buildinf.h" => [ "configdata.pm", ], "crypto/camellia/cmll-x86.s" => [ "crypto/perlasm/x86asm.pl", ], "crypto/camellia/cmllt4-sparcv9.S" => [ "crypto/perlasm/sparcv9_modes.pl", ], "crypto/cast/cast-586.s" => [ "crypto/perlasm/cbc.pl", "crypto/perlasm/x86asm.pl", ], "crypto/cversion.o" => [ "crypto/buildinf.h", ], "crypto/des/crypt586.s" => [ "crypto/perlasm/cbc.pl", "crypto/perlasm/x86asm.pl", ], "crypto/des/des-586.s" => [ "crypto/perlasm/cbc.pl", "crypto/perlasm/x86asm.pl", ], "crypto/include/internal/bn_conf.h" => [ "configdata.pm", ], "crypto/include/internal/dso_conf.h" => [ "configdata.pm", ], "crypto/rc4/rc4-586.s" => [ "crypto/perlasm/x86asm.pl", ], "crypto/ripemd/rmd-586.s" => [ "crypto/perlasm/x86asm.pl", ], "crypto/sha/sha1-586.s" => [ "crypto/perlasm/x86asm.pl", ], "crypto/sha/sha256-586.s" => [ "crypto/perlasm/x86asm.pl", ], "crypto/sha/sha512-586.s" => [ "crypto/perlasm/x86asm.pl", ], "crypto/whrlpool/wp-mmx.s" => [ "crypto/perlasm/x86asm.pl", ], "crypto/x86cpuid.s" => [ "crypto/perlasm/x86asm.pl", ], "fuzz/asn1-test" => [ "libcrypto", ], "fuzz/asn1parse-test" => [ "libcrypto", ], "fuzz/bignum-test" => [ "libcrypto", ], "fuzz/bndiv-test" => [ "libcrypto", ], "fuzz/cms-test" => [ "libcrypto", ], "fuzz/conf-test" => [ "libcrypto", ], "fuzz/crl-test" => [ "libcrypto", ], "fuzz/ct-test" => [ "libcrypto", ], "fuzz/server-test" => [ "libcrypto", "libssl", ], "fuzz/x509-test" => [ "libcrypto", ], "include/openssl/opensslconf.h" => [ "configdata.pm", ], "libssl" => [ "libcrypto", ], "test/aborttest" => [ "libcrypto", ], "test/afalgtest" => [ "libcrypto", ], "test/asynciotest" => [ "libcrypto", "libssl", ], "test/asynctest" => [ "libcrypto", ], "test/bad_dtls_test" => [ "libcrypto", "libssl", ], "test/bftest" => [ "libcrypto", ], "test/bio_enc_test" => [ "libcrypto", ], "test/bioprinttest" => [ "libcrypto", ], "test/bntest" => [ "libcrypto", ], "test/buildtest_aes" => [ "libcrypto", "libssl", ], "test/buildtest_asn1" => [ "libcrypto", "libssl", ], "test/buildtest_asn1t" => [ "libcrypto", "libssl", ], "test/buildtest_async" => [ "libcrypto", "libssl", ], "test/buildtest_bio" => [ "libcrypto", "libssl", ], "test/buildtest_blowfish" => [ "libcrypto", "libssl", ], "test/buildtest_bn" => [ "libcrypto", "libssl", ], "test/buildtest_buffer" => [ "libcrypto", "libssl", ], "test/buildtest_camellia" => [ "libcrypto", "libssl", ], "test/buildtest_cast" => [ "libcrypto", "libssl", ], "test/buildtest_cmac" => [ "libcrypto", "libssl", ], "test/buildtest_cms" => [ "libcrypto", "libssl", ], "test/buildtest_conf" => [ "libcrypto", "libssl", ], "test/buildtest_conf_api" => [ "libcrypto", "libssl", ], "test/buildtest_crypto" => [ "libcrypto", "libssl", ], "test/buildtest_ct" => [ "libcrypto", "libssl", ], "test/buildtest_des" => [ "libcrypto", "libssl", ], "test/buildtest_dh" => [ "libcrypto", "libssl", ], "test/buildtest_dsa" => [ "libcrypto", "libssl", ], "test/buildtest_dtls1" => [ "libcrypto", "libssl", ], "test/buildtest_e_os2" => [ "libcrypto", "libssl", ], "test/buildtest_ebcdic" => [ "libcrypto", "libssl", ], "test/buildtest_ec" => [ "libcrypto", "libssl", ], "test/buildtest_ecdh" => [ "libcrypto", "libssl", ], "test/buildtest_ecdsa" => [ "libcrypto", "libssl", ], "test/buildtest_engine" => [ "libcrypto", "libssl", ], "test/buildtest_err" => [ "libcrypto", "libssl", ], "test/buildtest_evp" => [ "libcrypto", "libssl", ], "test/buildtest_hmac" => [ "libcrypto", "libssl", ], "test/buildtest_idea" => [ "libcrypto", "libssl", ], "test/buildtest_kdf" => [ "libcrypto", "libssl", ], "test/buildtest_lhash" => [ "libcrypto", "libssl", ], "test/buildtest_md4" => [ "libcrypto", "libssl", ], "test/buildtest_md5" => [ "libcrypto", "libssl", ], "test/buildtest_mdc2" => [ "libcrypto", "libssl", ], "test/buildtest_modes" => [ "libcrypto", "libssl", ], "test/buildtest_obj_mac" => [ "libcrypto", "libssl", ], "test/buildtest_objects" => [ "libcrypto", "libssl", ], "test/buildtest_ocsp" => [ "libcrypto", "libssl", ], "test/buildtest_opensslv" => [ "libcrypto", "libssl", ], "test/buildtest_ossl_typ" => [ "libcrypto", "libssl", ], "test/buildtest_pem" => [ "libcrypto", "libssl", ], "test/buildtest_pem2" => [ "libcrypto", "libssl", ], "test/buildtest_pkcs12" => [ "libcrypto", "libssl", ], "test/buildtest_pkcs7" => [ "libcrypto", "libssl", ], "test/buildtest_rand" => [ "libcrypto", "libssl", ], "test/buildtest_rc2" => [ "libcrypto", "libssl", ], "test/buildtest_rc4" => [ "libcrypto", "libssl", ], "test/buildtest_ripemd" => [ "libcrypto", "libssl", ], "test/buildtest_rsa" => [ "libcrypto", "libssl", ], "test/buildtest_safestack" => [ "libcrypto", "libssl", ], "test/buildtest_seed" => [ "libcrypto", "libssl", ], "test/buildtest_sha" => [ "libcrypto", "libssl", ], "test/buildtest_srp" => [ "libcrypto", "libssl", ], "test/buildtest_srtp" => [ "libcrypto", "libssl", ], "test/buildtest_ssl" => [ "libcrypto", "libssl", ], "test/buildtest_ssl2" => [ "libcrypto", "libssl", ], "test/buildtest_stack" => [ "libcrypto", "libssl", ], "test/buildtest_symhacks" => [ "libcrypto", "libssl", ], "test/buildtest_tls1" => [ "libcrypto", "libssl", ], "test/buildtest_ts" => [ "libcrypto", "libssl", ], "test/buildtest_txt_db" => [ "libcrypto", "libssl", ], "test/buildtest_ui" => [ "libcrypto", "libssl", ], "test/buildtest_whrlpool" => [ "libcrypto", "libssl", ], "test/buildtest_x509" => [ "libcrypto", "libssl", ], "test/buildtest_x509_vfy" => [ "libcrypto", "libssl", ], "test/buildtest_x509v3" => [ "libcrypto", "libssl", ], "test/casttest" => [ "libcrypto", ], "test/cipherlist_test" => [ "libcrypto", "libssl", ], "test/clienthellotest" => [ "libcrypto", "libssl", ], "test/constant_time_test" => [ "libcrypto", ], "test/crltest" => [ "libcrypto", ], "test/ct_test" => [ "libcrypto", ], "test/d2i_test" => [ "libcrypto", ], "test/danetest" => [ "libcrypto", "libssl", ], "test/destest" => [ "libcrypto", ], "test/dhtest" => [ "libcrypto", ], "test/dsatest" => [ "libcrypto", ], "test/dtlstest" => [ "libcrypto", "libssl", ], "test/dtlsv1listentest" => [ "libssl", ], "test/ecdsatest" => [ "libcrypto", ], "test/ectest" => [ "libcrypto", ], "test/enginetest" => [ "libcrypto", ], "test/errtest" => [ "libcrypto", ], "test/evp_extra_test" => [ "libcrypto", ], "test/evp_test" => [ "libcrypto", ], "test/exdatatest" => [ "libcrypto", ], "test/exptest" => [ "libcrypto", ], "test/fatalerrtest" => [ "libcrypto", "libssl", ], "test/gmdifftest" => [ "libcrypto", ], "test/heartbeat_test" => [ "libcrypto", "libssl", ], "test/hmactest" => [ "libcrypto", ], "test/ideatest" => [ "libcrypto", ], "test/igetest" => [ "libcrypto", ], "test/md2test" => [ "libcrypto", ], "test/md4test" => [ "libcrypto", ], "test/md5test" => [ "libcrypto", ], "test/mdc2test" => [ "libcrypto", ], "test/memleaktest" => [ "libcrypto", ], "test/ocspapitest" => [ "libcrypto", ], "test/p5_crpt2_test" => [ "libcrypto", ], "test/packettest" => [ "libcrypto", ], "test/pbelutest" => [ "libcrypto", ], "test/randtest" => [ "libcrypto", ], "test/rc2test" => [ "libcrypto", ], "test/rc4test" => [ "libcrypto", ], "test/rc5test" => [ "libcrypto", ], "test/rmdtest" => [ "libcrypto", ], "test/rsa_test" => [ "libcrypto", ], "test/sanitytest" => [ "libcrypto", ], "test/secmemtest" => [ "libcrypto", ], "test/sha1test" => [ "libcrypto", ], "test/sha256t" => [ "libcrypto", ], "test/sha512t" => [ "libcrypto", ], "test/srptest" => [ "libcrypto", ], "test/ssl_test" => [ "libcrypto", "libssl", ], "test/ssl_test_ctx_test" => [ "libcrypto", ], "test/sslapitest" => [ "libcrypto", "libssl", ], "test/sslcorrupttest" => [ "libcrypto", "libssl", ], "test/ssltest_old" => [ "libcrypto", "libssl", ], "test/threadstest" => [ "libcrypto", ], "test/v3ext" => [ "libcrypto", ], "test/v3nametest" => [ "libcrypto", ], "test/verify_extra_test" => [ "libcrypto", ], "test/versions" => [ "libcrypto", ], "test/wp_test" => [ "libcrypto", ], "test/x509_dup_cert_test" => [ "libcrypto", ], "test/x509_time_test" => [ "libcrypto", ], "test/x509aux" => [ "libcrypto", ], }, "engines" => [ ], "extra" => [ "crypto/alphacpuid.pl", "crypto/arm64cpuid.pl", "crypto/armv4cpuid.pl", "crypto/ia64cpuid.S", "crypto/pariscid.pl", "crypto/ppccpuid.pl", "crypto/x86_64cpuid.pl", "crypto/x86cpuid.pl", "ms/applink.c", "ms/uplink-x86.pl", "ms/uplink.c", ], "generate" => { "apps/progs.h" => [ "apps/progs.pl", "\$(APPS_OPENSSL)", ], "crypto/aes/aes-586.s" => [ "crypto/aes/asm/aes-586.pl", "\$(PERLASM_SCHEME)", "\$(CFLAGS)", "\$(LIB_CFLAGS)", "\$(PROCESSOR)", ], "crypto/aes/aes-armv4.S" => [ "crypto/aes/asm/aes-armv4.pl", "\$(PERLASM_SCHEME)", ], "crypto/aes/aes-ia64.s" => [ "crypto/aes/asm/aes-ia64.S", ], "crypto/aes/aes-mips.S" => [ "crypto/aes/asm/aes-mips.pl", "\$(PERLASM_SCHEME)", ], "crypto/aes/aes-parisc.s" => [ "crypto/aes/asm/aes-parisc.pl", "\$(PERLASM_SCHEME)", ], "crypto/aes/aes-ppc.s" => [ "crypto/aes/asm/aes-ppc.pl", "\$(PERLASM_SCHEME)", ], "crypto/aes/aes-s390x.S" => [ "crypto/aes/asm/aes-s390x.pl", "\$(PERLASM_SCHEME)", ], "crypto/aes/aes-sparcv9.S" => [ "crypto/aes/asm/aes-sparcv9.pl", "\$(PERLASM_SCHEME)", ], "crypto/aes/aes-x86_64.s" => [ "crypto/aes/asm/aes-x86_64.pl", "\$(PERLASM_SCHEME)", ], "crypto/aes/aesfx-sparcv9.S" => [ "crypto/aes/asm/aesfx-sparcv9.pl", "\$(PERLASM_SCHEME)", ], "crypto/aes/aesni-mb-x86_64.s" => [ "crypto/aes/asm/aesni-mb-x86_64.pl", "\$(PERLASM_SCHEME)", ], "crypto/aes/aesni-sha1-x86_64.s" => [ "crypto/aes/asm/aesni-sha1-x86_64.pl", "\$(PERLASM_SCHEME)", ], "crypto/aes/aesni-sha256-x86_64.s" => [ "crypto/aes/asm/aesni-sha256-x86_64.pl", "\$(PERLASM_SCHEME)", ], "crypto/aes/aesni-x86.s" => [ "crypto/aes/asm/aesni-x86.pl", "\$(PERLASM_SCHEME)", "\$(CFLAGS)", "\$(LIB_CFLAGS)", "\$(PROCESSOR)", ], "crypto/aes/aesni-x86_64.s" => [ "crypto/aes/asm/aesni-x86_64.pl", "\$(PERLASM_SCHEME)", ], "crypto/aes/aesp8-ppc.s" => [ "crypto/aes/asm/aesp8-ppc.pl", "\$(PERLASM_SCHEME)", ], "crypto/aes/aest4-sparcv9.S" => [ "crypto/aes/asm/aest4-sparcv9.pl", "\$(PERLASM_SCHEME)", ], "crypto/aes/aesv8-armx.S" => [ "crypto/aes/asm/aesv8-armx.pl", "\$(PERLASM_SCHEME)", ], "crypto/aes/bsaes-armv7.S" => [ "crypto/aes/asm/bsaes-armv7.pl", "\$(PERLASM_SCHEME)", ], "crypto/aes/bsaes-x86_64.s" => [ "crypto/aes/asm/bsaes-x86_64.pl", "\$(PERLASM_SCHEME)", ], "crypto/aes/vpaes-armv8.S" => [ "crypto/aes/asm/vpaes-armv8.pl", "\$(PERLASM_SCHEME)", ], "crypto/aes/vpaes-ppc.s" => [ "crypto/aes/asm/vpaes-ppc.pl", "\$(PERLASM_SCHEME)", ], "crypto/aes/vpaes-x86.s" => [ "crypto/aes/asm/vpaes-x86.pl", "\$(PERLASM_SCHEME)", "\$(CFLAGS)", "\$(LIB_CFLAGS)", "\$(PROCESSOR)", ], "crypto/aes/vpaes-x86_64.s" => [ "crypto/aes/asm/vpaes-x86_64.pl", "\$(PERLASM_SCHEME)", ], "crypto/alphacpuid.s" => [ "crypto/alphacpuid.pl", ], "crypto/arm64cpuid.S" => [ "crypto/arm64cpuid.pl", "\$(PERLASM_SCHEME)", ], "crypto/armv4cpuid.S" => [ "crypto/armv4cpuid.pl", "\$(PERLASM_SCHEME)", ], "crypto/bf/bf-586.s" => [ "crypto/bf/asm/bf-586.pl", "\$(PERLASM_SCHEME)", "\$(CFLAGS)", "\$(LIB_CFLAGS)", "\$(PROCESSOR)", ], "crypto/bn/alpha-mont.S" => [ "crypto/bn/asm/alpha-mont.pl", "\$(PERLASM_SCHEME)", ], "crypto/bn/armv4-gf2m.S" => [ "crypto/bn/asm/armv4-gf2m.pl", "\$(PERLASM_SCHEME)", ], "crypto/bn/armv4-mont.S" => [ "crypto/bn/asm/armv4-mont.pl", "\$(PERLASM_SCHEME)", ], "crypto/bn/armv8-mont.S" => [ "crypto/bn/asm/armv8-mont.pl", "\$(PERLASM_SCHEME)", ], "crypto/bn/bn-586.s" => [ "crypto/bn/asm/bn-586.pl", "\$(PERLASM_SCHEME)", "\$(CFLAGS)", "\$(LIB_CFLAGS)", "\$(PROCESSOR)", ], "crypto/bn/bn-ia64.s" => [ "crypto/bn/asm/ia64.S", ], "crypto/bn/bn-mips.s" => [ "crypto/bn/asm/mips.pl", "\$(PERLASM_SCHEME)", ], "crypto/bn/bn-ppc.s" => [ "crypto/bn/asm/ppc.pl", "\$(PERLASM_SCHEME)", ], "crypto/bn/co-586.s" => [ "crypto/bn/asm/co-586.pl", "\$(PERLASM_SCHEME)", "\$(CFLAGS)", "\$(LIB_CFLAGS)", "\$(PROCESSOR)", ], "crypto/bn/ia64-mont.s" => [ "crypto/bn/asm/ia64-mont.pl", "\$(CFLAGS)", "\$(LIB_CFLAGS)", ], "crypto/bn/mips-mont.s" => [ "crypto/bn/asm/mips-mont.pl", "\$(PERLASM_SCHEME)", ], "crypto/bn/parisc-mont.s" => [ "crypto/bn/asm/parisc-mont.pl", "\$(PERLASM_SCHEME)", ], "crypto/bn/ppc-mont.s" => [ "crypto/bn/asm/ppc-mont.pl", "\$(PERLASM_SCHEME)", ], "crypto/bn/ppc64-mont.s" => [ "crypto/bn/asm/ppc64-mont.pl", "\$(PERLASM_SCHEME)", ], "crypto/bn/rsaz-avx2.s" => [ "crypto/bn/asm/rsaz-avx2.pl", "\$(PERLASM_SCHEME)", ], "crypto/bn/rsaz-x86_64.s" => [ "crypto/bn/asm/rsaz-x86_64.pl", "\$(PERLASM_SCHEME)", ], "crypto/bn/s390x-gf2m.s" => [ "crypto/bn/asm/s390x-gf2m.pl", "\$(PERLASM_SCHEME)", ], "crypto/bn/s390x-mont.S" => [ "crypto/bn/asm/s390x-mont.pl", "\$(PERLASM_SCHEME)", ], "crypto/bn/sparct4-mont.S" => [ "crypto/bn/asm/sparct4-mont.pl", "\$(PERLASM_SCHEME)", ], "crypto/bn/sparcv9-gf2m.S" => [ "crypto/bn/asm/sparcv9-gf2m.pl", "\$(PERLASM_SCHEME)", ], "crypto/bn/sparcv9-mont.S" => [ "crypto/bn/asm/sparcv9-mont.pl", "\$(PERLASM_SCHEME)", ], "crypto/bn/sparcv9a-mont.S" => [ "crypto/bn/asm/sparcv9a-mont.pl", "\$(PERLASM_SCHEME)", ], "crypto/bn/vis3-mont.S" => [ "crypto/bn/asm/vis3-mont.pl", "\$(PERLASM_SCHEME)", ], "crypto/bn/x86-gf2m.s" => [ "crypto/bn/asm/x86-gf2m.pl", "\$(PERLASM_SCHEME)", "\$(CFLAGS)", "\$(LIB_CFLAGS)", "\$(PROCESSOR)", ], "crypto/bn/x86-mont.s" => [ "crypto/bn/asm/x86-mont.pl", "\$(PERLASM_SCHEME)", "\$(CFLAGS)", "\$(LIB_CFLAGS)", "\$(PROCESSOR)", ], "crypto/bn/x86_64-gf2m.s" => [ "crypto/bn/asm/x86_64-gf2m.pl", "\$(PERLASM_SCHEME)", ], "crypto/bn/x86_64-mont.s" => [ "crypto/bn/asm/x86_64-mont.pl", "\$(PERLASM_SCHEME)", ], "crypto/bn/x86_64-mont5.s" => [ "crypto/bn/asm/x86_64-mont5.pl", "\$(PERLASM_SCHEME)", ], "crypto/buildinf.h" => [ "util/mkbuildinf.pl", "\"\$(CC)", "\$(CFLAGS_Q)\"", "\"\$(PLATFORM)\"", ], "crypto/camellia/cmll-x86.s" => [ "crypto/camellia/asm/cmll-x86.pl", "\$(PERLASM_SCHEME)", "\$(CFLAGS)", "\$(LIB_CFLAGS)", "\$(PROCESSOR)", ], "crypto/camellia/cmll-x86_64.s" => [ "crypto/camellia/asm/cmll-x86_64.pl", "\$(PERLASM_SCHEME)", ], "crypto/camellia/cmllt4-sparcv9.S" => [ "crypto/camellia/asm/cmllt4-sparcv9.pl", "\$(PERLASM_SCHEME)", ], "crypto/cast/cast-586.s" => [ "crypto/cast/asm/cast-586.pl", "\$(PERLASM_SCHEME)", "\$(CFLAGS)", "\$(LIB_CFLAGS)", "\$(PROCESSOR)", ], "crypto/chacha/chacha-armv4.S" => [ "crypto/chacha/asm/chacha-armv4.pl", "\$(PERLASM_SCHEME)", ], "crypto/chacha/chacha-armv8.S" => [ "crypto/chacha/asm/chacha-armv8.pl", "\$(PERLASM_SCHEME)", ], "crypto/chacha/chacha-ppc.s" => [ "crypto/chacha/asm/chacha-ppc.pl", "\$(PERLASM_SCHEME)", ], "crypto/chacha/chacha-s390x.S" => [ "crypto/chacha/asm/chacha-s390x.pl", "\$(PERLASM_SCHEME)", ], "crypto/chacha/chacha-x86.s" => [ "crypto/chacha/asm/chacha-x86.pl", "\$(PERLASM_SCHEME)", "\$(CFLAGS)", "\$(LIB_CFLAGS)", "\$(PROCESSOR)", ], "crypto/chacha/chacha-x86_64.s" => [ "crypto/chacha/asm/chacha-x86_64.pl", "\$(PERLASM_SCHEME)", ], "crypto/des/crypt586.s" => [ "crypto/des/asm/crypt586.pl", "\$(PERLASM_SCHEME)", "\$(CFLAGS)", "\$(LIB_CFLAGS)", ], "crypto/des/des-586.s" => [ "crypto/des/asm/des-586.pl", "\$(PERLASM_SCHEME)", "\$(CFLAGS)", "\$(LIB_CFLAGS)", ], "crypto/des/des_enc-sparc.S" => [ "crypto/des/asm/des_enc.m4", ], "crypto/des/dest4-sparcv9.S" => [ "crypto/des/asm/dest4-sparcv9.pl", "\$(PERLASM_SCHEME)", ], "crypto/ec/ecp_nistz256-armv4.S" => [ "crypto/ec/asm/ecp_nistz256-armv4.pl", "\$(PERLASM_SCHEME)", ], "crypto/ec/ecp_nistz256-armv8.S" => [ "crypto/ec/asm/ecp_nistz256-armv8.pl", "\$(PERLASM_SCHEME)", ], "crypto/ec/ecp_nistz256-avx2.s" => [ "crypto/ec/asm/ecp_nistz256-avx2.pl", "\$(PERLASM_SCHEME)", ], "crypto/ec/ecp_nistz256-sparcv9.S" => [ "crypto/ec/asm/ecp_nistz256-sparcv9.pl", "\$(PERLASM_SCHEME)", ], "crypto/ec/ecp_nistz256-x86.s" => [ "crypto/ec/asm/ecp_nistz256-x86.pl", "\$(PERLASM_SCHEME)", "\$(CFLAGS)", "\$(LIB_CFLAGS)", "\$(PROCESSOR)", ], "crypto/ec/ecp_nistz256-x86_64.s" => [ "crypto/ec/asm/ecp_nistz256-x86_64.pl", "\$(PERLASM_SCHEME)", ], "crypto/ia64cpuid.s" => [ "crypto/ia64cpuid.S", ], "crypto/include/internal/bn_conf.h" => [ "crypto/include/internal/bn_conf.h.in", ], "crypto/include/internal/dso_conf.h" => [ "crypto/include/internal/dso_conf.h.in", ], "crypto/md5/md5-586.s" => [ "crypto/md5/asm/md5-586.pl", "\$(PERLASM_SCHEME)", "\$(CFLAGS)", "\$(LIB_CFLAGS)", ], "crypto/md5/md5-sparcv9.S" => [ "crypto/md5/asm/md5-sparcv9.pl", "\$(PERLASM_SCHEME)", ], "crypto/md5/md5-x86_64.s" => [ "crypto/md5/asm/md5-x86_64.pl", "\$(PERLASM_SCHEME)", ], "crypto/modes/aesni-gcm-x86_64.s" => [ "crypto/modes/asm/aesni-gcm-x86_64.pl", "\$(PERLASM_SCHEME)", ], "crypto/modes/ghash-alpha.S" => [ "crypto/modes/asm/ghash-alpha.pl", "\$(PERLASM_SCHEME)", ], "crypto/modes/ghash-armv4.S" => [ "crypto/modes/asm/ghash-armv4.pl", "\$(PERLASM_SCHEME)", ], "crypto/modes/ghash-ia64.s" => [ "crypto/modes/asm/ghash-ia64.pl", "\$(CFLAGS)", "\$(LIB_CFLAGS)", ], "crypto/modes/ghash-parisc.s" => [ "crypto/modes/asm/ghash-parisc.pl", "\$(PERLASM_SCHEME)", ], "crypto/modes/ghash-s390x.S" => [ "crypto/modes/asm/ghash-s390x.pl", "\$(PERLASM_SCHEME)", ], "crypto/modes/ghash-sparcv9.S" => [ "crypto/modes/asm/ghash-sparcv9.pl", "\$(PERLASM_SCHEME)", ], "crypto/modes/ghash-x86.s" => [ "crypto/modes/asm/ghash-x86.pl", "\$(PERLASM_SCHEME)", "\$(CFLAGS)", "\$(LIB_CFLAGS)", "\$(PROCESSOR)", ], "crypto/modes/ghash-x86_64.s" => [ "crypto/modes/asm/ghash-x86_64.pl", "\$(PERLASM_SCHEME)", ], "crypto/modes/ghashp8-ppc.s" => [ "crypto/modes/asm/ghashp8-ppc.pl", "\$(PERLASM_SCHEME)", ], "crypto/modes/ghashv8-armx.S" => [ "crypto/modes/asm/ghashv8-armx.pl", "\$(PERLASM_SCHEME)", ], "crypto/pariscid.s" => [ "crypto/pariscid.pl", "\$(PERLASM_SCHEME)", ], "crypto/poly1305/poly1305-armv4.S" => [ "crypto/poly1305/asm/poly1305-armv4.pl", "\$(PERLASM_SCHEME)", ], "crypto/poly1305/poly1305-armv8.S" => [ "crypto/poly1305/asm/poly1305-armv8.pl", "\$(PERLASM_SCHEME)", ], "crypto/poly1305/poly1305-mips.S" => [ "crypto/poly1305/asm/poly1305-mips.pl", "\$(PERLASM_SCHEME)", ], "crypto/poly1305/poly1305-ppc.s" => [ "crypto/poly1305/asm/poly1305-ppc.pl", "\$(PERLASM_SCHEME)", ], "crypto/poly1305/poly1305-ppcfp.s" => [ "crypto/poly1305/asm/poly1305-ppcfp.pl", "\$(PERLASM_SCHEME)", ], "crypto/poly1305/poly1305-s390x.S" => [ "crypto/poly1305/asm/poly1305-s390x.pl", "\$(PERLASM_SCHEME)", ], "crypto/poly1305/poly1305-sparcv9.S" => [ "crypto/poly1305/asm/poly1305-sparcv9.pl", "\$(PERLASM_SCHEME)", ], "crypto/poly1305/poly1305-x86.s" => [ "crypto/poly1305/asm/poly1305-x86.pl", "\$(PERLASM_SCHEME)", "\$(CFLAGS)", "\$(LIB_CFLAGS)", "\$(PROCESSOR)", ], "crypto/poly1305/poly1305-x86_64.s" => [ "crypto/poly1305/asm/poly1305-x86_64.pl", "\$(PERLASM_SCHEME)", ], "crypto/ppccpuid.s" => [ "crypto/ppccpuid.pl", "\$(PERLASM_SCHEME)", ], "crypto/rc4/rc4-586.s" => [ "crypto/rc4/asm/rc4-586.pl", "\$(PERLASM_SCHEME)", "\$(CFLAGS)", "\$(LIB_CFLAGS)", "\$(PROCESSOR)", ], "crypto/rc4/rc4-md5-x86_64.s" => [ "crypto/rc4/asm/rc4-md5-x86_64.pl", "\$(PERLASM_SCHEME)", ], "crypto/rc4/rc4-parisc.s" => [ "crypto/rc4/asm/rc4-parisc.pl", "\$(PERLASM_SCHEME)", ], "crypto/rc4/rc4-s390x.s" => [ "crypto/rc4/asm/rc4-s390x.pl", "\$(PERLASM_SCHEME)", ], "crypto/rc4/rc4-x86_64.s" => [ "crypto/rc4/asm/rc4-x86_64.pl", "\$(PERLASM_SCHEME)", ], "crypto/ripemd/rmd-586.s" => [ "crypto/ripemd/asm/rmd-586.pl", "\$(PERLASM_SCHEME)", "\$(CFLAGS)", "\$(LIB_CFLAGS)", ], "crypto/sha/sha1-586.s" => [ "crypto/sha/asm/sha1-586.pl", "\$(PERLASM_SCHEME)", "\$(CFLAGS)", "\$(LIB_CFLAGS)", "\$(PROCESSOR)", ], "crypto/sha/sha1-alpha.S" => [ "crypto/sha/asm/sha1-alpha.pl", "\$(PERLASM_SCHEME)", ], "crypto/sha/sha1-armv4-large.S" => [ "crypto/sha/asm/sha1-armv4-large.pl", "\$(PERLASM_SCHEME)", ], "crypto/sha/sha1-armv8.S" => [ "crypto/sha/asm/sha1-armv8.pl", "\$(PERLASM_SCHEME)", ], "crypto/sha/sha1-ia64.s" => [ "crypto/sha/asm/sha1-ia64.pl", "\$(CFLAGS)", "\$(LIB_CFLAGS)", ], "crypto/sha/sha1-mb-x86_64.s" => [ "crypto/sha/asm/sha1-mb-x86_64.pl", "\$(PERLASM_SCHEME)", ], "crypto/sha/sha1-mips.S" => [ "crypto/sha/asm/sha1-mips.pl", "\$(PERLASM_SCHEME)", ], "crypto/sha/sha1-parisc.s" => [ "crypto/sha/asm/sha1-parisc.pl", "\$(PERLASM_SCHEME)", ], "crypto/sha/sha1-ppc.s" => [ "crypto/sha/asm/sha1-ppc.pl", "\$(PERLASM_SCHEME)", ], "crypto/sha/sha1-s390x.S" => [ "crypto/sha/asm/sha1-s390x.pl", "\$(PERLASM_SCHEME)", ], "crypto/sha/sha1-sparcv9.S" => [ "crypto/sha/asm/sha1-sparcv9.pl", "\$(PERLASM_SCHEME)", ], "crypto/sha/sha1-x86_64.s" => [ "crypto/sha/asm/sha1-x86_64.pl", "\$(PERLASM_SCHEME)", ], "crypto/sha/sha256-586.s" => [ "crypto/sha/asm/sha256-586.pl", "\$(PERLASM_SCHEME)", "\$(CFLAGS)", "\$(LIB_CFLAGS)", "\$(PROCESSOR)", ], "crypto/sha/sha256-armv4.S" => [ "crypto/sha/asm/sha256-armv4.pl", "\$(PERLASM_SCHEME)", ], "crypto/sha/sha256-armv8.S" => [ "crypto/sha/asm/sha512-armv8.pl", "\$(PERLASM_SCHEME)", ], "crypto/sha/sha256-ia64.s" => [ "crypto/sha/asm/sha512-ia64.pl", "\$(CFLAGS)", "\$(LIB_CFLAGS)", ], "crypto/sha/sha256-mb-x86_64.s" => [ "crypto/sha/asm/sha256-mb-x86_64.pl", "\$(PERLASM_SCHEME)", ], "crypto/sha/sha256-mips.S" => [ "crypto/sha/asm/sha512-mips.pl", "\$(PERLASM_SCHEME)", ], "crypto/sha/sha256-parisc.s" => [ "crypto/sha/asm/sha512-parisc.pl", "\$(PERLASM_SCHEME)", ], "crypto/sha/sha256-ppc.s" => [ "crypto/sha/asm/sha512-ppc.pl", "\$(PERLASM_SCHEME)", ], "crypto/sha/sha256-s390x.S" => [ "crypto/sha/asm/sha512-s390x.pl", "\$(PERLASM_SCHEME)", ], "crypto/sha/sha256-sparcv9.S" => [ "crypto/sha/asm/sha512-sparcv9.pl", "\$(PERLASM_SCHEME)", ], "crypto/sha/sha256-x86_64.s" => [ "crypto/sha/asm/sha512-x86_64.pl", "\$(PERLASM_SCHEME)", ], "crypto/sha/sha256p8-ppc.s" => [ "crypto/sha/asm/sha512p8-ppc.pl", "\$(PERLASM_SCHEME)", ], "crypto/sha/sha512-586.s" => [ "crypto/sha/asm/sha512-586.pl", "\$(PERLASM_SCHEME)", "\$(CFLAGS)", "\$(LIB_CFLAGS)", "\$(PROCESSOR)", ], "crypto/sha/sha512-armv4.S" => [ "crypto/sha/asm/sha512-armv4.pl", "\$(PERLASM_SCHEME)", ], "crypto/sha/sha512-armv8.S" => [ "crypto/sha/asm/sha512-armv8.pl", "\$(PERLASM_SCHEME)", ], "crypto/sha/sha512-ia64.s" => [ "crypto/sha/asm/sha512-ia64.pl", "\$(CFLAGS)", "\$(LIB_CFLAGS)", ], "crypto/sha/sha512-mips.S" => [ "crypto/sha/asm/sha512-mips.pl", "\$(PERLASM_SCHEME)", ], "crypto/sha/sha512-parisc.s" => [ "crypto/sha/asm/sha512-parisc.pl", "\$(PERLASM_SCHEME)", ], "crypto/sha/sha512-ppc.s" => [ "crypto/sha/asm/sha512-ppc.pl", "\$(PERLASM_SCHEME)", ], "crypto/sha/sha512-s390x.S" => [ "crypto/sha/asm/sha512-s390x.pl", "\$(PERLASM_SCHEME)", ], "crypto/sha/sha512-sparcv9.S" => [ "crypto/sha/asm/sha512-sparcv9.pl", "\$(PERLASM_SCHEME)", ], "crypto/sha/sha512-x86_64.s" => [ "crypto/sha/asm/sha512-x86_64.pl", "\$(PERLASM_SCHEME)", ], "crypto/sha/sha512p8-ppc.s" => [ "crypto/sha/asm/sha512p8-ppc.pl", "\$(PERLASM_SCHEME)", ], "crypto/uplink-ia64.s" => [ "ms/uplink-ia64.pl", "\$(PERLASM_SCHEME)", ], "crypto/uplink-x86.s" => [ "ms/uplink-x86.pl", "\$(PERLASM_SCHEME)", ], "crypto/uplink-x86_64.s" => [ "ms/uplink-x86_64.pl", "\$(PERLASM_SCHEME)", ], "crypto/whrlpool/wp-mmx.s" => [ "crypto/whrlpool/asm/wp-mmx.pl", "\$(PERLASM_SCHEME)", "\$(CFLAGS)", "\$(LIB_CFLAGS)", "\$(PROCESSOR)", ], "crypto/whrlpool/wp-x86_64.s" => [ "crypto/whrlpool/asm/wp-x86_64.pl", "\$(PERLASM_SCHEME)", ], "crypto/x86_64cpuid.s" => [ "crypto/x86_64cpuid.pl", "\$(PERLASM_SCHEME)", ], "crypto/x86cpuid.s" => [ "crypto/x86cpuid.pl", "\$(PERLASM_SCHEME)", "\$(CFLAGS)", "\$(LIB_CFLAGS)", "\$(PROCESSOR)", ], "engines/e_padlock-x86.s" => [ "engines/asm/e_padlock-x86.pl", "\$(PERLASM_SCHEME)", "\$(CFLAGS)", "\$(LIB_CFLAGS)", "\$(PROCESSOR)", ], "engines/e_padlock-x86_64.s" => [ "engines/asm/e_padlock-x86_64.pl", "\$(PERLASM_SCHEME)", ], "include/openssl/opensslconf.h" => [ "include/openssl/opensslconf.h.in", ], "test/buildtest_aes.c" => [ "test/generate_buildtest.pl", "aes", ], "test/buildtest_asn1.c" => [ "test/generate_buildtest.pl", "asn1", ], "test/buildtest_asn1t.c" => [ "test/generate_buildtest.pl", "asn1t", ], "test/buildtest_async.c" => [ "test/generate_buildtest.pl", "async", ], "test/buildtest_bio.c" => [ "test/generate_buildtest.pl", "bio", ], "test/buildtest_blowfish.c" => [ "test/generate_buildtest.pl", "blowfish", ], "test/buildtest_bn.c" => [ "test/generate_buildtest.pl", "bn", ], "test/buildtest_buffer.c" => [ "test/generate_buildtest.pl", "buffer", ], "test/buildtest_camellia.c" => [ "test/generate_buildtest.pl", "camellia", ], "test/buildtest_cast.c" => [ "test/generate_buildtest.pl", "cast", ], "test/buildtest_cmac.c" => [ "test/generate_buildtest.pl", "cmac", ], "test/buildtest_cms.c" => [ "test/generate_buildtest.pl", "cms", ], "test/buildtest_conf.c" => [ "test/generate_buildtest.pl", "conf", ], "test/buildtest_conf_api.c" => [ "test/generate_buildtest.pl", "conf_api", ], "test/buildtest_crypto.c" => [ "test/generate_buildtest.pl", "crypto", ], "test/buildtest_ct.c" => [ "test/generate_buildtest.pl", "ct", ], "test/buildtest_des.c" => [ "test/generate_buildtest.pl", "des", ], "test/buildtest_dh.c" => [ "test/generate_buildtest.pl", "dh", ], "test/buildtest_dsa.c" => [ "test/generate_buildtest.pl", "dsa", ], "test/buildtest_dtls1.c" => [ "test/generate_buildtest.pl", "dtls1", ], "test/buildtest_e_os2.c" => [ "test/generate_buildtest.pl", "e_os2", ], "test/buildtest_ebcdic.c" => [ "test/generate_buildtest.pl", "ebcdic", ], "test/buildtest_ec.c" => [ "test/generate_buildtest.pl", "ec", ], "test/buildtest_ecdh.c" => [ "test/generate_buildtest.pl", "ecdh", ], "test/buildtest_ecdsa.c" => [ "test/generate_buildtest.pl", "ecdsa", ], "test/buildtest_engine.c" => [ "test/generate_buildtest.pl", "engine", ], "test/buildtest_err.c" => [ "test/generate_buildtest.pl", "err", ], "test/buildtest_evp.c" => [ "test/generate_buildtest.pl", "evp", ], "test/buildtest_hmac.c" => [ "test/generate_buildtest.pl", "hmac", ], "test/buildtest_idea.c" => [ "test/generate_buildtest.pl", "idea", ], "test/buildtest_kdf.c" => [ "test/generate_buildtest.pl", "kdf", ], "test/buildtest_lhash.c" => [ "test/generate_buildtest.pl", "lhash", ], "test/buildtest_md4.c" => [ "test/generate_buildtest.pl", "md4", ], "test/buildtest_md5.c" => [ "test/generate_buildtest.pl", "md5", ], "test/buildtest_mdc2.c" => [ "test/generate_buildtest.pl", "mdc2", ], "test/buildtest_modes.c" => [ "test/generate_buildtest.pl", "modes", ], "test/buildtest_obj_mac.c" => [ "test/generate_buildtest.pl", "obj_mac", ], "test/buildtest_objects.c" => [ "test/generate_buildtest.pl", "objects", ], "test/buildtest_ocsp.c" => [ "test/generate_buildtest.pl", "ocsp", ], "test/buildtest_opensslv.c" => [ "test/generate_buildtest.pl", "opensslv", ], "test/buildtest_ossl_typ.c" => [ "test/generate_buildtest.pl", "ossl_typ", ], "test/buildtest_pem.c" => [ "test/generate_buildtest.pl", "pem", ], "test/buildtest_pem2.c" => [ "test/generate_buildtest.pl", "pem2", ], "test/buildtest_pkcs12.c" => [ "test/generate_buildtest.pl", "pkcs12", ], "test/buildtest_pkcs7.c" => [ "test/generate_buildtest.pl", "pkcs7", ], "test/buildtest_rand.c" => [ "test/generate_buildtest.pl", "rand", ], "test/buildtest_rc2.c" => [ "test/generate_buildtest.pl", "rc2", ], "test/buildtest_rc4.c" => [ "test/generate_buildtest.pl", "rc4", ], "test/buildtest_ripemd.c" => [ "test/generate_buildtest.pl", "ripemd", ], "test/buildtest_rsa.c" => [ "test/generate_buildtest.pl", "rsa", ], "test/buildtest_safestack.c" => [ "test/generate_buildtest.pl", "safestack", ], "test/buildtest_seed.c" => [ "test/generate_buildtest.pl", "seed", ], "test/buildtest_sha.c" => [ "test/generate_buildtest.pl", "sha", ], "test/buildtest_srp.c" => [ "test/generate_buildtest.pl", "srp", ], "test/buildtest_srtp.c" => [ "test/generate_buildtest.pl", "srtp", ], "test/buildtest_ssl.c" => [ "test/generate_buildtest.pl", "ssl", ], "test/buildtest_ssl2.c" => [ "test/generate_buildtest.pl", "ssl2", ], "test/buildtest_stack.c" => [ "test/generate_buildtest.pl", "stack", ], "test/buildtest_symhacks.c" => [ "test/generate_buildtest.pl", "symhacks", ], "test/buildtest_tls1.c" => [ "test/generate_buildtest.pl", "tls1", ], "test/buildtest_ts.c" => [ "test/generate_buildtest.pl", "ts", ], "test/buildtest_txt_db.c" => [ "test/generate_buildtest.pl", "txt_db", ], "test/buildtest_ui.c" => [ "test/generate_buildtest.pl", "ui", ], "test/buildtest_whrlpool.c" => [ "test/generate_buildtest.pl", "whrlpool", ], "test/buildtest_x509.c" => [ "test/generate_buildtest.pl", "x509", ], "test/buildtest_x509_vfy.c" => [ "test/generate_buildtest.pl", "x509_vfy", ], "test/buildtest_x509v3.c" => [ "test/generate_buildtest.pl", "x509v3", ], }, "includes" => { "apps/app_rand.o" => [ ".", "include", "apps", ], "apps/apps.o" => [ ".", "include", "apps", ], "apps/asn1pars.o" => [ ".", "include", "apps", ], "apps/ca.o" => [ ".", "include", "apps", ], "apps/ciphers.o" => [ ".", "include", "apps", ], "apps/cms.o" => [ ".", "include", "apps", ], "apps/crl.o" => [ ".", "include", "apps", ], "apps/crl2p7.o" => [ ".", "include", "apps", ], "apps/dgst.o" => [ ".", "include", "apps", ], "apps/dhparam.o" => [ ".", "include", "apps", ], "apps/dsa.o" => [ ".", "include", "apps", ], "apps/dsaparam.o" => [ ".", "include", "apps", ], "apps/ec.o" => [ ".", "include", "apps", ], "apps/ecparam.o" => [ ".", "include", "apps", ], "apps/enc.o" => [ ".", "include", "apps", ], "apps/engine.o" => [ ".", "include", "apps", ], "apps/errstr.o" => [ ".", "include", "apps", ], "apps/gendsa.o" => [ ".", "include", "apps", ], "apps/genpkey.o" => [ ".", "include", "apps", ], "apps/genrsa.o" => [ ".", "include", "apps", ], "apps/nseq.o" => [ ".", "include", "apps", ], "apps/ocsp.o" => [ ".", "include", "apps", ], "apps/openssl.o" => [ ".", "include", "apps", ], "apps/opt.o" => [ ".", "include", "apps", ], "apps/passwd.o" => [ ".", "include", "apps", ], "apps/pkcs12.o" => [ ".", "include", "apps", ], "apps/pkcs7.o" => [ ".", "include", "apps", ], "apps/pkcs8.o" => [ ".", "include", "apps", ], "apps/pkey.o" => [ ".", "include", "apps", ], "apps/pkeyparam.o" => [ ".", "include", "apps", ], "apps/pkeyutl.o" => [ ".", "include", "apps", ], "apps/prime.o" => [ ".", "include", "apps", ], "apps/progs.h" => [ ".", ], "apps/rand.o" => [ ".", "include", "apps", ], "apps/rehash.o" => [ ".", "include", "apps", ], "apps/req.o" => [ ".", "include", "apps", ], "apps/rsa.o" => [ ".", "include", "apps", ], "apps/rsautl.o" => [ ".", "include", "apps", ], "apps/s_cb.o" => [ ".", "include", "apps", ], "apps/s_client.o" => [ ".", "include", "apps", ], "apps/s_server.o" => [ ".", "include", "apps", ], "apps/s_socket.o" => [ ".", "include", "apps", ], "apps/s_time.o" => [ ".", "include", "apps", ], "apps/sess_id.o" => [ ".", "include", "apps", ], "apps/smime.o" => [ ".", "include", "apps", ], "apps/speed.o" => [ ".", "include", "apps", ], "apps/spkac.o" => [ ".", "include", "apps", ], "apps/srp.o" => [ ".", "include", "apps", ], "apps/ts.o" => [ ".", "include", "apps", ], "apps/verify.o" => [ ".", "include", "apps", ], "apps/version.o" => [ ".", "include", "apps", ], "apps/x509.o" => [ ".", "include", "apps", ], "crypto/aes/aes-armv4.o" => [ "crypto", ], "crypto/aes/aes-s390x.o" => [ "crypto", ], "crypto/aes/aes-sparcv9.o" => [ "crypto", ], "crypto/aes/aes-x86_64.o" => [ ".", "crypto/include", "include", ], "crypto/aes/aes_cfb.o" => [ ".", "crypto/include", "include", ], "crypto/aes/aes_ecb.o" => [ ".", "crypto/include", "include", ], "crypto/aes/aes_ige.o" => [ ".", "crypto/include", "include", ], "crypto/aes/aes_misc.o" => [ ".", "crypto/include", "include", ], "crypto/aes/aes_ofb.o" => [ ".", "crypto/include", "include", ], "crypto/aes/aes_wrap.o" => [ ".", "crypto/include", "include", ], "crypto/aes/aesfx-sparcv9.o" => [ "crypto", ], "crypto/aes/aesni-mb-x86_64.o" => [ ".", "crypto/include", "include", ], "crypto/aes/aesni-sha1-x86_64.o" => [ ".", "crypto/include", "include", ], "crypto/aes/aesni-sha256-x86_64.o" => [ ".", "crypto/include", "include", ], "crypto/aes/aesni-x86_64.o" => [ ".", "crypto/include", "include", ], "crypto/aes/aest4-sparcv9.o" => [ "crypto", ], "crypto/aes/aesv8-armx.o" => [ "crypto", ], "crypto/aes/bsaes-armv7.o" => [ "crypto", ], "crypto/aes/bsaes-x86_64.o" => [ ".", "crypto/include", "include", ], "crypto/aes/vpaes-x86_64.o" => [ ".", "crypto/include", "include", ], "crypto/arm64cpuid.o" => [ "crypto", ], "crypto/armv4cpuid.o" => [ "crypto", ], "crypto/asn1/a_bitstr.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/a_d2i_fp.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/a_digest.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/a_dup.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/a_gentm.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/a_i2d_fp.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/a_int.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/a_mbstr.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/a_object.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/a_octet.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/a_print.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/a_sign.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/a_strex.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/a_strnid.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/a_time.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/a_type.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/a_utctm.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/a_utf8.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/a_verify.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/ameth_lib.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/asn1_err.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/asn1_gen.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/asn1_lib.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/asn1_par.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/asn_mime.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/asn_moid.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/asn_mstbl.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/asn_pack.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/bio_asn1.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/bio_ndef.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/d2i_pr.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/d2i_pu.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/evp_asn1.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/f_int.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/f_string.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/i2d_pr.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/i2d_pu.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/n_pkey.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/nsseq.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/p5_pbe.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/p5_pbev2.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/p5_scrypt.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/p8_pkey.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/t_bitst.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/t_pkey.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/t_spki.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/tasn_dec.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/tasn_enc.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/tasn_fre.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/tasn_new.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/tasn_prn.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/tasn_scn.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/tasn_typ.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/tasn_utl.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/x_algor.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/x_bignum.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/x_info.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/x_int64.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/x_long.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/x_pkey.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/x_sig.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/x_spki.o" => [ ".", "crypto/include", "include", ], "crypto/asn1/x_val.o" => [ ".", "crypto/include", "include", ], "crypto/async/arch/async_null.o" => [ ".", "crypto/include", "include", ], "crypto/async/arch/async_posix.o" => [ ".", "crypto/include", "include", ], "crypto/async/arch/async_win.o" => [ ".", "crypto/include", "include", ], "crypto/async/async.o" => [ ".", "crypto/include", "include", ], "crypto/async/async_err.o" => [ ".", "crypto/include", "include", ], "crypto/async/async_wait.o" => [ ".", "crypto/include", "include", ], "crypto/bf/bf_cfb64.o" => [ ".", "crypto/include", "include", ], "crypto/bf/bf_ecb.o" => [ ".", "crypto/include", "include", ], "crypto/bf/bf_enc.o" => [ ".", "crypto/include", "include", ], "crypto/bf/bf_ofb64.o" => [ ".", "crypto/include", "include", ], "crypto/bf/bf_skey.o" => [ ".", "crypto/include", "include", ], "crypto/bio/b_addr.o" => [ ".", "crypto/include", "include", ], "crypto/bio/b_dump.o" => [ ".", "crypto/include", "include", ], "crypto/bio/b_print.o" => [ ".", "crypto/include", "include", ], "crypto/bio/b_sock.o" => [ ".", "crypto/include", "include", ], "crypto/bio/b_sock2.o" => [ ".", "crypto/include", "include", ], "crypto/bio/bf_buff.o" => [ ".", "crypto/include", "include", ], "crypto/bio/bf_lbuf.o" => [ ".", "crypto/include", "include", ], "crypto/bio/bf_nbio.o" => [ ".", "crypto/include", "include", ], "crypto/bio/bf_null.o" => [ ".", "crypto/include", "include", ], "crypto/bio/bio_cb.o" => [ ".", "crypto/include", "include", ], "crypto/bio/bio_err.o" => [ ".", "crypto/include", "include", ], "crypto/bio/bio_lib.o" => [ ".", "crypto/include", "include", ], "crypto/bio/bio_meth.o" => [ ".", "crypto/include", "include", ], "crypto/bio/bss_acpt.o" => [ ".", "crypto/include", "include", ], "crypto/bio/bss_bio.o" => [ ".", "crypto/include", "include", ], "crypto/bio/bss_conn.o" => [ ".", "crypto/include", "include", ], "crypto/bio/bss_dgram.o" => [ ".", "crypto/include", "include", ], "crypto/bio/bss_fd.o" => [ ".", "crypto/include", "include", ], "crypto/bio/bss_file.o" => [ ".", "crypto/include", "include", ], "crypto/bio/bss_log.o" => [ ".", "crypto/include", "include", ], "crypto/bio/bss_mem.o" => [ ".", "crypto/include", "include", ], "crypto/bio/bss_null.o" => [ ".", "crypto/include", "include", ], "crypto/bio/bss_sock.o" => [ ".", "crypto/include", "include", ], "crypto/blake2/blake2b.o" => [ ".", "crypto/include", "include", ], "crypto/blake2/blake2s.o" => [ ".", "crypto/include", "include", ], "crypto/blake2/m_blake2b.o" => [ ".", "crypto/include", "include", ], "crypto/blake2/m_blake2s.o" => [ ".", "crypto/include", "include", ], "crypto/bn/armv4-gf2m.o" => [ "crypto", ], "crypto/bn/armv4-mont.o" => [ "crypto", ], "crypto/bn/asm/x86_64-gcc.o" => [ ".", "crypto/include", "include", ], "crypto/bn/bn_add.o" => [ ".", "crypto/include", "include", ], "crypto/bn/bn_blind.o" => [ ".", "crypto/include", "include", ], "crypto/bn/bn_const.o" => [ ".", "crypto/include", "include", ], "crypto/bn/bn_ctx.o" => [ ".", "crypto/include", "include", ], "crypto/bn/bn_depr.o" => [ ".", "crypto/include", "include", ], "crypto/bn/bn_dh.o" => [ ".", "crypto/include", "include", ], "crypto/bn/bn_div.o" => [ ".", "crypto/include", "include", ], "crypto/bn/bn_err.o" => [ ".", "crypto/include", "include", ], "crypto/bn/bn_exp.o" => [ ".", "crypto/include", "include", "crypto", ], "crypto/bn/bn_exp2.o" => [ ".", "crypto/include", "include", ], "crypto/bn/bn_gcd.o" => [ ".", "crypto/include", "include", ], "crypto/bn/bn_gf2m.o" => [ ".", "crypto/include", "include", ], "crypto/bn/bn_intern.o" => [ ".", "crypto/include", "include", ], "crypto/bn/bn_kron.o" => [ ".", "crypto/include", "include", ], "crypto/bn/bn_lib.o" => [ ".", "crypto/include", "include", ], "crypto/bn/bn_mod.o" => [ ".", "crypto/include", "include", ], "crypto/bn/bn_mont.o" => [ ".", "crypto/include", "include", ], "crypto/bn/bn_mpi.o" => [ ".", "crypto/include", "include", ], "crypto/bn/bn_mul.o" => [ ".", "crypto/include", "include", ], "crypto/bn/bn_nist.o" => [ ".", "crypto/include", "include", ], "crypto/bn/bn_prime.o" => [ ".", "crypto/include", "include", ], "crypto/bn/bn_print.o" => [ ".", "crypto/include", "include", ], "crypto/bn/bn_rand.o" => [ ".", "crypto/include", "include", ], "crypto/bn/bn_recp.o" => [ ".", "crypto/include", "include", ], "crypto/bn/bn_shift.o" => [ ".", "crypto/include", "include", ], "crypto/bn/bn_sqr.o" => [ ".", "crypto/include", "include", ], "crypto/bn/bn_sqrt.o" => [ ".", "crypto/include", "include", ], "crypto/bn/bn_srp.o" => [ ".", "crypto/include", "include", ], "crypto/bn/bn_word.o" => [ ".", "crypto/include", "include", ], "crypto/bn/bn_x931p.o" => [ ".", "crypto/include", "include", ], "crypto/bn/rsaz-avx2.o" => [ ".", "crypto/include", "include", ], "crypto/bn/rsaz-x86_64.o" => [ ".", "crypto/include", "include", ], "crypto/bn/rsaz_exp.o" => [ ".", "crypto/include", "include", ], "crypto/bn/sparct4-mont.o" => [ "crypto", ], "crypto/bn/sparcv9-gf2m.o" => [ "crypto", ], "crypto/bn/sparcv9-mont.o" => [ "crypto", ], "crypto/bn/sparcv9a-mont.o" => [ "crypto", ], "crypto/bn/vis3-mont.o" => [ "crypto", ], "crypto/bn/x86_64-gf2m.o" => [ ".", "crypto/include", "include", ], "crypto/bn/x86_64-mont.o" => [ ".", "crypto/include", "include", ], "crypto/bn/x86_64-mont5.o" => [ ".", "crypto/include", "include", ], "crypto/buffer/buf_err.o" => [ ".", "crypto/include", "include", ], "crypto/buffer/buffer.o" => [ ".", "crypto/include", "include", ], "crypto/buildinf.h" => [ ".", ], "crypto/camellia/cmll-x86_64.o" => [ ".", "crypto/include", "include", ], "crypto/camellia/cmll_cfb.o" => [ ".", "crypto/include", "include", ], "crypto/camellia/cmll_ctr.o" => [ ".", "crypto/include", "include", ], "crypto/camellia/cmll_ecb.o" => [ ".", "crypto/include", "include", ], "crypto/camellia/cmll_misc.o" => [ ".", "crypto/include", "include", ], "crypto/camellia/cmll_ofb.o" => [ ".", "crypto/include", "include", ], "crypto/camellia/cmllt4-sparcv9.o" => [ "crypto", ], "crypto/cast/c_cfb64.o" => [ ".", "crypto/include", "include", ], "crypto/cast/c_ecb.o" => [ ".", "crypto/include", "include", ], "crypto/cast/c_enc.o" => [ ".", "crypto/include", "include", ], "crypto/cast/c_ofb64.o" => [ ".", "crypto/include", "include", ], "crypto/cast/c_skey.o" => [ ".", "crypto/include", "include", ], "crypto/chacha/chacha-armv4.o" => [ "crypto", ], "crypto/chacha/chacha-armv8.o" => [ "crypto", ], "crypto/chacha/chacha-s390x.o" => [ "crypto", ], "crypto/chacha/chacha-x86_64.o" => [ ".", "crypto/include", "include", ], "crypto/cmac/cm_ameth.o" => [ ".", "crypto/include", "include", ], "crypto/cmac/cm_pmeth.o" => [ ".", "crypto/include", "include", ], "crypto/cmac/cmac.o" => [ ".", "crypto/include", "include", ], "crypto/cms/cms_asn1.o" => [ ".", "crypto/include", "include", ], "crypto/cms/cms_att.o" => [ ".", "crypto/include", "include", ], "crypto/cms/cms_cd.o" => [ ".", "crypto/include", "include", ], "crypto/cms/cms_dd.o" => [ ".", "crypto/include", "include", ], "crypto/cms/cms_enc.o" => [ ".", "crypto/include", "include", ], "crypto/cms/cms_env.o" => [ ".", "crypto/include", "include", ], "crypto/cms/cms_err.o" => [ ".", "crypto/include", "include", ], "crypto/cms/cms_ess.o" => [ ".", "crypto/include", "include", ], "crypto/cms/cms_io.o" => [ ".", "crypto/include", "include", ], "crypto/cms/cms_kari.o" => [ ".", "crypto/include", "include", ], "crypto/cms/cms_lib.o" => [ ".", "crypto/include", "include", ], "crypto/cms/cms_pwri.o" => [ ".", "crypto/include", "include", ], "crypto/cms/cms_sd.o" => [ ".", "crypto/include", "include", ], "crypto/cms/cms_smime.o" => [ ".", "crypto/include", "include", ], "crypto/conf/conf_api.o" => [ ".", "crypto/include", "include", ], "crypto/conf/conf_def.o" => [ ".", "crypto/include", "include", ], "crypto/conf/conf_err.o" => [ ".", "crypto/include", "include", ], "crypto/conf/conf_lib.o" => [ ".", "crypto/include", "include", ], "crypto/conf/conf_mall.o" => [ ".", "crypto/include", "include", ], "crypto/conf/conf_mod.o" => [ ".", "crypto/include", "include", ], "crypto/conf/conf_sap.o" => [ ".", "crypto/include", "include", ], "crypto/conf/conf_ssl.o" => [ ".", "crypto/include", "include", ], "crypto/cpt_err.o" => [ ".", "crypto/include", "include", ], "crypto/cryptlib.o" => [ ".", "crypto/include", "include", ], "crypto/ct/ct_b64.o" => [ ".", "crypto/include", "include", ], "crypto/ct/ct_err.o" => [ ".", "crypto/include", "include", ], "crypto/ct/ct_log.o" => [ ".", "crypto/include", "include", ], "crypto/ct/ct_oct.o" => [ ".", "crypto/include", "include", ], "crypto/ct/ct_policy.o" => [ ".", "crypto/include", "include", ], "crypto/ct/ct_prn.o" => [ ".", "crypto/include", "include", ], "crypto/ct/ct_sct.o" => [ ".", "crypto/include", "include", ], "crypto/ct/ct_sct_ctx.o" => [ ".", "crypto/include", "include", ], "crypto/ct/ct_vfy.o" => [ ".", "crypto/include", "include", ], "crypto/ct/ct_x509v3.o" => [ ".", "crypto/include", "include", ], "crypto/cversion.o" => [ ".", "crypto/include", "include", "crypto", ], "crypto/des/cbc_cksm.o" => [ ".", "crypto/include", "include", ], "crypto/des/cbc_enc.o" => [ ".", "crypto/include", "include", ], "crypto/des/cfb64ede.o" => [ ".", "crypto/include", "include", ], "crypto/des/cfb64enc.o" => [ ".", "crypto/include", "include", ], "crypto/des/cfb_enc.o" => [ ".", "crypto/include", "include", ], "crypto/des/des_enc.o" => [ ".", "crypto/include", "include", ], "crypto/des/dest4-sparcv9.o" => [ "crypto", ], "crypto/des/ecb3_enc.o" => [ ".", "crypto/include", "include", ], "crypto/des/ecb_enc.o" => [ ".", "crypto/include", "include", ], "crypto/des/fcrypt.o" => [ ".", "crypto/include", "include", ], "crypto/des/fcrypt_b.o" => [ ".", "crypto/include", "include", ], "crypto/des/ofb64ede.o" => [ ".", "crypto/include", "include", ], "crypto/des/ofb64enc.o" => [ ".", "crypto/include", "include", ], "crypto/des/ofb_enc.o" => [ ".", "crypto/include", "include", ], "crypto/des/pcbc_enc.o" => [ ".", "crypto/include", "include", ], "crypto/des/qud_cksm.o" => [ ".", "crypto/include", "include", ], "crypto/des/rand_key.o" => [ ".", "crypto/include", "include", ], "crypto/des/rpc_enc.o" => [ ".", "crypto/include", "include", ], "crypto/des/set_key.o" => [ ".", "crypto/include", "include", ], "crypto/des/str2key.o" => [ ".", "crypto/include", "include", ], "crypto/des/xcbc_enc.o" => [ ".", "crypto/include", "include", ], "crypto/dh/dh_ameth.o" => [ ".", "crypto/include", "include", ], "crypto/dh/dh_asn1.o" => [ ".", "crypto/include", "include", ], "crypto/dh/dh_check.o" => [ ".", "crypto/include", "include", ], "crypto/dh/dh_depr.o" => [ ".", "crypto/include", "include", ], "crypto/dh/dh_err.o" => [ ".", "crypto/include", "include", ], "crypto/dh/dh_gen.o" => [ ".", "crypto/include", "include", ], "crypto/dh/dh_kdf.o" => [ ".", "crypto/include", "include", ], "crypto/dh/dh_key.o" => [ ".", "crypto/include", "include", ], "crypto/dh/dh_lib.o" => [ ".", "crypto/include", "include", ], "crypto/dh/dh_meth.o" => [ ".", "crypto/include", "include", ], "crypto/dh/dh_pmeth.o" => [ ".", "crypto/include", "include", ], "crypto/dh/dh_prn.o" => [ ".", "crypto/include", "include", ], "crypto/dh/dh_rfc5114.o" => [ ".", "crypto/include", "include", ], "crypto/dsa/dsa_ameth.o" => [ ".", "crypto/include", "include", ], "crypto/dsa/dsa_asn1.o" => [ ".", "crypto/include", "include", ], "crypto/dsa/dsa_depr.o" => [ ".", "crypto/include", "include", ], "crypto/dsa/dsa_err.o" => [ ".", "crypto/include", "include", ], "crypto/dsa/dsa_gen.o" => [ ".", "crypto/include", "include", ], "crypto/dsa/dsa_key.o" => [ ".", "crypto/include", "include", ], "crypto/dsa/dsa_lib.o" => [ ".", "crypto/include", "include", ], "crypto/dsa/dsa_meth.o" => [ ".", "crypto/include", "include", ], "crypto/dsa/dsa_ossl.o" => [ ".", "crypto/include", "include", ], "crypto/dsa/dsa_pmeth.o" => [ ".", "crypto/include", "include", ], "crypto/dsa/dsa_prn.o" => [ ".", "crypto/include", "include", ], "crypto/dsa/dsa_sign.o" => [ ".", "crypto/include", "include", ], "crypto/dsa/dsa_vrf.o" => [ ".", "crypto/include", "include", ], "crypto/dso/dso_dl.o" => [ ".", "crypto/include", "include", ], "crypto/dso/dso_dlfcn.o" => [ ".", "crypto/include", "include", ], "crypto/dso/dso_err.o" => [ ".", "crypto/include", "include", ], "crypto/dso/dso_lib.o" => [ ".", "crypto/include", "include", ], "crypto/dso/dso_openssl.o" => [ ".", "crypto/include", "include", ], "crypto/dso/dso_vms.o" => [ ".", "crypto/include", "include", ], "crypto/dso/dso_win32.o" => [ ".", "crypto/include", "include", ], "crypto/ebcdic.o" => [ ".", "crypto/include", "include", ], "crypto/ec/curve25519.o" => [ ".", "crypto/include", "include", ], "crypto/ec/ec2_mult.o" => [ ".", "crypto/include", "include", ], "crypto/ec/ec2_oct.o" => [ ".", "crypto/include", "include", ], "crypto/ec/ec2_smpl.o" => [ ".", "crypto/include", "include", ], "crypto/ec/ec_ameth.o" => [ ".", "crypto/include", "include", ], "crypto/ec/ec_asn1.o" => [ ".", "crypto/include", "include", ], "crypto/ec/ec_check.o" => [ ".", "crypto/include", "include", ], "crypto/ec/ec_curve.o" => [ ".", "crypto/include", "include", ], "crypto/ec/ec_cvt.o" => [ ".", "crypto/include", "include", ], "crypto/ec/ec_err.o" => [ ".", "crypto/include", "include", ], "crypto/ec/ec_key.o" => [ ".", "crypto/include", "include", ], "crypto/ec/ec_kmeth.o" => [ ".", "crypto/include", "include", ], "crypto/ec/ec_lib.o" => [ ".", "crypto/include", "include", ], "crypto/ec/ec_mult.o" => [ ".", "crypto/include", "include", ], "crypto/ec/ec_oct.o" => [ ".", "crypto/include", "include", ], "crypto/ec/ec_pmeth.o" => [ ".", "crypto/include", "include", ], "crypto/ec/ec_print.o" => [ ".", "crypto/include", "include", ], "crypto/ec/ecdh_kdf.o" => [ ".", "crypto/include", "include", ], "crypto/ec/ecdh_ossl.o" => [ ".", "crypto/include", "include", ], "crypto/ec/ecdsa_ossl.o" => [ ".", "crypto/include", "include", ], "crypto/ec/ecdsa_sign.o" => [ ".", "crypto/include", "include", ], "crypto/ec/ecdsa_vrf.o" => [ ".", "crypto/include", "include", ], "crypto/ec/eck_prn.o" => [ ".", "crypto/include", "include", ], "crypto/ec/ecp_mont.o" => [ ".", "crypto/include", "include", ], "crypto/ec/ecp_nist.o" => [ ".", "crypto/include", "include", ], "crypto/ec/ecp_nistp224.o" => [ ".", "crypto/include", "include", ], "crypto/ec/ecp_nistp256.o" => [ ".", "crypto/include", "include", ], "crypto/ec/ecp_nistp521.o" => [ ".", "crypto/include", "include", ], "crypto/ec/ecp_nistputil.o" => [ ".", "crypto/include", "include", ], "crypto/ec/ecp_nistz256-armv4.o" => [ "crypto", ], "crypto/ec/ecp_nistz256-armv8.o" => [ "crypto", ], "crypto/ec/ecp_nistz256-sparcv9.o" => [ "crypto", ], "crypto/ec/ecp_nistz256-x86_64.o" => [ ".", "crypto/include", "include", ], "crypto/ec/ecp_nistz256.o" => [ ".", "crypto/include", "include", ], "crypto/ec/ecp_oct.o" => [ ".", "crypto/include", "include", ], "crypto/ec/ecp_smpl.o" => [ ".", "crypto/include", "include", ], "crypto/ec/ecx_meth.o" => [ ".", "crypto/include", "include", ], "crypto/engine/eng_all.o" => [ ".", "crypto/include", "include", ], "crypto/engine/eng_cnf.o" => [ ".", "crypto/include", "include", ], "crypto/engine/eng_cryptodev.o" => [ ".", "crypto/include", "include", ], "crypto/engine/eng_ctrl.o" => [ ".", "crypto/include", "include", ], "crypto/engine/eng_dyn.o" => [ ".", "crypto/include", "include", ], "crypto/engine/eng_err.o" => [ ".", "crypto/include", "include", ], "crypto/engine/eng_fat.o" => [ ".", "crypto/include", "include", ], "crypto/engine/eng_init.o" => [ ".", "crypto/include", "include", ], "crypto/engine/eng_lib.o" => [ ".", "crypto/include", "include", ], "crypto/engine/eng_list.o" => [ ".", "crypto/include", "include", ], "crypto/engine/eng_openssl.o" => [ ".", "crypto/include", "include", ], "crypto/engine/eng_pkey.o" => [ ".", "crypto/include", "include", ], "crypto/engine/eng_rdrand.o" => [ ".", "crypto/include", "include", ], "crypto/engine/eng_table.o" => [ ".", "crypto/include", "include", ], "crypto/engine/tb_asnmth.o" => [ ".", "crypto/include", "include", ], "crypto/engine/tb_cipher.o" => [ ".", "crypto/include", "include", ], "crypto/engine/tb_dh.o" => [ ".", "crypto/include", "include", ], "crypto/engine/tb_digest.o" => [ ".", "crypto/include", "include", ], "crypto/engine/tb_dsa.o" => [ ".", "crypto/include", "include", ], "crypto/engine/tb_eckey.o" => [ ".", "crypto/include", "include", ], "crypto/engine/tb_pkmeth.o" => [ ".", "crypto/include", "include", ], "crypto/engine/tb_rand.o" => [ ".", "crypto/include", "include", ], "crypto/engine/tb_rsa.o" => [ ".", "crypto/include", "include", ], "crypto/err/err.o" => [ ".", "crypto/include", "include", ], "crypto/err/err_all.o" => [ ".", "crypto/include", "include", ], "crypto/err/err_prn.o" => [ ".", "crypto/include", "include", ], "crypto/evp/bio_b64.o" => [ ".", "crypto/include", "include", ], "crypto/evp/bio_enc.o" => [ ".", "crypto/include", "include", ], "crypto/evp/bio_md.o" => [ ".", "crypto/include", "include", ], "crypto/evp/bio_ok.o" => [ ".", "crypto/include", "include", ], "crypto/evp/c_allc.o" => [ ".", "crypto/include", "include", ], "crypto/evp/c_alld.o" => [ ".", "crypto/include", "include", ], "crypto/evp/cmeth_lib.o" => [ ".", "crypto/include", "include", ], "crypto/evp/digest.o" => [ ".", "crypto/include", "include", ], "crypto/evp/e_aes.o" => [ ".", "crypto/include", "include", "crypto", "crypto/modes", ], "crypto/evp/e_aes_cbc_hmac_sha1.o" => [ ".", "crypto/include", "include", "crypto/modes", ], "crypto/evp/e_aes_cbc_hmac_sha256.o" => [ ".", "crypto/include", "include", "crypto/modes", ], "crypto/evp/e_bf.o" => [ ".", "crypto/include", "include", ], "crypto/evp/e_camellia.o" => [ ".", "crypto/include", "include", "crypto", "crypto/modes", ], "crypto/evp/e_cast.o" => [ ".", "crypto/include", "include", ], "crypto/evp/e_chacha20_poly1305.o" => [ ".", "crypto/include", "include", ], "crypto/evp/e_des.o" => [ ".", "crypto/include", "include", "crypto", ], "crypto/evp/e_des3.o" => [ ".", "crypto/include", "include", "crypto", ], "crypto/evp/e_idea.o" => [ ".", "crypto/include", "include", ], "crypto/evp/e_null.o" => [ ".", "crypto/include", "include", ], "crypto/evp/e_old.o" => [ ".", "crypto/include", "include", ], "crypto/evp/e_rc2.o" => [ ".", "crypto/include", "include", ], "crypto/evp/e_rc4.o" => [ ".", "crypto/include", "include", ], "crypto/evp/e_rc4_hmac_md5.o" => [ ".", "crypto/include", "include", ], "crypto/evp/e_rc5.o" => [ ".", "crypto/include", "include", ], "crypto/evp/e_seed.o" => [ ".", "crypto/include", "include", ], "crypto/evp/e_xcbc_d.o" => [ ".", "crypto/include", "include", ], "crypto/evp/encode.o" => [ ".", "crypto/include", "include", ], "crypto/evp/evp_cnf.o" => [ ".", "crypto/include", "include", ], "crypto/evp/evp_enc.o" => [ ".", "crypto/include", "include", ], "crypto/evp/evp_err.o" => [ ".", "crypto/include", "include", ], "crypto/evp/evp_key.o" => [ ".", "crypto/include", "include", ], "crypto/evp/evp_lib.o" => [ ".", "crypto/include", "include", ], "crypto/evp/evp_pbe.o" => [ ".", "crypto/include", "include", ], "crypto/evp/evp_pkey.o" => [ ".", "crypto/include", "include", ], "crypto/evp/m_md2.o" => [ ".", "crypto/include", "include", ], "crypto/evp/m_md4.o" => [ ".", "crypto/include", "include", ], "crypto/evp/m_md5.o" => [ ".", "crypto/include", "include", ], "crypto/evp/m_md5_sha1.o" => [ ".", "crypto/include", "include", ], "crypto/evp/m_mdc2.o" => [ ".", "crypto/include", "include", ], "crypto/evp/m_null.o" => [ ".", "crypto/include", "include", ], "crypto/evp/m_ripemd.o" => [ ".", "crypto/include", "include", ], "crypto/evp/m_sha1.o" => [ ".", "crypto/include", "include", ], "crypto/evp/m_sigver.o" => [ ".", "crypto/include", "include", ], "crypto/evp/m_wp.o" => [ ".", "crypto/include", "include", ], "crypto/evp/names.o" => [ ".", "crypto/include", "include", ], "crypto/evp/p5_crpt.o" => [ ".", "crypto/include", "include", ], "crypto/evp/p5_crpt2.o" => [ ".", "crypto/include", "include", ], "crypto/evp/p_dec.o" => [ ".", "crypto/include", "include", ], "crypto/evp/p_enc.o" => [ ".", "crypto/include", "include", ], "crypto/evp/p_lib.o" => [ ".", "crypto/include", "include", ], "crypto/evp/p_open.o" => [ ".", "crypto/include", "include", ], "crypto/evp/p_seal.o" => [ ".", "crypto/include", "include", ], "crypto/evp/p_sign.o" => [ ".", "crypto/include", "include", ], "crypto/evp/p_verify.o" => [ ".", "crypto/include", "include", ], "crypto/evp/pmeth_fn.o" => [ ".", "crypto/include", "include", ], "crypto/evp/pmeth_gn.o" => [ ".", "crypto/include", "include", ], "crypto/evp/pmeth_lib.o" => [ ".", "crypto/include", "include", ], "crypto/evp/scrypt.o" => [ ".", "crypto/include", "include", ], "crypto/ex_data.o" => [ ".", "crypto/include", "include", ], "crypto/hmac/hm_ameth.o" => [ ".", "crypto/include", "include", ], "crypto/hmac/hm_pmeth.o" => [ ".", "crypto/include", "include", ], "crypto/hmac/hmac.o" => [ ".", "crypto/include", "include", ], "crypto/idea/i_cbc.o" => [ ".", "crypto/include", "include", ], "crypto/idea/i_cfb64.o" => [ ".", "crypto/include", "include", ], "crypto/idea/i_ecb.o" => [ ".", "crypto/include", "include", ], "crypto/idea/i_ofb64.o" => [ ".", "crypto/include", "include", ], "crypto/idea/i_skey.o" => [ ".", "crypto/include", "include", ], "crypto/include/internal/bn_conf.h" => [ ".", ], "crypto/include/internal/dso_conf.h" => [ ".", ], "crypto/init.o" => [ ".", "crypto/include", "include", ], "crypto/kdf/hkdf.o" => [ ".", "crypto/include", "include", ], "crypto/kdf/kdf_err.o" => [ ".", "crypto/include", "include", ], "crypto/kdf/tls1_prf.o" => [ ".", "crypto/include", "include", ], "crypto/lhash/lh_stats.o" => [ ".", "crypto/include", "include", ], "crypto/lhash/lhash.o" => [ ".", "crypto/include", "include", ], "crypto/md4/md4_dgst.o" => [ ".", "crypto/include", "include", ], "crypto/md4/md4_one.o" => [ ".", "crypto/include", "include", ], "crypto/md5/md5-sparcv9.o" => [ "crypto", ], "crypto/md5/md5-x86_64.o" => [ ".", "crypto/include", "include", ], "crypto/md5/md5_dgst.o" => [ ".", "crypto/include", "include", ], "crypto/md5/md5_one.o" => [ ".", "crypto/include", "include", ], "crypto/mdc2/mdc2_one.o" => [ ".", "crypto/include", "include", ], "crypto/mdc2/mdc2dgst.o" => [ ".", "crypto/include", "include", ], "crypto/mem.o" => [ ".", "crypto/include", "include", ], "crypto/mem_dbg.o" => [ ".", "crypto/include", "include", ], "crypto/mem_sec.o" => [ ".", "crypto/include", "include", ], "crypto/modes/aesni-gcm-x86_64.o" => [ ".", "crypto/include", "include", ], "crypto/modes/cbc128.o" => [ ".", "crypto/include", "include", ], "crypto/modes/ccm128.o" => [ ".", "crypto/include", "include", ], "crypto/modes/cfb128.o" => [ ".", "crypto/include", "include", ], "crypto/modes/ctr128.o" => [ ".", "crypto/include", "include", ], "crypto/modes/cts128.o" => [ ".", "crypto/include", "include", ], "crypto/modes/gcm128.o" => [ ".", "crypto/include", "include", "crypto", ], "crypto/modes/ghash-armv4.o" => [ "crypto", ], "crypto/modes/ghash-s390x.o" => [ "crypto", ], "crypto/modes/ghash-sparcv9.o" => [ "crypto", ], "crypto/modes/ghash-x86_64.o" => [ ".", "crypto/include", "include", ], "crypto/modes/ghashv8-armx.o" => [ "crypto", ], "crypto/modes/ocb128.o" => [ ".", "crypto/include", "include", ], "crypto/modes/ofb128.o" => [ ".", "crypto/include", "include", ], "crypto/modes/wrap128.o" => [ ".", "crypto/include", "include", ], "crypto/modes/xts128.o" => [ ".", "crypto/include", "include", ], "crypto/o_dir.o" => [ ".", "crypto/include", "include", ], "crypto/o_fips.o" => [ ".", "crypto/include", "include", ], "crypto/o_fopen.o" => [ ".", "crypto/include", "include", ], "crypto/o_init.o" => [ ".", "crypto/include", "include", ], "crypto/o_str.o" => [ ".", "crypto/include", "include", ], "crypto/o_time.o" => [ ".", "crypto/include", "include", ], "crypto/objects/o_names.o" => [ ".", "crypto/include", "include", ], "crypto/objects/obj_dat.o" => [ ".", "crypto/include", "include", ], "crypto/objects/obj_err.o" => [ ".", "crypto/include", "include", ], "crypto/objects/obj_lib.o" => [ ".", "crypto/include", "include", ], "crypto/objects/obj_xref.o" => [ ".", "crypto/include", "include", ], "crypto/ocsp/ocsp_asn.o" => [ ".", "crypto/include", "include", ], "crypto/ocsp/ocsp_cl.o" => [ ".", "crypto/include", "include", ], "crypto/ocsp/ocsp_err.o" => [ ".", "crypto/include", "include", ], "crypto/ocsp/ocsp_ext.o" => [ ".", "crypto/include", "include", ], "crypto/ocsp/ocsp_ht.o" => [ ".", "crypto/include", "include", ], "crypto/ocsp/ocsp_lib.o" => [ ".", "crypto/include", "include", ], "crypto/ocsp/ocsp_prn.o" => [ ".", "crypto/include", "include", ], "crypto/ocsp/ocsp_srv.o" => [ ".", "crypto/include", "include", ], "crypto/ocsp/ocsp_vfy.o" => [ ".", "crypto/include", "include", ], "crypto/ocsp/v3_ocsp.o" => [ ".", "crypto/include", "include", ], "crypto/pem/pem_all.o" => [ ".", "crypto/include", "include", ], "crypto/pem/pem_err.o" => [ ".", "crypto/include", "include", ], "crypto/pem/pem_info.o" => [ ".", "crypto/include", "include", ], "crypto/pem/pem_lib.o" => [ ".", "crypto/include", "include", ], "crypto/pem/pem_oth.o" => [ ".", "crypto/include", "include", ], "crypto/pem/pem_pk8.o" => [ ".", "crypto/include", "include", ], "crypto/pem/pem_pkey.o" => [ ".", "crypto/include", "include", ], "crypto/pem/pem_sign.o" => [ ".", "crypto/include", "include", ], "crypto/pem/pem_x509.o" => [ ".", "crypto/include", "include", ], "crypto/pem/pem_xaux.o" => [ ".", "crypto/include", "include", ], "crypto/pem/pvkfmt.o" => [ ".", "crypto/include", "include", ], "crypto/pkcs12/p12_add.o" => [ ".", "crypto/include", "include", ], "crypto/pkcs12/p12_asn.o" => [ ".", "crypto/include", "include", ], "crypto/pkcs12/p12_attr.o" => [ ".", "crypto/include", "include", ], "crypto/pkcs12/p12_crpt.o" => [ ".", "crypto/include", "include", ], "crypto/pkcs12/p12_crt.o" => [ ".", "crypto/include", "include", ], "crypto/pkcs12/p12_decr.o" => [ ".", "crypto/include", "include", ], "crypto/pkcs12/p12_init.o" => [ ".", "crypto/include", "include", ], "crypto/pkcs12/p12_key.o" => [ ".", "crypto/include", "include", ], "crypto/pkcs12/p12_kiss.o" => [ ".", "crypto/include", "include", ], "crypto/pkcs12/p12_mutl.o" => [ ".", "crypto/include", "include", ], "crypto/pkcs12/p12_npas.o" => [ ".", "crypto/include", "include", ], "crypto/pkcs12/p12_p8d.o" => [ ".", "crypto/include", "include", ], "crypto/pkcs12/p12_p8e.o" => [ ".", "crypto/include", "include", ], "crypto/pkcs12/p12_sbag.o" => [ ".", "crypto/include", "include", ], "crypto/pkcs12/p12_utl.o" => [ ".", "crypto/include", "include", ], "crypto/pkcs12/pk12err.o" => [ ".", "crypto/include", "include", ], "crypto/pkcs7/bio_pk7.o" => [ ".", "crypto/include", "include", ], "crypto/pkcs7/pk7_asn1.o" => [ ".", "crypto/include", "include", ], "crypto/pkcs7/pk7_attr.o" => [ ".", "crypto/include", "include", ], "crypto/pkcs7/pk7_doit.o" => [ ".", "crypto/include", "include", ], "crypto/pkcs7/pk7_lib.o" => [ ".", "crypto/include", "include", ], "crypto/pkcs7/pk7_mime.o" => [ ".", "crypto/include", "include", ], "crypto/pkcs7/pk7_smime.o" => [ ".", "crypto/include", "include", ], "crypto/pkcs7/pkcs7err.o" => [ ".", "crypto/include", "include", ], "crypto/poly1305/poly1305-armv4.o" => [ "crypto", ], "crypto/poly1305/poly1305-armv8.o" => [ "crypto", ], "crypto/poly1305/poly1305-s390x.o" => [ "crypto", ], "crypto/poly1305/poly1305-sparcv9.o" => [ "crypto", ], "crypto/poly1305/poly1305-x86_64.o" => [ ".", "crypto/include", "include", ], "crypto/poly1305/poly1305.o" => [ ".", "crypto/include", "include", ], "crypto/rand/md_rand.o" => [ ".", "crypto/include", "include", ], "crypto/rand/rand_egd.o" => [ ".", "crypto/include", "include", ], "crypto/rand/rand_err.o" => [ ".", "crypto/include", "include", ], "crypto/rand/rand_lib.o" => [ ".", "crypto/include", "include", ], "crypto/rand/rand_unix.o" => [ ".", "crypto/include", "include", ], "crypto/rand/rand_vms.o" => [ ".", "crypto/include", "include", ], "crypto/rand/rand_win.o" => [ ".", "crypto/include", "include", ], "crypto/rand/randfile.o" => [ ".", "crypto/include", "include", ], "crypto/rc2/rc2_cbc.o" => [ ".", "crypto/include", "include", ], "crypto/rc2/rc2_ecb.o" => [ ".", "crypto/include", "include", ], "crypto/rc2/rc2_skey.o" => [ ".", "crypto/include", "include", ], "crypto/rc2/rc2cfb64.o" => [ ".", "crypto/include", "include", ], "crypto/rc2/rc2ofb64.o" => [ ".", "crypto/include", "include", ], "crypto/rc4/rc4-md5-x86_64.o" => [ ".", "crypto/include", "include", ], "crypto/rc4/rc4-x86_64.o" => [ ".", "crypto/include", "include", ], "crypto/ripemd/rmd_dgst.o" => [ ".", "crypto/include", "include", ], "crypto/ripemd/rmd_one.o" => [ ".", "crypto/include", "include", ], "crypto/rsa/rsa_ameth.o" => [ ".", "crypto/include", "include", ], "crypto/rsa/rsa_asn1.o" => [ ".", "crypto/include", "include", ], "crypto/rsa/rsa_chk.o" => [ ".", "crypto/include", "include", ], "crypto/rsa/rsa_crpt.o" => [ ".", "crypto/include", "include", ], "crypto/rsa/rsa_depr.o" => [ ".", "crypto/include", "include", ], "crypto/rsa/rsa_err.o" => [ ".", "crypto/include", "include", ], "crypto/rsa/rsa_gen.o" => [ ".", "crypto/include", "include", ], "crypto/rsa/rsa_lib.o" => [ ".", "crypto/include", "include", ], "crypto/rsa/rsa_meth.o" => [ ".", "crypto/include", "include", ], "crypto/rsa/rsa_none.o" => [ ".", "crypto/include", "include", ], "crypto/rsa/rsa_null.o" => [ ".", "crypto/include", "include", ], "crypto/rsa/rsa_oaep.o" => [ ".", "crypto/include", "include", ], "crypto/rsa/rsa_ossl.o" => [ ".", "crypto/include", "include", ], "crypto/rsa/rsa_pk1.o" => [ ".", "crypto/include", "include", ], "crypto/rsa/rsa_pmeth.o" => [ ".", "crypto/include", "include", ], "crypto/rsa/rsa_prn.o" => [ ".", "crypto/include", "include", ], "crypto/rsa/rsa_pss.o" => [ ".", "crypto/include", "include", ], "crypto/rsa/rsa_saos.o" => [ ".", "crypto/include", "include", ], "crypto/rsa/rsa_sign.o" => [ ".", "crypto/include", "include", ], "crypto/rsa/rsa_ssl.o" => [ ".", "crypto/include", "include", ], "crypto/rsa/rsa_x931.o" => [ ".", "crypto/include", "include", ], "crypto/rsa/rsa_x931g.o" => [ ".", "crypto/include", "include", ], "crypto/seed/seed.o" => [ ".", "crypto/include", "include", ], "crypto/seed/seed_cbc.o" => [ ".", "crypto/include", "include", ], "crypto/seed/seed_cfb.o" => [ ".", "crypto/include", "include", ], "crypto/seed/seed_ecb.o" => [ ".", "crypto/include", "include", ], "crypto/seed/seed_ofb.o" => [ ".", "crypto/include", "include", ], "crypto/sha/sha1-armv4-large.o" => [ "crypto", ], "crypto/sha/sha1-armv8.o" => [ "crypto", ], "crypto/sha/sha1-mb-x86_64.o" => [ ".", "crypto/include", "include", ], "crypto/sha/sha1-s390x.o" => [ "crypto", ], "crypto/sha/sha1-sparcv9.o" => [ "crypto", ], "crypto/sha/sha1-x86_64.o" => [ ".", "crypto/include", "include", ], "crypto/sha/sha1_one.o" => [ ".", "crypto/include", "include", ], "crypto/sha/sha1dgst.o" => [ ".", "crypto/include", "include", ], "crypto/sha/sha256-armv4.o" => [ "crypto", ], "crypto/sha/sha256-armv8.o" => [ "crypto", ], "crypto/sha/sha256-mb-x86_64.o" => [ ".", "crypto/include", "include", ], "crypto/sha/sha256-s390x.o" => [ "crypto", ], "crypto/sha/sha256-sparcv9.o" => [ "crypto", ], "crypto/sha/sha256-x86_64.o" => [ ".", "crypto/include", "include", ], "crypto/sha/sha256.o" => [ ".", "crypto/include", "include", ], "crypto/sha/sha512-armv4.o" => [ "crypto", ], "crypto/sha/sha512-armv8.o" => [ "crypto", ], "crypto/sha/sha512-s390x.o" => [ "crypto", ], "crypto/sha/sha512-sparcv9.o" => [ "crypto", ], "crypto/sha/sha512-x86_64.o" => [ ".", "crypto/include", "include", ], "crypto/sha/sha512.o" => [ ".", "crypto/include", "include", ], "crypto/srp/srp_lib.o" => [ ".", "crypto/include", "include", ], "crypto/srp/srp_vfy.o" => [ ".", "crypto/include", "include", ], "crypto/stack/stack.o" => [ ".", "crypto/include", "include", ], "crypto/threads_none.o" => [ ".", "crypto/include", "include", ], "crypto/threads_pthread.o" => [ ".", "crypto/include", "include", ], "crypto/threads_win.o" => [ ".", "crypto/include", "include", ], "crypto/ts/ts_asn1.o" => [ ".", "crypto/include", "include", ], "crypto/ts/ts_conf.o" => [ ".", "crypto/include", "include", ], "crypto/ts/ts_err.o" => [ ".", "crypto/include", "include", ], "crypto/ts/ts_lib.o" => [ ".", "crypto/include", "include", ], "crypto/ts/ts_req_print.o" => [ ".", "crypto/include", "include", ], "crypto/ts/ts_req_utils.o" => [ ".", "crypto/include", "include", ], "crypto/ts/ts_rsp_print.o" => [ ".", "crypto/include", "include", ], "crypto/ts/ts_rsp_sign.o" => [ ".", "crypto/include", "include", ], "crypto/ts/ts_rsp_utils.o" => [ ".", "crypto/include", "include", ], "crypto/ts/ts_rsp_verify.o" => [ ".", "crypto/include", "include", ], "crypto/ts/ts_verify_ctx.o" => [ ".", "crypto/include", "include", ], "crypto/txt_db/txt_db.o" => [ ".", "crypto/include", "include", ], "crypto/ui/ui_err.o" => [ ".", "crypto/include", "include", ], "crypto/ui/ui_lib.o" => [ ".", "crypto/include", "include", ], "crypto/ui/ui_openssl.o" => [ ".", "crypto/include", "include", ], "crypto/ui/ui_util.o" => [ ".", "crypto/include", "include", ], "crypto/uid.o" => [ ".", "crypto/include", "include", ], "crypto/whrlpool/wp-x86_64.o" => [ ".", "crypto/include", "include", ], "crypto/whrlpool/wp_dgst.o" => [ ".", "crypto/include", "include", ], "crypto/x509/by_dir.o" => [ ".", "crypto/include", "include", ], "crypto/x509/by_file.o" => [ ".", "crypto/include", "include", ], "crypto/x509/t_crl.o" => [ ".", "crypto/include", "include", ], "crypto/x509/t_req.o" => [ ".", "crypto/include", "include", ], "crypto/x509/t_x509.o" => [ ".", "crypto/include", "include", ], "crypto/x509/x509_att.o" => [ ".", "crypto/include", "include", ], "crypto/x509/x509_cmp.o" => [ ".", "crypto/include", "include", ], "crypto/x509/x509_d2.o" => [ ".", "crypto/include", "include", ], "crypto/x509/x509_def.o" => [ ".", "crypto/include", "include", ], "crypto/x509/x509_err.o" => [ ".", "crypto/include", "include", ], "crypto/x509/x509_ext.o" => [ ".", "crypto/include", "include", ], "crypto/x509/x509_lu.o" => [ ".", "crypto/include", "include", ], "crypto/x509/x509_meth.o" => [ ".", "crypto/include", "include", ], "crypto/x509/x509_obj.o" => [ ".", "crypto/include", "include", ], "crypto/x509/x509_r2x.o" => [ ".", "crypto/include", "include", ], "crypto/x509/x509_req.o" => [ ".", "crypto/include", "include", ], "crypto/x509/x509_set.o" => [ ".", "crypto/include", "include", ], "crypto/x509/x509_trs.o" => [ ".", "crypto/include", "include", ], "crypto/x509/x509_txt.o" => [ ".", "crypto/include", "include", ], "crypto/x509/x509_v3.o" => [ ".", "crypto/include", "include", ], "crypto/x509/x509_vfy.o" => [ ".", "crypto/include", "include", ], "crypto/x509/x509_vpm.o" => [ ".", "crypto/include", "include", ], "crypto/x509/x509cset.o" => [ ".", "crypto/include", "include", ], "crypto/x509/x509name.o" => [ ".", "crypto/include", "include", ], "crypto/x509/x509rset.o" => [ ".", "crypto/include", "include", ], "crypto/x509/x509spki.o" => [ ".", "crypto/include", "include", ], "crypto/x509/x509type.o" => [ ".", "crypto/include", "include", ], "crypto/x509/x_all.o" => [ ".", "crypto/include", "include", ], "crypto/x509/x_attrib.o" => [ ".", "crypto/include", "include", ], "crypto/x509/x_crl.o" => [ ".", "crypto/include", "include", ], "crypto/x509/x_exten.o" => [ ".", "crypto/include", "include", ], "crypto/x509/x_name.o" => [ ".", "crypto/include", "include", ], "crypto/x509/x_pubkey.o" => [ ".", "crypto/include", "include", ], "crypto/x509/x_req.o" => [ ".", "crypto/include", "include", ], "crypto/x509/x_x509.o" => [ ".", "crypto/include", "include", ], "crypto/x509/x_x509a.o" => [ ".", "crypto/include", "include", ], "crypto/x509v3/pcy_cache.o" => [ ".", "crypto/include", "include", ], "crypto/x509v3/pcy_data.o" => [ ".", "crypto/include", "include", ], "crypto/x509v3/pcy_lib.o" => [ ".", "crypto/include", "include", ], "crypto/x509v3/pcy_map.o" => [ ".", "crypto/include", "include", ], "crypto/x509v3/pcy_node.o" => [ ".", "crypto/include", "include", ], "crypto/x509v3/pcy_tree.o" => [ ".", "crypto/include", "include", ], "crypto/x509v3/v3_addr.o" => [ ".", "crypto/include", "include", ], "crypto/x509v3/v3_akey.o" => [ ".", "crypto/include", "include", ], "crypto/x509v3/v3_akeya.o" => [ ".", "crypto/include", "include", ], "crypto/x509v3/v3_alt.o" => [ ".", "crypto/include", "include", ], "crypto/x509v3/v3_asid.o" => [ ".", "crypto/include", "include", ], "crypto/x509v3/v3_bcons.o" => [ ".", "crypto/include", "include", ], "crypto/x509v3/v3_bitst.o" => [ ".", "crypto/include", "include", ], "crypto/x509v3/v3_conf.o" => [ ".", "crypto/include", "include", ], "crypto/x509v3/v3_cpols.o" => [ ".", "crypto/include", "include", ], "crypto/x509v3/v3_crld.o" => [ ".", "crypto/include", "include", ], "crypto/x509v3/v3_enum.o" => [ ".", "crypto/include", "include", ], "crypto/x509v3/v3_extku.o" => [ ".", "crypto/include", "include", ], "crypto/x509v3/v3_genn.o" => [ ".", "crypto/include", "include", ], "crypto/x509v3/v3_ia5.o" => [ ".", "crypto/include", "include", ], "crypto/x509v3/v3_info.o" => [ ".", "crypto/include", "include", ], "crypto/x509v3/v3_int.o" => [ ".", "crypto/include", "include", ], "crypto/x509v3/v3_lib.o" => [ ".", "crypto/include", "include", ], "crypto/x509v3/v3_ncons.o" => [ ".", "crypto/include", "include", ], "crypto/x509v3/v3_pci.o" => [ ".", "crypto/include", "include", ], "crypto/x509v3/v3_pcia.o" => [ ".", "crypto/include", "include", ], "crypto/x509v3/v3_pcons.o" => [ ".", "crypto/include", "include", ], "crypto/x509v3/v3_pku.o" => [ ".", "crypto/include", "include", ], "crypto/x509v3/v3_pmaps.o" => [ ".", "crypto/include", "include", ], "crypto/x509v3/v3_prn.o" => [ ".", "crypto/include", "include", ], "crypto/x509v3/v3_purp.o" => [ ".", "crypto/include", "include", ], "crypto/x509v3/v3_skey.o" => [ ".", "crypto/include", "include", ], "crypto/x509v3/v3_sxnet.o" => [ ".", "crypto/include", "include", ], "crypto/x509v3/v3_tlsf.o" => [ ".", "crypto/include", "include", ], "crypto/x509v3/v3_utl.o" => [ ".", "crypto/include", "include", ], "crypto/x509v3/v3err.o" => [ ".", "crypto/include", "include", ], "crypto/x86_64cpuid.o" => [ ".", "crypto/include", "include", ], "engines/e_capi.o" => [ ".", "crypto/include", "include", ], "engines/e_padlock-x86_64.o" => [ ".", "crypto/include", "include", ], "engines/e_padlock.o" => [ ".", "crypto/include", "include", ], "fuzz/asn1.o" => [ "include", ], "fuzz/asn1parse.o" => [ "include", ], "fuzz/bignum.o" => [ "include", ], "fuzz/bndiv.o" => [ "include", ], "fuzz/cms.o" => [ "include", ], "fuzz/conf.o" => [ "include", ], "fuzz/crl.o" => [ "include", ], "fuzz/ct.o" => [ "include", ], "fuzz/server.o" => [ "include", ], "fuzz/test-corpus.o" => [ "include", ], "fuzz/x509.o" => [ "include", ], "include/openssl/opensslconf.h" => [ ".", ], "ssl/bio_ssl.o" => [ ".", "include", ], "ssl/d1_lib.o" => [ ".", "include", ], "ssl/d1_msg.o" => [ ".", "include", ], "ssl/d1_srtp.o" => [ ".", "include", ], "ssl/methods.o" => [ ".", "include", ], "ssl/pqueue.o" => [ ".", "include", ], "ssl/record/dtls1_bitmap.o" => [ ".", "include", ], "ssl/record/rec_layer_d1.o" => [ ".", "include", ], "ssl/record/rec_layer_s3.o" => [ ".", "include", ], "ssl/record/ssl3_buffer.o" => [ ".", "include", ], "ssl/record/ssl3_record.o" => [ ".", "include", ], "ssl/s3_cbc.o" => [ ".", "include", ], "ssl/s3_enc.o" => [ ".", "include", ], "ssl/s3_lib.o" => [ ".", "include", ], "ssl/s3_msg.o" => [ ".", "include", ], "ssl/ssl_asn1.o" => [ ".", "include", ], "ssl/ssl_cert.o" => [ ".", "include", ], "ssl/ssl_ciph.o" => [ ".", "include", ], "ssl/ssl_conf.o" => [ ".", "include", ], "ssl/ssl_err.o" => [ ".", "include", ], "ssl/ssl_init.o" => [ ".", "include", ], "ssl/ssl_lib.o" => [ ".", "include", ], "ssl/ssl_mcnf.o" => [ ".", "include", ], "ssl/ssl_rsa.o" => [ ".", "include", ], "ssl/ssl_sess.o" => [ ".", "include", ], "ssl/ssl_stat.o" => [ ".", "include", ], "ssl/ssl_txt.o" => [ ".", "include", ], "ssl/ssl_utst.o" => [ ".", "include", ], "ssl/statem/statem.o" => [ ".", "include", ], "ssl/statem/statem_clnt.o" => [ ".", "include", ], "ssl/statem/statem_dtls.o" => [ ".", "include", ], "ssl/statem/statem_lib.o" => [ ".", "include", ], "ssl/statem/statem_srvr.o" => [ ".", "include", ], "ssl/t1_enc.o" => [ ".", "include", ], "ssl/t1_ext.o" => [ ".", "include", ], "ssl/t1_lib.o" => [ ".", "include", ], "ssl/t1_reneg.o" => [ ".", "include", ], "ssl/t1_trce.o" => [ ".", "include", ], "ssl/tls_srp.o" => [ ".", "include", ], "test/aborttest.o" => [ "include", ], "test/afalgtest.o" => [ ".", "include", ], "test/asynciotest.o" => [ "include", ], "test/asynctest.o" => [ ".", "include", ], "test/bad_dtls_test.o" => [ "include", ], "test/bftest.o" => [ "include", ], "test/bio_enc_test.o" => [ "include", ], "test/bioprinttest.o" => [ "include", ], "test/bntest.o" => [ ".", "crypto/include", "include", ], "test/buildtest_aes.o" => [ "include", ], "test/buildtest_asn1.o" => [ "include", ], "test/buildtest_asn1t.o" => [ "include", ], "test/buildtest_async.o" => [ "include", ], "test/buildtest_bio.o" => [ "include", ], "test/buildtest_blowfish.o" => [ "include", ], "test/buildtest_bn.o" => [ "include", ], "test/buildtest_buffer.o" => [ "include", ], "test/buildtest_camellia.o" => [ "include", ], "test/buildtest_cast.o" => [ "include", ], "test/buildtest_cmac.o" => [ "include", ], "test/buildtest_cms.o" => [ "include", ], "test/buildtest_conf.o" => [ "include", ], "test/buildtest_conf_api.o" => [ "include", ], "test/buildtest_crypto.o" => [ "include", ], "test/buildtest_ct.o" => [ "include", ], "test/buildtest_des.o" => [ "include", ], "test/buildtest_dh.o" => [ "include", ], "test/buildtest_dsa.o" => [ "include", ], "test/buildtest_dtls1.o" => [ "include", ], "test/buildtest_e_os2.o" => [ "include", ], "test/buildtest_ebcdic.o" => [ "include", ], "test/buildtest_ec.o" => [ "include", ], "test/buildtest_ecdh.o" => [ "include", ], "test/buildtest_ecdsa.o" => [ "include", ], "test/buildtest_engine.o" => [ "include", ], "test/buildtest_err.o" => [ "include", ], "test/buildtest_evp.o" => [ "include", ], "test/buildtest_hmac.o" => [ "include", ], "test/buildtest_idea.o" => [ "include", ], "test/buildtest_kdf.o" => [ "include", ], "test/buildtest_lhash.o" => [ "include", ], "test/buildtest_md4.o" => [ "include", ], "test/buildtest_md5.o" => [ "include", ], "test/buildtest_mdc2.o" => [ "include", ], "test/buildtest_modes.o" => [ "include", ], "test/buildtest_obj_mac.o" => [ "include", ], "test/buildtest_objects.o" => [ "include", ], "test/buildtest_ocsp.o" => [ "include", ], "test/buildtest_opensslv.o" => [ "include", ], "test/buildtest_ossl_typ.o" => [ "include", ], "test/buildtest_pem.o" => [ "include", ], "test/buildtest_pem2.o" => [ "include", ], "test/buildtest_pkcs12.o" => [ "include", ], "test/buildtest_pkcs7.o" => [ "include", ], "test/buildtest_rand.o" => [ "include", ], "test/buildtest_rc2.o" => [ "include", ], "test/buildtest_rc4.o" => [ "include", ], "test/buildtest_ripemd.o" => [ "include", ], "test/buildtest_rsa.o" => [ "include", ], "test/buildtest_safestack.o" => [ "include", ], "test/buildtest_seed.o" => [ "include", ], "test/buildtest_sha.o" => [ "include", ], "test/buildtest_srp.o" => [ "include", ], "test/buildtest_srtp.o" => [ "include", ], "test/buildtest_ssl.o" => [ "include", ], "test/buildtest_ssl2.o" => [ "include", ], "test/buildtest_stack.o" => [ "include", ], "test/buildtest_symhacks.o" => [ "include", ], "test/buildtest_tls1.o" => [ "include", ], "test/buildtest_ts.o" => [ "include", ], "test/buildtest_txt_db.o" => [ "include", ], "test/buildtest_ui.o" => [ "include", ], "test/buildtest_whrlpool.o" => [ "include", ], "test/buildtest_x509.o" => [ "include", ], "test/buildtest_x509_vfy.o" => [ "include", ], "test/buildtest_x509v3.o" => [ "include", ], "test/casttest.o" => [ "include", ], "test/cipherlist_test.o" => [ ".", "include", ], "test/clienthellotest.o" => [ "include", ], "test/constant_time_test.o" => [ ".", "include", ], "test/crltest.o" => [ "include", ], "test/ct_test.o" => [ "crypto/include", "include", ], "test/d2i_test.o" => [ ".", "include", ], "test/danetest.o" => [ "include", ], "test/destest.o" => [ "include", ], "test/dhtest.o" => [ "include", ], "test/dsatest.o" => [ "include", ], "test/dtlstest.o" => [ "include", "test", ], "test/dtlsv1listentest.o" => [ ".", "include", ], "test/ecdsatest.o" => [ "include", ], "test/ectest.o" => [ "include", ], "test/enginetest.o" => [ "include", ], "test/errtest.o" => [ "include", ], "test/evp_extra_test.o" => [ "include", ], "test/evp_test.o" => [ "include", ], "test/exdatatest.o" => [ "include", ], "test/exptest.o" => [ "include", ], "test/fatalerrtest.o" => [ "include", ".", ], "test/gmdifftest.o" => [ "include", ], "test/handshake_helper.o" => [ ".", "include", ], "test/heartbeat_test.o" => [ ".", "include", ], "test/hmactest.o" => [ "include", ], "test/ideatest.o" => [ "include", ], "test/igetest.o" => [ ".", "include", ], "test/md2test.o" => [ "include", ], "test/md4test.o" => [ "include", ], "test/md5test.o" => [ "include", ], "test/mdc2test.o" => [ "include", ], "test/memleaktest.o" => [ "include", ], "test/ocspapitest.o" => [ "include", ".", ], "test/p5_crpt2_test.o" => [ "include", ], "test/packettest.o" => [ "include", ], "test/pbelutest.o" => [ "include", ], "test/randtest.o" => [ "include", ], "test/rc2test.o" => [ "include", ], "test/rc4test.o" => [ "include", ], "test/rc5test.o" => [ "include", ], "test/rmdtest.o" => [ "include", ], "test/rsa_test.o" => [ ".", "include", ], "test/sanitytest.o" => [ "include", ], "test/secmemtest.o" => [ "include", ], "test/sha1test.o" => [ "include", ], "test/sha256t.o" => [ "include", ], "test/sha512t.o" => [ "include", ], "test/srptest.o" => [ "include", ], "test/ssl_test.o" => [ ".", "include", ], "test/ssl_test_ctx.o" => [ ".", "include", ], "test/ssl_test_ctx_test.o" => [ ".", "include", ], "test/sslapitest.o" => [ "include", ".", ], "test/sslcorrupttest.o" => [ "include", "test", ], "test/ssltest_old.o" => [ ".", "include", ], "test/ssltestlib.o" => [ "test", ".", "include", ], "test/testutil.o" => [ "test", "crypto/include", "include", ".", ], "test/threadstest.o" => [ ".", "include", ], "test/v3ext.o" => [ "include", ], "test/v3nametest.o" => [ "include", ], "test/verify_extra_test.o" => [ "include", ], "test/versions.o" => [ "include", ], "test/wp_test.o" => [ "include", ], "test/x509_dup_cert_test.o" => [ "include", ], "test/x509_time_test.o" => [ ".", "include", ], "test/x509aux.o" => [ "include", ], }, "install" => { "libraries" => [ "libcrypto", "libssl", ], "programs" => [ "apps/openssl", ], "scripts" => [ "apps/CA.pl", "apps/tsget", "tools/c_rehash", ], }, "ldadd" => { }, "libraries" => [ "libcrypto", "libssl", ], "ordinals" => { "libcrypto" => [ "crypto", "util/libcrypto.num", ], "libssl" => [ "ssl", "util/libssl.num", ], }, "overrides" => [ "crypto/bn/bn-mips3.o", "crypto/bn/pa-risc2.c", "crypto/bn/pa-risc2W.o", ], "programs" => [ "apps/openssl", "fuzz/asn1-test", "fuzz/asn1parse-test", "fuzz/bignum-test", "fuzz/bndiv-test", "fuzz/cms-test", "fuzz/conf-test", "fuzz/crl-test", "fuzz/ct-test", "fuzz/server-test", "fuzz/x509-test", "test/aborttest", "test/afalgtest", "test/asynciotest", "test/asynctest", "test/bad_dtls_test", "test/bftest", "test/bio_enc_test", "test/bioprinttest", "test/bntest", "test/buildtest_aes", "test/buildtest_asn1", "test/buildtest_asn1t", "test/buildtest_async", "test/buildtest_bio", "test/buildtest_blowfish", "test/buildtest_bn", "test/buildtest_buffer", "test/buildtest_camellia", "test/buildtest_cast", "test/buildtest_cmac", "test/buildtest_cms", "test/buildtest_conf", "test/buildtest_conf_api", "test/buildtest_crypto", "test/buildtest_ct", "test/buildtest_des", "test/buildtest_dh", "test/buildtest_dsa", "test/buildtest_dtls1", "test/buildtest_e_os2", "test/buildtest_ebcdic", "test/buildtest_ec", "test/buildtest_ecdh", "test/buildtest_ecdsa", "test/buildtest_engine", "test/buildtest_err", "test/buildtest_evp", "test/buildtest_hmac", "test/buildtest_idea", "test/buildtest_kdf", "test/buildtest_lhash", "test/buildtest_md4", "test/buildtest_md5", "test/buildtest_mdc2", "test/buildtest_modes", "test/buildtest_obj_mac", "test/buildtest_objects", "test/buildtest_ocsp", "test/buildtest_opensslv", "test/buildtest_ossl_typ", "test/buildtest_pem", "test/buildtest_pem2", "test/buildtest_pkcs12", "test/buildtest_pkcs7", "test/buildtest_rand", "test/buildtest_rc2", "test/buildtest_rc4", "test/buildtest_ripemd", "test/buildtest_rsa", "test/buildtest_safestack", "test/buildtest_seed", "test/buildtest_sha", "test/buildtest_srp", "test/buildtest_srtp", "test/buildtest_ssl", "test/buildtest_ssl2", "test/buildtest_stack", "test/buildtest_symhacks", "test/buildtest_tls1", "test/buildtest_ts", "test/buildtest_txt_db", "test/buildtest_ui", "test/buildtest_whrlpool", "test/buildtest_x509", "test/buildtest_x509_vfy", "test/buildtest_x509v3", "test/casttest", "test/cipherlist_test", "test/clienthellotest", "test/constant_time_test", "test/crltest", "test/ct_test", "test/d2i_test", "test/danetest", "test/destest", "test/dhtest", "test/dsatest", "test/dtlstest", "test/dtlsv1listentest", "test/ecdsatest", "test/ectest", "test/enginetest", "test/errtest", "test/evp_extra_test", "test/evp_test", "test/exdatatest", "test/exptest", "test/fatalerrtest", "test/gmdifftest", "test/heartbeat_test", "test/hmactest", "test/ideatest", "test/igetest", "test/md2test", "test/md4test", "test/md5test", "test/mdc2test", "test/memleaktest", "test/ocspapitest", "test/p5_crpt2_test", "test/packettest", "test/pbelutest", "test/randtest", "test/rc2test", "test/rc4test", "test/rc5test", "test/rmdtest", "test/rsa_test", "test/sanitytest", "test/secmemtest", "test/sha1test", "test/sha256t", "test/sha512t", "test/srptest", "test/ssl_test", "test/ssl_test_ctx_test", "test/sslapitest", "test/sslcorrupttest", "test/ssltest_old", "test/threadstest", "test/v3ext", "test/v3nametest", "test/verify_extra_test", "test/versions", "test/wp_test", "test/x509_dup_cert_test", "test/x509_time_test", "test/x509aux", ], "rawlines" => [ "crypto/md5/md5-ia64.s: crypto/md5/asm/md5-ia64.S", " \$(CC) \$(CFLAGS) -E crypto/md5/asm/md5-ia64.S | \$(PERL) -ne 's/;\\s+/;\\n/g; print;' > \$\@", "", "##### SHA assembler implementations", "", "# GNU make \"catch all\"", "crypto/sha/sha1-%.S: crypto/sha/asm/sha1-%.pl", " CC=\"\$(CC)\" \$(PERL) \$< \$(PERLASM_SCHEME) \$\@", "crypto/sha/sha256-%.S: crypto/sha/asm/sha512-%.pl", " CC=\"\$(CC)\" \$(PERL) \$< \$(PERLASM_SCHEME) \$\@", "crypto/sha/sha512-%.S: crypto/sha/asm/sha512-%.pl", " CC=\"\$(CC)\" \$(PERL) \$< \$(PERLASM_SCHEME) \$\@", "crypto/poly1305/poly1305-%.S: crypto/poly1305/asm/poly1305-%.pl", " CC=\"\$(CC)\" \$(PERL) \$< \$(PERLASM_SCHEME) \$\@", "##### AES assembler implementations", "", "# GNU make \"catch all\"", "crypto/aes/aes-%.S: crypto/aes/asm/aes-%.pl", " CC=\"\$(CC)\" \$(PERL) \$< \$(PERLASM_SCHEME) \$\@", "crypto/aes/bsaes-%.S: crypto/aes/asm/bsaes-%.pl", " CC=\"\$(CC)\" \$(PERL) \$< \$(PERLASM_SCHEME) \$\@", "", "crypto/rc4/rc4-ia64.s: crypto/rc4/asm/rc4-ia64.pl", " \@(trap \"rm \$\@.*\" INT 0; \$(PERL) crypto/rc4/asm/rc4-ia64.pl \$(CFLAGS) \$(LIB_CFLAGS) \$\@.S; case `awk '/^#define RC4_INT/{print\$\$NF}' \$(BLDDIR)/include/openssl/opensslconf.h` in int) set -x; \$(CC) \$(CFLAGS) \$(LIB_CFLAGS) -DSZ=4 -E \$\@.S > \$\@.i && mv -f \$\@.i \$\@;; char) set -x; \$(CC) \$(CFLAGS) \$(LIB_CFLAGS) -DSZ=1 -E \$\@.S > \$\@.i && mv -f \$\@.i \$\@;; *) exit 1 ;; esac )", "", "# GNU make \"catch all\"", "crypto/rc4/rc4-%.s: crypto/rc4/asm/rc4-%.pl", " CC=\"\$(CC)\" \$(PERL) \$< \$(PERLASM_SCHEME) \$\@", "##### CHACHA assembler implementations", "", "crypto/chacha/chacha-%.S: crypto/chacha/asm/chacha-%.pl", " CC=\"\$(CC)\" \$(PERL) \$< \$(PERLASM_SCHEME) \$\@", "# GNU make \"catch all\"", "crypto/modes/ghash-%.S: crypto/modes/asm/ghash-%.pl", " CC=\"\$(CC)\" \$(PERL) \$< \$(PERLASM_SCHEME) \$\@", "##### BN assembler implementations", "", "crypto/bn/bn-mips3.o: crypto/bn/asm/mips3.s", " \@if [ \"\$(CC)\" = \"gcc\" ]; then ABI=`expr \"\$(CFLAGS)\" : \".*-mabi=\\([n3264]*\\)\"` && as -\$\$ABI -O -o \$\@ crypto/bn/asm/mips3.s; else \$(CC) -c \$(CFLAGS) \$(LIB_CFLAGS) -o \$\@ crypto/bn/asm/mips3.s; fi", "", "# GNU assembler fails to compile PA-RISC2 modules, insist on calling", "# vendor assembler...", "crypto/bn/pa-risc2W.o: crypto/bn/asm/pa-risc2W.s", " CC=\"\$(CC)\" \$(PERL) \$(SRCDIR)/util/fipsas.pl \$(SRCDIR) \$< /usr/ccs/bin/as -o pa-risc2W.o crypto/bn/asm/pa-risc2W.s", "crypto/bn/pa-risc2.o: crypto/bn/asm/pa-risc2.s", " CC=\"\$(CC)\" \$(PERL) \$(SRCDIR)/util/fipsas.pl \$(SRCDIR) \$< /usr/ccs/bin/as -o pa-risc2.o crypto/bn/asm/pa-risc2.s", "", "crypto/ec/ecp_nistz256-%.S: crypto/ec/asm/ecp_nistz256-%.pl", " CC=\"\$(CC)\" \$(PERL) \$< \$(PERLASM_SCHEME) \$\@", ], "rename" => { }, "scripts" => [ "apps/CA.pl", "apps/tsget", "tools/c_rehash", "util/shlib_wrap.sh", ], "shared_sources" => { "apps/openssl" => [ ], "fuzz/asn1-test" => [ ], "fuzz/asn1parse-test" => [ ], "fuzz/bignum-test" => [ ], "fuzz/bndiv-test" => [ ], "fuzz/cms-test" => [ ], "fuzz/conf-test" => [ ], "fuzz/crl-test" => [ ], "fuzz/ct-test" => [ ], "fuzz/server-test" => [ ], "fuzz/x509-test" => [ ], "libcrypto" => [ ], "libssl" => [ ], "test/aborttest" => [ ], "test/afalgtest" => [ ], "test/asynciotest" => [ ], "test/asynctest" => [ ], "test/bad_dtls_test" => [ ], "test/bftest" => [ ], "test/bio_enc_test" => [ ], "test/bioprinttest" => [ ], "test/bntest" => [ ], "test/buildtest_aes" => [ ], "test/buildtest_asn1" => [ ], "test/buildtest_asn1t" => [ ], "test/buildtest_async" => [ ], "test/buildtest_bio" => [ ], "test/buildtest_blowfish" => [ ], "test/buildtest_bn" => [ ], "test/buildtest_buffer" => [ ], "test/buildtest_camellia" => [ ], "test/buildtest_cast" => [ ], "test/buildtest_cmac" => [ ], "test/buildtest_cms" => [ ], "test/buildtest_conf" => [ ], "test/buildtest_conf_api" => [ ], "test/buildtest_crypto" => [ ], "test/buildtest_ct" => [ ], "test/buildtest_des" => [ ], "test/buildtest_dh" => [ ], "test/buildtest_dsa" => [ ], "test/buildtest_dtls1" => [ ], "test/buildtest_e_os2" => [ ], "test/buildtest_ebcdic" => [ ], "test/buildtest_ec" => [ ], "test/buildtest_ecdh" => [ ], "test/buildtest_ecdsa" => [ ], "test/buildtest_engine" => [ ], "test/buildtest_err" => [ ], "test/buildtest_evp" => [ ], "test/buildtest_hmac" => [ ], "test/buildtest_idea" => [ ], "test/buildtest_kdf" => [ ], "test/buildtest_lhash" => [ ], "test/buildtest_md4" => [ ], "test/buildtest_md5" => [ ], "test/buildtest_mdc2" => [ ], "test/buildtest_modes" => [ ], "test/buildtest_obj_mac" => [ ], "test/buildtest_objects" => [ ], "test/buildtest_ocsp" => [ ], "test/buildtest_opensslv" => [ ], "test/buildtest_ossl_typ" => [ ], "test/buildtest_pem" => [ ], "test/buildtest_pem2" => [ ], "test/buildtest_pkcs12" => [ ], "test/buildtest_pkcs7" => [ ], "test/buildtest_rand" => [ ], "test/buildtest_rc2" => [ ], "test/buildtest_rc4" => [ ], "test/buildtest_ripemd" => [ ], "test/buildtest_rsa" => [ ], "test/buildtest_safestack" => [ ], "test/buildtest_seed" => [ ], "test/buildtest_sha" => [ ], "test/buildtest_srp" => [ ], "test/buildtest_srtp" => [ ], "test/buildtest_ssl" => [ ], "test/buildtest_ssl2" => [ ], "test/buildtest_stack" => [ ], "test/buildtest_symhacks" => [ ], "test/buildtest_tls1" => [ ], "test/buildtest_ts" => [ ], "test/buildtest_txt_db" => [ ], "test/buildtest_ui" => [ ], "test/buildtest_whrlpool" => [ ], "test/buildtest_x509" => [ ], "test/buildtest_x509_vfy" => [ ], "test/buildtest_x509v3" => [ ], "test/casttest" => [ ], "test/cipherlist_test" => [ ], "test/clienthellotest" => [ ], "test/constant_time_test" => [ ], "test/crltest" => [ ], "test/ct_test" => [ ], "test/d2i_test" => [ ], "test/danetest" => [ ], "test/destest" => [ ], "test/dhtest" => [ ], "test/dsatest" => [ ], "test/dtlstest" => [ ], "test/dtlsv1listentest" => [ ], "test/ecdsatest" => [ ], "test/ectest" => [ ], "test/enginetest" => [ ], "test/errtest" => [ ], "test/evp_extra_test" => [ ], "test/evp_test" => [ ], "test/exdatatest" => [ ], "test/exptest" => [ ], "test/fatalerrtest" => [ ], "test/gmdifftest" => [ ], "test/heartbeat_test" => [ ], "test/hmactest" => [ ], "test/ideatest" => [ ], "test/igetest" => [ ], "test/md2test" => [ ], "test/md4test" => [ ], "test/md5test" => [ ], "test/mdc2test" => [ ], "test/memleaktest" => [ ], "test/ocspapitest" => [ ], "test/p5_crpt2_test" => [ ], "test/packettest" => [ ], "test/pbelutest" => [ ], "test/randtest" => [ ], "test/rc2test" => [ ], "test/rc4test" => [ ], "test/rc5test" => [ ], "test/rmdtest" => [ ], "test/rsa_test" => [ ], "test/sanitytest" => [ ], "test/secmemtest" => [ ], "test/sha1test" => [ ], "test/sha256t" => [ ], "test/sha512t" => [ ], "test/srptest" => [ ], "test/ssl_test" => [ ], "test/ssl_test_ctx_test" => [ ], "test/sslapitest" => [ ], "test/sslcorrupttest" => [ ], "test/ssltest_old" => [ ], "test/threadstest" => [ ], "test/v3ext" => [ ], "test/v3nametest" => [ ], "test/verify_extra_test" => [ ], "test/versions" => [ ], "test/wp_test" => [ ], "test/x509_dup_cert_test" => [ ], "test/x509_time_test" => [ ], "test/x509aux" => [ ], }, "sources" => { "apps/CA.pl" => [ "apps/CA.pl.in", ], "apps/app_rand.o" => [ "apps/app_rand.c", ], "apps/apps.o" => [ "apps/apps.c", ], "apps/asn1pars.o" => [ "apps/asn1pars.c", ], "apps/ca.o" => [ "apps/ca.c", ], "apps/ciphers.o" => [ "apps/ciphers.c", ], "apps/cms.o" => [ "apps/cms.c", ], "apps/crl.o" => [ "apps/crl.c", ], "apps/crl2p7.o" => [ "apps/crl2p7.c", ], "apps/dgst.o" => [ "apps/dgst.c", ], "apps/dhparam.o" => [ "apps/dhparam.c", ], "apps/dsa.o" => [ "apps/dsa.c", ], "apps/dsaparam.o" => [ "apps/dsaparam.c", ], "apps/ec.o" => [ "apps/ec.c", ], "apps/ecparam.o" => [ "apps/ecparam.c", ], "apps/enc.o" => [ "apps/enc.c", ], "apps/engine.o" => [ "apps/engine.c", ], "apps/errstr.o" => [ "apps/errstr.c", ], "apps/gendsa.o" => [ "apps/gendsa.c", ], "apps/genpkey.o" => [ "apps/genpkey.c", ], "apps/genrsa.o" => [ "apps/genrsa.c", ], "apps/nseq.o" => [ "apps/nseq.c", ], "apps/ocsp.o" => [ "apps/ocsp.c", ], "apps/openssl" => [ "apps/app_rand.o", "apps/apps.o", "apps/asn1pars.o", "apps/ca.o", "apps/ciphers.o", "apps/cms.o", "apps/crl.o", "apps/crl2p7.o", "apps/dgst.o", "apps/dhparam.o", "apps/dsa.o", "apps/dsaparam.o", "apps/ec.o", "apps/ecparam.o", "apps/enc.o", "apps/engine.o", "apps/errstr.o", "apps/gendsa.o", "apps/genpkey.o", "apps/genrsa.o", "apps/nseq.o", "apps/ocsp.o", "apps/openssl.o", "apps/opt.o", "apps/passwd.o", "apps/pkcs12.o", "apps/pkcs7.o", "apps/pkcs8.o", "apps/pkey.o", "apps/pkeyparam.o", "apps/pkeyutl.o", "apps/prime.o", "apps/rand.o", "apps/rehash.o", "apps/req.o", "apps/rsa.o", "apps/rsautl.o", "apps/s_cb.o", "apps/s_client.o", "apps/s_server.o", "apps/s_socket.o", "apps/s_time.o", "apps/sess_id.o", "apps/smime.o", "apps/speed.o", "apps/spkac.o", "apps/srp.o", "apps/ts.o", "apps/verify.o", "apps/version.o", "apps/x509.o", ], "apps/openssl.o" => [ "apps/openssl.c", ], "apps/opt.o" => [ "apps/opt.c", ], "apps/passwd.o" => [ "apps/passwd.c", ], "apps/pkcs12.o" => [ "apps/pkcs12.c", ], "apps/pkcs7.o" => [ "apps/pkcs7.c", ], "apps/pkcs8.o" => [ "apps/pkcs8.c", ], "apps/pkey.o" => [ "apps/pkey.c", ], "apps/pkeyparam.o" => [ "apps/pkeyparam.c", ], "apps/pkeyutl.o" => [ "apps/pkeyutl.c", ], "apps/prime.o" => [ "apps/prime.c", ], "apps/rand.o" => [ "apps/rand.c", ], "apps/rehash.o" => [ "apps/rehash.c", ], "apps/req.o" => [ "apps/req.c", ], "apps/rsa.o" => [ "apps/rsa.c", ], "apps/rsautl.o" => [ "apps/rsautl.c", ], "apps/s_cb.o" => [ "apps/s_cb.c", ], "apps/s_client.o" => [ "apps/s_client.c", ], "apps/s_server.o" => [ "apps/s_server.c", ], "apps/s_socket.o" => [ "apps/s_socket.c", ], "apps/s_time.o" => [ "apps/s_time.c", ], "apps/sess_id.o" => [ "apps/sess_id.c", ], "apps/smime.o" => [ "apps/smime.c", ], "apps/speed.o" => [ "apps/speed.c", ], "apps/spkac.o" => [ "apps/spkac.c", ], "apps/srp.o" => [ "apps/srp.c", ], "apps/ts.o" => [ "apps/ts.c", ], "apps/tsget" => [ "apps/tsget.in", ], "apps/verify.o" => [ "apps/verify.c", ], "apps/version.o" => [ "apps/version.c", ], "apps/x509.o" => [ "apps/x509.c", ], "crypto/aes/aes-x86_64.o" => [ "crypto/aes/aes-x86_64.s", ], "crypto/aes/aes_cfb.o" => [ "crypto/aes/aes_cfb.c", ], "crypto/aes/aes_ecb.o" => [ "crypto/aes/aes_ecb.c", ], "crypto/aes/aes_ige.o" => [ "crypto/aes/aes_ige.c", ], "crypto/aes/aes_misc.o" => [ "crypto/aes/aes_misc.c", ], "crypto/aes/aes_ofb.o" => [ "crypto/aes/aes_ofb.c", ], "crypto/aes/aes_wrap.o" => [ "crypto/aes/aes_wrap.c", ], "crypto/aes/aesni-mb-x86_64.o" => [ "crypto/aes/aesni-mb-x86_64.s", ], "crypto/aes/aesni-sha1-x86_64.o" => [ "crypto/aes/aesni-sha1-x86_64.s", ], "crypto/aes/aesni-sha256-x86_64.o" => [ "crypto/aes/aesni-sha256-x86_64.s", ], "crypto/aes/aesni-x86_64.o" => [ "crypto/aes/aesni-x86_64.s", ], "crypto/aes/bsaes-x86_64.o" => [ "crypto/aes/bsaes-x86_64.s", ], "crypto/aes/vpaes-x86_64.o" => [ "crypto/aes/vpaes-x86_64.s", ], "crypto/asn1/a_bitstr.o" => [ "crypto/asn1/a_bitstr.c", ], "crypto/asn1/a_d2i_fp.o" => [ "crypto/asn1/a_d2i_fp.c", ], "crypto/asn1/a_digest.o" => [ "crypto/asn1/a_digest.c", ], "crypto/asn1/a_dup.o" => [ "crypto/asn1/a_dup.c", ], "crypto/asn1/a_gentm.o" => [ "crypto/asn1/a_gentm.c", ], "crypto/asn1/a_i2d_fp.o" => [ "crypto/asn1/a_i2d_fp.c", ], "crypto/asn1/a_int.o" => [ "crypto/asn1/a_int.c", ], "crypto/asn1/a_mbstr.o" => [ "crypto/asn1/a_mbstr.c", ], "crypto/asn1/a_object.o" => [ "crypto/asn1/a_object.c", ], "crypto/asn1/a_octet.o" => [ "crypto/asn1/a_octet.c", ], "crypto/asn1/a_print.o" => [ "crypto/asn1/a_print.c", ], "crypto/asn1/a_sign.o" => [ "crypto/asn1/a_sign.c", ], "crypto/asn1/a_strex.o" => [ "crypto/asn1/a_strex.c", ], "crypto/asn1/a_strnid.o" => [ "crypto/asn1/a_strnid.c", ], "crypto/asn1/a_time.o" => [ "crypto/asn1/a_time.c", ], "crypto/asn1/a_type.o" => [ "crypto/asn1/a_type.c", ], "crypto/asn1/a_utctm.o" => [ "crypto/asn1/a_utctm.c", ], "crypto/asn1/a_utf8.o" => [ "crypto/asn1/a_utf8.c", ], "crypto/asn1/a_verify.o" => [ "crypto/asn1/a_verify.c", ], "crypto/asn1/ameth_lib.o" => [ "crypto/asn1/ameth_lib.c", ], "crypto/asn1/asn1_err.o" => [ "crypto/asn1/asn1_err.c", ], "crypto/asn1/asn1_gen.o" => [ "crypto/asn1/asn1_gen.c", ], "crypto/asn1/asn1_lib.o" => [ "crypto/asn1/asn1_lib.c", ], "crypto/asn1/asn1_par.o" => [ "crypto/asn1/asn1_par.c", ], "crypto/asn1/asn_mime.o" => [ "crypto/asn1/asn_mime.c", ], "crypto/asn1/asn_moid.o" => [ "crypto/asn1/asn_moid.c", ], "crypto/asn1/asn_mstbl.o" => [ "crypto/asn1/asn_mstbl.c", ], "crypto/asn1/asn_pack.o" => [ "crypto/asn1/asn_pack.c", ], "crypto/asn1/bio_asn1.o" => [ "crypto/asn1/bio_asn1.c", ], "crypto/asn1/bio_ndef.o" => [ "crypto/asn1/bio_ndef.c", ], "crypto/asn1/d2i_pr.o" => [ "crypto/asn1/d2i_pr.c", ], "crypto/asn1/d2i_pu.o" => [ "crypto/asn1/d2i_pu.c", ], "crypto/asn1/evp_asn1.o" => [ "crypto/asn1/evp_asn1.c", ], "crypto/asn1/f_int.o" => [ "crypto/asn1/f_int.c", ], "crypto/asn1/f_string.o" => [ "crypto/asn1/f_string.c", ], "crypto/asn1/i2d_pr.o" => [ "crypto/asn1/i2d_pr.c", ], "crypto/asn1/i2d_pu.o" => [ "crypto/asn1/i2d_pu.c", ], "crypto/asn1/n_pkey.o" => [ "crypto/asn1/n_pkey.c", ], "crypto/asn1/nsseq.o" => [ "crypto/asn1/nsseq.c", ], "crypto/asn1/p5_pbe.o" => [ "crypto/asn1/p5_pbe.c", ], "crypto/asn1/p5_pbev2.o" => [ "crypto/asn1/p5_pbev2.c", ], "crypto/asn1/p5_scrypt.o" => [ "crypto/asn1/p5_scrypt.c", ], "crypto/asn1/p8_pkey.o" => [ "crypto/asn1/p8_pkey.c", ], "crypto/asn1/t_bitst.o" => [ "crypto/asn1/t_bitst.c", ], "crypto/asn1/t_pkey.o" => [ "crypto/asn1/t_pkey.c", ], "crypto/asn1/t_spki.o" => [ "crypto/asn1/t_spki.c", ], "crypto/asn1/tasn_dec.o" => [ "crypto/asn1/tasn_dec.c", ], "crypto/asn1/tasn_enc.o" => [ "crypto/asn1/tasn_enc.c", ], "crypto/asn1/tasn_fre.o" => [ "crypto/asn1/tasn_fre.c", ], "crypto/asn1/tasn_new.o" => [ "crypto/asn1/tasn_new.c", ], "crypto/asn1/tasn_prn.o" => [ "crypto/asn1/tasn_prn.c", ], "crypto/asn1/tasn_scn.o" => [ "crypto/asn1/tasn_scn.c", ], "crypto/asn1/tasn_typ.o" => [ "crypto/asn1/tasn_typ.c", ], "crypto/asn1/tasn_utl.o" => [ "crypto/asn1/tasn_utl.c", ], "crypto/asn1/x_algor.o" => [ "crypto/asn1/x_algor.c", ], "crypto/asn1/x_bignum.o" => [ "crypto/asn1/x_bignum.c", ], "crypto/asn1/x_info.o" => [ "crypto/asn1/x_info.c", ], "crypto/asn1/x_int64.o" => [ "crypto/asn1/x_int64.c", ], "crypto/asn1/x_long.o" => [ "crypto/asn1/x_long.c", ], "crypto/asn1/x_pkey.o" => [ "crypto/asn1/x_pkey.c", ], "crypto/asn1/x_sig.o" => [ "crypto/asn1/x_sig.c", ], "crypto/asn1/x_spki.o" => [ "crypto/asn1/x_spki.c", ], "crypto/asn1/x_val.o" => [ "crypto/asn1/x_val.c", ], "crypto/async/arch/async_null.o" => [ "crypto/async/arch/async_null.c", ], "crypto/async/arch/async_posix.o" => [ "crypto/async/arch/async_posix.c", ], "crypto/async/arch/async_win.o" => [ "crypto/async/arch/async_win.c", ], "crypto/async/async.o" => [ "crypto/async/async.c", ], "crypto/async/async_err.o" => [ "crypto/async/async_err.c", ], "crypto/async/async_wait.o" => [ "crypto/async/async_wait.c", ], "crypto/bf/bf_cfb64.o" => [ "crypto/bf/bf_cfb64.c", ], "crypto/bf/bf_ecb.o" => [ "crypto/bf/bf_ecb.c", ], "crypto/bf/bf_enc.o" => [ "crypto/bf/bf_enc.c", ], "crypto/bf/bf_ofb64.o" => [ "crypto/bf/bf_ofb64.c", ], "crypto/bf/bf_skey.o" => [ "crypto/bf/bf_skey.c", ], "crypto/bio/b_addr.o" => [ "crypto/bio/b_addr.c", ], "crypto/bio/b_dump.o" => [ "crypto/bio/b_dump.c", ], "crypto/bio/b_print.o" => [ "crypto/bio/b_print.c", ], "crypto/bio/b_sock.o" => [ "crypto/bio/b_sock.c", ], "crypto/bio/b_sock2.o" => [ "crypto/bio/b_sock2.c", ], "crypto/bio/bf_buff.o" => [ "crypto/bio/bf_buff.c", ], "crypto/bio/bf_lbuf.o" => [ "crypto/bio/bf_lbuf.c", ], "crypto/bio/bf_nbio.o" => [ "crypto/bio/bf_nbio.c", ], "crypto/bio/bf_null.o" => [ "crypto/bio/bf_null.c", ], "crypto/bio/bio_cb.o" => [ "crypto/bio/bio_cb.c", ], "crypto/bio/bio_err.o" => [ "crypto/bio/bio_err.c", ], "crypto/bio/bio_lib.o" => [ "crypto/bio/bio_lib.c", ], "crypto/bio/bio_meth.o" => [ "crypto/bio/bio_meth.c", ], "crypto/bio/bss_acpt.o" => [ "crypto/bio/bss_acpt.c", ], "crypto/bio/bss_bio.o" => [ "crypto/bio/bss_bio.c", ], "crypto/bio/bss_conn.o" => [ "crypto/bio/bss_conn.c", ], "crypto/bio/bss_dgram.o" => [ "crypto/bio/bss_dgram.c", ], "crypto/bio/bss_fd.o" => [ "crypto/bio/bss_fd.c", ], "crypto/bio/bss_file.o" => [ "crypto/bio/bss_file.c", ], "crypto/bio/bss_log.o" => [ "crypto/bio/bss_log.c", ], "crypto/bio/bss_mem.o" => [ "crypto/bio/bss_mem.c", ], "crypto/bio/bss_null.o" => [ "crypto/bio/bss_null.c", ], "crypto/bio/bss_sock.o" => [ "crypto/bio/bss_sock.c", ], "crypto/blake2/blake2b.o" => [ "crypto/blake2/blake2b.c", ], "crypto/blake2/blake2s.o" => [ "crypto/blake2/blake2s.c", ], "crypto/blake2/m_blake2b.o" => [ "crypto/blake2/m_blake2b.c", ], "crypto/blake2/m_blake2s.o" => [ "crypto/blake2/m_blake2s.c", ], "crypto/bn/asm/x86_64-gcc.o" => [ "crypto/bn/asm/x86_64-gcc.c", ], "crypto/bn/bn_add.o" => [ "crypto/bn/bn_add.c", ], "crypto/bn/bn_blind.o" => [ "crypto/bn/bn_blind.c", ], "crypto/bn/bn_const.o" => [ "crypto/bn/bn_const.c", ], "crypto/bn/bn_ctx.o" => [ "crypto/bn/bn_ctx.c", ], "crypto/bn/bn_depr.o" => [ "crypto/bn/bn_depr.c", ], "crypto/bn/bn_dh.o" => [ "crypto/bn/bn_dh.c", ], "crypto/bn/bn_div.o" => [ "crypto/bn/bn_div.c", ], "crypto/bn/bn_err.o" => [ "crypto/bn/bn_err.c", ], "crypto/bn/bn_exp.o" => [ "crypto/bn/bn_exp.c", ], "crypto/bn/bn_exp2.o" => [ "crypto/bn/bn_exp2.c", ], "crypto/bn/bn_gcd.o" => [ "crypto/bn/bn_gcd.c", ], "crypto/bn/bn_gf2m.o" => [ "crypto/bn/bn_gf2m.c", ], "crypto/bn/bn_intern.o" => [ "crypto/bn/bn_intern.c", ], "crypto/bn/bn_kron.o" => [ "crypto/bn/bn_kron.c", ], "crypto/bn/bn_lib.o" => [ "crypto/bn/bn_lib.c", ], "crypto/bn/bn_mod.o" => [ "crypto/bn/bn_mod.c", ], "crypto/bn/bn_mont.o" => [ "crypto/bn/bn_mont.c", ], "crypto/bn/bn_mpi.o" => [ "crypto/bn/bn_mpi.c", ], "crypto/bn/bn_mul.o" => [ "crypto/bn/bn_mul.c", ], "crypto/bn/bn_nist.o" => [ "crypto/bn/bn_nist.c", ], "crypto/bn/bn_prime.o" => [ "crypto/bn/bn_prime.c", ], "crypto/bn/bn_print.o" => [ "crypto/bn/bn_print.c", ], "crypto/bn/bn_rand.o" => [ "crypto/bn/bn_rand.c", ], "crypto/bn/bn_recp.o" => [ "crypto/bn/bn_recp.c", ], "crypto/bn/bn_shift.o" => [ "crypto/bn/bn_shift.c", ], "crypto/bn/bn_sqr.o" => [ "crypto/bn/bn_sqr.c", ], "crypto/bn/bn_sqrt.o" => [ "crypto/bn/bn_sqrt.c", ], "crypto/bn/bn_srp.o" => [ "crypto/bn/bn_srp.c", ], "crypto/bn/bn_word.o" => [ "crypto/bn/bn_word.c", ], "crypto/bn/bn_x931p.o" => [ "crypto/bn/bn_x931p.c", ], "crypto/bn/rsaz-avx2.o" => [ "crypto/bn/rsaz-avx2.s", ], "crypto/bn/rsaz-x86_64.o" => [ "crypto/bn/rsaz-x86_64.s", ], "crypto/bn/rsaz_exp.o" => [ "crypto/bn/rsaz_exp.c", ], "crypto/bn/x86_64-gf2m.o" => [ "crypto/bn/x86_64-gf2m.s", ], "crypto/bn/x86_64-mont.o" => [ "crypto/bn/x86_64-mont.s", ], "crypto/bn/x86_64-mont5.o" => [ "crypto/bn/x86_64-mont5.s", ], "crypto/buffer/buf_err.o" => [ "crypto/buffer/buf_err.c", ], "crypto/buffer/buffer.o" => [ "crypto/buffer/buffer.c", ], "crypto/camellia/cmll-x86_64.o" => [ "crypto/camellia/cmll-x86_64.s", ], "crypto/camellia/cmll_cfb.o" => [ "crypto/camellia/cmll_cfb.c", ], "crypto/camellia/cmll_ctr.o" => [ "crypto/camellia/cmll_ctr.c", ], "crypto/camellia/cmll_ecb.o" => [ "crypto/camellia/cmll_ecb.c", ], "crypto/camellia/cmll_misc.o" => [ "crypto/camellia/cmll_misc.c", ], "crypto/camellia/cmll_ofb.o" => [ "crypto/camellia/cmll_ofb.c", ], "crypto/cast/c_cfb64.o" => [ "crypto/cast/c_cfb64.c", ], "crypto/cast/c_ecb.o" => [ "crypto/cast/c_ecb.c", ], "crypto/cast/c_enc.o" => [ "crypto/cast/c_enc.c", ], "crypto/cast/c_ofb64.o" => [ "crypto/cast/c_ofb64.c", ], "crypto/cast/c_skey.o" => [ "crypto/cast/c_skey.c", ], "crypto/chacha/chacha-x86_64.o" => [ "crypto/chacha/chacha-x86_64.s", ], "crypto/cmac/cm_ameth.o" => [ "crypto/cmac/cm_ameth.c", ], "crypto/cmac/cm_pmeth.o" => [ "crypto/cmac/cm_pmeth.c", ], "crypto/cmac/cmac.o" => [ "crypto/cmac/cmac.c", ], "crypto/cms/cms_asn1.o" => [ "crypto/cms/cms_asn1.c", ], "crypto/cms/cms_att.o" => [ "crypto/cms/cms_att.c", ], "crypto/cms/cms_cd.o" => [ "crypto/cms/cms_cd.c", ], "crypto/cms/cms_dd.o" => [ "crypto/cms/cms_dd.c", ], "crypto/cms/cms_enc.o" => [ "crypto/cms/cms_enc.c", ], "crypto/cms/cms_env.o" => [ "crypto/cms/cms_env.c", ], "crypto/cms/cms_err.o" => [ "crypto/cms/cms_err.c", ], "crypto/cms/cms_ess.o" => [ "crypto/cms/cms_ess.c", ], "crypto/cms/cms_io.o" => [ "crypto/cms/cms_io.c", ], "crypto/cms/cms_kari.o" => [ "crypto/cms/cms_kari.c", ], "crypto/cms/cms_lib.o" => [ "crypto/cms/cms_lib.c", ], "crypto/cms/cms_pwri.o" => [ "crypto/cms/cms_pwri.c", ], "crypto/cms/cms_sd.o" => [ "crypto/cms/cms_sd.c", ], "crypto/cms/cms_smime.o" => [ "crypto/cms/cms_smime.c", ], "crypto/conf/conf_api.o" => [ "crypto/conf/conf_api.c", ], "crypto/conf/conf_def.o" => [ "crypto/conf/conf_def.c", ], "crypto/conf/conf_err.o" => [ "crypto/conf/conf_err.c", ], "crypto/conf/conf_lib.o" => [ "crypto/conf/conf_lib.c", ], "crypto/conf/conf_mall.o" => [ "crypto/conf/conf_mall.c", ], "crypto/conf/conf_mod.o" => [ "crypto/conf/conf_mod.c", ], "crypto/conf/conf_sap.o" => [ "crypto/conf/conf_sap.c", ], "crypto/conf/conf_ssl.o" => [ "crypto/conf/conf_ssl.c", ], "crypto/cpt_err.o" => [ "crypto/cpt_err.c", ], "crypto/cryptlib.o" => [ "crypto/cryptlib.c", ], "crypto/ct/ct_b64.o" => [ "crypto/ct/ct_b64.c", ], "crypto/ct/ct_err.o" => [ "crypto/ct/ct_err.c", ], "crypto/ct/ct_log.o" => [ "crypto/ct/ct_log.c", ], "crypto/ct/ct_oct.o" => [ "crypto/ct/ct_oct.c", ], "crypto/ct/ct_policy.o" => [ "crypto/ct/ct_policy.c", ], "crypto/ct/ct_prn.o" => [ "crypto/ct/ct_prn.c", ], "crypto/ct/ct_sct.o" => [ "crypto/ct/ct_sct.c", ], "crypto/ct/ct_sct_ctx.o" => [ "crypto/ct/ct_sct_ctx.c", ], "crypto/ct/ct_vfy.o" => [ "crypto/ct/ct_vfy.c", ], "crypto/ct/ct_x509v3.o" => [ "crypto/ct/ct_x509v3.c", ], "crypto/cversion.o" => [ "crypto/cversion.c", ], "crypto/des/cbc_cksm.o" => [ "crypto/des/cbc_cksm.c", ], "crypto/des/cbc_enc.o" => [ "crypto/des/cbc_enc.c", ], "crypto/des/cfb64ede.o" => [ "crypto/des/cfb64ede.c", ], "crypto/des/cfb64enc.o" => [ "crypto/des/cfb64enc.c", ], "crypto/des/cfb_enc.o" => [ "crypto/des/cfb_enc.c", ], "crypto/des/des_enc.o" => [ "crypto/des/des_enc.c", ], "crypto/des/ecb3_enc.o" => [ "crypto/des/ecb3_enc.c", ], "crypto/des/ecb_enc.o" => [ "crypto/des/ecb_enc.c", ], "crypto/des/fcrypt.o" => [ "crypto/des/fcrypt.c", ], "crypto/des/fcrypt_b.o" => [ "crypto/des/fcrypt_b.c", ], "crypto/des/ofb64ede.o" => [ "crypto/des/ofb64ede.c", ], "crypto/des/ofb64enc.o" => [ "crypto/des/ofb64enc.c", ], "crypto/des/ofb_enc.o" => [ "crypto/des/ofb_enc.c", ], "crypto/des/pcbc_enc.o" => [ "crypto/des/pcbc_enc.c", ], "crypto/des/qud_cksm.o" => [ "crypto/des/qud_cksm.c", ], "crypto/des/rand_key.o" => [ "crypto/des/rand_key.c", ], "crypto/des/rpc_enc.o" => [ "crypto/des/rpc_enc.c", ], "crypto/des/set_key.o" => [ "crypto/des/set_key.c", ], "crypto/des/str2key.o" => [ "crypto/des/str2key.c", ], "crypto/des/xcbc_enc.o" => [ "crypto/des/xcbc_enc.c", ], "crypto/dh/dh_ameth.o" => [ "crypto/dh/dh_ameth.c", ], "crypto/dh/dh_asn1.o" => [ "crypto/dh/dh_asn1.c", ], "crypto/dh/dh_check.o" => [ "crypto/dh/dh_check.c", ], "crypto/dh/dh_depr.o" => [ "crypto/dh/dh_depr.c", ], "crypto/dh/dh_err.o" => [ "crypto/dh/dh_err.c", ], "crypto/dh/dh_gen.o" => [ "crypto/dh/dh_gen.c", ], "crypto/dh/dh_kdf.o" => [ "crypto/dh/dh_kdf.c", ], "crypto/dh/dh_key.o" => [ "crypto/dh/dh_key.c", ], "crypto/dh/dh_lib.o" => [ "crypto/dh/dh_lib.c", ], "crypto/dh/dh_meth.o" => [ "crypto/dh/dh_meth.c", ], "crypto/dh/dh_pmeth.o" => [ "crypto/dh/dh_pmeth.c", ], "crypto/dh/dh_prn.o" => [ "crypto/dh/dh_prn.c", ], "crypto/dh/dh_rfc5114.o" => [ "crypto/dh/dh_rfc5114.c", ], "crypto/dsa/dsa_ameth.o" => [ "crypto/dsa/dsa_ameth.c", ], "crypto/dsa/dsa_asn1.o" => [ "crypto/dsa/dsa_asn1.c", ], "crypto/dsa/dsa_depr.o" => [ "crypto/dsa/dsa_depr.c", ], "crypto/dsa/dsa_err.o" => [ "crypto/dsa/dsa_err.c", ], "crypto/dsa/dsa_gen.o" => [ "crypto/dsa/dsa_gen.c", ], "crypto/dsa/dsa_key.o" => [ "crypto/dsa/dsa_key.c", ], "crypto/dsa/dsa_lib.o" => [ "crypto/dsa/dsa_lib.c", ], "crypto/dsa/dsa_meth.o" => [ "crypto/dsa/dsa_meth.c", ], "crypto/dsa/dsa_ossl.o" => [ "crypto/dsa/dsa_ossl.c", ], "crypto/dsa/dsa_pmeth.o" => [ "crypto/dsa/dsa_pmeth.c", ], "crypto/dsa/dsa_prn.o" => [ "crypto/dsa/dsa_prn.c", ], "crypto/dsa/dsa_sign.o" => [ "crypto/dsa/dsa_sign.c", ], "crypto/dsa/dsa_vrf.o" => [ "crypto/dsa/dsa_vrf.c", ], "crypto/dso/dso_dl.o" => [ "crypto/dso/dso_dl.c", ], "crypto/dso/dso_dlfcn.o" => [ "crypto/dso/dso_dlfcn.c", ], "crypto/dso/dso_err.o" => [ "crypto/dso/dso_err.c", ], "crypto/dso/dso_lib.o" => [ "crypto/dso/dso_lib.c", ], "crypto/dso/dso_openssl.o" => [ "crypto/dso/dso_openssl.c", ], "crypto/dso/dso_vms.o" => [ "crypto/dso/dso_vms.c", ], "crypto/dso/dso_win32.o" => [ "crypto/dso/dso_win32.c", ], "crypto/ebcdic.o" => [ "crypto/ebcdic.c", ], "crypto/ec/curve25519.o" => [ "crypto/ec/curve25519.c", ], "crypto/ec/ec2_mult.o" => [ "crypto/ec/ec2_mult.c", ], "crypto/ec/ec2_oct.o" => [ "crypto/ec/ec2_oct.c", ], "crypto/ec/ec2_smpl.o" => [ "crypto/ec/ec2_smpl.c", ], "crypto/ec/ec_ameth.o" => [ "crypto/ec/ec_ameth.c", ], "crypto/ec/ec_asn1.o" => [ "crypto/ec/ec_asn1.c", ], "crypto/ec/ec_check.o" => [ "crypto/ec/ec_check.c", ], "crypto/ec/ec_curve.o" => [ "crypto/ec/ec_curve.c", ], "crypto/ec/ec_cvt.o" => [ "crypto/ec/ec_cvt.c", ], "crypto/ec/ec_err.o" => [ "crypto/ec/ec_err.c", ], "crypto/ec/ec_key.o" => [ "crypto/ec/ec_key.c", ], "crypto/ec/ec_kmeth.o" => [ "crypto/ec/ec_kmeth.c", ], "crypto/ec/ec_lib.o" => [ "crypto/ec/ec_lib.c", ], "crypto/ec/ec_mult.o" => [ "crypto/ec/ec_mult.c", ], "crypto/ec/ec_oct.o" => [ "crypto/ec/ec_oct.c", ], "crypto/ec/ec_pmeth.o" => [ "crypto/ec/ec_pmeth.c", ], "crypto/ec/ec_print.o" => [ "crypto/ec/ec_print.c", ], "crypto/ec/ecdh_kdf.o" => [ "crypto/ec/ecdh_kdf.c", ], "crypto/ec/ecdh_ossl.o" => [ "crypto/ec/ecdh_ossl.c", ], "crypto/ec/ecdsa_ossl.o" => [ "crypto/ec/ecdsa_ossl.c", ], "crypto/ec/ecdsa_sign.o" => [ "crypto/ec/ecdsa_sign.c", ], "crypto/ec/ecdsa_vrf.o" => [ "crypto/ec/ecdsa_vrf.c", ], "crypto/ec/eck_prn.o" => [ "crypto/ec/eck_prn.c", ], "crypto/ec/ecp_mont.o" => [ "crypto/ec/ecp_mont.c", ], "crypto/ec/ecp_nist.o" => [ "crypto/ec/ecp_nist.c", ], "crypto/ec/ecp_nistp224.o" => [ "crypto/ec/ecp_nistp224.c", ], "crypto/ec/ecp_nistp256.o" => [ "crypto/ec/ecp_nistp256.c", ], "crypto/ec/ecp_nistp521.o" => [ "crypto/ec/ecp_nistp521.c", ], "crypto/ec/ecp_nistputil.o" => [ "crypto/ec/ecp_nistputil.c", ], "crypto/ec/ecp_nistz256-x86_64.o" => [ "crypto/ec/ecp_nistz256-x86_64.s", ], "crypto/ec/ecp_nistz256.o" => [ "crypto/ec/ecp_nistz256.c", ], "crypto/ec/ecp_oct.o" => [ "crypto/ec/ecp_oct.c", ], "crypto/ec/ecp_smpl.o" => [ "crypto/ec/ecp_smpl.c", ], "crypto/ec/ecx_meth.o" => [ "crypto/ec/ecx_meth.c", ], "crypto/engine/eng_all.o" => [ "crypto/engine/eng_all.c", ], "crypto/engine/eng_cnf.o" => [ "crypto/engine/eng_cnf.c", ], "crypto/engine/eng_cryptodev.o" => [ "crypto/engine/eng_cryptodev.c", ], "crypto/engine/eng_ctrl.o" => [ "crypto/engine/eng_ctrl.c", ], "crypto/engine/eng_dyn.o" => [ "crypto/engine/eng_dyn.c", ], "crypto/engine/eng_err.o" => [ "crypto/engine/eng_err.c", ], "crypto/engine/eng_fat.o" => [ "crypto/engine/eng_fat.c", ], "crypto/engine/eng_init.o" => [ "crypto/engine/eng_init.c", ], "crypto/engine/eng_lib.o" => [ "crypto/engine/eng_lib.c", ], "crypto/engine/eng_list.o" => [ "crypto/engine/eng_list.c", ], "crypto/engine/eng_openssl.o" => [ "crypto/engine/eng_openssl.c", ], "crypto/engine/eng_pkey.o" => [ "crypto/engine/eng_pkey.c", ], "crypto/engine/eng_rdrand.o" => [ "crypto/engine/eng_rdrand.c", ], "crypto/engine/eng_table.o" => [ "crypto/engine/eng_table.c", ], "crypto/engine/tb_asnmth.o" => [ "crypto/engine/tb_asnmth.c", ], "crypto/engine/tb_cipher.o" => [ "crypto/engine/tb_cipher.c", ], "crypto/engine/tb_dh.o" => [ "crypto/engine/tb_dh.c", ], "crypto/engine/tb_digest.o" => [ "crypto/engine/tb_digest.c", ], "crypto/engine/tb_dsa.o" => [ "crypto/engine/tb_dsa.c", ], "crypto/engine/tb_eckey.o" => [ "crypto/engine/tb_eckey.c", ], "crypto/engine/tb_pkmeth.o" => [ "crypto/engine/tb_pkmeth.c", ], "crypto/engine/tb_rand.o" => [ "crypto/engine/tb_rand.c", ], "crypto/engine/tb_rsa.o" => [ "crypto/engine/tb_rsa.c", ], "crypto/err/err.o" => [ "crypto/err/err.c", ], "crypto/err/err_all.o" => [ "crypto/err/err_all.c", ], "crypto/err/err_prn.o" => [ "crypto/err/err_prn.c", ], "crypto/evp/bio_b64.o" => [ "crypto/evp/bio_b64.c", ], "crypto/evp/bio_enc.o" => [ "crypto/evp/bio_enc.c", ], "crypto/evp/bio_md.o" => [ "crypto/evp/bio_md.c", ], "crypto/evp/bio_ok.o" => [ "crypto/evp/bio_ok.c", ], "crypto/evp/c_allc.o" => [ "crypto/evp/c_allc.c", ], "crypto/evp/c_alld.o" => [ "crypto/evp/c_alld.c", ], "crypto/evp/cmeth_lib.o" => [ "crypto/evp/cmeth_lib.c", ], "crypto/evp/digest.o" => [ "crypto/evp/digest.c", ], "crypto/evp/e_aes.o" => [ "crypto/evp/e_aes.c", ], "crypto/evp/e_aes_cbc_hmac_sha1.o" => [ "crypto/evp/e_aes_cbc_hmac_sha1.c", ], "crypto/evp/e_aes_cbc_hmac_sha256.o" => [ "crypto/evp/e_aes_cbc_hmac_sha256.c", ], "crypto/evp/e_bf.o" => [ "crypto/evp/e_bf.c", ], "crypto/evp/e_camellia.o" => [ "crypto/evp/e_camellia.c", ], "crypto/evp/e_cast.o" => [ "crypto/evp/e_cast.c", ], "crypto/evp/e_chacha20_poly1305.o" => [ "crypto/evp/e_chacha20_poly1305.c", ], "crypto/evp/e_des.o" => [ "crypto/evp/e_des.c", ], "crypto/evp/e_des3.o" => [ "crypto/evp/e_des3.c", ], "crypto/evp/e_idea.o" => [ "crypto/evp/e_idea.c", ], "crypto/evp/e_null.o" => [ "crypto/evp/e_null.c", ], "crypto/evp/e_old.o" => [ "crypto/evp/e_old.c", ], "crypto/evp/e_rc2.o" => [ "crypto/evp/e_rc2.c", ], "crypto/evp/e_rc4.o" => [ "crypto/evp/e_rc4.c", ], "crypto/evp/e_rc4_hmac_md5.o" => [ "crypto/evp/e_rc4_hmac_md5.c", ], "crypto/evp/e_rc5.o" => [ "crypto/evp/e_rc5.c", ], "crypto/evp/e_seed.o" => [ "crypto/evp/e_seed.c", ], "crypto/evp/e_xcbc_d.o" => [ "crypto/evp/e_xcbc_d.c", ], "crypto/evp/encode.o" => [ "crypto/evp/encode.c", ], "crypto/evp/evp_cnf.o" => [ "crypto/evp/evp_cnf.c", ], "crypto/evp/evp_enc.o" => [ "crypto/evp/evp_enc.c", ], "crypto/evp/evp_err.o" => [ "crypto/evp/evp_err.c", ], "crypto/evp/evp_key.o" => [ "crypto/evp/evp_key.c", ], "crypto/evp/evp_lib.o" => [ "crypto/evp/evp_lib.c", ], "crypto/evp/evp_pbe.o" => [ "crypto/evp/evp_pbe.c", ], "crypto/evp/evp_pkey.o" => [ "crypto/evp/evp_pkey.c", ], "crypto/evp/m_md2.o" => [ "crypto/evp/m_md2.c", ], "crypto/evp/m_md4.o" => [ "crypto/evp/m_md4.c", ], "crypto/evp/m_md5.o" => [ "crypto/evp/m_md5.c", ], "crypto/evp/m_md5_sha1.o" => [ "crypto/evp/m_md5_sha1.c", ], "crypto/evp/m_mdc2.o" => [ "crypto/evp/m_mdc2.c", ], "crypto/evp/m_null.o" => [ "crypto/evp/m_null.c", ], "crypto/evp/m_ripemd.o" => [ "crypto/evp/m_ripemd.c", ], "crypto/evp/m_sha1.o" => [ "crypto/evp/m_sha1.c", ], "crypto/evp/m_sigver.o" => [ "crypto/evp/m_sigver.c", ], "crypto/evp/m_wp.o" => [ "crypto/evp/m_wp.c", ], "crypto/evp/names.o" => [ "crypto/evp/names.c", ], "crypto/evp/p5_crpt.o" => [ "crypto/evp/p5_crpt.c", ], "crypto/evp/p5_crpt2.o" => [ "crypto/evp/p5_crpt2.c", ], "crypto/evp/p_dec.o" => [ "crypto/evp/p_dec.c", ], "crypto/evp/p_enc.o" => [ "crypto/evp/p_enc.c", ], "crypto/evp/p_lib.o" => [ "crypto/evp/p_lib.c", ], "crypto/evp/p_open.o" => [ "crypto/evp/p_open.c", ], "crypto/evp/p_seal.o" => [ "crypto/evp/p_seal.c", ], "crypto/evp/p_sign.o" => [ "crypto/evp/p_sign.c", ], "crypto/evp/p_verify.o" => [ "crypto/evp/p_verify.c", ], "crypto/evp/pmeth_fn.o" => [ "crypto/evp/pmeth_fn.c", ], "crypto/evp/pmeth_gn.o" => [ "crypto/evp/pmeth_gn.c", ], "crypto/evp/pmeth_lib.o" => [ "crypto/evp/pmeth_lib.c", ], "crypto/evp/scrypt.o" => [ "crypto/evp/scrypt.c", ], "crypto/ex_data.o" => [ "crypto/ex_data.c", ], "crypto/hmac/hm_ameth.o" => [ "crypto/hmac/hm_ameth.c", ], "crypto/hmac/hm_pmeth.o" => [ "crypto/hmac/hm_pmeth.c", ], "crypto/hmac/hmac.o" => [ "crypto/hmac/hmac.c", ], "crypto/idea/i_cbc.o" => [ "crypto/idea/i_cbc.c", ], "crypto/idea/i_cfb64.o" => [ "crypto/idea/i_cfb64.c", ], "crypto/idea/i_ecb.o" => [ "crypto/idea/i_ecb.c", ], "crypto/idea/i_ofb64.o" => [ "crypto/idea/i_ofb64.c", ], "crypto/idea/i_skey.o" => [ "crypto/idea/i_skey.c", ], "crypto/init.o" => [ "crypto/init.c", ], "crypto/kdf/hkdf.o" => [ "crypto/kdf/hkdf.c", ], "crypto/kdf/kdf_err.o" => [ "crypto/kdf/kdf_err.c", ], "crypto/kdf/tls1_prf.o" => [ "crypto/kdf/tls1_prf.c", ], "crypto/lhash/lh_stats.o" => [ "crypto/lhash/lh_stats.c", ], "crypto/lhash/lhash.o" => [ "crypto/lhash/lhash.c", ], "crypto/md4/md4_dgst.o" => [ "crypto/md4/md4_dgst.c", ], "crypto/md4/md4_one.o" => [ "crypto/md4/md4_one.c", ], "crypto/md5/md5-x86_64.o" => [ "crypto/md5/md5-x86_64.s", ], "crypto/md5/md5_dgst.o" => [ "crypto/md5/md5_dgst.c", ], "crypto/md5/md5_one.o" => [ "crypto/md5/md5_one.c", ], "crypto/mdc2/mdc2_one.o" => [ "crypto/mdc2/mdc2_one.c", ], "crypto/mdc2/mdc2dgst.o" => [ "crypto/mdc2/mdc2dgst.c", ], "crypto/mem.o" => [ "crypto/mem.c", ], "crypto/mem_dbg.o" => [ "crypto/mem_dbg.c", ], "crypto/mem_sec.o" => [ "crypto/mem_sec.c", ], "crypto/modes/aesni-gcm-x86_64.o" => [ "crypto/modes/aesni-gcm-x86_64.s", ], "crypto/modes/cbc128.o" => [ "crypto/modes/cbc128.c", ], "crypto/modes/ccm128.o" => [ "crypto/modes/ccm128.c", ], "crypto/modes/cfb128.o" => [ "crypto/modes/cfb128.c", ], "crypto/modes/ctr128.o" => [ "crypto/modes/ctr128.c", ], "crypto/modes/cts128.o" => [ "crypto/modes/cts128.c", ], "crypto/modes/gcm128.o" => [ "crypto/modes/gcm128.c", ], "crypto/modes/ghash-x86_64.o" => [ "crypto/modes/ghash-x86_64.s", ], "crypto/modes/ocb128.o" => [ "crypto/modes/ocb128.c", ], "crypto/modes/ofb128.o" => [ "crypto/modes/ofb128.c", ], "crypto/modes/wrap128.o" => [ "crypto/modes/wrap128.c", ], "crypto/modes/xts128.o" => [ "crypto/modes/xts128.c", ], "crypto/o_dir.o" => [ "crypto/o_dir.c", ], "crypto/o_fips.o" => [ "crypto/o_fips.c", ], "crypto/o_fopen.o" => [ "crypto/o_fopen.c", ], "crypto/o_init.o" => [ "crypto/o_init.c", ], "crypto/o_str.o" => [ "crypto/o_str.c", ], "crypto/o_time.o" => [ "crypto/o_time.c", ], "crypto/objects/o_names.o" => [ "crypto/objects/o_names.c", ], "crypto/objects/obj_dat.o" => [ "crypto/objects/obj_dat.c", ], "crypto/objects/obj_err.o" => [ "crypto/objects/obj_err.c", ], "crypto/objects/obj_lib.o" => [ "crypto/objects/obj_lib.c", ], "crypto/objects/obj_xref.o" => [ "crypto/objects/obj_xref.c", ], "crypto/ocsp/ocsp_asn.o" => [ "crypto/ocsp/ocsp_asn.c", ], "crypto/ocsp/ocsp_cl.o" => [ "crypto/ocsp/ocsp_cl.c", ], "crypto/ocsp/ocsp_err.o" => [ "crypto/ocsp/ocsp_err.c", ], "crypto/ocsp/ocsp_ext.o" => [ "crypto/ocsp/ocsp_ext.c", ], "crypto/ocsp/ocsp_ht.o" => [ "crypto/ocsp/ocsp_ht.c", ], "crypto/ocsp/ocsp_lib.o" => [ "crypto/ocsp/ocsp_lib.c", ], "crypto/ocsp/ocsp_prn.o" => [ "crypto/ocsp/ocsp_prn.c", ], "crypto/ocsp/ocsp_srv.o" => [ "crypto/ocsp/ocsp_srv.c", ], "crypto/ocsp/ocsp_vfy.o" => [ "crypto/ocsp/ocsp_vfy.c", ], "crypto/ocsp/v3_ocsp.o" => [ "crypto/ocsp/v3_ocsp.c", ], "crypto/pem/pem_all.o" => [ "crypto/pem/pem_all.c", ], "crypto/pem/pem_err.o" => [ "crypto/pem/pem_err.c", ], "crypto/pem/pem_info.o" => [ "crypto/pem/pem_info.c", ], "crypto/pem/pem_lib.o" => [ "crypto/pem/pem_lib.c", ], "crypto/pem/pem_oth.o" => [ "crypto/pem/pem_oth.c", ], "crypto/pem/pem_pk8.o" => [ "crypto/pem/pem_pk8.c", ], "crypto/pem/pem_pkey.o" => [ "crypto/pem/pem_pkey.c", ], "crypto/pem/pem_sign.o" => [ "crypto/pem/pem_sign.c", ], "crypto/pem/pem_x509.o" => [ "crypto/pem/pem_x509.c", ], "crypto/pem/pem_xaux.o" => [ "crypto/pem/pem_xaux.c", ], "crypto/pem/pvkfmt.o" => [ "crypto/pem/pvkfmt.c", ], "crypto/pkcs12/p12_add.o" => [ "crypto/pkcs12/p12_add.c", ], "crypto/pkcs12/p12_asn.o" => [ "crypto/pkcs12/p12_asn.c", ], "crypto/pkcs12/p12_attr.o" => [ "crypto/pkcs12/p12_attr.c", ], "crypto/pkcs12/p12_crpt.o" => [ "crypto/pkcs12/p12_crpt.c", ], "crypto/pkcs12/p12_crt.o" => [ "crypto/pkcs12/p12_crt.c", ], "crypto/pkcs12/p12_decr.o" => [ "crypto/pkcs12/p12_decr.c", ], "crypto/pkcs12/p12_init.o" => [ "crypto/pkcs12/p12_init.c", ], "crypto/pkcs12/p12_key.o" => [ "crypto/pkcs12/p12_key.c", ], "crypto/pkcs12/p12_kiss.o" => [ "crypto/pkcs12/p12_kiss.c", ], "crypto/pkcs12/p12_mutl.o" => [ "crypto/pkcs12/p12_mutl.c", ], "crypto/pkcs12/p12_npas.o" => [ "crypto/pkcs12/p12_npas.c", ], "crypto/pkcs12/p12_p8d.o" => [ "crypto/pkcs12/p12_p8d.c", ], "crypto/pkcs12/p12_p8e.o" => [ "crypto/pkcs12/p12_p8e.c", ], "crypto/pkcs12/p12_sbag.o" => [ "crypto/pkcs12/p12_sbag.c", ], "crypto/pkcs12/p12_utl.o" => [ "crypto/pkcs12/p12_utl.c", ], "crypto/pkcs12/pk12err.o" => [ "crypto/pkcs12/pk12err.c", ], "crypto/pkcs7/bio_pk7.o" => [ "crypto/pkcs7/bio_pk7.c", ], "crypto/pkcs7/pk7_asn1.o" => [ "crypto/pkcs7/pk7_asn1.c", ], "crypto/pkcs7/pk7_attr.o" => [ "crypto/pkcs7/pk7_attr.c", ], "crypto/pkcs7/pk7_doit.o" => [ "crypto/pkcs7/pk7_doit.c", ], "crypto/pkcs7/pk7_lib.o" => [ "crypto/pkcs7/pk7_lib.c", ], "crypto/pkcs7/pk7_mime.o" => [ "crypto/pkcs7/pk7_mime.c", ], "crypto/pkcs7/pk7_smime.o" => [ "crypto/pkcs7/pk7_smime.c", ], "crypto/pkcs7/pkcs7err.o" => [ "crypto/pkcs7/pkcs7err.c", ], "crypto/poly1305/poly1305-x86_64.o" => [ "crypto/poly1305/poly1305-x86_64.s", ], "crypto/poly1305/poly1305.o" => [ "crypto/poly1305/poly1305.c", ], "crypto/rand/md_rand.o" => [ "crypto/rand/md_rand.c", ], "crypto/rand/rand_egd.o" => [ "crypto/rand/rand_egd.c", ], "crypto/rand/rand_err.o" => [ "crypto/rand/rand_err.c", ], "crypto/rand/rand_lib.o" => [ "crypto/rand/rand_lib.c", ], "crypto/rand/rand_unix.o" => [ "crypto/rand/rand_unix.c", ], "crypto/rand/rand_vms.o" => [ "crypto/rand/rand_vms.c", ], "crypto/rand/rand_win.o" => [ "crypto/rand/rand_win.c", ], "crypto/rand/randfile.o" => [ "crypto/rand/randfile.c", ], "crypto/rc2/rc2_cbc.o" => [ "crypto/rc2/rc2_cbc.c", ], "crypto/rc2/rc2_ecb.o" => [ "crypto/rc2/rc2_ecb.c", ], "crypto/rc2/rc2_skey.o" => [ "crypto/rc2/rc2_skey.c", ], "crypto/rc2/rc2cfb64.o" => [ "crypto/rc2/rc2cfb64.c", ], "crypto/rc2/rc2ofb64.o" => [ "crypto/rc2/rc2ofb64.c", ], "crypto/rc4/rc4-md5-x86_64.o" => [ "crypto/rc4/rc4-md5-x86_64.s", ], "crypto/rc4/rc4-x86_64.o" => [ "crypto/rc4/rc4-x86_64.s", ], "crypto/ripemd/rmd_dgst.o" => [ "crypto/ripemd/rmd_dgst.c", ], "crypto/ripemd/rmd_one.o" => [ "crypto/ripemd/rmd_one.c", ], "crypto/rsa/rsa_ameth.o" => [ "crypto/rsa/rsa_ameth.c", ], "crypto/rsa/rsa_asn1.o" => [ "crypto/rsa/rsa_asn1.c", ], "crypto/rsa/rsa_chk.o" => [ "crypto/rsa/rsa_chk.c", ], "crypto/rsa/rsa_crpt.o" => [ "crypto/rsa/rsa_crpt.c", ], "crypto/rsa/rsa_depr.o" => [ "crypto/rsa/rsa_depr.c", ], "crypto/rsa/rsa_err.o" => [ "crypto/rsa/rsa_err.c", ], "crypto/rsa/rsa_gen.o" => [ "crypto/rsa/rsa_gen.c", ], "crypto/rsa/rsa_lib.o" => [ "crypto/rsa/rsa_lib.c", ], "crypto/rsa/rsa_meth.o" => [ "crypto/rsa/rsa_meth.c", ], "crypto/rsa/rsa_none.o" => [ "crypto/rsa/rsa_none.c", ], "crypto/rsa/rsa_null.o" => [ "crypto/rsa/rsa_null.c", ], "crypto/rsa/rsa_oaep.o" => [ "crypto/rsa/rsa_oaep.c", ], "crypto/rsa/rsa_ossl.o" => [ "crypto/rsa/rsa_ossl.c", ], "crypto/rsa/rsa_pk1.o" => [ "crypto/rsa/rsa_pk1.c", ], "crypto/rsa/rsa_pmeth.o" => [ "crypto/rsa/rsa_pmeth.c", ], "crypto/rsa/rsa_prn.o" => [ "crypto/rsa/rsa_prn.c", ], "crypto/rsa/rsa_pss.o" => [ "crypto/rsa/rsa_pss.c", ], "crypto/rsa/rsa_saos.o" => [ "crypto/rsa/rsa_saos.c", ], "crypto/rsa/rsa_sign.o" => [ "crypto/rsa/rsa_sign.c", ], "crypto/rsa/rsa_ssl.o" => [ "crypto/rsa/rsa_ssl.c", ], "crypto/rsa/rsa_x931.o" => [ "crypto/rsa/rsa_x931.c", ], "crypto/rsa/rsa_x931g.o" => [ "crypto/rsa/rsa_x931g.c", ], "crypto/seed/seed.o" => [ "crypto/seed/seed.c", ], "crypto/seed/seed_cbc.o" => [ "crypto/seed/seed_cbc.c", ], "crypto/seed/seed_cfb.o" => [ "crypto/seed/seed_cfb.c", ], "crypto/seed/seed_ecb.o" => [ "crypto/seed/seed_ecb.c", ], "crypto/seed/seed_ofb.o" => [ "crypto/seed/seed_ofb.c", ], "crypto/sha/sha1-mb-x86_64.o" => [ "crypto/sha/sha1-mb-x86_64.s", ], "crypto/sha/sha1-x86_64.o" => [ "crypto/sha/sha1-x86_64.s", ], "crypto/sha/sha1_one.o" => [ "crypto/sha/sha1_one.c", ], "crypto/sha/sha1dgst.o" => [ "crypto/sha/sha1dgst.c", ], "crypto/sha/sha256-mb-x86_64.o" => [ "crypto/sha/sha256-mb-x86_64.s", ], "crypto/sha/sha256-x86_64.o" => [ "crypto/sha/sha256-x86_64.s", ], "crypto/sha/sha256.o" => [ "crypto/sha/sha256.c", ], "crypto/sha/sha512-x86_64.o" => [ "crypto/sha/sha512-x86_64.s", ], "crypto/sha/sha512.o" => [ "crypto/sha/sha512.c", ], "crypto/srp/srp_lib.o" => [ "crypto/srp/srp_lib.c", ], "crypto/srp/srp_vfy.o" => [ "crypto/srp/srp_vfy.c", ], "crypto/stack/stack.o" => [ "crypto/stack/stack.c", ], "crypto/threads_none.o" => [ "crypto/threads_none.c", ], "crypto/threads_pthread.o" => [ "crypto/threads_pthread.c", ], "crypto/threads_win.o" => [ "crypto/threads_win.c", ], "crypto/ts/ts_asn1.o" => [ "crypto/ts/ts_asn1.c", ], "crypto/ts/ts_conf.o" => [ "crypto/ts/ts_conf.c", ], "crypto/ts/ts_err.o" => [ "crypto/ts/ts_err.c", ], "crypto/ts/ts_lib.o" => [ "crypto/ts/ts_lib.c", ], "crypto/ts/ts_req_print.o" => [ "crypto/ts/ts_req_print.c", ], "crypto/ts/ts_req_utils.o" => [ "crypto/ts/ts_req_utils.c", ], "crypto/ts/ts_rsp_print.o" => [ "crypto/ts/ts_rsp_print.c", ], "crypto/ts/ts_rsp_sign.o" => [ "crypto/ts/ts_rsp_sign.c", ], "crypto/ts/ts_rsp_utils.o" => [ "crypto/ts/ts_rsp_utils.c", ], "crypto/ts/ts_rsp_verify.o" => [ "crypto/ts/ts_rsp_verify.c", ], "crypto/ts/ts_verify_ctx.o" => [ "crypto/ts/ts_verify_ctx.c", ], "crypto/txt_db/txt_db.o" => [ "crypto/txt_db/txt_db.c", ], "crypto/ui/ui_err.o" => [ "crypto/ui/ui_err.c", ], "crypto/ui/ui_lib.o" => [ "crypto/ui/ui_lib.c", ], "crypto/ui/ui_openssl.o" => [ "crypto/ui/ui_openssl.c", ], "crypto/ui/ui_util.o" => [ "crypto/ui/ui_util.c", ], "crypto/uid.o" => [ "crypto/uid.c", ], "crypto/whrlpool/wp-x86_64.o" => [ "crypto/whrlpool/wp-x86_64.s", ], "crypto/whrlpool/wp_dgst.o" => [ "crypto/whrlpool/wp_dgst.c", ], "crypto/x509/by_dir.o" => [ "crypto/x509/by_dir.c", ], "crypto/x509/by_file.o" => [ "crypto/x509/by_file.c", ], "crypto/x509/t_crl.o" => [ "crypto/x509/t_crl.c", ], "crypto/x509/t_req.o" => [ "crypto/x509/t_req.c", ], "crypto/x509/t_x509.o" => [ "crypto/x509/t_x509.c", ], "crypto/x509/x509_att.o" => [ "crypto/x509/x509_att.c", ], "crypto/x509/x509_cmp.o" => [ "crypto/x509/x509_cmp.c", ], "crypto/x509/x509_d2.o" => [ "crypto/x509/x509_d2.c", ], "crypto/x509/x509_def.o" => [ "crypto/x509/x509_def.c", ], "crypto/x509/x509_err.o" => [ "crypto/x509/x509_err.c", ], "crypto/x509/x509_ext.o" => [ "crypto/x509/x509_ext.c", ], "crypto/x509/x509_lu.o" => [ "crypto/x509/x509_lu.c", ], "crypto/x509/x509_meth.o" => [ "crypto/x509/x509_meth.c", ], "crypto/x509/x509_obj.o" => [ "crypto/x509/x509_obj.c", ], "crypto/x509/x509_r2x.o" => [ "crypto/x509/x509_r2x.c", ], "crypto/x509/x509_req.o" => [ "crypto/x509/x509_req.c", ], "crypto/x509/x509_set.o" => [ "crypto/x509/x509_set.c", ], "crypto/x509/x509_trs.o" => [ "crypto/x509/x509_trs.c", ], "crypto/x509/x509_txt.o" => [ "crypto/x509/x509_txt.c", ], "crypto/x509/x509_v3.o" => [ "crypto/x509/x509_v3.c", ], "crypto/x509/x509_vfy.o" => [ "crypto/x509/x509_vfy.c", ], "crypto/x509/x509_vpm.o" => [ "crypto/x509/x509_vpm.c", ], "crypto/x509/x509cset.o" => [ "crypto/x509/x509cset.c", ], "crypto/x509/x509name.o" => [ "crypto/x509/x509name.c", ], "crypto/x509/x509rset.o" => [ "crypto/x509/x509rset.c", ], "crypto/x509/x509spki.o" => [ "crypto/x509/x509spki.c", ], "crypto/x509/x509type.o" => [ "crypto/x509/x509type.c", ], "crypto/x509/x_all.o" => [ "crypto/x509/x_all.c", ], "crypto/x509/x_attrib.o" => [ "crypto/x509/x_attrib.c", ], "crypto/x509/x_crl.o" => [ "crypto/x509/x_crl.c", ], "crypto/x509/x_exten.o" => [ "crypto/x509/x_exten.c", ], "crypto/x509/x_name.o" => [ "crypto/x509/x_name.c", ], "crypto/x509/x_pubkey.o" => [ "crypto/x509/x_pubkey.c", ], "crypto/x509/x_req.o" => [ "crypto/x509/x_req.c", ], "crypto/x509/x_x509.o" => [ "crypto/x509/x_x509.c", ], "crypto/x509/x_x509a.o" => [ "crypto/x509/x_x509a.c", ], "crypto/x509v3/pcy_cache.o" => [ "crypto/x509v3/pcy_cache.c", ], "crypto/x509v3/pcy_data.o" => [ "crypto/x509v3/pcy_data.c", ], "crypto/x509v3/pcy_lib.o" => [ "crypto/x509v3/pcy_lib.c", ], "crypto/x509v3/pcy_map.o" => [ "crypto/x509v3/pcy_map.c", ], "crypto/x509v3/pcy_node.o" => [ "crypto/x509v3/pcy_node.c", ], "crypto/x509v3/pcy_tree.o" => [ "crypto/x509v3/pcy_tree.c", ], "crypto/x509v3/v3_addr.o" => [ "crypto/x509v3/v3_addr.c", ], "crypto/x509v3/v3_akey.o" => [ "crypto/x509v3/v3_akey.c", ], "crypto/x509v3/v3_akeya.o" => [ "crypto/x509v3/v3_akeya.c", ], "crypto/x509v3/v3_alt.o" => [ "crypto/x509v3/v3_alt.c", ], "crypto/x509v3/v3_asid.o" => [ "crypto/x509v3/v3_asid.c", ], "crypto/x509v3/v3_bcons.o" => [ "crypto/x509v3/v3_bcons.c", ], "crypto/x509v3/v3_bitst.o" => [ "crypto/x509v3/v3_bitst.c", ], "crypto/x509v3/v3_conf.o" => [ "crypto/x509v3/v3_conf.c", ], "crypto/x509v3/v3_cpols.o" => [ "crypto/x509v3/v3_cpols.c", ], "crypto/x509v3/v3_crld.o" => [ "crypto/x509v3/v3_crld.c", ], "crypto/x509v3/v3_enum.o" => [ "crypto/x509v3/v3_enum.c", ], "crypto/x509v3/v3_extku.o" => [ "crypto/x509v3/v3_extku.c", ], "crypto/x509v3/v3_genn.o" => [ "crypto/x509v3/v3_genn.c", ], "crypto/x509v3/v3_ia5.o" => [ "crypto/x509v3/v3_ia5.c", ], "crypto/x509v3/v3_info.o" => [ "crypto/x509v3/v3_info.c", ], "crypto/x509v3/v3_int.o" => [ "crypto/x509v3/v3_int.c", ], "crypto/x509v3/v3_lib.o" => [ "crypto/x509v3/v3_lib.c", ], "crypto/x509v3/v3_ncons.o" => [ "crypto/x509v3/v3_ncons.c", ], "crypto/x509v3/v3_pci.o" => [ "crypto/x509v3/v3_pci.c", ], "crypto/x509v3/v3_pcia.o" => [ "crypto/x509v3/v3_pcia.c", ], "crypto/x509v3/v3_pcons.o" => [ "crypto/x509v3/v3_pcons.c", ], "crypto/x509v3/v3_pku.o" => [ "crypto/x509v3/v3_pku.c", ], "crypto/x509v3/v3_pmaps.o" => [ "crypto/x509v3/v3_pmaps.c", ], "crypto/x509v3/v3_prn.o" => [ "crypto/x509v3/v3_prn.c", ], "crypto/x509v3/v3_purp.o" => [ "crypto/x509v3/v3_purp.c", ], "crypto/x509v3/v3_skey.o" => [ "crypto/x509v3/v3_skey.c", ], "crypto/x509v3/v3_sxnet.o" => [ "crypto/x509v3/v3_sxnet.c", ], "crypto/x509v3/v3_tlsf.o" => [ "crypto/x509v3/v3_tlsf.c", ], "crypto/x509v3/v3_utl.o" => [ "crypto/x509v3/v3_utl.c", ], "crypto/x509v3/v3err.o" => [ "crypto/x509v3/v3err.c", ], "crypto/x86_64cpuid.o" => [ "crypto/x86_64cpuid.s", ], "engines/e_capi.o" => [ "engines/e_capi.c", ], "engines/e_padlock-x86_64.o" => [ "engines/e_padlock-x86_64.s", ], "engines/e_padlock.o" => [ "engines/e_padlock.c", ], "fuzz/asn1-test" => [ "fuzz/asn1.o", "fuzz/test-corpus.o", ], "fuzz/asn1.o" => [ "fuzz/asn1.c", ], "fuzz/asn1parse-test" => [ "fuzz/asn1parse.o", "fuzz/test-corpus.o", ], "fuzz/asn1parse.o" => [ "fuzz/asn1parse.c", ], "fuzz/bignum-test" => [ "fuzz/bignum.o", "fuzz/test-corpus.o", ], "fuzz/bignum.o" => [ "fuzz/bignum.c", ], "fuzz/bndiv-test" => [ "fuzz/bndiv.o", "fuzz/test-corpus.o", ], "fuzz/bndiv.o" => [ "fuzz/bndiv.c", ], "fuzz/cms-test" => [ "fuzz/cms.o", "fuzz/test-corpus.o", ], "fuzz/cms.o" => [ "fuzz/cms.c", ], "fuzz/conf-test" => [ "fuzz/conf.o", "fuzz/test-corpus.o", ], "fuzz/conf.o" => [ "fuzz/conf.c", ], "fuzz/crl-test" => [ "fuzz/crl.o", "fuzz/test-corpus.o", ], "fuzz/crl.o" => [ "fuzz/crl.c", ], "fuzz/ct-test" => [ "fuzz/ct.o", "fuzz/test-corpus.o", ], "fuzz/ct.o" => [ "fuzz/ct.c", ], "fuzz/server-test" => [ "fuzz/server.o", "fuzz/test-corpus.o", ], "fuzz/server.o" => [ "fuzz/server.c", ], "fuzz/test-corpus.o" => [ "fuzz/test-corpus.c", ], "fuzz/x509-test" => [ "fuzz/test-corpus.o", "fuzz/x509.o", ], "fuzz/x509.o" => [ "fuzz/x509.c", ], "libcrypto" => [ "crypto/aes/aes-x86_64.o", "crypto/aes/aes_cfb.o", "crypto/aes/aes_ecb.o", "crypto/aes/aes_ige.o", "crypto/aes/aes_misc.o", "crypto/aes/aes_ofb.o", "crypto/aes/aes_wrap.o", "crypto/aes/aesni-mb-x86_64.o", "crypto/aes/aesni-sha1-x86_64.o", "crypto/aes/aesni-sha256-x86_64.o", "crypto/aes/aesni-x86_64.o", "crypto/aes/bsaes-x86_64.o", "crypto/aes/vpaes-x86_64.o", "crypto/asn1/a_bitstr.o", "crypto/asn1/a_d2i_fp.o", "crypto/asn1/a_digest.o", "crypto/asn1/a_dup.o", "crypto/asn1/a_gentm.o", "crypto/asn1/a_i2d_fp.o", "crypto/asn1/a_int.o", "crypto/asn1/a_mbstr.o", "crypto/asn1/a_object.o", "crypto/asn1/a_octet.o", "crypto/asn1/a_print.o", "crypto/asn1/a_sign.o", "crypto/asn1/a_strex.o", "crypto/asn1/a_strnid.o", "crypto/asn1/a_time.o", "crypto/asn1/a_type.o", "crypto/asn1/a_utctm.o", "crypto/asn1/a_utf8.o", "crypto/asn1/a_verify.o", "crypto/asn1/ameth_lib.o", "crypto/asn1/asn1_err.o", "crypto/asn1/asn1_gen.o", "crypto/asn1/asn1_lib.o", "crypto/asn1/asn1_par.o", "crypto/asn1/asn_mime.o", "crypto/asn1/asn_moid.o", "crypto/asn1/asn_mstbl.o", "crypto/asn1/asn_pack.o", "crypto/asn1/bio_asn1.o", "crypto/asn1/bio_ndef.o", "crypto/asn1/d2i_pr.o", "crypto/asn1/d2i_pu.o", "crypto/asn1/evp_asn1.o", "crypto/asn1/f_int.o", "crypto/asn1/f_string.o", "crypto/asn1/i2d_pr.o", "crypto/asn1/i2d_pu.o", "crypto/asn1/n_pkey.o", "crypto/asn1/nsseq.o", "crypto/asn1/p5_pbe.o", "crypto/asn1/p5_pbev2.o", "crypto/asn1/p5_scrypt.o", "crypto/asn1/p8_pkey.o", "crypto/asn1/t_bitst.o", "crypto/asn1/t_pkey.o", "crypto/asn1/t_spki.o", "crypto/asn1/tasn_dec.o", "crypto/asn1/tasn_enc.o", "crypto/asn1/tasn_fre.o", "crypto/asn1/tasn_new.o", "crypto/asn1/tasn_prn.o", "crypto/asn1/tasn_scn.o", "crypto/asn1/tasn_typ.o", "crypto/asn1/tasn_utl.o", "crypto/asn1/x_algor.o", "crypto/asn1/x_bignum.o", "crypto/asn1/x_info.o", "crypto/asn1/x_int64.o", "crypto/asn1/x_long.o", "crypto/asn1/x_pkey.o", "crypto/asn1/x_sig.o", "crypto/asn1/x_spki.o", "crypto/asn1/x_val.o", "crypto/async/arch/async_null.o", "crypto/async/arch/async_posix.o", "crypto/async/arch/async_win.o", "crypto/async/async.o", "crypto/async/async_err.o", "crypto/async/async_wait.o", "crypto/bf/bf_cfb64.o", "crypto/bf/bf_ecb.o", "crypto/bf/bf_enc.o", "crypto/bf/bf_ofb64.o", "crypto/bf/bf_skey.o", "crypto/bio/b_addr.o", "crypto/bio/b_dump.o", "crypto/bio/b_print.o", "crypto/bio/b_sock.o", "crypto/bio/b_sock2.o", "crypto/bio/bf_buff.o", "crypto/bio/bf_lbuf.o", "crypto/bio/bf_nbio.o", "crypto/bio/bf_null.o", "crypto/bio/bio_cb.o", "crypto/bio/bio_err.o", "crypto/bio/bio_lib.o", "crypto/bio/bio_meth.o", "crypto/bio/bss_acpt.o", "crypto/bio/bss_bio.o", "crypto/bio/bss_conn.o", "crypto/bio/bss_dgram.o", "crypto/bio/bss_fd.o", "crypto/bio/bss_file.o", "crypto/bio/bss_log.o", "crypto/bio/bss_mem.o", "crypto/bio/bss_null.o", "crypto/bio/bss_sock.o", "crypto/blake2/blake2b.o", "crypto/blake2/blake2s.o", "crypto/blake2/m_blake2b.o", "crypto/blake2/m_blake2s.o", "crypto/bn/asm/x86_64-gcc.o", "crypto/bn/bn_add.o", "crypto/bn/bn_blind.o", "crypto/bn/bn_const.o", "crypto/bn/bn_ctx.o", "crypto/bn/bn_depr.o", "crypto/bn/bn_dh.o", "crypto/bn/bn_div.o", "crypto/bn/bn_err.o", "crypto/bn/bn_exp.o", "crypto/bn/bn_exp2.o", "crypto/bn/bn_gcd.o", "crypto/bn/bn_gf2m.o", "crypto/bn/bn_intern.o", "crypto/bn/bn_kron.o", "crypto/bn/bn_lib.o", "crypto/bn/bn_mod.o", "crypto/bn/bn_mont.o", "crypto/bn/bn_mpi.o", "crypto/bn/bn_mul.o", "crypto/bn/bn_nist.o", "crypto/bn/bn_prime.o", "crypto/bn/bn_print.o", "crypto/bn/bn_rand.o", "crypto/bn/bn_recp.o", "crypto/bn/bn_shift.o", "crypto/bn/bn_sqr.o", "crypto/bn/bn_sqrt.o", "crypto/bn/bn_srp.o", "crypto/bn/bn_word.o", "crypto/bn/bn_x931p.o", "crypto/bn/rsaz-avx2.o", "crypto/bn/rsaz-x86_64.o", "crypto/bn/rsaz_exp.o", "crypto/bn/x86_64-gf2m.o", "crypto/bn/x86_64-mont.o", "crypto/bn/x86_64-mont5.o", "crypto/buffer/buf_err.o", "crypto/buffer/buffer.o", "crypto/camellia/cmll-x86_64.o", "crypto/camellia/cmll_cfb.o", "crypto/camellia/cmll_ctr.o", "crypto/camellia/cmll_ecb.o", "crypto/camellia/cmll_misc.o", "crypto/camellia/cmll_ofb.o", "crypto/cast/c_cfb64.o", "crypto/cast/c_ecb.o", "crypto/cast/c_enc.o", "crypto/cast/c_ofb64.o", "crypto/cast/c_skey.o", "crypto/chacha/chacha-x86_64.o", "crypto/cmac/cm_ameth.o", "crypto/cmac/cm_pmeth.o", "crypto/cmac/cmac.o", "crypto/cms/cms_asn1.o", "crypto/cms/cms_att.o", "crypto/cms/cms_cd.o", "crypto/cms/cms_dd.o", "crypto/cms/cms_enc.o", "crypto/cms/cms_env.o", "crypto/cms/cms_err.o", "crypto/cms/cms_ess.o", "crypto/cms/cms_io.o", "crypto/cms/cms_kari.o", "crypto/cms/cms_lib.o", "crypto/cms/cms_pwri.o", "crypto/cms/cms_sd.o", "crypto/cms/cms_smime.o", "crypto/conf/conf_api.o", "crypto/conf/conf_def.o", "crypto/conf/conf_err.o", "crypto/conf/conf_lib.o", "crypto/conf/conf_mall.o", "crypto/conf/conf_mod.o", "crypto/conf/conf_sap.o", "crypto/conf/conf_ssl.o", "crypto/cpt_err.o", "crypto/cryptlib.o", "crypto/ct/ct_b64.o", "crypto/ct/ct_err.o", "crypto/ct/ct_log.o", "crypto/ct/ct_oct.o", "crypto/ct/ct_policy.o", "crypto/ct/ct_prn.o", "crypto/ct/ct_sct.o", "crypto/ct/ct_sct_ctx.o", "crypto/ct/ct_vfy.o", "crypto/ct/ct_x509v3.o", "crypto/cversion.o", "crypto/des/cbc_cksm.o", "crypto/des/cbc_enc.o", "crypto/des/cfb64ede.o", "crypto/des/cfb64enc.o", "crypto/des/cfb_enc.o", "crypto/des/des_enc.o", "crypto/des/ecb3_enc.o", "crypto/des/ecb_enc.o", "crypto/des/fcrypt.o", "crypto/des/fcrypt_b.o", "crypto/des/ofb64ede.o", "crypto/des/ofb64enc.o", "crypto/des/ofb_enc.o", "crypto/des/pcbc_enc.o", "crypto/des/qud_cksm.o", "crypto/des/rand_key.o", "crypto/des/rpc_enc.o", "crypto/des/set_key.o", "crypto/des/str2key.o", "crypto/des/xcbc_enc.o", "crypto/dh/dh_ameth.o", "crypto/dh/dh_asn1.o", "crypto/dh/dh_check.o", "crypto/dh/dh_depr.o", "crypto/dh/dh_err.o", "crypto/dh/dh_gen.o", "crypto/dh/dh_kdf.o", "crypto/dh/dh_key.o", "crypto/dh/dh_lib.o", "crypto/dh/dh_meth.o", "crypto/dh/dh_pmeth.o", "crypto/dh/dh_prn.o", "crypto/dh/dh_rfc5114.o", "crypto/dsa/dsa_ameth.o", "crypto/dsa/dsa_asn1.o", "crypto/dsa/dsa_depr.o", "crypto/dsa/dsa_err.o", "crypto/dsa/dsa_gen.o", "crypto/dsa/dsa_key.o", "crypto/dsa/dsa_lib.o", "crypto/dsa/dsa_meth.o", "crypto/dsa/dsa_ossl.o", "crypto/dsa/dsa_pmeth.o", "crypto/dsa/dsa_prn.o", "crypto/dsa/dsa_sign.o", "crypto/dsa/dsa_vrf.o", "crypto/dso/dso_dl.o", "crypto/dso/dso_dlfcn.o", "crypto/dso/dso_err.o", "crypto/dso/dso_lib.o", "crypto/dso/dso_openssl.o", "crypto/dso/dso_vms.o", "crypto/dso/dso_win32.o", "crypto/ebcdic.o", "crypto/ec/curve25519.o", "crypto/ec/ec2_mult.o", "crypto/ec/ec2_oct.o", "crypto/ec/ec2_smpl.o", "crypto/ec/ec_ameth.o", "crypto/ec/ec_asn1.o", "crypto/ec/ec_check.o", "crypto/ec/ec_curve.o", "crypto/ec/ec_cvt.o", "crypto/ec/ec_err.o", "crypto/ec/ec_key.o", "crypto/ec/ec_kmeth.o", "crypto/ec/ec_lib.o", "crypto/ec/ec_mult.o", "crypto/ec/ec_oct.o", "crypto/ec/ec_pmeth.o", "crypto/ec/ec_print.o", "crypto/ec/ecdh_kdf.o", "crypto/ec/ecdh_ossl.o", "crypto/ec/ecdsa_ossl.o", "crypto/ec/ecdsa_sign.o", "crypto/ec/ecdsa_vrf.o", "crypto/ec/eck_prn.o", "crypto/ec/ecp_mont.o", "crypto/ec/ecp_nist.o", "crypto/ec/ecp_nistp224.o", "crypto/ec/ecp_nistp256.o", "crypto/ec/ecp_nistp521.o", "crypto/ec/ecp_nistputil.o", "crypto/ec/ecp_nistz256-x86_64.o", "crypto/ec/ecp_nistz256.o", "crypto/ec/ecp_oct.o", "crypto/ec/ecp_smpl.o", "crypto/ec/ecx_meth.o", "crypto/engine/eng_all.o", "crypto/engine/eng_cnf.o", "crypto/engine/eng_cryptodev.o", "crypto/engine/eng_ctrl.o", "crypto/engine/eng_dyn.o", "crypto/engine/eng_err.o", "crypto/engine/eng_fat.o", "crypto/engine/eng_init.o", "crypto/engine/eng_lib.o", "crypto/engine/eng_list.o", "crypto/engine/eng_openssl.o", "crypto/engine/eng_pkey.o", "crypto/engine/eng_rdrand.o", "crypto/engine/eng_table.o", "crypto/engine/tb_asnmth.o", "crypto/engine/tb_cipher.o", "crypto/engine/tb_dh.o", "crypto/engine/tb_digest.o", "crypto/engine/tb_dsa.o", "crypto/engine/tb_eckey.o", "crypto/engine/tb_pkmeth.o", "crypto/engine/tb_rand.o", "crypto/engine/tb_rsa.o", "crypto/err/err.o", "crypto/err/err_all.o", "crypto/err/err_prn.o", "crypto/evp/bio_b64.o", "crypto/evp/bio_enc.o", "crypto/evp/bio_md.o", "crypto/evp/bio_ok.o", "crypto/evp/c_allc.o", "crypto/evp/c_alld.o", "crypto/evp/cmeth_lib.o", "crypto/evp/digest.o", "crypto/evp/e_aes.o", "crypto/evp/e_aes_cbc_hmac_sha1.o", "crypto/evp/e_aes_cbc_hmac_sha256.o", "crypto/evp/e_bf.o", "crypto/evp/e_camellia.o", "crypto/evp/e_cast.o", "crypto/evp/e_chacha20_poly1305.o", "crypto/evp/e_des.o", "crypto/evp/e_des3.o", "crypto/evp/e_idea.o", "crypto/evp/e_null.o", "crypto/evp/e_old.o", "crypto/evp/e_rc2.o", "crypto/evp/e_rc4.o", "crypto/evp/e_rc4_hmac_md5.o", "crypto/evp/e_rc5.o", "crypto/evp/e_seed.o", "crypto/evp/e_xcbc_d.o", "crypto/evp/encode.o", "crypto/evp/evp_cnf.o", "crypto/evp/evp_enc.o", "crypto/evp/evp_err.o", "crypto/evp/evp_key.o", "crypto/evp/evp_lib.o", "crypto/evp/evp_pbe.o", "crypto/evp/evp_pkey.o", "crypto/evp/m_md2.o", "crypto/evp/m_md4.o", "crypto/evp/m_md5.o", "crypto/evp/m_md5_sha1.o", "crypto/evp/m_mdc2.o", "crypto/evp/m_null.o", "crypto/evp/m_ripemd.o", "crypto/evp/m_sha1.o", "crypto/evp/m_sigver.o", "crypto/evp/m_wp.o", "crypto/evp/names.o", "crypto/evp/p5_crpt.o", "crypto/evp/p5_crpt2.o", "crypto/evp/p_dec.o", "crypto/evp/p_enc.o", "crypto/evp/p_lib.o", "crypto/evp/p_open.o", "crypto/evp/p_seal.o", "crypto/evp/p_sign.o", "crypto/evp/p_verify.o", "crypto/evp/pmeth_fn.o", "crypto/evp/pmeth_gn.o", "crypto/evp/pmeth_lib.o", "crypto/evp/scrypt.o", "crypto/ex_data.o", "crypto/hmac/hm_ameth.o", "crypto/hmac/hm_pmeth.o", "crypto/hmac/hmac.o", "crypto/idea/i_cbc.o", "crypto/idea/i_cfb64.o", "crypto/idea/i_ecb.o", "crypto/idea/i_ofb64.o", "crypto/idea/i_skey.o", "crypto/init.o", "crypto/kdf/hkdf.o", "crypto/kdf/kdf_err.o", "crypto/kdf/tls1_prf.o", "crypto/lhash/lh_stats.o", "crypto/lhash/lhash.o", "crypto/md4/md4_dgst.o", "crypto/md4/md4_one.o", "crypto/md5/md5-x86_64.o", "crypto/md5/md5_dgst.o", "crypto/md5/md5_one.o", "crypto/mdc2/mdc2_one.o", "crypto/mdc2/mdc2dgst.o", "crypto/mem.o", "crypto/mem_dbg.o", "crypto/mem_sec.o", "crypto/modes/aesni-gcm-x86_64.o", "crypto/modes/cbc128.o", "crypto/modes/ccm128.o", "crypto/modes/cfb128.o", "crypto/modes/ctr128.o", "crypto/modes/cts128.o", "crypto/modes/gcm128.o", "crypto/modes/ghash-x86_64.o", "crypto/modes/ocb128.o", "crypto/modes/ofb128.o", "crypto/modes/wrap128.o", "crypto/modes/xts128.o", "crypto/o_dir.o", "crypto/o_fips.o", "crypto/o_fopen.o", "crypto/o_init.o", "crypto/o_str.o", "crypto/o_time.o", "crypto/objects/o_names.o", "crypto/objects/obj_dat.o", "crypto/objects/obj_err.o", "crypto/objects/obj_lib.o", "crypto/objects/obj_xref.o", "crypto/ocsp/ocsp_asn.o", "crypto/ocsp/ocsp_cl.o", "crypto/ocsp/ocsp_err.o", "crypto/ocsp/ocsp_ext.o", "crypto/ocsp/ocsp_ht.o", "crypto/ocsp/ocsp_lib.o", "crypto/ocsp/ocsp_prn.o", "crypto/ocsp/ocsp_srv.o", "crypto/ocsp/ocsp_vfy.o", "crypto/ocsp/v3_ocsp.o", "crypto/pem/pem_all.o", "crypto/pem/pem_err.o", "crypto/pem/pem_info.o", "crypto/pem/pem_lib.o", "crypto/pem/pem_oth.o", "crypto/pem/pem_pk8.o", "crypto/pem/pem_pkey.o", "crypto/pem/pem_sign.o", "crypto/pem/pem_x509.o", "crypto/pem/pem_xaux.o", "crypto/pem/pvkfmt.o", "crypto/pkcs12/p12_add.o", "crypto/pkcs12/p12_asn.o", "crypto/pkcs12/p12_attr.o", "crypto/pkcs12/p12_crpt.o", "crypto/pkcs12/p12_crt.o", "crypto/pkcs12/p12_decr.o", "crypto/pkcs12/p12_init.o", "crypto/pkcs12/p12_key.o", "crypto/pkcs12/p12_kiss.o", "crypto/pkcs12/p12_mutl.o", "crypto/pkcs12/p12_npas.o", "crypto/pkcs12/p12_p8d.o", "crypto/pkcs12/p12_p8e.o", "crypto/pkcs12/p12_sbag.o", "crypto/pkcs12/p12_utl.o", "crypto/pkcs12/pk12err.o", "crypto/pkcs7/bio_pk7.o", "crypto/pkcs7/pk7_asn1.o", "crypto/pkcs7/pk7_attr.o", "crypto/pkcs7/pk7_doit.o", "crypto/pkcs7/pk7_lib.o", "crypto/pkcs7/pk7_mime.o", "crypto/pkcs7/pk7_smime.o", "crypto/pkcs7/pkcs7err.o", "crypto/poly1305/poly1305-x86_64.o", "crypto/poly1305/poly1305.o", "crypto/rand/md_rand.o", "crypto/rand/rand_egd.o", "crypto/rand/rand_err.o", "crypto/rand/rand_lib.o", "crypto/rand/rand_unix.o", "crypto/rand/rand_vms.o", "crypto/rand/rand_win.o", "crypto/rand/randfile.o", "crypto/rc2/rc2_cbc.o", "crypto/rc2/rc2_ecb.o", "crypto/rc2/rc2_skey.o", "crypto/rc2/rc2cfb64.o", "crypto/rc2/rc2ofb64.o", "crypto/rc4/rc4-md5-x86_64.o", "crypto/rc4/rc4-x86_64.o", "crypto/ripemd/rmd_dgst.o", "crypto/ripemd/rmd_one.o", "crypto/rsa/rsa_ameth.o", "crypto/rsa/rsa_asn1.o", "crypto/rsa/rsa_chk.o", "crypto/rsa/rsa_crpt.o", "crypto/rsa/rsa_depr.o", "crypto/rsa/rsa_err.o", "crypto/rsa/rsa_gen.o", "crypto/rsa/rsa_lib.o", "crypto/rsa/rsa_meth.o", "crypto/rsa/rsa_none.o", "crypto/rsa/rsa_null.o", "crypto/rsa/rsa_oaep.o", "crypto/rsa/rsa_ossl.o", "crypto/rsa/rsa_pk1.o", "crypto/rsa/rsa_pmeth.o", "crypto/rsa/rsa_prn.o", "crypto/rsa/rsa_pss.o", "crypto/rsa/rsa_saos.o", "crypto/rsa/rsa_sign.o", "crypto/rsa/rsa_ssl.o", "crypto/rsa/rsa_x931.o", "crypto/rsa/rsa_x931g.o", "crypto/seed/seed.o", "crypto/seed/seed_cbc.o", "crypto/seed/seed_cfb.o", "crypto/seed/seed_ecb.o", "crypto/seed/seed_ofb.o", "crypto/sha/sha1-mb-x86_64.o", "crypto/sha/sha1-x86_64.o", "crypto/sha/sha1_one.o", "crypto/sha/sha1dgst.o", "crypto/sha/sha256-mb-x86_64.o", "crypto/sha/sha256-x86_64.o", "crypto/sha/sha256.o", "crypto/sha/sha512-x86_64.o", "crypto/sha/sha512.o", "crypto/srp/srp_lib.o", "crypto/srp/srp_vfy.o", "crypto/stack/stack.o", "crypto/threads_none.o", "crypto/threads_pthread.o", "crypto/threads_win.o", "crypto/ts/ts_asn1.o", "crypto/ts/ts_conf.o", "crypto/ts/ts_err.o", "crypto/ts/ts_lib.o", "crypto/ts/ts_req_print.o", "crypto/ts/ts_req_utils.o", "crypto/ts/ts_rsp_print.o", "crypto/ts/ts_rsp_sign.o", "crypto/ts/ts_rsp_utils.o", "crypto/ts/ts_rsp_verify.o", "crypto/ts/ts_verify_ctx.o", "crypto/txt_db/txt_db.o", "crypto/ui/ui_err.o", "crypto/ui/ui_lib.o", "crypto/ui/ui_openssl.o", "crypto/ui/ui_util.o", "crypto/uid.o", "crypto/whrlpool/wp-x86_64.o", "crypto/whrlpool/wp_dgst.o", "crypto/x509/by_dir.o", "crypto/x509/by_file.o", "crypto/x509/t_crl.o", "crypto/x509/t_req.o", "crypto/x509/t_x509.o", "crypto/x509/x509_att.o", "crypto/x509/x509_cmp.o", "crypto/x509/x509_d2.o", "crypto/x509/x509_def.o", "crypto/x509/x509_err.o", "crypto/x509/x509_ext.o", "crypto/x509/x509_lu.o", "crypto/x509/x509_meth.o", "crypto/x509/x509_obj.o", "crypto/x509/x509_r2x.o", "crypto/x509/x509_req.o", "crypto/x509/x509_set.o", "crypto/x509/x509_trs.o", "crypto/x509/x509_txt.o", "crypto/x509/x509_v3.o", "crypto/x509/x509_vfy.o", "crypto/x509/x509_vpm.o", "crypto/x509/x509cset.o", "crypto/x509/x509name.o", "crypto/x509/x509rset.o", "crypto/x509/x509spki.o", "crypto/x509/x509type.o", "crypto/x509/x_all.o", "crypto/x509/x_attrib.o", "crypto/x509/x_crl.o", "crypto/x509/x_exten.o", "crypto/x509/x_name.o", "crypto/x509/x_pubkey.o", "crypto/x509/x_req.o", "crypto/x509/x_x509.o", "crypto/x509/x_x509a.o", "crypto/x509v3/pcy_cache.o", "crypto/x509v3/pcy_data.o", "crypto/x509v3/pcy_lib.o", "crypto/x509v3/pcy_map.o", "crypto/x509v3/pcy_node.o", "crypto/x509v3/pcy_tree.o", "crypto/x509v3/v3_addr.o", "crypto/x509v3/v3_akey.o", "crypto/x509v3/v3_akeya.o", "crypto/x509v3/v3_alt.o", "crypto/x509v3/v3_asid.o", "crypto/x509v3/v3_bcons.o", "crypto/x509v3/v3_bitst.o", "crypto/x509v3/v3_conf.o", "crypto/x509v3/v3_cpols.o", "crypto/x509v3/v3_crld.o", "crypto/x509v3/v3_enum.o", "crypto/x509v3/v3_extku.o", "crypto/x509v3/v3_genn.o", "crypto/x509v3/v3_ia5.o", "crypto/x509v3/v3_info.o", "crypto/x509v3/v3_int.o", "crypto/x509v3/v3_lib.o", "crypto/x509v3/v3_ncons.o", "crypto/x509v3/v3_pci.o", "crypto/x509v3/v3_pcia.o", "crypto/x509v3/v3_pcons.o", "crypto/x509v3/v3_pku.o", "crypto/x509v3/v3_pmaps.o", "crypto/x509v3/v3_prn.o", "crypto/x509v3/v3_purp.o", "crypto/x509v3/v3_skey.o", "crypto/x509v3/v3_sxnet.o", "crypto/x509v3/v3_tlsf.o", "crypto/x509v3/v3_utl.o", "crypto/x509v3/v3err.o", "crypto/x86_64cpuid.o", "engines/e_capi.o", "engines/e_padlock-x86_64.o", "engines/e_padlock.o", ], "libssl" => [ "ssl/bio_ssl.o", "ssl/d1_lib.o", "ssl/d1_msg.o", "ssl/d1_srtp.o", "ssl/methods.o", "ssl/pqueue.o", "ssl/record/dtls1_bitmap.o", "ssl/record/rec_layer_d1.o", "ssl/record/rec_layer_s3.o", "ssl/record/ssl3_buffer.o", "ssl/record/ssl3_record.o", "ssl/s3_cbc.o", "ssl/s3_enc.o", "ssl/s3_lib.o", "ssl/s3_msg.o", "ssl/ssl_asn1.o", "ssl/ssl_cert.o", "ssl/ssl_ciph.o", "ssl/ssl_conf.o", "ssl/ssl_err.o", "ssl/ssl_init.o", "ssl/ssl_lib.o", "ssl/ssl_mcnf.o", "ssl/ssl_rsa.o", "ssl/ssl_sess.o", "ssl/ssl_stat.o", "ssl/ssl_txt.o", "ssl/ssl_utst.o", "ssl/statem/statem.o", "ssl/statem/statem_clnt.o", "ssl/statem/statem_dtls.o", "ssl/statem/statem_lib.o", "ssl/statem/statem_srvr.o", "ssl/t1_enc.o", "ssl/t1_ext.o", "ssl/t1_lib.o", "ssl/t1_reneg.o", "ssl/t1_trce.o", "ssl/tls_srp.o", ], "ssl/bio_ssl.o" => [ "ssl/bio_ssl.c", ], "ssl/d1_lib.o" => [ "ssl/d1_lib.c", ], "ssl/d1_msg.o" => [ "ssl/d1_msg.c", ], "ssl/d1_srtp.o" => [ "ssl/d1_srtp.c", ], "ssl/methods.o" => [ "ssl/methods.c", ], "ssl/pqueue.o" => [ "ssl/pqueue.c", ], "ssl/record/dtls1_bitmap.o" => [ "ssl/record/dtls1_bitmap.c", ], "ssl/record/rec_layer_d1.o" => [ "ssl/record/rec_layer_d1.c", ], "ssl/record/rec_layer_s3.o" => [ "ssl/record/rec_layer_s3.c", ], "ssl/record/ssl3_buffer.o" => [ "ssl/record/ssl3_buffer.c", ], "ssl/record/ssl3_record.o" => [ "ssl/record/ssl3_record.c", ], "ssl/s3_cbc.o" => [ "ssl/s3_cbc.c", ], "ssl/s3_enc.o" => [ "ssl/s3_enc.c", ], "ssl/s3_lib.o" => [ "ssl/s3_lib.c", ], "ssl/s3_msg.o" => [ "ssl/s3_msg.c", ], "ssl/ssl_asn1.o" => [ "ssl/ssl_asn1.c", ], "ssl/ssl_cert.o" => [ "ssl/ssl_cert.c", ], "ssl/ssl_ciph.o" => [ "ssl/ssl_ciph.c", ], "ssl/ssl_conf.o" => [ "ssl/ssl_conf.c", ], "ssl/ssl_err.o" => [ "ssl/ssl_err.c", ], "ssl/ssl_init.o" => [ "ssl/ssl_init.c", ], "ssl/ssl_lib.o" => [ "ssl/ssl_lib.c", ], "ssl/ssl_mcnf.o" => [ "ssl/ssl_mcnf.c", ], "ssl/ssl_rsa.o" => [ "ssl/ssl_rsa.c", ], "ssl/ssl_sess.o" => [ "ssl/ssl_sess.c", ], "ssl/ssl_stat.o" => [ "ssl/ssl_stat.c", ], "ssl/ssl_txt.o" => [ "ssl/ssl_txt.c", ], "ssl/ssl_utst.o" => [ "ssl/ssl_utst.c", ], "ssl/statem/statem.o" => [ "ssl/statem/statem.c", ], "ssl/statem/statem_clnt.o" => [ "ssl/statem/statem_clnt.c", ], "ssl/statem/statem_dtls.o" => [ "ssl/statem/statem_dtls.c", ], "ssl/statem/statem_lib.o" => [ "ssl/statem/statem_lib.c", ], "ssl/statem/statem_srvr.o" => [ "ssl/statem/statem_srvr.c", ], "ssl/t1_enc.o" => [ "ssl/t1_enc.c", ], "ssl/t1_ext.o" => [ "ssl/t1_ext.c", ], "ssl/t1_lib.o" => [ "ssl/t1_lib.c", ], "ssl/t1_reneg.o" => [ "ssl/t1_reneg.c", ], "ssl/t1_trce.o" => [ "ssl/t1_trce.c", ], "ssl/tls_srp.o" => [ "ssl/tls_srp.c", ], "test/aborttest" => [ "test/aborttest.o", ], "test/aborttest.o" => [ "test/aborttest.c", ], "test/afalgtest" => [ "test/afalgtest.o", ], "test/afalgtest.o" => [ "test/afalgtest.c", ], "test/asynciotest" => [ "test/asynciotest.o", "test/ssltestlib.o", ], "test/asynciotest.o" => [ "test/asynciotest.c", ], "test/asynctest" => [ "test/asynctest.o", ], "test/asynctest.o" => [ "test/asynctest.c", ], "test/bad_dtls_test" => [ "test/bad_dtls_test.o", ], "test/bad_dtls_test.o" => [ "test/bad_dtls_test.c", ], "test/bftest" => [ "test/bftest.o", ], "test/bftest.o" => [ "test/bftest.c", ], "test/bio_enc_test" => [ "test/bio_enc_test.o", ], "test/bio_enc_test.o" => [ "test/bio_enc_test.c", ], "test/bioprinttest" => [ "test/bioprinttest.o", ], "test/bioprinttest.o" => [ "test/bioprinttest.c", ], "test/bntest" => [ "test/bntest.o", ], "test/bntest.o" => [ "test/bntest.c", ], "test/buildtest_aes" => [ "test/buildtest_aes.o", ], "test/buildtest_aes.o" => [ "test/buildtest_aes.c", ], "test/buildtest_asn1" => [ "test/buildtest_asn1.o", ], "test/buildtest_asn1.o" => [ "test/buildtest_asn1.c", ], "test/buildtest_asn1t" => [ "test/buildtest_asn1t.o", ], "test/buildtest_asn1t.o" => [ "test/buildtest_asn1t.c", ], "test/buildtest_async" => [ "test/buildtest_async.o", ], "test/buildtest_async.o" => [ "test/buildtest_async.c", ], "test/buildtest_bio" => [ "test/buildtest_bio.o", ], "test/buildtest_bio.o" => [ "test/buildtest_bio.c", ], "test/buildtest_blowfish" => [ "test/buildtest_blowfish.o", ], "test/buildtest_blowfish.o" => [ "test/buildtest_blowfish.c", ], "test/buildtest_bn" => [ "test/buildtest_bn.o", ], "test/buildtest_bn.o" => [ "test/buildtest_bn.c", ], "test/buildtest_buffer" => [ "test/buildtest_buffer.o", ], "test/buildtest_buffer.o" => [ "test/buildtest_buffer.c", ], "test/buildtest_camellia" => [ "test/buildtest_camellia.o", ], "test/buildtest_camellia.o" => [ "test/buildtest_camellia.c", ], "test/buildtest_cast" => [ "test/buildtest_cast.o", ], "test/buildtest_cast.o" => [ "test/buildtest_cast.c", ], "test/buildtest_cmac" => [ "test/buildtest_cmac.o", ], "test/buildtest_cmac.o" => [ "test/buildtest_cmac.c", ], "test/buildtest_cms" => [ "test/buildtest_cms.o", ], "test/buildtest_cms.o" => [ "test/buildtest_cms.c", ], "test/buildtest_conf" => [ "test/buildtest_conf.o", ], "test/buildtest_conf.o" => [ "test/buildtest_conf.c", ], "test/buildtest_conf_api" => [ "test/buildtest_conf_api.o", ], "test/buildtest_conf_api.o" => [ "test/buildtest_conf_api.c", ], "test/buildtest_crypto" => [ "test/buildtest_crypto.o", ], "test/buildtest_crypto.o" => [ "test/buildtest_crypto.c", ], "test/buildtest_ct" => [ "test/buildtest_ct.o", ], "test/buildtest_ct.o" => [ "test/buildtest_ct.c", ], "test/buildtest_des" => [ "test/buildtest_des.o", ], "test/buildtest_des.o" => [ "test/buildtest_des.c", ], "test/buildtest_dh" => [ "test/buildtest_dh.o", ], "test/buildtest_dh.o" => [ "test/buildtest_dh.c", ], "test/buildtest_dsa" => [ "test/buildtest_dsa.o", ], "test/buildtest_dsa.o" => [ "test/buildtest_dsa.c", ], "test/buildtest_dtls1" => [ "test/buildtest_dtls1.o", ], "test/buildtest_dtls1.o" => [ "test/buildtest_dtls1.c", ], "test/buildtest_e_os2" => [ "test/buildtest_e_os2.o", ], "test/buildtest_e_os2.o" => [ "test/buildtest_e_os2.c", ], "test/buildtest_ebcdic" => [ "test/buildtest_ebcdic.o", ], "test/buildtest_ebcdic.o" => [ "test/buildtest_ebcdic.c", ], "test/buildtest_ec" => [ "test/buildtest_ec.o", ], "test/buildtest_ec.o" => [ "test/buildtest_ec.c", ], "test/buildtest_ecdh" => [ "test/buildtest_ecdh.o", ], "test/buildtest_ecdh.o" => [ "test/buildtest_ecdh.c", ], "test/buildtest_ecdsa" => [ "test/buildtest_ecdsa.o", ], "test/buildtest_ecdsa.o" => [ "test/buildtest_ecdsa.c", ], "test/buildtest_engine" => [ "test/buildtest_engine.o", ], "test/buildtest_engine.o" => [ "test/buildtest_engine.c", ], "test/buildtest_err" => [ "test/buildtest_err.o", ], "test/buildtest_err.o" => [ "test/buildtest_err.c", ], "test/buildtest_evp" => [ "test/buildtest_evp.o", ], "test/buildtest_evp.o" => [ "test/buildtest_evp.c", ], "test/buildtest_hmac" => [ "test/buildtest_hmac.o", ], "test/buildtest_hmac.o" => [ "test/buildtest_hmac.c", ], "test/buildtest_idea" => [ "test/buildtest_idea.o", ], "test/buildtest_idea.o" => [ "test/buildtest_idea.c", ], "test/buildtest_kdf" => [ "test/buildtest_kdf.o", ], "test/buildtest_kdf.o" => [ "test/buildtest_kdf.c", ], "test/buildtest_lhash" => [ "test/buildtest_lhash.o", ], "test/buildtest_lhash.o" => [ "test/buildtest_lhash.c", ], "test/buildtest_md4" => [ "test/buildtest_md4.o", ], "test/buildtest_md4.o" => [ "test/buildtest_md4.c", ], "test/buildtest_md5" => [ "test/buildtest_md5.o", ], "test/buildtest_md5.o" => [ "test/buildtest_md5.c", ], "test/buildtest_mdc2" => [ "test/buildtest_mdc2.o", ], "test/buildtest_mdc2.o" => [ "test/buildtest_mdc2.c", ], "test/buildtest_modes" => [ "test/buildtest_modes.o", ], "test/buildtest_modes.o" => [ "test/buildtest_modes.c", ], "test/buildtest_obj_mac" => [ "test/buildtest_obj_mac.o", ], "test/buildtest_obj_mac.o" => [ "test/buildtest_obj_mac.c", ], "test/buildtest_objects" => [ "test/buildtest_objects.o", ], "test/buildtest_objects.o" => [ "test/buildtest_objects.c", ], "test/buildtest_ocsp" => [ "test/buildtest_ocsp.o", ], "test/buildtest_ocsp.o" => [ "test/buildtest_ocsp.c", ], "test/buildtest_opensslv" => [ "test/buildtest_opensslv.o", ], "test/buildtest_opensslv.o" => [ "test/buildtest_opensslv.c", ], "test/buildtest_ossl_typ" => [ "test/buildtest_ossl_typ.o", ], "test/buildtest_ossl_typ.o" => [ "test/buildtest_ossl_typ.c", ], "test/buildtest_pem" => [ "test/buildtest_pem.o", ], "test/buildtest_pem.o" => [ "test/buildtest_pem.c", ], "test/buildtest_pem2" => [ "test/buildtest_pem2.o", ], "test/buildtest_pem2.o" => [ "test/buildtest_pem2.c", ], "test/buildtest_pkcs12" => [ "test/buildtest_pkcs12.o", ], "test/buildtest_pkcs12.o" => [ "test/buildtest_pkcs12.c", ], "test/buildtest_pkcs7" => [ "test/buildtest_pkcs7.o", ], "test/buildtest_pkcs7.o" => [ "test/buildtest_pkcs7.c", ], "test/buildtest_rand" => [ "test/buildtest_rand.o", ], "test/buildtest_rand.o" => [ "test/buildtest_rand.c", ], "test/buildtest_rc2" => [ "test/buildtest_rc2.o", ], "test/buildtest_rc2.o" => [ "test/buildtest_rc2.c", ], "test/buildtest_rc4" => [ "test/buildtest_rc4.o", ], "test/buildtest_rc4.o" => [ "test/buildtest_rc4.c", ], "test/buildtest_ripemd" => [ "test/buildtest_ripemd.o", ], "test/buildtest_ripemd.o" => [ "test/buildtest_ripemd.c", ], "test/buildtest_rsa" => [ "test/buildtest_rsa.o", ], "test/buildtest_rsa.o" => [ "test/buildtest_rsa.c", ], "test/buildtest_safestack" => [ "test/buildtest_safestack.o", ], "test/buildtest_safestack.o" => [ "test/buildtest_safestack.c", ], "test/buildtest_seed" => [ "test/buildtest_seed.o", ], "test/buildtest_seed.o" => [ "test/buildtest_seed.c", ], "test/buildtest_sha" => [ "test/buildtest_sha.o", ], "test/buildtest_sha.o" => [ "test/buildtest_sha.c", ], "test/buildtest_srp" => [ "test/buildtest_srp.o", ], "test/buildtest_srp.o" => [ "test/buildtest_srp.c", ], "test/buildtest_srtp" => [ "test/buildtest_srtp.o", ], "test/buildtest_srtp.o" => [ "test/buildtest_srtp.c", ], "test/buildtest_ssl" => [ "test/buildtest_ssl.o", ], "test/buildtest_ssl.o" => [ "test/buildtest_ssl.c", ], "test/buildtest_ssl2" => [ "test/buildtest_ssl2.o", ], "test/buildtest_ssl2.o" => [ "test/buildtest_ssl2.c", ], "test/buildtest_stack" => [ "test/buildtest_stack.o", ], "test/buildtest_stack.o" => [ "test/buildtest_stack.c", ], "test/buildtest_symhacks" => [ "test/buildtest_symhacks.o", ], "test/buildtest_symhacks.o" => [ "test/buildtest_symhacks.c", ], "test/buildtest_tls1" => [ "test/buildtest_tls1.o", ], "test/buildtest_tls1.o" => [ "test/buildtest_tls1.c", ], "test/buildtest_ts" => [ "test/buildtest_ts.o", ], "test/buildtest_ts.o" => [ "test/buildtest_ts.c", ], "test/buildtest_txt_db" => [ "test/buildtest_txt_db.o", ], "test/buildtest_txt_db.o" => [ "test/buildtest_txt_db.c", ], "test/buildtest_ui" => [ "test/buildtest_ui.o", ], "test/buildtest_ui.o" => [ "test/buildtest_ui.c", ], "test/buildtest_whrlpool" => [ "test/buildtest_whrlpool.o", ], "test/buildtest_whrlpool.o" => [ "test/buildtest_whrlpool.c", ], "test/buildtest_x509" => [ "test/buildtest_x509.o", ], "test/buildtest_x509.o" => [ "test/buildtest_x509.c", ], "test/buildtest_x509_vfy" => [ "test/buildtest_x509_vfy.o", ], "test/buildtest_x509_vfy.o" => [ "test/buildtest_x509_vfy.c", ], "test/buildtest_x509v3" => [ "test/buildtest_x509v3.o", ], "test/buildtest_x509v3.o" => [ "test/buildtest_x509v3.c", ], "test/casttest" => [ "test/casttest.o", ], "test/casttest.o" => [ "test/casttest.c", ], "test/cipherlist_test" => [ "test/cipherlist_test.o", "test/testutil.o", ], "test/cipherlist_test.o" => [ "test/cipherlist_test.c", ], "test/clienthellotest" => [ "test/clienthellotest.o", ], "test/clienthellotest.o" => [ "test/clienthellotest.c", ], "test/constant_time_test" => [ "test/constant_time_test.o", ], "test/constant_time_test.o" => [ "test/constant_time_test.c", ], "test/crltest" => [ "test/crltest.o", "test/testutil.o", ], "test/crltest.o" => [ "test/crltest.c", ], "test/ct_test" => [ "test/ct_test.o", "test/testutil.o", ], "test/ct_test.o" => [ "test/ct_test.c", ], "test/d2i_test" => [ "test/d2i_test.o", "test/testutil.o", ], "test/d2i_test.o" => [ "test/d2i_test.c", ], "test/danetest" => [ "test/danetest.o", ], "test/danetest.o" => [ "test/danetest.c", ], "test/destest" => [ "test/destest.o", ], "test/destest.o" => [ "test/destest.c", ], "test/dhtest" => [ "test/dhtest.o", ], "test/dhtest.o" => [ "test/dhtest.c", ], "test/dsatest" => [ "test/dsatest.o", ], "test/dsatest.o" => [ "test/dsatest.c", ], "test/dtlstest" => [ "test/dtlstest.o", "test/ssltestlib.o", "test/testutil.o", ], "test/dtlstest.o" => [ "test/dtlstest.c", ], "test/dtlsv1listentest" => [ "test/dtlsv1listentest.o", ], "test/dtlsv1listentest.o" => [ "test/dtlsv1listentest.c", ], "test/ecdsatest" => [ "test/ecdsatest.o", ], "test/ecdsatest.o" => [ "test/ecdsatest.c", ], "test/ectest" => [ "test/ectest.o", ], "test/ectest.o" => [ "test/ectest.c", ], "test/enginetest" => [ "test/enginetest.o", ], "test/enginetest.o" => [ "test/enginetest.c", ], "test/errtest" => [ "test/errtest.o", "test/testutil.o", ], "test/errtest.o" => [ "test/errtest.c", ], "test/evp_extra_test" => [ "test/evp_extra_test.o", ], "test/evp_extra_test.o" => [ "test/evp_extra_test.c", ], "test/evp_test" => [ "test/evp_test.o", ], "test/evp_test.o" => [ "test/evp_test.c", ], "test/exdatatest" => [ "test/exdatatest.o", ], "test/exdatatest.o" => [ "test/exdatatest.c", ], "test/exptest" => [ "test/exptest.o", ], "test/exptest.o" => [ "test/exptest.c", ], "test/fatalerrtest" => [ "test/fatalerrtest.o", "test/ssltestlib.o", "test/testutil.o", ], "test/fatalerrtest.o" => [ "test/fatalerrtest.c", ], "test/gmdifftest" => [ "test/gmdifftest.o", ], "test/gmdifftest.o" => [ "test/gmdifftest.c", ], "test/handshake_helper.o" => [ "test/handshake_helper.c", ], "test/heartbeat_test" => [ "test/heartbeat_test.o", "test/testutil.o", ], "test/heartbeat_test.o" => [ "test/heartbeat_test.c", ], "test/hmactest" => [ "test/hmactest.o", ], "test/hmactest.o" => [ "test/hmactest.c", ], "test/ideatest" => [ "test/ideatest.o", ], "test/ideatest.o" => [ "test/ideatest.c", ], "test/igetest" => [ "test/igetest.o", ], "test/igetest.o" => [ "test/igetest.c", ], "test/md2test" => [ "test/md2test.o", ], "test/md2test.o" => [ "test/md2test.c", ], "test/md4test" => [ "test/md4test.o", ], "test/md4test.o" => [ "test/md4test.c", ], "test/md5test" => [ "test/md5test.o", ], "test/md5test.o" => [ "test/md5test.c", ], "test/mdc2test" => [ "test/mdc2test.o", ], "test/mdc2test.o" => [ "test/mdc2test.c", ], "test/memleaktest" => [ "test/memleaktest.o", ], "test/memleaktest.o" => [ "test/memleaktest.c", ], "test/ocspapitest" => [ "test/ocspapitest.o", "test/testutil.o", ], "test/ocspapitest.o" => [ "test/ocspapitest.c", ], "test/p5_crpt2_test" => [ "test/p5_crpt2_test.o", ], "test/p5_crpt2_test.o" => [ "test/p5_crpt2_test.c", ], "test/packettest" => [ "test/packettest.o", ], "test/packettest.o" => [ "test/packettest.c", ], "test/pbelutest" => [ "test/pbelutest.o", ], "test/pbelutest.o" => [ "test/pbelutest.c", ], "test/randtest" => [ "test/randtest.o", ], "test/randtest.o" => [ "test/randtest.c", ], "test/rc2test" => [ "test/rc2test.o", ], "test/rc2test.o" => [ "test/rc2test.c", ], "test/rc4test" => [ "test/rc4test.o", ], "test/rc4test.o" => [ "test/rc4test.c", ], "test/rc5test" => [ "test/rc5test.o", ], "test/rc5test.o" => [ "test/rc5test.c", ], "test/rmdtest" => [ "test/rmdtest.o", ], "test/rmdtest.o" => [ "test/rmdtest.c", ], "test/rsa_test" => [ "test/rsa_test.o", ], "test/rsa_test.o" => [ "test/rsa_test.c", ], "test/sanitytest" => [ "test/sanitytest.o", ], "test/sanitytest.o" => [ "test/sanitytest.c", ], "test/secmemtest" => [ "test/secmemtest.o", ], "test/secmemtest.o" => [ "test/secmemtest.c", ], "test/sha1test" => [ "test/sha1test.o", ], "test/sha1test.o" => [ "test/sha1test.c", ], "test/sha256t" => [ "test/sha256t.o", ], "test/sha256t.o" => [ "test/sha256t.c", ], "test/sha512t" => [ "test/sha512t.o", ], "test/sha512t.o" => [ "test/sha512t.c", ], "test/srptest" => [ "test/srptest.o", ], "test/srptest.o" => [ "test/srptest.c", ], "test/ssl_test" => [ "test/handshake_helper.o", "test/ssl_test.o", "test/ssl_test_ctx.o", "test/testutil.o", ], "test/ssl_test.o" => [ "test/ssl_test.c", ], "test/ssl_test_ctx.o" => [ "test/ssl_test_ctx.c", ], "test/ssl_test_ctx_test" => [ "test/ssl_test_ctx.o", "test/ssl_test_ctx_test.o", "test/testutil.o", ], "test/ssl_test_ctx_test.o" => [ "test/ssl_test_ctx_test.c", ], "test/sslapitest" => [ "test/sslapitest.o", "test/ssltestlib.o", "test/testutil.o", ], "test/sslapitest.o" => [ "test/sslapitest.c", ], "test/sslcorrupttest" => [ "test/sslcorrupttest.o", "test/ssltestlib.o", "test/testutil.o", ], "test/sslcorrupttest.o" => [ "test/sslcorrupttest.c", ], "test/ssltest_old" => [ "test/ssltest_old.o", ], "test/ssltest_old.o" => [ "test/ssltest_old.c", ], "test/ssltestlib.o" => [ "test/ssltestlib.c", ], "test/testutil.o" => [ "test/testutil.c", ], "test/threadstest" => [ "test/threadstest.o", ], "test/threadstest.o" => [ "test/threadstest.c", ], "test/v3ext" => [ "test/v3ext.o", ], "test/v3ext.o" => [ "test/v3ext.c", ], "test/v3nametest" => [ "test/v3nametest.o", ], "test/v3nametest.o" => [ "test/v3nametest.c", ], "test/verify_extra_test" => [ "test/verify_extra_test.o", ], "test/verify_extra_test.o" => [ "test/verify_extra_test.c", ], "test/versions" => [ "test/versions.o", ], "test/versions.o" => [ "test/versions.c", ], "test/wp_test" => [ "test/wp_test.o", ], "test/wp_test.o" => [ "test/wp_test.c", ], "test/x509_dup_cert_test" => [ "test/x509_dup_cert_test.o", ], "test/x509_dup_cert_test.o" => [ "test/x509_dup_cert_test.c", ], "test/x509_time_test" => [ "test/testutil.o", "test/x509_time_test.o", ], "test/x509_time_test.o" => [ "test/x509_time_test.c", ], "test/x509aux" => [ "test/x509aux.o", ], "test/x509aux.o" => [ "test/x509aux.c", ], "tools/c_rehash" => [ "tools/c_rehash.in", ], "util/shlib_wrap.sh" => [ "util/shlib_wrap.sh.in", ], }, ); 1;
29.926755
1,550
0.281579