| /openbsd-src/gnu/usr.bin/perl/cpan/version/t/ |
| H A D | coretests.pm | 13 is ${"$pkg\::VERSION"}, eval($req), 'Had to manually use version'; 28 $version = $CLASS->$method(5.005_03); 29 is ( "$version" , "5.00503" , '5.005_03 eq 5.00503' ); 30 $version = $CLASS->$method(1.23); 31 is ( "$version" , "1.23" , '1.23 eq "1.23"' ); 34 $version = $CLASS->$method(23); 35 is ( "$version" , 23 , '23 eq "23"' ); 38 $version = $CLASS->$method("5.005_03"); 39 is ( "$version" , "5.005_03" , '"5.005_03" eq "5.005_03"' ); 40 $version [all...] |
| H A D | 04strict_lax.t | 14 is ref($version::LAX), 'Regexp', 'Can see $version::LAX '.$version::LAX ; 15 is ref($version::STRICT), 'Regexp', 'Can see $version::STRICT '.$version::STRICT; 17 my ($v) = ( "snapshot-1.2.3ga-001-432" =~ /($version::LAX)/ ); 19 ($v) = ( "snapshot-1.2ga-001-432" =~ /($version::LAX)/ ); 21 ($v) = ( "snapshot-v1.2.3ga-001-432" =~ /($version::STRICT)/ ); 25 …is ref($version::LAX_DECIMAL_VERSION), 'Regexp', 'Can see $version::LAX_DECIMAL_VERSION '.$version… 26 …is ref($version::LAX_DOTTED_DECIMAL_VERSION), 'Regexp', 'Can see $version::LAX_DOTTED_DECIMAL_VERS… 27 …is ref($version::STRICT_DECIMAL_VERSION), 'Regexp', 'Can see $version::STRICT_DECIMAL_VERSION '.$v… 28 …is ref($version::STRICT_DOTTED_DECIMAL_VERSION), 'Regexp', 'Can see $version::STRICT_DOTTED_DECIMA… 30 ($v) = ( "snapshot-1.2.3ga-001-432" =~ /($version::LAX_DOTTED_DECIMAL_VERSION)/ ); [all …]
|
| H A D | 02derived.t | 18 use_ok("version", 0.9930); 24 package version::Bad; 25 use base 'version'; 28 # Bad subclass for SemVer failures seen with pure Perl version.pm only 29 package version::Bad2; 30 use base 'version'; 33 die 'Invalid version string format' unless version::is_strict($val); 53 use base 'version'; 71 my $verobj = version [all...] |
| /openbsd-src/gnu/usr.bin/perl/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker/ |
| H A D | version.pm | 11 package ExtUtils::MakeMaker::version; 32 push @version::ISA, "ExtUtils::MakeMaker::version::vpp"; 33 $version::VERSION = $VERSION; 34 *version::qv = \&ExtUtils::MakeMaker::version::vpp::qv; 35 *version::declare = \&ExtUtils::MakeMaker::version::vpp::declare; 36 *version::_VERSION = \&ExtUtils::MakeMaker::version::vpp::_VERSION; 37 *version::vcmp = \&ExtUtils::MakeMaker::version::vpp::vcmp; 38 *version::new = \&ExtUtils::MakeMaker::version::vpp::new; 41 *version::stringify = \&ExtUtils::MakeMaker::version::vpp::stringify; 42 *{'version::(""'} = \&ExtUtils::MakeMaker::version::vpp::stringify; [all …]
|
| /openbsd-src/gnu/usr.bin/perl/cpan/CPAN-Meta-Requirements/lib/CPAN/Meta/ |
| H A D | Requirements.pm | 5 # ABSTRACT: a set of version requirements for a CPAN dist 27 #pod A CPAN::Meta::Requirements object models a set of version constraints like 48 #pod * C<bad_version_hook> -- if provided, when a version cannot be parsed into 49 #pod a version object, this code reference will be called with the invalid 50 #pod version string as first argument, and the module name as second 51 #pod argument. It must return a valid version object. 71 #pod $req->add_minimum( $module => $version ); 73 #pod This adds a new minimum version requirement. If the new requirement is 76 #pod Minimum requirements are inclusive. C<$version> is required, along with any 77 #pod greater version numbe [all...] |
| /openbsd-src/gnu/usr.bin/perl/cpan/Module-Metadata/lib/Module/ |
| H A D | Metadata.pm | 27 use version 0.87; 77 ($V_NUM_REGEXP)? # optional version number 88 ($V_NUM_REGEXP)? # optional version number 149 $v1 = version->new($v1) 150 unless UNIVERSAL::isa($v1,'version'); 160 my ($version) = @_; 161 if ( $version =~ /[=<>!,]/ ) { # logic, not just version 164 elsif ( ref $version eq 'version' ) { # versio 802 sub version { global() subroutine [all...] |
| /openbsd-src/gnu/usr.bin/perl/cpan/version/lib/ |
| H A D | version.pod | 3 version - Perl extension for Version Objects 7 # Parsing version strings (decimal or dotted-decimal) 9 use version 0.77; # get latest bug-fixes and API 10 $ver = version->parse($string) 14 use version; our $VERSION = version->declare("v1.2.3"); # formal 15 use version; our $VERSION = qv("v1.2.3"); # deprecated 16 use version; our $VERSION = qv("v1.2_3"); # deprecated 21 use version; our $VERSION = version->parse("1.0203"); # formal 22 use version; our $VERSION = version->parse("1.02_03"); # alpha 24 # Comparing mixed version styles (decimals, dotted-decimals, objects) [all …]
|
| H A D | version.pm | 2 package version; package 8 warnings::register_categories(qw/version/); 12 our $CLASS = 'version'; 16 require version::regex; 17 *version::is_lax = \&version::regex::is_lax; 18 *version::is_strict = \&version::regex::is_strict; 19 *LAX = \$version::regex::LAX; 20 *LAX_DECIMAL_VERSION = \$version [all...] |
| /openbsd-src/gnu/usr.bin/perl/dist/Storable/t/ |
| H A D | file_magic.t | 42 version => -1, 57 version => 0, 68 version => 0, 83 version => 1, 94 version => 1, 110 version => "2.0", 122 version => "2.0", 139 version => "2.4", 156 version => "2.3", 168 version => "2.3", [all …]
|
| /openbsd-src/gnu/usr.bin/perl/cpan/CPAN-Meta-Requirements/t/ |
| H A D | strings.t | 26 ok($range->accepts('1.3'), 'exact version (==)'); 27 ok(!$range->accepts('1.2'), 'lower version (==)'); 28 ok(!$range->accepts('1.4'), 'higher version (==)'); 32 ok(!$range->accepts('1.3'), 'exact version (!=)'); 33 ok($range->accepts('1.2'), 'lower version (!=)'); 34 ok($range->accepts('1.4'), 'higher version (!=)'); 38 ok($range->accepts('1.3'), 'exact version (>=)'); 39 ok(!$range->accepts('1.2'), 'lower version (>=)'); 40 ok($range->accepts('1.4'), 'higher version (>=)'); 44 ok($range->accepts('1.3'), 'exact version (< [all...] |
| /openbsd-src/gnu/usr.bin/perl/dist/Safe/ |
| H A D | Safe.pm | 94 $version::VERSION 95 $version::CLASS 96 $version::STRICT 97 $version::LAX 98 @version::ISA 109 &version::() 110 &version::new 111 &version::("" 112 &version::stringify 113 &version [all...] |
| /openbsd-src/gnu/llvm/llvm/utils/release/ |
| H A D | bump-version.py | 8 import packaging.version 18 def process_file(self, fpath: Path, version: packaging.version.Version) -> None: 19 self.version = version 21 version.major, 22 version.minor, 23 version.micro, 24 version.pre, 44 version: Optional[packaging.version.Version] = None, 47 if version is None: 48 version = self.version [all …]
|
| /openbsd-src/gnu/usr.bin/perl/cpan/version/lib/version/ |
| H A D | Internals.pod | 3 version::Internals - Perl extension for Version Objects 7 Overloaded version objects for all modern versions of Perl. This documents 8 the internal data representation and underlying code for version.pm. See 9 F<version.pod> for daily usage. This document is only useful for users 14 For the purposes of this module, a version "number" is a sequence of 17 uses for a version, as well as extending the "version as number" that 20 There are actually two distinct kinds of version objects: 26 Any version which "looks like a number", see L<Decimal Versions>. This 36 the "external" version (the one used as part of the tag or tarfile name). 41 Both of these methods will produce similar version objects, in that [all …]
|
| /openbsd-src/gnu/usr.bin/perl/cpan/CPAN-Meta/lib/CPAN/ |
| H A D | Meta.pm | 226 $self = $cmc->convert( version => 2 ); # valid or dies 239 my $version = $struct->{'meta-spec'}{version} || '1.0'; 240 if ( $version == 2 ) { 245 $self = $cmc->convert( version => 2 ); 270 my $version = __PACKAGE__->VERSION || 2; 271 $struct->{generated_by} ||= __PACKAGE__ . " version $version" ; 272 $struct->{'meta-spec'}{version} ||= int($version); 400 my $version = $options->{version} || '2'; 403 if ( $version ge '2' ) { 434 return $self->meta_spec->{version}; [all …]
|
| /openbsd-src/regress/sys/net/pflow/ |
| H A D | ifconfig.ok | 3 pflow: receiver: INVALID:INVALID version: 5 8 pflow: receiver: INVALID:INVALID version: 5 12 pflow: receiver: 127.0.0.1:INVALID version: 5 16 pflow: receiver: 127.0.0.1:9996 version: 5 20 pflow: sender: 127.0.0.1 receiver: 127.0.0.1:9996 version: 5 24 pflow: sender: 127.0.0.1 receiver: INVALID:INVALID version: 5 28 pflow: receiver: INVALID:INVALID version: 5 32 pflow: sender: 127.0.0.1 receiver: 127.0.0.1:9996 version: 5 37 pflow: sender: 127.0.0.1 receiver: 127.0.0.1:9996 version: 5 41 pflow: sender: 127.0.0.1 receiver: 127.0.0.1:9996 version: 10 [all …]
|
| /openbsd-src/gnu/usr.bin/perl/cpan/CPAN-Meta/t/ |
| H A D | repository.t | 14 my $label = "(version 1.4) old repository winds up in 'url'"; 19 version => '1', 26 version => '1.4', 48 my $label = "(version 2 ) http in web passed through unchanged"; 53 version => '1', 60 version => '2', 84 my $label = "(version 2 ) http in url passed through unchanged"; 89 version => '1', 96 version => '2', 120 my $label = "(version 2 ) svn in url adds svn type"; [all …]
|
| /openbsd-src/gnu/usr.bin/perl/dist/Carp/ |
| H A D | Changes | 1 version 1.49 7 version 1.48 12 version 1.47, 1.47_02 19 version 1.47, 1.47_01 27 version 1.46 31 version 1.45 35 version 1.43 37 * fix problems introduced by the partial EBCDIC support from version 40 version 1.42 46 version 1.41 [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Utility/ |
| H A D | XcodeSDK.cpp | 49 if (!info.version.empty()) in XcodeSDK() 50 m_name += info.version.getAsString(); in XcodeSDK() 98 llvm::VersionTuple version; in ParseSDKVersion() local 99 version.tryParse(name.slice(0, i - 1)); in ParseSDKVersion() 101 return version; in ParseSDKVersion() 112 info.version = ParseSDKVersion(input); in Parse() 138 return std::tie(type, version, internal) < in operator <() 139 std::tie(other.type, other.version, other.internal); in operator <() 143 return std::tie(type, version, internal) == in operator ==() 144 std::tie(other.type, other.version, other.internal); in operator ==() [all …]
|
| /openbsd-src/gnu/usr.bin/perl/Porting/ |
| H A D | acknowledgements.pl | 27 use version; 82 my $version = version->new($since); 83 $version =~ s/^v//; 84 return $version; 89 my $version = version->new($since); 90 ( $version->{version}->[-1] )++; 91 return version->new( join( '.', @{ $version->{version} } ) );
|
| /openbsd-src/usr.sbin/mopd/otherOS/ |
| H A D | Makefile | 216 mopchk: $(CHOBJ) $(COOBJ) $(OTOBJ) version.o 217 $(CC) $(CFLAGS) -o $@ $(CHOBJ) $(COOBJ) $(OTOBJ) version.o $(LIB) 219 mopd: $(LDOBJ) $(COOBJ) $(OTOBJ) version.o 220 $(CC) $(CFLAGS) -o $@ $(LDOBJ) $(COOBJ) $(OTOBJ) version.o $(LIB) 222 mopprobe: $(PBOBJ) $(COOBJ) $(OTOBJ) version.o 223 $(CC) $(CFLAGS) -o $@ $(PBOBJ) $(COOBJ) $(OTOBJ) version.o $(LIB) 225 moptrace: $(TROBJ) $(COOBJ) $(OTOBJ) version.o 226 $(CC) $(CFLAGS) -o $@ $(TROBJ) $(COOBJ) $(OTOBJ) version.o $(LIB) 231 version.o: version.c 232 version.c version.h: VERSION [all …]
|
| /openbsd-src/gnu/usr.bin/perl/dist/Module-CoreList/lib/Module/ |
| H A D | CoreList.pod | 9 print $Module::CoreList::version{5.00503}{CPAN}; # prints 1.48 36 with each version of L<perl>. 61 Behaviour since version 2.11 63 Requires a MODULE name as an argument, returns the perl version when that module first 64 appeared in core as ordered by perl version number or undef ( in scalar context ) 69 Requires a MODULE name as an argument, returns the perl version when that module first 81 Takes a perl version as an argument. Upon successful completion, returns a 83 a module (I<e.g.,> 'File::Path') shipped with that version of perl and a value 84 which is the version number (I<e.g.,> '2.09') of that module which shipped 85 with that version of perl . Returns C<undef> otherwise. [all …]
|
| /openbsd-src/gnu/usr.bin/perl/dist/Module-CoreList/t/ |
| H A D | corelist.t | 8 ok($Module::CoreList::version{5.00503}, "5.00503"); 10 ok(!exists $Module::CoreList::version{5.00503}{attributes}, 13 ok($Module::CoreList::version{5.006001}, "5.006001"); 15 ok(exists $Module::CoreList::version{'5.006001'}{attributes}, 18 ok($Module::CoreList::version{5.007003}, "5.007003"); 20 ok(exists $Module::CoreList::version{5.007003}{'Attribute::Handlers'}, 45 [ sort keys %Module::CoreList::version ], 49 exists $Module::CoreList::version{ $_ }{FindExt} ? $_ : () 50 } keys %Module::CoreList::version ], 97 ok(exists $Module::CoreList::version{5}{strict}, [all …]
|
| /openbsd-src/gnu/usr.bin/perl/dist/Devel-PPPort/devel/ |
| H A D | scanprov | 114 # The file list is returned sorted, and so the min version is in the 0th 145 # manually populated and commited, with the version number ppport supports 154 # subhashes, with each 'version' key being its proper perl version. 155 # Below, we invert %hard_to_test, so that the keys are the version, and 156 # the values are the symbols that go in that version 160 # But if someone ups the min version we support, we don't want to add 162 my $version = int_parse_version($hard_to_test_ref->{$hard}); 163 $version = $min_perl if $version < [all...] |
| /openbsd-src/gnu/llvm/llvm/bindings/ocaml/llvm/ |
| H A D | META.llvm.in | 2 version = "@PACKAGE_VERSION@" 10 version = "@PACKAGE_VERSION@" 18 version = "@PACKAGE_VERSION@" 26 version = "@PACKAGE_VERSION@" 34 version = "@PACKAGE_VERSION@" 42 version = "@PACKAGE_VERSION@" 50 version = "@PACKAGE_VERSION@" 58 version = "@PACKAGE_VERSION@" 66 version = "@PACKAGE_VERSION@" 74 version = "@PACKAGE_VERSION@" [all …]
|
| /openbsd-src/gnu/usr.bin/perl/pod/ |
| H A D | perl.pod | 183 perldelta Perl changes since previous version 184 perl5400delta Perl changes in version 5.40.0 185 perl5382delta Perl changes in version 5.38.2 186 perl5381delta Perl changes in version 5.38.1 187 perl5380delta Perl changes in version 5.38.0 188 perl5363delta Perl changes in version 5.36.3 189 perl5362delta Perl changes in version 5.36.2 190 perl5361delta Perl changes in version 5.36.1 191 perl5360delta Perl changes in version 5.36.0 192 perl5343delta Perl changes in version 5.3 [all...] |