/dports/lang/spidermonkey60/firefox-60.9.0/third_party/python/scandir/ |
H A D | benchmark.py | 11 import scandir 67 for entry in scandir.scandir(path): 155 scandir.scandir = scandir.scandir_generic 160 scandir.scandir = scandir.scandir_c 165 scandir.scandir = scandir.scandir_python 170 scandir.scandir = os.scandir 172 scandir.scandir = os.scandir 174 if scandir.scandir == getattr(os, 'scandir', None): 176 elif scandir.scandir == scandir.scandir_c: 178 elif scandir.scandir == scandir.scandir_python: [all …]
|
/dports/sysutils/py-scandir/scandir-1.10.0/ |
H A D | benchmark.py | 11 import scandir 67 for entry in scandir.scandir(path): 155 scandir.scandir = scandir.scandir_generic 160 scandir.scandir = scandir.scandir_c 165 scandir.scandir = scandir.scandir_python 170 scandir.scandir = os.scandir 172 scandir.scandir = os.scandir 174 if scandir.scandir == getattr(os, 'scandir', None): 176 elif scandir.scandir == scandir.scandir_c: 178 elif scandir.scandir == scandir.scandir_python: [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/python/scandir/ |
H A D | benchmark.py | 11 import scandir 67 for entry in scandir.scandir(path): 155 scandir.scandir = scandir.scandir_generic 160 scandir.scandir = scandir.scandir_c 165 scandir.scandir = scandir.scandir_python 170 scandir.scandir = os.scandir 172 scandir.scandir = os.scandir 174 if scandir.scandir == getattr(os, 'scandir', None): 176 elif scandir.scandir == scandir.scandir_c: 178 elif scandir.scandir == scandir.scandir_python: [all …]
|
/dports/lang/php73/php-7.3.33/ext/standard/tests/dir/ |
H A D | scandir_variation1.phpt | 20 echo "*** Testing scandir() : usage variations ***\n"; 95 var_dump( scandir($input) ); 103 *** Testing scandir() : usage variations *** 109 Warning: scandir(): (errno %d): %s in %s on line %d 116 Warning: scandir(): (errno %d): %s in %s on line %d 123 Warning: scandir(): (errno %d): %s in %s on line %d 130 Warning: scandir(): (errno %d): %s in %s on line %d 137 Warning: scandir(): (errno %d): %s in %s on line %d 144 Warning: scandir(): (errno %d): %s in %s on line %d 151 Warning: scandir(): (errno %d): %s in %s on line %d [all …]
|
H A D | scandir_variation3.phpt | 2 Test scandir() function : usage variations - diff data types as $context arg 5 /* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]]) 11 * Pass different data types as $context argument to test how scandir() behaves 14 echo "*** Testing scandir() : usage variations ***\n"; 90 // loop through each element of $inputs to check the behavior of scandir() 94 var_dump( scandir($dir, $sorting_order, $input) ); 107 *** Testing scandir() : usage variations *** 111 Warning: scandir() expects parameter 3 to be resource, int given in %s on line %d 116 Warning: scandir() expects parameter 3 to be resource, int given in %s on line %d 121 Warning: scandir() expects parameter 3 to be resource, int given in %s on line %d [all …]
|
H A D | scandir_variation3-win32-mb.phpt | 2 Test scandir() function : usage variations - diff data types as $context arg 11 /* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]]) 17 * Pass different data types as $context argument to test how scandir() behaves 20 echo "*** Testing scandir() : usage variations ***\n"; 96 // loop through each element of $inputs to check the behavior of scandir() 100 var_dump( scandir($dir, $sorting_order, $input) ); 113 *** Testing scandir() : usage variations *** 117 Warning: scandir() expects parameter 3 to be resource, int given in %s on line %d 122 Warning: scandir() expects parameter 3 to be resource, int given in %s on line %d 127 Warning: scandir() expects parameter 3 to be resource, int given in %s on line %d [all …]
|
H A D | scandir_error2.phpt | 2 Test scandir() function : error conditions - Non-existent directory 20 echo "*** Testing scandir() : error conditions ***\n"; 24 echo "\n-- Pass scandir() an absolute path that does not exist --\n"; 25 var_dump(scandir($directory)); 27 echo "\n-- Pass scandir() a relative path that does not exist --\n"; 28 var_dump(scandir('/idonotexist')); 32 *** Testing scandir() : error conditions *** 34 -- Pass scandir() an absolute path that does not exist -- 38 Warning: scandir(): (errno %d): %s in %s on line %d 41 -- Pass scandir() a relative path that does not exist -- [all …]
|
/dports/www/mod_php73/php-7.3.33/ext/standard/tests/dir/ |
H A D | scandir_variation1.phpt | 20 echo "*** Testing scandir() : usage variations ***\n"; 95 var_dump( scandir($input) ); 103 *** Testing scandir() : usage variations *** 109 Warning: scandir(): (errno %d): %s in %s on line %d 116 Warning: scandir(): (errno %d): %s in %s on line %d 123 Warning: scandir(): (errno %d): %s in %s on line %d 130 Warning: scandir(): (errno %d): %s in %s on line %d 137 Warning: scandir(): (errno %d): %s in %s on line %d 144 Warning: scandir(): (errno %d): %s in %s on line %d 151 Warning: scandir(): (errno %d): %s in %s on line %d [all …]
|
H A D | scandir_variation3.phpt | 2 Test scandir() function : usage variations - diff data types as $context arg 5 /* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]]) 11 * Pass different data types as $context argument to test how scandir() behaves 14 echo "*** Testing scandir() : usage variations ***\n"; 90 // loop through each element of $inputs to check the behavior of scandir() 94 var_dump( scandir($dir, $sorting_order, $input) ); 107 *** Testing scandir() : usage variations *** 111 Warning: scandir() expects parameter 3 to be resource, int given in %s on line %d 116 Warning: scandir() expects parameter 3 to be resource, int given in %s on line %d 121 Warning: scandir() expects parameter 3 to be resource, int given in %s on line %d [all …]
|
H A D | scandir_variation3-win32-mb.phpt | 2 Test scandir() function : usage variations - diff data types as $context arg 11 /* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]]) 17 * Pass different data types as $context argument to test how scandir() behaves 20 echo "*** Testing scandir() : usage variations ***\n"; 96 // loop through each element of $inputs to check the behavior of scandir() 100 var_dump( scandir($dir, $sorting_order, $input) ); 113 *** Testing scandir() : usage variations *** 117 Warning: scandir() expects parameter 3 to be resource, int given in %s on line %d 122 Warning: scandir() expects parameter 3 to be resource, int given in %s on line %d 127 Warning: scandir() expects parameter 3 to be resource, int given in %s on line %d [all …]
|
H A D | scandir_error2.phpt | 2 Test scandir() function : error conditions - Non-existent directory 20 echo "*** Testing scandir() : error conditions ***\n"; 24 echo "\n-- Pass scandir() an absolute path that does not exist --\n"; 25 var_dump(scandir($directory)); 27 echo "\n-- Pass scandir() a relative path that does not exist --\n"; 28 var_dump(scandir('/idonotexist')); 32 *** Testing scandir() : error conditions *** 34 -- Pass scandir() an absolute path that does not exist -- 38 Warning: scandir(): (errno %d): %s in %s on line %d 41 -- Pass scandir() a relative path that does not exist -- [all …]
|
/dports/www/mod_php80/php-8.0.15/tests/security/ |
H A D | open_basedir_scandir.phpt | 9 test_open_basedir_before("scandir"); 10 test_open_basedir_error("scandir"); 12 var_dump(scandir($initdir."/test/ok/")); 13 var_dump(scandir($initdir."/test/ok")); 14 var_dump(scandir($initdir."/test/ok/../ok")); 16 test_open_basedir_after("scandir");?> 23 *** Testing open_basedir configuration [scandir] *** 34 Warning: scandir(): (errno 1): %s in %s on line %d 41 Warning: scandir(): (errno 1): %s in %s on line %d 48 Warning: scandir(): (errno 1): %s in %s on line %d [all …]
|
/dports/lang/php80/php-8.0.15/tests/security/ |
H A D | open_basedir_scandir.phpt | 9 test_open_basedir_before("scandir"); 10 test_open_basedir_error("scandir"); 12 var_dump(scandir($initdir."/test/ok/")); 13 var_dump(scandir($initdir."/test/ok")); 14 var_dump(scandir($initdir."/test/ok/../ok")); 16 test_open_basedir_after("scandir");?> 23 *** Testing open_basedir configuration [scandir] *** 34 Warning: scandir(): (errno 1): %s in %s on line %d 41 Warning: scandir(): (errno 1): %s in %s on line %d 48 Warning: scandir(): (errno 1): %s in %s on line %d [all …]
|
/dports/lang/php73/php-7.3.33/tests/security/ |
H A D | open_basedir_scandir.phpt | 9 test_open_basedir_before("scandir"); 10 test_open_basedir_error("scandir"); 12 var_dump(scandir($initdir."/test/ok/")); 13 var_dump(scandir($initdir."/test/ok")); 14 var_dump(scandir($initdir."/test/ok/../ok")); 16 test_open_basedir_after("scandir");?> 23 *** Testing open_basedir configuration [scandir] *** 34 Warning: scandir(): (errno 1): %s in %s on line %d 41 Warning: scandir(): (errno 1): %s in %s on line %d 48 Warning: scandir(): (errno 1): %s in %s on line %d [all …]
|
/dports/lang/php74/php-7.4.27/tests/security/ |
H A D | open_basedir_scandir.phpt | 9 test_open_basedir_before("scandir"); 10 test_open_basedir_error("scandir"); 12 var_dump(scandir($initdir."/test/ok/")); 13 var_dump(scandir($initdir."/test/ok")); 14 var_dump(scandir($initdir."/test/ok/../ok")); 16 test_open_basedir_after("scandir");?> 23 *** Testing open_basedir configuration [scandir] *** 34 Warning: scandir(): (errno 1): %s in %s on line %d 41 Warning: scandir(): (errno 1): %s in %s on line %d 48 Warning: scandir(): (errno 1): %s in %s on line %d [all …]
|
/dports/lang/php81/php-8.1.1/tests/security/ |
H A D | open_basedir_scandir.phpt | 9 test_open_basedir_before("scandir"); 10 test_open_basedir_error("scandir"); 12 var_dump(scandir($initdir."/test/ok/")); 13 var_dump(scandir($initdir."/test/ok")); 14 var_dump(scandir($initdir."/test/ok/../ok")); 16 test_open_basedir_after("scandir");?> 23 *** Testing open_basedir configuration [scandir] *** 34 Warning: scandir(): (errno 1): %s in %s on line %d 41 Warning: scandir(): (errno 1): %s in %s on line %d 48 Warning: scandir(): (errno 1): %s in %s on line %d [all …]
|
/dports/www/mod_php73/php-7.3.33/tests/security/ |
H A D | open_basedir_scandir.phpt | 9 test_open_basedir_before("scandir"); 10 test_open_basedir_error("scandir"); 12 var_dump(scandir($initdir."/test/ok/")); 13 var_dump(scandir($initdir."/test/ok")); 14 var_dump(scandir($initdir."/test/ok/../ok")); 16 test_open_basedir_after("scandir");?> 23 *** Testing open_basedir configuration [scandir] *** 34 Warning: scandir(): (errno 1): %s in %s on line %d 41 Warning: scandir(): (errno 1): %s in %s on line %d 48 Warning: scandir(): (errno 1): %s in %s on line %d [all …]
|
/dports/www/mod_php81/php-8.1.1/tests/security/ |
H A D | open_basedir_scandir.phpt | 9 test_open_basedir_before("scandir"); 10 test_open_basedir_error("scandir"); 12 var_dump(scandir($initdir."/test/ok/")); 13 var_dump(scandir($initdir."/test/ok")); 14 var_dump(scandir($initdir."/test/ok/../ok")); 16 test_open_basedir_after("scandir");?> 23 *** Testing open_basedir configuration [scandir] *** 34 Warning: scandir(): (errno 1): %s in %s on line %d 41 Warning: scandir(): (errno 1): %s in %s on line %d 48 Warning: scandir(): (errno 1): %s in %s on line %d [all …]
|
/dports/www/mod_php74/php-7.4.27/tests/security/ |
H A D | open_basedir_scandir.phpt | 9 test_open_basedir_before("scandir"); 10 test_open_basedir_error("scandir"); 12 var_dump(scandir($initdir."/test/ok/")); 13 var_dump(scandir($initdir."/test/ok")); 14 var_dump(scandir($initdir."/test/ok/../ok")); 16 test_open_basedir_after("scandir");?> 23 *** Testing open_basedir configuration [scandir] *** 34 Warning: scandir(): (errno 1): %s in %s on line %d 41 Warning: scandir(): (errno 1): %s in %s on line %d 48 Warning: scandir(): (errno 1): %s in %s on line %d [all …]
|
/dports/lang/php74/php-7.4.27/ext/standard/tests/dir/ |
H A D | scandir_variation3-win32-mb.phpt | 2 Test scandir() function : usage variations - diff data types as $context arg 11 /* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]]) 17 * Pass different data types as $context argument to test how scandir() behaves 20 echo "*** Testing scandir() : usage variations ***\n"; 96 // loop through each element of $inputs to check the behavior of scandir() 100 var_dump( scandir($dir, $sorting_order, $input) ); 113 *** Testing scandir() : usage variations *** 117 Warning: scandir() expects parameter 3 to be resource, int given in %s on line %d 122 Warning: scandir() expects parameter 3 to be resource, int given in %s on line %d 127 Warning: scandir() expects parameter 3 to be resource, int given in %s on line %d [all …]
|
H A D | scandir_error2.phpt | 2 Test scandir() function : error conditions - Non-existent directory 20 echo "*** Testing scandir() : error conditions ***\n"; 24 echo "\n-- Pass scandir() an absolute path that does not exist --\n"; 25 var_dump(scandir($directory)); 27 echo "\n-- Pass scandir() a relative path that does not exist --\n"; 28 var_dump(scandir('/idonotexist')); 32 *** Testing scandir() : error conditions *** 34 -- Pass scandir() an absolute path that does not exist -- 38 Warning: scandir(): (errno %d): %s in %s on line %d 41 -- Pass scandir() a relative path that does not exist -- [all …]
|
/dports/www/mod_php74/php-7.4.27/ext/standard/tests/dir/ |
H A D | scandir_variation3-win32-mb.phpt | 2 Test scandir() function : usage variations - diff data types as $context arg 11 /* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]]) 17 * Pass different data types as $context argument to test how scandir() behaves 20 echo "*** Testing scandir() : usage variations ***\n"; 96 // loop through each element of $inputs to check the behavior of scandir() 100 var_dump( scandir($dir, $sorting_order, $input) ); 113 *** Testing scandir() : usage variations *** 117 Warning: scandir() expects parameter 3 to be resource, int given in %s on line %d 122 Warning: scandir() expects parameter 3 to be resource, int given in %s on line %d 127 Warning: scandir() expects parameter 3 to be resource, int given in %s on line %d [all …]
|
H A D | scandir_error2.phpt | 2 Test scandir() function : error conditions - Non-existent directory 20 echo "*** Testing scandir() : error conditions ***\n"; 24 echo "\n-- Pass scandir() an absolute path that does not exist --\n"; 25 var_dump(scandir($directory)); 27 echo "\n-- Pass scandir() a relative path that does not exist --\n"; 28 var_dump(scandir('/idonotexist')); 32 *** Testing scandir() : error conditions *** 34 -- Pass scandir() an absolute path that does not exist -- 38 Warning: scandir(): (errno %d): %s in %s on line %d 41 -- Pass scandir() a relative path that does not exist -- [all …]
|
/dports/lang/php81/php-8.1.1/ext/standard/tests/dir/ |
H A D | scandir_error2.phpt | 2 Test scandir() function : error conditions - Non-existent directory 15 echo "*** Testing scandir() : error conditions ***\n"; 19 echo "\n-- Pass scandir() an absolute path that does not exist --\n"; 20 var_dump(scandir($directory)); 22 echo "\n-- Pass scandir() a relative path that does not exist --\n"; 23 var_dump(scandir('/idonotexist')); 26 *** Testing scandir() : error conditions *** 28 -- Pass scandir() an absolute path that does not exist -- 32 Warning: scandir(): (errno %d): %s in %s on line %d 35 -- Pass scandir() a relative path that does not exist -- [all …]
|
/dports/lang/php80/php-8.0.15/ext/standard/tests/dir/ |
H A D | scandir_error2.phpt | 2 Test scandir() function : error conditions - Non-existent directory 15 echo "*** Testing scandir() : error conditions ***\n"; 19 echo "\n-- Pass scandir() an absolute path that does not exist --\n"; 20 var_dump(scandir($directory)); 22 echo "\n-- Pass scandir() a relative path that does not exist --\n"; 23 var_dump(scandir('/idonotexist')); 26 *** Testing scandir() : error conditions *** 28 -- Pass scandir() an absolute path that does not exist -- 32 Warning: scandir(): (errno %d): %s in %s on line %d 35 -- Pass scandir() a relative path that does not exist -- [all …]
|