Home
last modified time | relevance | path

Searched refs:Config (Results 1 – 25 of 1262) sorted by relevance

12345678910>>...51

/openbsd-src/gnu/usr.bin/perl/lib/
H A DConfig.t17 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/llvm/llvm/lib/ObjCopy/ELF/
H A DELFObjcopy.cpp133 static std::unique_ptr<Writer> createELFWriter(const CommonConfig &Config, in createELFWriter() argument
139 return std::make_unique<ELFWriter<ELF32LE>>(Obj, Out, !Config.StripSections, in createELFWriter()
140 Config.OnlyKeepDebug); in createELFWriter()
142 return std::make_unique<ELFWriter<ELF64LE>>(Obj, Out, !Config.StripSections, in createELFWriter()
143 Config.OnlyKeepDebug); in createELFWriter()
145 return std::make_unique<ELFWriter<ELF32BE>>(Obj, Out, !Config.StripSections, in createELFWriter()
146 Config.OnlyKeepDebug); in createELFWriter()
148 return std::make_unique<ELFWriter<ELF64BE>>(Obj, Out, !Config.StripSections, in createELFWriter()
149 Config.OnlyKeepDebug); in createELFWriter()
154 static std::unique_ptr<Writer> createWriter(const CommonConfig &Config, in createWriter() argument
[all …]
/openbsd-src/gnu/usr.bin/perl/ext/Errno/
H A DErrno_pm.PL2 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{cppminu
[all...]
/openbsd-src/gnu/usr.bin/perl/ext/DynaLoader/
H A DDynaLoader_pm.PL1 use Config;
33 # The $^O tests test both for $^O and for $Config{osname}.
46 if (($op eq 'eq' and ($^O eq $os || $Config{osname} eq $os)) || ($op eq 'ne' and ($^O ne $os || $Config{osname} ne $os))) {
55 if (($op eq 'eq' and ($^O eq $os || $Config{osname} eq $os)) || ($op eq 'ne' and ($^O ne $os || $Config{osname} ne $os))) {
107 print OUT "use Config;\n";
133 to_string($Config{'dlext'}), ",",
134 to_string($Config{'so'}), ",",
135 to_string($Config{'dlsr
[all...]
/openbsd-src/gnu/llvm/llvm/tools/llvm-ifs/
H A Dllvm-ifs.cpp310 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/
H A DInstalled.t14 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/
H A Dsize_class_map.h25 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 …]
H A Dsecondary.h51 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/llvm/llvm/lib/ObjCopy/COFF/
H A DCOFFObjcopy.cpp133 static Error handleArgs(const CommonConfig &Config, in handleArgs() argument
136 Obj.removeSections([&Config](const Section &Sec) { in handleArgs()
139 if (!Config.OnlySection.empty() && !Config.OnlySection.matches(Sec.Name)) in handleArgs()
142 if (Config.StripDebug || Config.StripAll || Config.StripAllGNU || in handleArgs()
143 Config.DiscardMode == DiscardType::All || Config.StripUnneeded) { in handleArgs()
149 if (Config.ToRemove.matches(Sec.Name)) in handleArgs()
155 if (Config.OnlyKeepDebug) { in handleArgs()
166 if (Config.StripAll || Config.StripAllGNU) in handleArgs()
171 if (Config.StripUnneeded || Config.DiscardMode == DiscardType::All || in handleArgs()
172 !Config.SymbolsToRemove.empty()) in handleArgs()
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/ExtUtils-MakeMaker/t/
H A Dbuild_man.t20 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/
H A DEmbed.t11 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}) {
81 # to $Config{optimiz
[all...]
/openbsd-src/gnu/llvm/llvm/tools/llvm-objcopy/
H A Dllvm-objcopy.cpp116 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 …]
H A DObjcopyOptions.cpp621 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/llvm/llvm/lib/ObjCopy/wasm/
H A DWasmObjcopy.cpp60 static void removeSections(const CommonConfig &Config, Object &Obj) { in removeSections() argument
64 if (!Config.ToRemove.empty()) { in removeSections()
65 RemovePred = [&Config](const Section &Sec) { in removeSections()
66 return Config.ToRemove.matches(Sec.Name); in removeSections()
70 if (Config.StripDebug) { in removeSections()
76 if (Config.StripAll) { in removeSections()
83 if (Config.OnlyKeepDebug) { in removeSections()
84 RemovePred = [&Config](const Section &Sec) { in removeSections()
87 return Config.ToRemove.matches(Sec.Name) || !isDebugSection(Sec); in removeSections()
91 if (!Config.OnlySection.empty()) { in removeSections()
[all …]
/openbsd-src/gnu/usr.bin/perl/ext/POSIX/t/
H A Dmb.t11 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 …]
H A Dposix.t4 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};
171 # If $Config{nvtype} is 'double' we check that strtod assigns the same value as
178 if($Config{nvtype} eq 'double' || ($Config{nvtyp
[all...]
/openbsd-src/gnu/usr.bin/perl/cpan/Config-Perl-V/t/
H A D10_base.t20 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/
H A DMksymlists.pm10 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/
H A Dsprintf2.t21 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/
H A DKid.pm17 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/llvm/llvm/lib/ObjCopy/
H A DObjCopy.cpp38 Error executeObjcopyOnBinary(const MultiFormatConfig &Config, in executeObjcopyOnBinary() argument
41 Expected<const ELFConfig &> ELFConfig = Config.getELFConfig(); in executeObjcopyOnBinary()
45 return elf::executeObjcopyOnBinary(Config.getCommonConfig(), *ELFConfig, in executeObjcopyOnBinary()
49 Expected<const COFFConfig &> COFFConfig = Config.getCOFFConfig(); in executeObjcopyOnBinary()
53 return coff::executeObjcopyOnBinary(Config.getCommonConfig(), *COFFConfig, in executeObjcopyOnBinary()
57 Expected<const MachOConfig &> MachOConfig = Config.getMachOConfig(); in executeObjcopyOnBinary()
61 return macho::executeObjcopyOnBinary(Config.getCommonConfig(), *MachOConfig, in executeObjcopyOnBinary()
67 Config, *MachOUniversalBinary, Out); in executeObjcopyOnBinary()
70 Expected<const WasmConfig &> WasmConfig = Config.getWasmConfig(); in executeObjcopyOnBinary()
74 return objcopy::wasm::executeObjcopyOnBinary(Config.getCommonConfig(), in executeObjcopyOnBinary()
[all …]
/openbsd-src/gnu/llvm/llvm/tools/llvm-dwarfutil/
H A Dllvm-dwarfutil.cpp160 static Error setConfigToAddNewDebugSections(objcopy::ConfigManager &Config, in setConfigToAddNewDebugSections() argument
173 Config.Common.AddSection.emplace_back(objcopy::NewSectionInfo( in setConfigToAddNewDebugSections()
247 objcopy::ConfigManager Config; in saveSeparateDebugInfo() local
249 Config.Common.InputFilename = Opts.InputFileName; in saveSeparateDebugInfo()
250 Config.Common.OutputFilename = OutputFilename; in saveSeparateDebugInfo()
251 Config.Common.OnlyKeepDebug = true; in saveSeparateDebugInfo()
255 Config.Common.OutputFilename, [&](raw_ostream &OutFile) -> Error { in saveSeparateDebugInfo()
257 if (Error Err = objcopy::executeObjcopyOnBinary(Config, InputFile, in saveSeparateDebugInfo()
271 objcopy::ConfigManager Config; in saveNonDebugInfo() local
272 Config.Common.InputFilename = Opts.InputFileName; in saveNonDebugInfo()
[all …]
/openbsd-src/gnu/usr.bin/perl/ext/DynaLoader/t/
H A DDynaLoader.t6 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/
H A Dconfig.t57 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,
/openbsd-src/gnu/usr.bin/perl/dist/Time-HiRes/
H A DMakefile.PL10 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 …]

12345678910>>...51