Home
last modified time | relevance | path

Searched refs:module (Results 1 – 25 of 440) sorted by relevance

12345678910>>...18

/mirbsd/src/gnu/usr.bin/perl/lib/File/Spec/t/
Dcrossplatform.t30 my $module = "File::Spec::$platform";
34 eval "require $module; 1";
36 skip "Can't load $module", $tests_per_platform
52 $base = $module->catpath($v, $module->catdir('', 'foo'), '');
53 $base = $module->catdir($module->rootdir, 'foo');
55 is $module->file_name_is_absolute($base), 1, "$base is absolute on $platform";
59 $file = $module->catpath($v, $module->catdir($module->rootdir, 'foo', 'bar'), 'file');
60 $base = $module->catpath($v, $module->catdir($module->rootdir, 'foo'), '');
61 $result = $module->catfile('bar', 'file');
62 is $module->abs2rel($file, $base), $result, "$platform->abs2rel($file, $base)";
[all …]
/mirbsd/src/gnu/usr.bin/perl/lib/ExtUtils/
DInstalled.pm109 my $module = $File::Find::name;
111 $module =~ s!\Q$archlib\E/?auto/(.*)/.packlist!$1!s or
112 $module =~ s!\Q$sitearch\E/?auto/(.*)/.packlist!$1!s;
113 my $modfile = "$module.pm";
114 $module =~ s!/!::!g;
117 $self->{$module}{version} = '';
121 $module = _module_name($p, $module) if $Is_VMS;
124 $self->{$module}{version} = MM->parse_version($p);
130 $self->{$module}{packlist} =
145 my $module = '';
[all …]
Dinstmodsh50 my ($module) = @_;
54 print("$module cmd? ");
62 $Module_Commands{$cmd}->($reply, $module);
75 my($reply, $module) = @_;
81 if (eval { @files = $Inst->files($module, $class); }) {
82 print("$class files in $module are:\n ",
92 my($reply, $module) = @_;
98 if (eval { @dirs = $Inst->directories($module, $class); }) {
99 print("$class directories in $module are:\n ",
109 my($reply, $module) = @_;
[all …]
/mirbsd/src/usr.bin/file/magdir/
Dmodules3 # Magic file entries for several module formats
8 1080 string M.K. Protracker module
10 1080 string M!K! Protracker 2.3 module
12 1080 string M&K! Noisetracker module
14 1080 string EMW3 UNIC-Tracker module
16 1080 string FLT4 Startrekker 4 channel module
18 1080 string FLT8 Startrekker 8 channel module
20 1080 string 6CHN Fasttracker 6 channel module
22 1080 string 8CHN Fasttracker 8 channel module
25 >1080 string x "%-1.1s channel module"
[all …]
/mirbsd/src/usr.sbin/httpd/
Dconfigure302 for module in `egrep '^[# ]*(Add|Shared)Module' $src/Configuration.tmpl`; do
305 if [ "x`echo $module | grep '^#'`" != "x" ]; then
308 if [ "x`echo $module | grep 'SharedModule'`" != "x" ]; then
311 module=`echo "$module" |\
317 eval "module_$module=$add"
318 eval "shared_$module=$share"
319 modules="${modules}:$module"
320 modulelist="${modulelist}:$module=$add"
718 --add-module=*)
742 module=`echo "$modfileo" |\
[all …]
/mirbsd/src/lib/libssl/src/crypto/objects/
Dobjects.pl33 $module = $1."-";
34 $module =~ s/\./_/g;
35 $module =~ s/-/_/g;
38 { $module = ""; }
43 $Cname = $module.$1;
73 if ($Cname ne "" && defined($ln{$module.$Cname}))
74 ….txt:$o:There's already an object with long name ",$ln{$module.$Cname}," on line ",$order{$module.…
80 if ($Cname ne "" && defined($sn{$module.$Cname}))
81 …txt:$o:There's already an object with short name ",$sn{$module.$Cname}," on line ",$order{$module.…
89 if ($Cname ne "" && defined($ln{$module.$Cname}))
[all …]
/mirbsd/src/gnu/usr.bin/perl/Porting/
Dcorecpan.pl52 my $module = $file;
53 $module =~ s/\.pm\z//;
55 $module =~ s{^(lib|ext)/}{}
57 and ( $module =~ s{^(.*)/lib/\1\b}{$1},
58 $module =~ s{(\w+)/\1\b}{$1},
59 $module =~ s{^Encode/encoding}{encoding},
60 $module =~ s{^MIME/Base64/QuotedPrint}{MIME/QuotedPrint},
61 $module =~ s{^List/Util/lib/Scalar}{Scalar},
63 $module =~ s{/}{::}g;
64 my $vcpan = $cpanversions{$module} // 'not found';
DContract22 From time to time, a script, module, or set of modules (hereafter referred
23 to simply as a "module") will prove so widely useful and/or so integral to
26 consent, and a clear recognition on all parts that this means the module
27 is being distributed under the same terms as Perl itself. A module author
28 should realize that inclusion of a module into the Perl core will
33 Once a module has been included in the Perl core, however, everyone
34 involved in maintaining Perl should be aware that the module is still the
38 1) The version of the module in the core should still be considered the
44 cooperation of the module author if and only if they are very minor,
46 the module author cannot be reached. Those patches must still be
[all …]
/mirbsd/src/gnu/usr.bin/perl/lib/
Dautouse.pm20 my $module = shift;
22 (my $pm = $module) =~ s{::}{/}g;
25 vet_import $module;
28 return $module->import(map { (my $f = $_) =~ s/\(.*?\)$//; $f } @_);
48 unless substr($func, 0, $index) eq $module;
54 vet_import $module;
57 *$closure_import_func = \&{"${module}::$closure_func"};
58 print "autousing $module; "
74 my $module = shift;
75 if (my $import = $module->can('import')) {
/mirbsd/src/usr.sbin/httpd/src/helpers/
DMakeLint8 local($module) = @_;
9 return 1 if $module =~ /mod_dld/;
10 return 1 if $module =~ /mod_dld/;
11 return 1 if $module =~ /mod_auth_msql/;
12 return 1 if $module =~ /mod_example/;
26 $module = $1;
27 print LINT "AddModule $module\n" if ! &isbad($module);
/mirbsd/src/gnu/usr.bin/perl/lib/Devel/
DSelfStubber.t122 my @module = qw(Parent Child)
143 foreach my $module (@module) {
144 my $file = "$module--$$";
147 print FH "use $module;
148 print ${module}->foo;
155 foreach my $module (@module) {
156 print "# $runperl \"-I$inlib\" $module--$$\n";
157 ($output{$module} = `$runperl "-I$inlib" $module--$$`)
185 Devel::SelfStubber->stub($module, $inlib);
196 foreach my $module (@module) {
[all …]
/mirbsd/src/gnu/usr.bin/perl/lib/I18N/LangTags/
DDetect.pm137 my $module = $_[0]; # ASSUME sane module name!
139 return($tried{$module} = 1)
140 if defined(%{$module . "::Lexicon"}) or defined(@{$module . "::ISA"});
144 print " About to use $module ...\n" if DEBUG;
147 eval "require $module"; # used to be "use $module", but no point in that.
150 print "Error using $module \: $@\n" if DEBUG > 1;
151 return $tried{$module} = 0;
153 print " OK, $module is used\n" if DEBUG;
154 return $tried{$module} = 1;
/mirbsd/src/usr.sbin/httpd/src/include/
Dhttp_config.h319 } module; typedef
343 API_EXPORT(void *) ap_get_module_config(void *conf_vector, module *m);
344 API_EXPORT(void) ap_set_module_config(void *conf_vector, module *m, void *val);
368 API_EXPORT(void) ap_add_module(module *m);
369 API_EXPORT(void) ap_remove_module(module *m);
370 API_EXPORT(void) ap_add_loaded_module(module *mod);
371 API_EXPORT(void) ap_remove_loaded_module(module *mod);
374 API_EXPORT(const char *) ap_find_module_name(module *m);
375 API_EXPORT(module *) ap_find_linked_module(const char *name);
382 extern API_VAR_EXPORT module *top_module;
[all …]
/mirbsd/src/gnu/usr.bin/perl/ext/DynaLoader/t/
DXSLoader.t44 for my $module (sort keys %modules) {
46 skip "$module not available", 2 if $extensions !~ /\b$module\b/;
47 eval qq| package $module; XSLoader::load('$module'); | . $modules{$module};
48 is( $@, '', "XSLoader::load($module)");
/mirbsd/src/distrib/common/grml/
Dloopback.cfg8 module /boot/addons/bsd4grml/bsd.rd bsd
9 module /boot/addons/bsd4grml/loopback.0 boot.cfg
10 module /boot/addons/bsd4grml/loopback.1 boot.1
11 module /boot/addons/bsd4grml/loopback.2 boot.2
12 module /boot/addons/bsd4grml/loopback.3 boot.3
13 module /boot/addons/bsd4grml/loopback.4 boot.4
14 module /boot/addons/bsd4grml/loopback.5 boot.5
15 module /boot/addons/bsd4grml/loopback.6 boot.6
/mirbsd/src/gnu/usr.bin/perl/pod/
Dperlnewmod.pod3 perlnewmod - preparing a new module for distribution
16 module. If you don't know what one of these is, the rest of this
21 When you've found that there isn't a module available for what you're
23 packaging up the solution into a module and uploading it to CPAN so that
33 side of the module and packaging and distributing it will apply equally
34 well to an XS module as a pure-Perl one.
36 =head2 What should I make into a module?
38 You should make a module out of any code that you think is going to be
50 certainly want to make that into a module. The level at which you pitch
54 a module out for that server protocol.
[all …]
Dperlmodstyle.pod3 perlmodstyle - Perl module style guide
12 While this document is intended to be useful to all module authors, it is
16 module, rather than those parts which are only seen by the module's
18 can be extrapolated and applied successfully to a module's internals.
51 Patch, extend or subclass an existing module where possible
96 Ensure your module works under C<use strict> and C<-w>
148 Include tests with your module
152 Choose a sensible and consistent version numbering scheme (X.YY is the common Perl module numbering…
160 Package the module using "make dist"
170 Try not to launch headlong into developing your module without spending
[all …]
Dperlcompile.pod9 run. Since version 5.005, Perl has shipped with a module
11 been used to write many useful utilities, including a module that lets
15 The C<B> module provides access to the parse tree, and other modules
26 C<B> module and its associated back ends are known as "the
39 (the module that you, the user of the compiler, will sometimes
40 interact with) is the O module. Some back ends (e.g., C<B::C>) have
52 for later reloading through the ByteLoader module. Status: 5 (some
98 The O module automatically enabled the B<-c> flag to Perl, which
221 This module saves the internal compiled state of your Perl program
235 execute the bytecode that it produces. The ByteLoader module provides
[all …]
/mirbsd/src/gnu/usr.bin/perl/t/lib/
D1_compile.t50 foreach my $module (@Core_Modules) {
52 $todo = "# TODO $module needs porting on $^O" if $module eq 'ByteLoader' && $^O eq 'VMS';
53 print "# $module compile failed\nnot " unless compile_module($module);
61 my ($module) = $_[0];
66 my $out = scalar `$^X $lib $compmod $module`;
/mirbsd/src/gnu/usr.bin/perl/utils/
Dh2xs.PL688 my $module = $opt_n || 'Your::Module';
692 minimum required version with C<use $module versionnum>.
772 my $module = $opt_n;
792 $module ||= do {
825 (my $epath = $module) =~ s,::,/,g;
930 my @modparts = split(/::/,$module);
1083 package $module;
1148 # This allows declaration use $module ':all';
1178 print PM autoload ($module, $compat_version) unless $opt_c or $opt_X;
1183 bootstrap $module \$VERSION;
[all …]
/mirbsd/src/gnu/usr.bin/perl/ext/B/B/
DStash.pm41 my $module = shift;
44 return 1 if $omit{$module};
45 if ($module eq "IO::" or $module eq "IO::Handle::"){
46 $module =~ s/::/\//g;
47 return 1 unless $INC{$module};
/mirbsd/src/usr.sbin/httpd/src/main/
Dhttp_config.c109 API_VAR_EXPORT module *top_module = NULL;
110 API_VAR_EXPORT module **ap_loaded_modules=NULL;
128 API_EXPORT(void *) ap_get_module_config(void *conf_vector, module *m) in ap_get_module_config()
136 API_EXPORT(void) ap_set_module_config(void *conf_vector, module *m, void *val) in ap_set_module_config()
153 module *modp; in create_default_per_dir_config()
171 module *modp; in ap_merge_per_dir_configs()
189 module *modp; in create_server_config()
207 module *modp; in merge_server_configs()
238 #define m(meth) { XtOffsetOf(module,meth),#meth }
249 char *ShowMethod(module *modp, int offset) in ShowMethod()
[all …]
/mirbsd/src/gnu/usr.bin/perl/lib/File/
DSpec.pm9 my %module = (MacOS => 'Mac',
20 my $module = $module{$^O} || 'Unix';
22 require "File/Spec/$module.pm";
23 @ISA = ("File::Spec::$module");
/mirbsd/src/gnu/usr.bin/perl/lib/Test/
DMore.pm653 my($module, @imports) = @_;
666 use $module $imports[0];
672 use $module \@imports;
676 my $ok = $tb->ok( !$@, "use $module;" );
683 Tried to use '$module'.
702 my($module) = shift;
709 $module = qq['$module'] unless _is_module_name($module);
714 require $module;
717 my $ok = $tb->ok( !$@, "require $module;" );
722 Tried to require '$module'.
[all …]
/mirbsd/src/lib/libcitrus_iconv/libc/citrus/
Dcitrus_mapper.c134 const char **module, const char **variable) in lookup_mapper_entry() argument
167 *module = p; in lookup_mapper_entry()
210 const char * __restrict module, in mapper_open() argument
230 ret = _citrus_load_module(&cm->cm_module, module); in mapper_open()
236 _citrus_find_getops(cm->cm_module, module, "mapper"); in mapper_open()
287 const char * __restrict module, in _citrus_mapper_open_direct() argument
290 return mapper_open(ma, rcm, module, variable); in _citrus_mapper_open_direct()
322 const char *module, *variable; in _citrus_mapper_open() local
342 (size_t)PATH_MAX, &module, &variable); in _citrus_mapper_open()
347 ret = mapper_open(ma, &cm, module, variable); in _citrus_mapper_open()

12345678910>>...18