| /openbsd/src/gnu/usr.bin/perl/lib/ |
| D | Config.t | 17 cmp_ok(keys %Config, '>', 500, "Config has more than 500 entries"); 19 my ($first) = Config::config_sh() =~ /^(\S+)=/m; 25 my ($first_each) = each %Config; 27 ok(exists($Config{$first_each}), "First key exists"); 28 ok(!exists($Config{"\n$first"}), 31 is($Config{PERL_REVISION}, 5, "PERL_REVISION is 5"); 40 isnt($Config{$new}, undef, "$new is defined"); 41 is($Config{$new}, $Config{$old}, "$new is aliased to $old"); 44 ok( exists $Config{cc}, "has cc"); 46 ok( exists $Config{ccflags}, "has ccflags"); [all …]
|
| /openbsd/src/gnu/usr.bin/perl/ext/DynaLoader/ |
| D | DynaLoader_pm.PL | 1 use Config; 46 …if (($op eq 'eq' and ($^O eq $os || $Config{osname} eq $os)) || ($op eq 'ne' and ($^O ne $os || $C… 55 …if (($op eq 'eq' and ($^O eq $os || $Config{osname} eq $os)) || ($op eq 'ne' and ($^O ne $os || $C… 133 to_string($Config{'dlext'}), ",", 134 to_string($Config{'so'}), ",", 135 to_string($Config{'dlsrc'}), ")\n;" ; 178 # The below \@dl_library_path has been expanded (%Config) in Perl build time. 200 $ldlibpthname = to_string($Config::Config{ldlibpthname}); 201 $ldlibpthname_defined = to_string(defined $Config::Config{ldlibpthname} ? 1 : 0); 202 $pthsep = to_string($Config::Config{path_sep}); [all …]
|
| /openbsd/src/gnu/usr.bin/perl/ext/Errno/ |
| D | Errno_pm.PL | 2 use Config; 17 if ($Config{gccversion} ne '' && $^O eq 'MSWin32') { 47 if ($^O eq 'MSWin32' && $Config{cc} =~ /\B-mno-cygwin\b/ && 56 if (($^O eq 'VMS') && ($Config{vms_cc_type} ne 'gnuc')) { 61 } elsif ($Config{gccversion} ne '' && $^O ne 'darwin' ) { 63 unless(open(FH,"$Config{cc} -E -dM $Config{cppflags} $file |")) { 96 $cppstdin = $Config{cppstdin}; 106 return "$cppstdin $Config{cppflags} $Config{cppminus}"; 112 my $sysroot = $Config{sysroot} || ''; 119 split / / => $Config{locincpth}; [all …]
|
| /openbsd/src/gnu/llvm/llvm/tools/llvm-ifs/ |
| D | llvm-ifs.cpp | 310 DriverConfig Config; in parseArgs() local 312 Config.InputFilePaths.push_back(A->getValue()); in parseArgs() 314 Config.InputFormat = StringSwitch<std::optional<FileFormat>>(A->getValue()) in parseArgs() 318 if (!Config.InputFormat) in parseArgs() 327 Config.OutputFormat = StringSwitch<std::optional<FileFormat>>(A->getValue()) in parseArgs() 332 if (!Config.OutputFormat) in parseArgs() 336 Config.OverrideArch = ELF::convertArchNameToEMachine(A->getValue()); in parseArgs() 342 Config.OverrideBitWidth = in parseArgs() 348 Config.OverrideEndianness = in parseArgs() 353 if (!Config.OverrideEndianness) in parseArgs() [all …]
|
| /openbsd/src/gnu/usr.bin/perl/cpan/ExtUtils-Install/t/ |
| D | Installed.t | 14 use Config; 25 my $mandirs = !!$Config{man1direxp} + !!$Config{man3direxp}; 31 $ei->{':private:'}{Config} = \%Config; 49 my $dir = File::Spec->canonpath($Config{$path.'exp'}); 59 my $prefix = $Config{prefix} || $Config{prefixexp}; 66 $prefix = $Config{prefix} if $prefix eq 'p:' && $^O eq 'MSWin32'; 118 local *ExtUtils::Installed::Config; 119 %ExtUtils::Installed::Config = ( 120 %Config, 133 is( $realei->{Perl}{version}, $Config{version}, [all …]
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/scudo/standalone/ |
| D | size_class_map.h | 25 template <typename Config> struct SizeClassMapBase { 30 if (Config::MaxBytesCachedLog > 31 || Config::MaxSizeLog > 31) in getMaxCachedHint() 31 N = static_cast<u32>((1UL << Config::MaxBytesCachedLog) / Size); in getMaxCachedHint() 33 N = (1U << Config::MaxBytesCachedLog) / static_cast<u32>(Size); in getMaxCachedHint() 37 return static_cast<u16>(Max(1U, Min<u32>(Config::MaxNumCachedHint, N))); in getMaxCachedHint() 60 template <typename Config> 61 class FixedSizeClassMap : public SizeClassMapBase<Config> { 62 typedef SizeClassMapBase<Config> Base; 64 static const uptr MinSize = 1UL << Config::MinSizeLog; 65 static const uptr MidSize = 1UL << Config::MidSizeLog; [all …]
|
| D | secondary.h | 51 template <typename Config> static uptr addHeaderTag(uptr Ptr) { in addHeaderTag() 52 if (allocatorSupportsMemoryTagging<Config>()) in addHeaderTag() 57 template <typename Config> static Header *getHeader(uptr Ptr) { in getHeader() 58 return reinterpret_cast<Header *>(addHeaderTag<Config>(Ptr)) - 1; in getHeader() 61 template <typename Config> static Header *getHeader(const void *Ptr) { in getHeader() 62 return getHeader<Config>(reinterpret_cast<uptr>(Ptr)); in getHeader() 97 template <typename Config> 101 if (useMemoryTagging<Config>(Options) && CommitSize > MaxUnusedCacheBytes) { in mapSecondary() 110 MAP_RESIZABLE | (useMemoryTagging<Config>(Options) ? MAP_MEMTAG : 0) | in mapSecondary() 129 template <typename Config> class MapAllocatorCache { [all …]
|
| /openbsd/src/gnu/usr.bin/perl/cpan/ExtUtils-MakeMaker/t/ |
| D | build_man.t | 20 use ExtUtils::MakeMaker::Config; 24 $Config{installman3dir} = 'none'; 47 local $Config{installman3dir} = File::Spec->catdir(qw(t lib)); 134 local $Config{installman1dir} = ''; 135 local $Config{installman3dir} = ''; 136 local $Config{installsiteman1dir} = ''; 137 local $Config{installsiteman3dir} = ''; 138 local $Config{installvendorman1dir} = ''; 139 local $Config{installvendorman3dir} = ''; 140 local $Config{usevendorprefix} = ''; [all …]
|
| /openbsd/src/gnu/usr.bin/perl/lib/ExtUtils/t/ |
| D | Embed.t | 11 use Config; 16 my $cc = $Config{'cc'}; 17 if ( $Config{usecrosscompile} && !can_run($cc) ) { 34 my $skip_exe = $^O eq 'os2' && $Config{ldflags} =~ /(?<!\S)-Zexe\b/; 36 $exe .= $Config{'exe_ext'} unless $skip_exe; # Linker will auto-append it 37 my $obj = 'embed_test' . $Config{'obj_ext'}; 63 push(@cmd2,$Config{'ld'}, $Config{'ldflags'}, "/exe=$exe"); 73 if ($^O eq 'dec_osf' && !defined $Config{usedl}) { 86 $ccflags =~ s/-D_FORTIFY_SOURCE=\d+// if $Config{optimize} =~ /-O/; 97 push(@cmd,'-link',"-libpath:$lib\\lib\\CORE",$Config{'libperl'},$Config{'libs'}); [all …]
|
| /openbsd/src/gnu/llvm/llvm/tools/llvm-objcopy/ |
| D | llvm-objcopy.cpp | 116 const CommonConfig &Config = ConfigMgr.getCommonConfig(); in executeObjcopyOnRawBinary() local 117 switch (Config.OutputFormat) { in executeObjcopyOnRawBinary() 129 return elf::executeObjcopyOnRawBinary(Config, *ELFConfig, In, Out); in executeObjcopyOnRawBinary() 139 CommonConfig &Config = ConfigMgr.Common; in executeObjcopy() local 142 FilePermissionsApplier::create(Config.InputFilename); in executeObjcopy() 151 if (Config.InputFormat == FileFormat::Binary || in executeObjcopy() 152 Config.InputFormat == FileFormat::IHex) { in executeObjcopy() 154 MemoryBuffer::getFileOrSTDIN(Config.InputFilename); in executeObjcopy() 156 return createFileError(Config.InputFilename, BufOrErr.getError()); in executeObjcopy() 159 if (Config.InputFormat == FileFormat::Binary) in executeObjcopy() [all …]
|
| D | ObjcopyOptions.cpp | 621 CommonConfig &Config = ConfigMgr.Common; in parseObjcopyOptions() local 625 Config.InputFilename = Positional[0]; in parseObjcopyOptions() 626 Config.OutputFilename = Positional[Positional.size() == 1 ? 0 : 1]; in parseObjcopyOptions() 657 Config.InputFormat = StringSwitch<FileFormat>(InputFormat) in parseObjcopyOptions() 720 Config.OutputFormat = StringSwitch<FileFormat>(OutputFormat) in parseObjcopyOptions() 724 if (Config.OutputFormat == FileFormat::Unspecified) { in parseObjcopyOptions() 726 Config.OutputFormat = Config.InputFormat; in parseObjcopyOptions() 732 Config.OutputFormat = Target->Format; in parseObjcopyOptions() 733 Config.OutputArch = Target->Machine; in parseObjcopyOptions() 738 Config.CompressionType = StringSwitch<DebugCompressionType>(A->getValue()) in parseObjcopyOptions() [all …]
|
| /openbsd/src/gnu/usr.bin/perl/ext/POSIX/t/ |
| D | mb.t | 11 require Config; import Config; 12 if ($^O ne 'VMS' and $Config{'extensions'} !~ /\bPOSIX\b/) { 29 skip("mblen() not present", 7) unless $Config{d_mblen}; 51 my ($major, $minor, $rest) = $Config{osvers} =~ / (\d+) \. (\d+) .* /x; 53 if $Config{osname} eq 'hpux' 77 skip("mbtowc() not present", 5) unless $Config{d_mbtowc} || $Config{d_mbrtowc}; 95 my ($major, $minor, $rest) = $Config{osvers} =~ / (\d+) \. (\d+) .* /x; 97 if $Config{osname} eq 'hpux' 122 skip("wctomb() not present", 2) unless $Config{d_wctomb} || $Config{d_wcrtomb}; 138 my ($major, $minor, $rest) = $Config{osvers} =~ / (\d+) \. (\d+) .* /x; [all …]
|
| D | posix.t | 4 require Config; import Config; 5 if ($^O ne 'VMS' and $Config{'extensions'} !~ /\bPOSIX\b/) { 103 my $todo = $^O eq 'netbsd' && $Config{osvers}=~/^1\.6/; 104 my $why_todo = "# TODO $^O $Config{osvers} seems to lose blocked signals"; 113 my ($major, $minor) = $Config{osvers} =~ / (\d+) \. (\d+) .* /x; 159 skip("strtod() not present", 3) unless $Config{d_strtod}; 178 …if($Config{nvtype} eq 'double' || ($Config{nvtype} eq 'long double' && $Config{longdblkind} == 0))… 189 skip("strtold() not present", 3) unless $Config{d_strtold}; 207 if($Config{nvtype} eq 'long double') { 211 elsif($Config{nvtype} eq '__float128') { [all …]
|
| /openbsd/src/gnu/usr.bin/perl/cpan/Config-Perl-V/t/ |
| D | 10_base.t | 20 ok (my $conf = Config::Perl::V::myconfig, "Read config"); 25 ok (my $info1 = Config::Perl::V::summary ($conf), "Get a summary for \$conf"); 26 ok (my $info2 = Config::Perl::V::summary, "Get a summary for \$^X"); 29 ok (my $sig = Config::Perl::V::signature, "Get signature"); 33 ok (my $bad = Config::Perl::V::signature ({ cfg => 0 }), "Signature on invalid data"); 35 ok ( $bad = Config::Perl::V::signature ({ config => {} }), "Signature on incomplete data"); 37 ok ( $bad = Config::Perl::V::signature ({ config => 0, build => {} }), "Signature on invalid data… 39 ok ( $bad = Config::Perl::V::signature ({ config => {}, build => 0 }), "Signature on invalid data… 45 defined &Config::compile_date or 47 eval q{no warnings "redefine"; sub Config::compile_date { return undef }}; [all …]
|
| /openbsd/src/gnu/usr.bin/perl/cpan/ExtUtils-MakeMaker/lib/ExtUtils/ |
| D | Mksymlists.pm | 10 use Config; 81 require Config; 82 my $threaded = ($Config::Config{archname} =~ /-thread/ ? " threaded" : ""); 90 my $patchlevel = " pl$Config{perl_patchlevel}" || ''; 92 $Config::Config{version}, $threaded, $patchlevel, $data->{NAME}; 98 $comment = "$comment (Perl-config: $Config{config_args})"; 130 require Config; 140 if ($Config::Config{'cc'} !~ /\bgcc/i) { 153 if ($Config::Config{'cc'} =~ /^bcc/i) { 174 require Config; # a reminder for once we do $^O [all …]
|
| /openbsd/src/gnu/usr.bin/perl/t/op/ |
| D | sprintf2.t | 21 print "# uvsize = $Config{uvsize}\n"; 22 print "# nvsize = $Config{nvsize}\n"; 23 print "# nv_preserves_uv_bits = $Config{nv_preserves_uv_bits}\n"; 24 print "# d_quad = $Config{d_quad}\n"; 25 print "# uselongdouble = " . ($Config{uselongdouble} // 'undef') . "\n"; 26 if ($Config{nvsize} == 8 && 29 ($Config{uvsize} == 8 && $Config{nv_preserves_uv_bits} == 53) 32 ($Config{uvsize} == 4 && $Config{d_quad}) 91 } elsif (($Config{nvsize} == 16 || $Config{nvsize} == 12) && 151 $Config{nvsize} == 16 && [all …]
|
| /openbsd/src/gnu/usr.bin/perl/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/ |
| D | Kid.pm | 17 use ExtUtils::MakeMaker::Config; 32 if ( $^O =~ /os2|android/ and $Config{perllibs} ) { 38 $potential_libs .= $Config{perllibs}; 43 my ( $so ) = $Config{so}; 44 my ( $libs ) = defined $Config{perllibs} ? $Config{perllibs} : $Config{libs}; 45 my $Config_libext = $Config{lib_ext} || ".a"; 46 my $Config_dlext = $Config{dlext}; 55 my ( @libpath ) = Text::ParseWords::shellwords( $Config{'libpth'} || '' ); 61 if ($Config{gccversion}) { 62 …chomp(my @incpath = grep s/^ //, grep { /^#include </ .. /^End of search / } `$Config{cc} -E -v - … [all …]
|
| /openbsd/src/gnu/usr.bin/perl/t/porting/ |
| D | extrefs.t | 23 use Config; 28 if ($Config{'usecrosscompile'} && !can_run($Config{'cc'})) { 52 $^O eq 'os2' && $Config{ldflags} =~ /-Zexe\b/) ? '.exe' : 53 (($^O eq 'vos') ? $Config{exe_ext} : ''); 62 my $obj_ext = $Config{obj_ext} || ".o"; 76 my $ccflags = $Config{'ccflags'} . ' ' . "-I$COREincdir" 88 if ($^O eq "MSWin32" && $Config{cc} =~ /\bcl\b/i) { 89 $libs = " /link $Config{'libs'}"; 100 if ($^O eq "MSWin32" && $Config{cc} =~ /\bcl\b/i) { 106 my $cccmd = "$Config{'cc'} $out_opt$tmp_exe $ccflags $tmp.c $libs $errornull"; [all …]
|
| D | FindExt.t | 10 use Config; 19 if ( $Config{usecrosscompile} ) { 25 FindExt::apply_config(\%Config); 29 ? $ENV{PERL_STATIC_EXT} : $Config{static_ext}); 40 unless (join (' ', sort split ' ', $Config{extensions}) 51 compare('known_extensions', $Config{known_extensions}, 58 compare('known_extensions', $Config{known_extensions}, 68 push @config_built, split ' ', $Config{"${type}_ext"}; 69 compare("${type}_ext", $Config{"${type}_ext"}, @this_found); 72 compare('"config" dynamic + static + nonxs', $Config{extensions},
|
| D | libperl.t | 46 use Config; 53 if ($Config{cc} =~ /g\+\+/) { 59 if ($Config{ccname} eq "gcc" && $Config{ccflags} =~ /-flto\b/) { 81 print "# \$Config{archname} = $Config{archname}\n"; 82 print "# \$Config{cc} = $Config{cc}\n"; 144 if ($^O eq 'linux' && $Config{archname} !~ /^(?:x|i6)86/) { 147 skip_all "linux but archname $Config{archname} not x86*"; 346 my $nocommon = $Config{ccflags} =~ /-fno-common/ ? 1 : 0; 384 if ($Config{uselongdouble} && $Config{longdblsize} > $Config{doublesize}) { 386 } elsif ($Config{usequadmath}) { [all …]
|
| /openbsd/src/gnu/usr.bin/perl/dist/Time-HiRes/ |
| D | Makefile.PL | 10 use Config; 27 $^O eq 'os2' && $Config{ldflags} =~ /-Zexe\b/) ? '.exe' : 28 (($^O eq 'vos') ? $Config{exe_ext} : ''); 41 my $obj_ext = $Config{obj_ext} || ".o"; 58 $COREincdir = File::Spec->catdir($Config{'archlibexp'}, 'CORE'); 71 my $ccflags = $Config{'ccflags'} . ' '; 72 my @osvers = split /\./, $Config{osvers}; 84 $cccmd = "$Config{'cc'} $Config{'ccflags'} /include=($COREincdir) $tmp.c"; 93 $cccmd = "$Config{'cc'} -o $tmp $ccflags $tmp.c @$LIBS $errornull" 104 for ("$tmp.c", "$tmp$obj_ext", "$tmp.com", "$tmp$Config{exe_ext}") { [all …]
|
| /openbsd/src/gnu/usr.bin/perl/ext/DynaLoader/t/ |
| D | DynaLoader.t | 6 use Config; 18 use Config; 20 if ($Config{extensions} =~ /\b$_\b/) { 46 my $old_darwin = $^O eq 'darwin' && ($Config{osvers} =~ /^(\d+)/)[0] < 10; 52 if ($Config{usedl}) { 81 if ($Config{usedl}) { 91 skip( "no dl_load_file with dl_none.xs", 2 ) unless $Config{usedl}; 128 if $Config{usecrosscompile}; 133 my $extensions = $Config{'dynamic_ext'}; 166 unless defined &DynaLoader::mod2fname && $Config{d_libname_unique}; [all …]
|
| /openbsd/src/gnu/usr.bin/perl/cpan/libnet/t/ |
| D | config.t | 57 use Net::Config; 63 is( Net::Config->requires_firewall(), 0, 67 is( Net::Config->requires_firewall('a.host.not.there'), -1, 72 is( Net::Config->requires_firewall('127.0.0.1'), 0, 76 is( Net::Config->requires_firewall('127.0.0.1'), 0, 78 is( Net::Config->requires_firewall('192.168.10.0'), 1, 83 is( Net::Config->requires_firewall('10.10.255.254'), 0, 85 is( Net::Config->requires_firewall('192.168.10.0'), 1, 88 is( \&Net::Config::is_external, \&Net::Config::requires_firewall,
|
| D | smtp_ipv6.t | 19 use Config; 29 unless $Config::Config{d_fork} || $Config::Config{d_pseudofork} || 31 $Config::Config{useithreads} and 32 $Config::Config{ccflags} =~ /-DPERL_IMPLICIT_SYS/);
|
| D | pop3_ipv6.t | 19 use Config; 29 unless $Config::Config{d_fork} || $Config::Config{d_pseudofork} || 31 $Config::Config{useithreads} and 32 $Config::Config{ccflags} =~ /-DPERL_IMPLICIT_SYS/);
|