/dports/net-p2p/bitcoin-utils/bitcoin-22.0/src/test/fuzz/ |
H A D | autofile.cpp | 21 CAutoFile auto_file = fuzzed_auto_file_provider.open(); in FUZZ_TARGET() local 28 … auto_file.read((char*)arr.data(), fuzzed_data_provider.ConsumeIntegralInRange<size_t>(0, 4096)); in FUZZ_TARGET() 41 auto_file.ignore(fuzzed_data_provider.ConsumeIntegralInRange<size_t>(0, 4096)); in FUZZ_TARGET() 46 auto_file.fclose(); in FUZZ_TARGET() 49 ReadFromStream(fuzzed_data_provider, auto_file); in FUZZ_TARGET() 52 WriteToStream(fuzzed_data_provider, auto_file); in FUZZ_TARGET() 55 (void)auto_file.Get(); in FUZZ_TARGET() 56 (void)auto_file.GetType(); in FUZZ_TARGET() 57 (void)auto_file.GetVersion(); in FUZZ_TARGET() 58 (void)auto_file.IsNull(); in FUZZ_TARGET() [all …]
|
/dports/net-p2p/bitcoin/bitcoin-22.0/src/test/fuzz/ |
H A D | autofile.cpp | 21 CAutoFile auto_file = fuzzed_auto_file_provider.open(); in FUZZ_TARGET() local 28 … auto_file.read((char*)arr.data(), fuzzed_data_provider.ConsumeIntegralInRange<size_t>(0, 4096)); in FUZZ_TARGET() 41 auto_file.ignore(fuzzed_data_provider.ConsumeIntegralInRange<size_t>(0, 4096)); in FUZZ_TARGET() 46 auto_file.fclose(); in FUZZ_TARGET() 49 ReadFromStream(fuzzed_data_provider, auto_file); in FUZZ_TARGET() 52 WriteToStream(fuzzed_data_provider, auto_file); in FUZZ_TARGET() 55 (void)auto_file.Get(); in FUZZ_TARGET() 56 (void)auto_file.GetType(); in FUZZ_TARGET() 57 (void)auto_file.GetVersion(); in FUZZ_TARGET() 58 (void)auto_file.IsNull(); in FUZZ_TARGET() [all …]
|
/dports/net-p2p/bitcoin-daemon/bitcoin-22.0/src/test/fuzz/ |
H A D | autofile.cpp | 21 CAutoFile auto_file = fuzzed_auto_file_provider.open(); in FUZZ_TARGET() local 28 … auto_file.read((char*)arr.data(), fuzzed_data_provider.ConsumeIntegralInRange<size_t>(0, 4096)); in FUZZ_TARGET() 41 auto_file.ignore(fuzzed_data_provider.ConsumeIntegralInRange<size_t>(0, 4096)); in FUZZ_TARGET() 46 auto_file.fclose(); in FUZZ_TARGET() 49 ReadFromStream(fuzzed_data_provider, auto_file); in FUZZ_TARGET() 52 WriteToStream(fuzzed_data_provider, auto_file); in FUZZ_TARGET() 55 (void)auto_file.Get(); in FUZZ_TARGET() 56 (void)auto_file.GetType(); in FUZZ_TARGET() 57 (void)auto_file.GetVersion(); in FUZZ_TARGET() 58 (void)auto_file.IsNull(); in FUZZ_TARGET() [all …]
|
/dports/net-p2p/namecoin-utils/namecoin-core-nc0.21.0.1/src/test/fuzz/ |
H A D | autofile.cpp | 22 CAutoFile auto_file = fuzzed_auto_file_provider.open(); in test_one_input() local 28 … auto_file.read((char*)arr.data(), fuzzed_data_provider.ConsumeIntegralInRange<size_t>(0, 4096)); in test_one_input() 43 auto_file.ignore(fuzzed_data_provider.ConsumeIntegralInRange<size_t>(0, 4096)); in test_one_input() 49 auto_file.fclose(); in test_one_input() 53 ReadFromStream(fuzzed_data_provider, auto_file); in test_one_input() 57 WriteToStream(fuzzed_data_provider, auto_file); in test_one_input() 62 (void)auto_file.Get(); in test_one_input() 63 (void)auto_file.GetType(); in test_one_input() 64 (void)auto_file.GetVersion(); in test_one_input() 65 (void)auto_file.IsNull(); in test_one_input() [all …]
|
/dports/net-p2p/namecoin-daemon/namecoin-core-nc0.21.0.1/src/test/fuzz/ |
H A D | autofile.cpp | 22 CAutoFile auto_file = fuzzed_auto_file_provider.open(); in test_one_input() local 28 … auto_file.read((char*)arr.data(), fuzzed_data_provider.ConsumeIntegralInRange<size_t>(0, 4096)); in test_one_input() 43 auto_file.ignore(fuzzed_data_provider.ConsumeIntegralInRange<size_t>(0, 4096)); in test_one_input() 49 auto_file.fclose(); in test_one_input() 53 ReadFromStream(fuzzed_data_provider, auto_file); in test_one_input() 57 WriteToStream(fuzzed_data_provider, auto_file); in test_one_input() 62 (void)auto_file.Get(); in test_one_input() 63 (void)auto_file.GetType(); in test_one_input() 64 (void)auto_file.GetVersion(); in test_one_input() 65 (void)auto_file.IsNull(); in test_one_input() [all …]
|
/dports/net-p2p/namecoin/namecoin-core-nc0.21.0.1/src/test/fuzz/ |
H A D | autofile.cpp | 22 CAutoFile auto_file = fuzzed_auto_file_provider.open(); in test_one_input() local 28 … auto_file.read((char*)arr.data(), fuzzed_data_provider.ConsumeIntegralInRange<size_t>(0, 4096)); in test_one_input() 43 auto_file.ignore(fuzzed_data_provider.ConsumeIntegralInRange<size_t>(0, 4096)); in test_one_input() 49 auto_file.fclose(); in test_one_input() 53 ReadFromStream(fuzzed_data_provider, auto_file); in test_one_input() 57 WriteToStream(fuzzed_data_provider, auto_file); in test_one_input() 62 (void)auto_file.Get(); in test_one_input() 63 (void)auto_file.GetType(); in test_one_input() 64 (void)auto_file.GetVersion(); in test_one_input() 65 (void)auto_file.IsNull(); in test_one_input() [all …]
|
/dports/devel/kyua/kyua-0.13/utils/fs/ |
H A D | auto_cleaners_test.cpp | 108 fs::auto_file auto_file(file); in ATF_TEST_CASE_BODY() local 109 ATF_REQUIRE_EQ(file, auto_file.file()); in ATF_TEST_CASE_BODY() 114 fs::auto_file auto_file_copy(auto_file); in ATF_TEST_CASE_BODY() 129 fs::auto_file auto_file(file); in ATF_TEST_CASE_BODY() local 130 ATF_REQUIRE_EQ(file, auto_file.file()); in ATF_TEST_CASE_BODY() 133 auto_file.remove(); in ATF_TEST_CASE_BODY() 134 auto_file.remove(); in ATF_TEST_CASE_BODY() 147 fs::auto_file auto_file = fs::auto_file::mkstemp(path_template); in ATF_TEST_CASE_BODY() local 152 ATF_REQUIRE(::access(auto_file.file().c_str(), R_OK) == 0); in ATF_TEST_CASE_BODY()
|
H A D | auto_cleaners.cpp | 157 struct utils::fs::auto_file::impl : utils::noncopyable { 204 fs::auto_file::auto_file(const path& file_) : in auto_file() function in fs::auto_file 214 fs::auto_file::~auto_file(void) in ~auto_file() 228 fs::auto_file 229 fs::auto_file::mkstemp(const std::string& path_template) in mkstemp() 234 return auto_file(file_); in mkstemp() 246 fs::auto_file::file(void) const in file() 258 fs::auto_file::remove(void) in remove()
|
H A D | auto_cleaners.hpp | 70 class auto_file { class 76 explicit auto_file(const path&); 77 ~auto_file(void); 79 static auto_file mkstemp(const std::string&);
|
/dports/graphics/vigra/vigra-8acd73a/src/impex/ |
H A D | auto_file.hxx | 47 struct auto_file struct 51 auto_file( const char * name, const char * mode ) in auto_file() argument 64 ~auto_file() in ~auto_file() argument 78 auto_file(); 79 auto_file( const auto_file & ); 80 auto_file & operator=( const auto_file & );
|
/dports/graphics/panomatic/panomatic-0.9.4/vigra/src/impex/ |
H A D | auto_file.hxx | 49 struct auto_file struct 53 auto_file( const char * name, const char * mode ) in auto_file() function 66 ~auto_file() in ~auto_file() argument 80 auto_file(); 81 auto_file( const auto_file & ); 82 auto_file & operator=( const auto_file & );
|
/dports/databases/mariadb104-server/mariadb-10.4.24/storage/spider/hs_client/ |
H A D | socket.hpp | 53 int socket_set_timeout(auto_file& fd, const socket_args& args, String& err_r); 54 int socket_bind(auto_file& fd, const socket_args& args, String& err_r); 55 int socket_connect(auto_file& fd, const socket_args& args, String& err_r); 56 int socket_accept(int listen_fd, auto_file& fd, const socket_args& args,
|
H A D | auto_file.hpp | 22 struct auto_file : private noncopyable { struct 23 auto_file() : fd(-1) { } in auto_file() argument 24 ~auto_file() { in ~auto_file() argument
|
/dports/databases/mariadb104-client/mariadb-10.4.24/storage/spider/hs_client/ |
H A D | socket.hpp | 53 int socket_set_timeout(auto_file& fd, const socket_args& args, String& err_r); 54 int socket_bind(auto_file& fd, const socket_args& args, String& err_r); 55 int socket_connect(auto_file& fd, const socket_args& args, String& err_r); 56 int socket_accept(int listen_fd, auto_file& fd, const socket_args& args,
|
H A D | auto_file.hpp | 22 struct auto_file : private noncopyable { struct 23 auto_file() : fd(-1) { } in auto_file() function 24 ~auto_file() { in ~auto_file() argument
|
/dports/databases/mariadb103-client/mariadb-10.3.34/storage/spider/hs_client/ |
H A D | socket.hpp | 53 int socket_set_timeout(auto_file& fd, const socket_args& args, String& err_r); 54 int socket_bind(auto_file& fd, const socket_args& args, String& err_r); 55 int socket_connect(auto_file& fd, const socket_args& args, String& err_r); 56 int socket_accept(int listen_fd, auto_file& fd, const socket_args& args,
|
H A D | auto_file.hpp | 22 struct auto_file : private noncopyable { struct 23 auto_file() : fd(-1) { } in auto_file() argument 24 ~auto_file() { in ~auto_file() argument
|
/dports/databases/mariadb103-server/mariadb-10.3.34/storage/spider/hs_client/ |
H A D | socket.hpp | 53 int socket_set_timeout(auto_file& fd, const socket_args& args, String& err_r); 54 int socket_bind(auto_file& fd, const socket_args& args, String& err_r); 55 int socket_connect(auto_file& fd, const socket_args& args, String& err_r); 56 int socket_accept(int listen_fd, auto_file& fd, const socket_args& args,
|
H A D | auto_file.hpp | 22 struct auto_file : private noncopyable { 23 auto_file() : fd(-1) { } 24 ~auto_file() {
|
/dports/databases/mariadb105-client/mariadb-10.5.15/storage/spider/hs_client/ |
H A D | socket.hpp | 53 int socket_set_timeout(auto_file& fd, const socket_args& args, String& err_r); 54 int socket_bind(auto_file& fd, const socket_args& args, String& err_r); 55 int socket_connect(auto_file& fd, const socket_args& args, String& err_r); 56 int socket_accept(int listen_fd, auto_file& fd, const socket_args& args,
|
H A D | auto_file.hpp | 22 struct auto_file : private noncopyable { struct 23 auto_file() : fd(-1) { } in auto_file() argument 24 ~auto_file() { in ~auto_file() argument
|
/dports/databases/mariadb105-server/mariadb-10.5.15/storage/spider/hs_client/ |
H A D | socket.hpp | 53 int socket_set_timeout(auto_file& fd, const socket_args& args, String& err_r); 54 int socket_bind(auto_file& fd, const socket_args& args, String& err_r); 55 int socket_connect(auto_file& fd, const socket_args& args, String& err_r); 56 int socket_accept(int listen_fd, auto_file& fd, const socket_args& args,
|
H A D | auto_file.hpp | 22 struct auto_file : private noncopyable { struct 23 auto_file() : fd(-1) { } in auto_file() argument 24 ~auto_file() { in ~auto_file() argument
|
/dports/databases/percona56-server/percona-server-5.6.51-91.0/plugin/HandlerSocket-Plugin-for-MySQL/libhsclient/ |
H A D | auto_file.hpp | 21 struct auto_file : private noncopyable { struct 22 auto_file() : fd(-1) { } in auto_file() function 23 ~auto_file() { in ~auto_file() argument
|
/dports/databases/percona56-client/percona-server-5.6.51-91.0/plugin/HandlerSocket-Plugin-for-MySQL/libhsclient/ |
H A D | auto_file.hpp | 21 struct auto_file : private noncopyable { struct 22 auto_file() : fd(-1) { } in auto_file() argument 23 ~auto_file() { in ~auto_file() argument
|