/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang-tools-extra/test/clang-tidy/checkers/ |
H A D | cppcoreguidelines-owning-memory-legacy-functions.cpp | 23 FILE *fopen(const char *filename, const char *mode); 33 using ::fopen; 54 FILE *fileFactory1() { return ::fopen("new_file.txt", "w"); } in fileFactory1() 102 FILE *File1 = std::fopen("test_name.txt", "w+"); in test_resource_creators() 104 FILE *File2 = ::fopen("test_name.txt", "w+"); in test_resource_creators() 110 File4 = ::fopen("test_name.txt", "w+"); in test_resource_creators() 114 File5 = ::fopen("test_name.txt", "w+"); // Ok in test_resource_creators() 125 nonOwningCall(::fopen("test_name.txt", "r")); in test_resource_creators() 127 nonOwningCall(std::fopen("test_name.txt", "r")); in test_resource_creators() 130 consumesResource(::fopen("test_name.txt", "r")); // Ok in test_resource_creators() [all …]
|
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
H A D | cppcoreguidelines-owning-memory-legacy-functions.cpp | 23 FILE *fopen(const char *filename, const char *mode); 33 using ::fopen; 54 FILE *fileFactory1() { return ::fopen("new_file.txt", "w"); } in fileFactory1() 102 FILE *File1 = std::fopen("test_name.txt", "w+"); in test_resource_creators() 104 FILE *File2 = ::fopen("test_name.txt", "w+"); in test_resource_creators() 110 File4 = ::fopen("test_name.txt", "w+"); in test_resource_creators() 114 File5 = ::fopen("test_name.txt", "w+"); // Ok in test_resource_creators() 125 nonOwningCall(::fopen("test_name.txt", "r")); in test_resource_creators() 127 nonOwningCall(std::fopen("test_name.txt", "r")); in test_resource_creators() 130 consumesResource(::fopen("test_name.txt", "r")); // Ok in test_resource_creators() [all …]
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang-tools-extra/test/clang-tidy/checkers/ |
H A D | cppcoreguidelines-owning-memory-legacy-functions.cpp | 23 FILE *fopen(const char *filename, const char *mode); 33 using ::fopen; 54 FILE *fileFactory1() { return ::fopen("new_file.txt", "w"); } in fileFactory1() 102 FILE *File1 = std::fopen("test_name.txt", "w+"); in test_resource_creators() 104 FILE *File2 = ::fopen("test_name.txt", "w+"); in test_resource_creators() 110 File4 = ::fopen("test_name.txt", "w+"); in test_resource_creators() 114 File5 = ::fopen("test_name.txt", "w+"); // Ok in test_resource_creators() 125 nonOwningCall(::fopen("test_name.txt", "r")); in test_resource_creators() 127 nonOwningCall(std::fopen("test_name.txt", "r")); in test_resource_creators() 130 consumesResource(::fopen("test_name.txt", "r")); // Ok in test_resource_creators() [all …]
|
/dports/devel/llvm13/llvm-project-13.0.1.src/clang-tools-extra/test/clang-tidy/checkers/ |
H A D | cppcoreguidelines-owning-memory-legacy-functions.cpp | 23 FILE *fopen(const char *filename, const char *mode); 33 using ::fopen; 54 FILE *fileFactory1() { return ::fopen("new_file.txt", "w"); } in fileFactory1() 102 FILE *File1 = std::fopen("test_name.txt", "w+"); in test_resource_creators() 104 FILE *File2 = ::fopen("test_name.txt", "w+"); in test_resource_creators() 110 File4 = ::fopen("test_name.txt", "w+"); in test_resource_creators() 114 File5 = ::fopen("test_name.txt", "w+"); // Ok in test_resource_creators() 125 nonOwningCall(::fopen("test_name.txt", "r")); in test_resource_creators() 127 nonOwningCall(std::fopen("test_name.txt", "r")); in test_resource_creators() 130 consumesResource(::fopen("test_name.txt", "r")); // Ok in test_resource_creators() [all …]
|
/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/tools/extra/test/clang-tidy/ |
H A D | cppcoreguidelines-owning-memory-legacy-functions.cpp | 23 FILE *fopen(const char *filename, const char *mode); 33 using ::fopen; 54 FILE *fileFactory1() { return ::fopen("new_file.txt", "w"); } in fileFactory1() 102 FILE *File1 = std::fopen("test_name.txt", "w+"); in test_resource_creators() 104 FILE *File2 = ::fopen("test_name.txt", "w+"); in test_resource_creators() 110 File4 = ::fopen("test_name.txt", "w+"); in test_resource_creators() 114 File5 = ::fopen("test_name.txt", "w+"); // Ok in test_resource_creators() 125 nonOwningCall(::fopen("test_name.txt", "r")); in test_resource_creators() 127 nonOwningCall(std::fopen("test_name.txt", "r")); in test_resource_creators() 130 consumesResource(::fopen("test_name.txt", "r")); // Ok in test_resource_creators() [all …]
|
/dports/devel/llvm70/llvm-7.0.1.src/tools/clang/tools/extra/test/clang-tidy/ |
H A D | cppcoreguidelines-owning-memory-legacy-functions.cpp | 23 FILE *fopen(const char *filename, const char *mode); 33 using ::fopen; 54 FILE *fileFactory1() { return ::fopen("new_file.txt", "w"); } in fileFactory1() 102 FILE *File1 = std::fopen("test_name.txt", "w+"); in test_resource_creators() 104 FILE *File2 = ::fopen("test_name.txt", "w+"); in test_resource_creators() 110 File4 = ::fopen("test_name.txt", "w+"); in test_resource_creators() 114 File5 = ::fopen("test_name.txt", "w+"); // Ok in test_resource_creators() 125 nonOwningCall(::fopen("test_name.txt", "r")); in test_resource_creators() 127 nonOwningCall(std::fopen("test_name.txt", "r")); in test_resource_creators() 130 consumesResource(::fopen("test_name.txt", "r")); // Ok in test_resource_creators() [all …]
|
/dports/lang/php73/php-7.3.33/ext/standard/tests/file/ |
H A D | 007_error.phpt | 2 Test fopen, fclose() & feof() functions: error conditions 8 Prototype: resource fopen(string $filename, string $mode 23 // fopen () 24 var_dump(fopen(__FILE__)); // one valid argument 25 var_dump(fopen()); // zero argument 28 $fp = fopen(__FILE__, "r"); 40 var_dump(fopen(__FILE__, "r", TRUE, "www.example.com", 100)); 42 $fp = fopen(__FILE__, "r"); 64 var_dump( fopen($invalid_args[$loop_counter - 1], "r") ); 168 Warning: fopen(): Filename cannot be empty in %s on line %d [all …]
|
H A D | php_fd_wrapper_03.phpt | 5 fopen("php://fd", "w"); 6 fopen("php://fd/", "w"); 7 fopen("php://fd/-2", "w"); 8 fopen("php://fd/1/", "w"); 12 Warning: fopen(): Invalid php:// URL specified in %s on line %d 14 Warning: fopen(php://fd): failed to open stream: operation failed in %s on line 2 16 Warning: fopen(php://fd/): failed to open stream: php://fd/ stream must be specified in the form ph… 18 Warning: fopen(php://fd/-2): failed to open stream: The file descriptors must be non-negative numbe… 20 Warning: fopen(php://fd/1/): failed to open stream: php://fd/ stream must be specified in the form …
|
/dports/lang/php74/php-7.4.27/ext/standard/tests/file/ |
H A D | 007_error.phpt | 2 Test fopen, fclose() & feof() functions: error conditions 8 Prototype: resource fopen(string $filename, string $mode 23 // fopen () 24 var_dump(fopen(__FILE__)); // one valid argument 25 var_dump(fopen()); // zero argument 28 $fp = fopen(__FILE__, "r"); 40 var_dump(fopen(__FILE__, "r", TRUE, "www.example.com", 100)); 42 $fp = fopen(__FILE__, "r"); 64 var_dump( fopen($invalid_args[$loop_counter - 1], "r") ); 168 Warning: fopen(): Filename cannot be empty in %s on line %d [all …]
|
H A D | php_fd_wrapper_03.phpt | 5 fopen("php://fd", "w"); 6 fopen("php://fd/", "w"); 7 fopen("php://fd/-2", "w"); 8 fopen("php://fd/1/", "w"); 12 Warning: fopen(): Invalid php:// URL specified in %s on line %d 14 Warning: fopen(php://fd): failed to open stream: operation failed in %s on line 2 16 Warning: fopen(php://fd/): failed to open stream: php://fd/ stream must be specified in the form ph… 18 Warning: fopen(php://fd/-2): failed to open stream: The file descriptors must be non-negative numbe… 20 Warning: fopen(php://fd/1/): failed to open stream: php://fd/ stream must be specified in the form …
|
/dports/www/mod_php73/php-7.3.33/ext/standard/tests/file/ |
H A D | 007_error.phpt | 2 Test fopen, fclose() & feof() functions: error conditions 8 Prototype: resource fopen(string $filename, string $mode 23 // fopen () 24 var_dump(fopen(__FILE__)); // one valid argument 25 var_dump(fopen()); // zero argument 28 $fp = fopen(__FILE__, "r"); 40 var_dump(fopen(__FILE__, "r", TRUE, "www.example.com", 100)); 42 $fp = fopen(__FILE__, "r"); 64 var_dump( fopen($invalid_args[$loop_counter - 1], "r") ); 168 Warning: fopen(): Filename cannot be empty in %s on line %d [all …]
|
H A D | php_fd_wrapper_03.phpt | 5 fopen("php://fd", "w"); 6 fopen("php://fd/", "w"); 7 fopen("php://fd/-2", "w"); 8 fopen("php://fd/1/", "w"); 12 Warning: fopen(): Invalid php:// URL specified in %s on line %d 14 Warning: fopen(php://fd): failed to open stream: operation failed in %s on line 2 16 Warning: fopen(php://fd/): failed to open stream: php://fd/ stream must be specified in the form ph… 18 Warning: fopen(php://fd/-2): failed to open stream: The file descriptors must be non-negative numbe… 20 Warning: fopen(php://fd/1/): failed to open stream: php://fd/ stream must be specified in the form …
|
/dports/www/mod_php74/php-7.4.27/ext/standard/tests/file/ |
H A D | 007_error.phpt | 2 Test fopen, fclose() & feof() functions: error conditions 8 Prototype: resource fopen(string $filename, string $mode 23 // fopen () 24 var_dump(fopen(__FILE__)); // one valid argument 25 var_dump(fopen()); // zero argument 28 $fp = fopen(__FILE__, "r"); 40 var_dump(fopen(__FILE__, "r", TRUE, "www.example.com", 100)); 42 $fp = fopen(__FILE__, "r"); 64 var_dump( fopen($invalid_args[$loop_counter - 1], "r") ); 168 Warning: fopen(): Filename cannot be empty in %s on line %d [all …]
|
H A D | php_fd_wrapper_03.phpt | 5 fopen("php://fd", "w"); 6 fopen("php://fd/", "w"); 7 fopen("php://fd/-2", "w"); 8 fopen("php://fd/1/", "w"); 12 Warning: fopen(): Invalid php:// URL specified in %s on line %d 14 Warning: fopen(php://fd): failed to open stream: operation failed in %s on line 2 16 Warning: fopen(php://fd/): failed to open stream: php://fd/ stream must be specified in the form ph… 18 Warning: fopen(php://fd/-2): failed to open stream: The file descriptors must be non-negative numbe… 20 Warning: fopen(php://fd/1/): failed to open stream: php://fd/ stream must be specified in the form …
|
/dports/sysutils/py-salt/salt-3004.1/tests/unit/modules/ |
H A D | test_freezer.py | 100 fopen.assert_called() 122 fopen.assert_called() 144 fopen.assert_called() 159 def test_restore_add_missing_repo(self, status, fopen, load): argument 183 fopen.assert_called() 213 fopen.assert_called() 243 fopen.assert_called() 249 def test_restore_remove_extra_repo(self, status, fopen, load): argument 273 fopen.assert_called() 280 def test_restore_clean_yml(self, status, fopen, load, remove): argument [all …]
|
/dports/www/mod_php81/php-8.1.1/ext/standard/tests/file/ |
H A D | php_fd_wrapper_03.phpt | 5 fopen("php://fd", "w"); 6 fopen("php://fd/", "w"); 7 fopen("php://fd/-2", "w"); 8 fopen("php://fd/1/", "w"); 13 Warning: fopen(): Invalid php:// URL specified in %s on line %d 15 Warning: fopen(php://fd): Failed to open stream: operation failed in %s on line 2 17 Warning: fopen(php://fd/): Failed to open stream: php://fd/ stream must be specified in the form ph… 19 Warning: fopen(php://fd/-2): Failed to open stream: The file descriptors must be non-negative numbe… 21 Warning: fopen(php://fd/1/): Failed to open stream: php://fd/ stream must be specified in the form …
|
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/test/Analysis/ |
H A D | stream.c | 8 extern FILE *fopen(const char *path, const char *mode); 17 FILE *p = fopen("foo", "r"); in f1() 24 FILE *p = fopen("foo", "r"); in f2() 30 FILE *p = fopen("foo", "r"); in f3() 36 FILE *p = fopen("foo", "r"); in f4() 42 FILE *p = fopen("foo", "r"); in f5() 51 FILE *p = fopen("foo", "r"); in f6() 63 FILE *p = fopen("foo.c", "r"); in f8() 70 FILE *p = fopen("foo.c", "r"); in f9()
|
/dports/lang/php81/php-8.1.1/ext/standard/tests/file/ |
H A D | php_fd_wrapper_03.phpt | 5 fopen("php://fd", "w"); 6 fopen("php://fd/", "w"); 7 fopen("php://fd/-2", "w"); 8 fopen("php://fd/1/", "w"); 13 Warning: fopen(): Invalid php:// URL specified in %s on line %d 15 Warning: fopen(php://fd): Failed to open stream: operation failed in %s on line 2 17 Warning: fopen(php://fd/): Failed to open stream: php://fd/ stream must be specified in the form ph… 19 Warning: fopen(php://fd/-2): Failed to open stream: The file descriptors must be non-negative numbe… 21 Warning: fopen(php://fd/1/): Failed to open stream: php://fd/ stream must be specified in the form …
|
/dports/lang/php80/php-8.0.15/ext/standard/tests/file/ |
H A D | php_fd_wrapper_03.phpt | 5 fopen("php://fd", "w"); 6 fopen("php://fd/", "w"); 7 fopen("php://fd/-2", "w"); 8 fopen("php://fd/1/", "w"); 13 Warning: fopen(): Invalid php:// URL specified in %s on line %d 15 Warning: fopen(php://fd): Failed to open stream: operation failed in %s on line 2 17 Warning: fopen(php://fd/): Failed to open stream: php://fd/ stream must be specified in the form ph… 19 Warning: fopen(php://fd/-2): Failed to open stream: The file descriptors must be non-negative numbe… 21 Warning: fopen(php://fd/1/): Failed to open stream: php://fd/ stream must be specified in the form …
|
/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/test/Analysis/ |
H A D | stream.c | 8 extern FILE *fopen(const char *path, const char *mode); 17 FILE *p = fopen("foo", "r"); in f1() 24 FILE *p = fopen("foo", "r"); in f2() 30 FILE *p = fopen("foo", "r"); in f3() 36 FILE *p = fopen("foo", "r"); in f4() 42 FILE *p = fopen("foo", "r"); in f5() 51 FILE *p = fopen("foo", "r"); in f6() 63 FILE *p = fopen("foo.c", "r"); in f8() 70 FILE *p = fopen("foo.c", "r"); in f9()
|
/dports/devel/llvm70/llvm-7.0.1.src/tools/clang/test/Analysis/ |
H A D | stream.c | 8 extern FILE *fopen(const char *path, const char *mode); 17 FILE *p = fopen("foo", "r"); 24 FILE *p = fopen("foo", "r"); 30 FILE *p = fopen("foo", "r"); 36 FILE *p = fopen("foo", "r"); 42 FILE *p = fopen("foo", "r"); 51 FILE *p = fopen("foo", "r"); 63 FILE *p = fopen("foo.c", "r"); 70 FILE *p = fopen("foo.c", "r");
|
/dports/www/mod_php80/php-8.0.15/ext/standard/tests/file/ |
H A D | php_fd_wrapper_03.phpt | 5 fopen("php://fd", "w"); 6 fopen("php://fd/", "w"); 7 fopen("php://fd/-2", "w"); 8 fopen("php://fd/1/", "w"); 13 Warning: fopen(): Invalid php:// URL specified in %s on line %d 15 Warning: fopen(php://fd): Failed to open stream: operation failed in %s on line 2 17 Warning: fopen(php://fd/): Failed to open stream: php://fd/ stream must be specified in the form ph… 19 Warning: fopen(php://fd/-2): Failed to open stream: The file descriptors must be non-negative numbe… 21 Warning: fopen(php://fd/1/): Failed to open stream: php://fd/ stream must be specified in the form …
|
/dports/games/openbor3482/openbor-2c1ecd7/engine/source/ |
H A D | utils.c | 70 #define OPEN_LOGFILE(type) type ? fopen("d:\\Logs\\OpenBorLog.txt", "wt") : fopen("d:\\Logs\\Scri… 71 #define APPEND_LOGFILE(type) type ? fopen("d:\\Logs\\OpenBorLog.txt", "at") : fopen("d:\\Logs\\Scri… 72 #define READ_LOGFILE(type) type ? fopen("d:\\Logs\\OpenBorLog.txt", "rt") : fopen("d:\\Logs\\Scri… 77 #define OPEN_LOGFILE(type) type ? fopen(getFullPath("Logs/OpenBorLog.txt"), "wt") : fopen(getFull… 78 #define APPEND_LOGFILE(type) type ? fopen(getFullPath("Logs/OpenBorLog.txt"), "at") : fopen(getFull… 79 #define READ_LOGFILE(type) type ? fopen(getFullPath("Logs/OpenBorLog.txt"), "rt") : fopen(getFull… 84 #define OPEN_LOGFILE(type) type ? fopen("sd:/apps/OpenBOR/Logs/OpenBorLog.txt", "wt") : fopen("sd… 91 #define OPEN_LOGFILE(type) type ? fopen("./Logs/OpenBorLog.txt", "wt") : fopen("./Logs/ScriptLog.… 92 #define APPEND_LOGFILE(type) type ? fopen("./Logs/OpenBorLog.txt", "at") : fopen("./Logs/ScriptLog.… 93 #define READ_LOGFILE(type) type ? fopen("./Logs/OpenBorLog.txt", "rt") : fopen("./Logs/ScriptLog.… [all …]
|
/dports/games/openbor3711/openbor-6ec17fa/engine/source/ |
H A D | utils.c | 70 #define OPEN_LOGFILE(type) type ? fopen("d:\\Logs\\OpenBorLog.txt", "wt") : fopen("d:\\Logs\\Scri… 71 #define APPEND_LOGFILE(type) type ? fopen("d:\\Logs\\OpenBorLog.txt", "at") : fopen("d:\\Logs\\Scri… 72 #define READ_LOGFILE(type) type ? fopen("d:\\Logs\\OpenBorLog.txt", "rt") : fopen("d:\\Logs\\Scri… 77 #define OPEN_LOGFILE(type) type ? fopen(getFullPath("Logs/OpenBorLog.txt"), "wt") : fopen(getFull… 78 #define APPEND_LOGFILE(type) type ? fopen(getFullPath("Logs/OpenBorLog.txt"), "at") : fopen(getFull… 79 #define READ_LOGFILE(type) type ? fopen(getFullPath("Logs/OpenBorLog.txt"), "rt") : fopen(getFull… 84 #define OPEN_LOGFILE(type) type ? fopen("sd:/apps/OpenBOR/Logs/OpenBorLog.txt", "wt") : fopen("sd… 91 #define OPEN_LOGFILE(type) type ? fopen("./Logs/OpenBorLog.txt", "wt") : fopen("./Logs/ScriptLog.… 92 #define APPEND_LOGFILE(type) type ? fopen("./Logs/OpenBorLog.txt", "at") : fopen("./Logs/ScriptLog.… 93 #define READ_LOGFILE(type) type ? fopen("./Logs/OpenBorLog.txt", "rt") : fopen("./Logs/ScriptLog.… [all …]
|
/dports/net-mgmt/ettercap/ettercap-0.8.3.1/src/os/ |
H A D | ec_linux.c | 39 fd = fopen("/proc/sys/net/ipv4/ip_forward", "r"); in disable_ip_forward() 47 fd = fopen("/proc/sys/net/ipv4/ip_forward", "w"); in disable_ip_forward() 108 fd = fopen(fpath_global, "r"); in disable_ipv6_forward() 117 fd = fopen(fpath_iface, "r"); in disable_ipv6_forward() 123 fd = fopen(fpath_global, "w"); in disable_ipv6_forward() 129 fd = fopen(fpath_iface, "w"); in disable_ipv6_forward() 162 fd = fopen(fpath_global, "r"); in restore_ipv6_forward() 171 fd = fopen(fpath_iface, "r"); in restore_ipv6_forward() 200 if ((fd = fopen(fpath_iface, "w")) != NULL) { in restore_ipv6_forward() 315 fd = fopen(fpath_global, "r"); in check_tempaddr() [all …]
|