Home
last modified time | relevance | path

Searched refs:scan_file (Results 1 – 25 of 363) sorted by relevance

12345678910>>...15

/dports/emulators/fs-uae-launcher/fs-uae-launcher-3.0.5/amitools/scan/
H A DArchiveScanner.py24 def can_handle(self, scan_file): argument
25 base_name = scan_file.get_basename().lower()
31 def handle(self, scan_file, scanner): argument
34 if not scan_file.is_seekable():
37 sf = scan_file
103 def handler(scan_file): argument
104 print(scan_file)
106 def skip_handler(scan_file): argument
107 print("SKIP:", scan_file)
109 def error_handler(scan_file, error): argument
[all …]
H A DADFSScanner.py13 def can_handle(self, scan_file): argument
14 base_name = scan_file.get_basename().lower()
20 def handle(self, scan_file, scanner): argument
21 if scan_file.is_seekable():
22 sf = scan_file
65 def handler(scan_file): argument
66 print(scan_file)
68 def skip_handler(scan_file): argument
69 print("SKIP:", scan_file)
71 def error_handler(scan_file, error): argument
[all …]
H A DFileScanner.py41 sf = scan_file
92 def _call_handler(self, scan_file): argument
94 return self.handler(scan_file)
106 return scan_file
111 scan_file.close()
114 def warn(self, scan_file, msg): argument
117 wh(scan_file, msg)
124 def handler(scan_file): argument
125 print(scan_file)
127 def error_handler(scan_file, error): argument
[all …]
/dports/www/moodle310/moodle/lib/antivirus/clamav/tests/
H A Dscanner_test.php54 $this->assertEquals(2, $antivirus->scan_file($nonexistingfile, ''));
82 $this->assertEquals(0, $antivirus->scan_file($this->tempfile, ''));
89 $this->assertEquals(0, $antivirus->scan_file($this->tempfile, ''));
96 $this->assertEquals(0, $antivirus->scan_file($this->tempfile, ''));
123 $this->assertEquals(1, $antivirus->scan_file($this->tempfile, ''));
130 $this->assertEquals(1, $antivirus->scan_file($this->tempfile, ''));
137 $this->assertEquals(1, $antivirus->scan_file($this->tempfile, ''));
168 $this->assertEquals(2, $antivirus->scan_file($this->tempfile, ''));
176 $this->assertEquals(2, $antivirus->scan_file($this->tempfile, ''));
184 $this->assertEquals(2, $antivirus->scan_file($this->tempfile, ''));
[all …]
/dports/www/moodle39/moodle/lib/antivirus/clamav/tests/
H A Dscanner_test.php54 $this->assertEquals(2, $antivirus->scan_file($nonexistingfile, ''));
82 $this->assertEquals(0, $antivirus->scan_file($this->tempfile, ''));
89 $this->assertEquals(0, $antivirus->scan_file($this->tempfile, ''));
96 $this->assertEquals(0, $antivirus->scan_file($this->tempfile, ''));
123 $this->assertEquals(1, $antivirus->scan_file($this->tempfile, ''));
130 $this->assertEquals(1, $antivirus->scan_file($this->tempfile, ''));
137 $this->assertEquals(1, $antivirus->scan_file($this->tempfile, ''));
168 $this->assertEquals(2, $antivirus->scan_file($this->tempfile, ''));
176 $this->assertEquals(2, $antivirus->scan_file($this->tempfile, ''));
184 $this->assertEquals(2, $antivirus->scan_file($this->tempfile, ''));
[all …]
/dports/www/moodle311/moodle/lib/antivirus/clamav/tests/
H A Dscanner_test.php54 $this->assertEquals(2, $antivirus->scan_file($nonexistingfile, ''));
82 $this->assertEquals(0, $antivirus->scan_file($this->tempfile, ''));
89 $this->assertEquals(0, $antivirus->scan_file($this->tempfile, ''));
96 $this->assertEquals(0, $antivirus->scan_file($this->tempfile, ''));
123 $this->assertEquals(1, $antivirus->scan_file($this->tempfile, ''));
130 $this->assertEquals(1, $antivirus->scan_file($this->tempfile, ''));
137 $this->assertEquals(1, $antivirus->scan_file($this->tempfile, ''));
168 $this->assertEquals(2, $antivirus->scan_file($this->tempfile, ''));
176 $this->assertEquals(2, $antivirus->scan_file($this->tempfile, ''));
184 $this->assertEquals(2, $antivirus->scan_file($this->tempfile, ''));
[all …]
/dports/devel/p5-Test-Fixme/Test-Fixme-0.16/t/
H A Dscan_file.t10 ok !defined Test::Fixme::scan_file(), "no input";
11 ok !defined Test::Fixme::scan_file( match => 'TEST' ), "no match";
12 ok !defined Test::Fixme::scan_file( file => 't/dirs/normal/one.txt' ),
18 my $arrayref = Test::Fixme::scan_file(
26 my $arrayref = Test::Fixme::scan_file(
44 my $arrayref = Test::Fixme::scan_file(
/dports/devel/p5-Perl-PrereqScanner/Perl-PrereqScanner-1.023/bin/
H A Dscan_prereqs26 -d $file ? scan_dir( $file ) : scan_file( $file );
32 wanted => sub { scan_file($_) if /\.(pl|pm|psgi|t)$/ && -f $_; }
36 sub scan_file {
38 my $prereqs = Perl::PrereqScanner->new->scan_file($file);
H A Dscan-perl-prereqs36 -d $file ? scan_dir( $file ) : scan_file( $file );
44 wanted => sub { scan_file($_) if /\.(pl|PL|pm|cgi|psgi|t)$/ && -f $_ }
48 sub scan_file {
55 Perl::PrereqScanner->new->scan_file($file)
/dports/www/moodle310/moodle/lib/tests/
H A Dantivirus_test.php60 $this->assertEmpty(\core\antivirus\manager::scan_file($this->tempfile, 'OK', true));
68 $this->assertEmpty(\core\antivirus\manager::scan_file($this->tempfile, 'ERROR', true));
77 $this->assertEmpty(\core\antivirus\manager::scan_file($this->tempfile, 'FOUND', false));
83 $this->assertEmpty(\core\antivirus\manager::scan_file($this->tempfile, 'FOUND', true));
93 \core\antivirus\manager::scan_file($this->tempfile, 'FOUND', true);
108 \core\antivirus\manager::scan_file($this->tempfile, 'FOUND', true);
124 \core\antivirus\manager::scan_file($this->tempfile, 'FOUND', true);
140 \core\antivirus\manager::scan_file($this->tempfile, 'FOUND', true);
/dports/www/moodle311/moodle/lib/tests/
H A Dantivirus_test.php60 $this->assertEmpty(\core\antivirus\manager::scan_file($this->tempfile, 'OK', true));
68 $this->assertEmpty(\core\antivirus\manager::scan_file($this->tempfile, 'ERROR', true));
77 $this->assertEmpty(\core\antivirus\manager::scan_file($this->tempfile, 'FOUND', false));
83 $this->assertEmpty(\core\antivirus\manager::scan_file($this->tempfile, 'FOUND', true));
93 \core\antivirus\manager::scan_file($this->tempfile, 'FOUND', true);
108 \core\antivirus\manager::scan_file($this->tempfile, 'FOUND', true);
124 \core\antivirus\manager::scan_file($this->tempfile, 'FOUND', true);
140 \core\antivirus\manager::scan_file($this->tempfile, 'FOUND', true);
/dports/audio/py-mutagen/mutagen-1.42.0/tests/
H A Dtest_oggflac.py51 self.scan_file()
59 self.scan_file()
64 self.scan_file()
71 self.scan_file()
79 self.scan_file()
89 self.scan_file()
H A Dtest_oggvorbis.py26 self.scan_file()
91 self.scan_file()
99 self.scan_file()
107 self.scan_file()
118 self.scan_file()
133 self.scan_file()
/dports/security/apkid/APKiD-2.1.1/tests/
H A Dtest_scanner.py34 results = scanner.scan_file(tz.name)
43 results = scanner.scan_file(tz.name)
51 results = scanner.scan_file(tz.name)
77 results = scanner.scan_file(tz.name)
/dports/devel/p5-Perl-PrereqScanner-Lite/Perl-PrereqScanner-Lite-0.26/t/
H A D10_moose_extends.t19 my $got = $scanner->scan_file(catfile($FindBin::Bin, 'resources', 'moose.pl'));
41 my $got = $scanner->scan_file(catfile($FindBin::Bin, 'resources', 'moose.pl'));
64 my $got = $scanner->scan_file(catfile($FindBin::Bin, 'resources', 'moose.pl'));
86 my $got = $scanner->scan_file(catfile($FindBin::Bin, 'resources', 'moose.pl'));
/dports/graphics/gthumb/gthumb-3.10.1/extensions/edit_metadata/
H A Dgth-edit-comment-dialog.c88 GList *scan_file; in gth_edit_comment_dialog_update_info() local
90 for (scan_file = file_list; scan_file; scan_file = scan_file->next) { in gth_edit_comment_dialog_update_info()
91 GthFileData *file_data = scan_file->data; in gth_edit_comment_dialog_update_info()
/dports/net/frr7-pythontools/frr-frr-7.5.1/vtysh/
H A Dextract.pl.in38 sub scan_file { subroutine
208 scan_file($_, 0);
210 scan_file($_, 1);
212 scan_file($_, 0);
213 scan_file($_, 1);
216 scan_file($_, 0);
/dports/net/frr7/frr-frr-7.5.1/vtysh/
H A Dextract.pl.in38 sub scan_file { subroutine
208 scan_file($_, 0);
210 scan_file($_, 1);
212 scan_file($_, 0);
213 scan_file($_, 1);
216 scan_file($_, 0);
/dports/www/moodle39/moodle/lib/tests/
H A Dantivirus_test.php60 $this->assertEmpty(\core\antivirus\manager::scan_file($this->tempfile, 'OK', true));
68 $this->assertEmpty(\core\antivirus\manager::scan_file($this->tempfile, 'ERROR', true));
77 $this->assertEmpty(\core\antivirus\manager::scan_file($this->tempfile, 'FOUND', false));
83 $this->assertEmpty(\core\antivirus\manager::scan_file($this->tempfile, 'FOUND', true));
/dports/www/firefox-legacy/firefox-52.8.0esr/addon-sdk/source/python-lib/cuddlefish/tests/
H A Dtest_licenses.py42 self.scan_file(from_sdk_top(os.path.join("python-lib", "jetpack_sdk_env.py")))
68 self.scan_file(from_sdk_top(fn))
91 self.scan_file(absfn)
93 def scan_file(self, fn): member in Licenses
/dports/audio/musicpd/mpd-0.23.6/src/decoder/
H A DDecoderPlugin.hxx87 bool (*scan_file)(Path path_fs, TagHandler &handler) = nullptr; member
119 file_decode(_file_decode), scan_file(_scan_file) {} in DecoderPlugin()
140 scan_file(_scan_file), in DecoderPlugin()
225 return scan_file != nullptr in ScanFile()
226 ? scan_file(path_fs, handler) in ScanFile()
/dports/math/giacxcas/CoCoALib-0.99700/src/AlgebraicCore/
H A Dleak_checker.C58 int scan_file(FILE *file, enum action_enum action) in scan_file() function
119 n = 1 + scan_file(file, COUNT); in main()
125 scan_file(file, READ); in main()
129 scan_file(file, UPDATE); in main()
/dports/math/cocoalib/CoCoALib-0.99712/src/AlgebraicCore/
H A Dleak_checker.C58 int scan_file(FILE *file, enum action_enum action) in scan_file() function
119 n = 1 + scan_file(file, COUNT); in main()
125 scan_file(file, READ); in main()
129 scan_file(file, UPDATE); in main()
/dports/security/py-pyclamd/pyClamd-0.3.17/pyclamd/
H A Dtest_pyclamd.py159 assert_equals(cd.scan_file('/tmp/EICAR')['/tmp/EICAR'], ('FOUND', 'Eicar-Test-Signature'))
166 assert(cd.scan_file('/tmp/NO_EICAR') is None)
196 r = cd.scan_file('/tmp/EICAR-éèô请收藏我们的网址')
225 v = cd.scan_file('/home/xael/ESPACE_KM/python/pyclamd/probleme_data.pdf')
/dports/x11-toolkits/p5-Tk/Tk-804.035/Tk/
H A DMakeDepend.pm16 sub scan_file;
28 scan_file($path,$dep) unless exists $dep->{$path};
112 sub scan_file subroutine
274 scan_file($_,\%dep);

12345678910>>...15