/netbsd-src/external/bsd/atf/dist/tools/ |
H A D | auto_array.hpp | 55 class auto_array { class 59 auto_array(T* = NULL) throw(); 60 auto_array(auto_array< T >&) throw(); 61 auto_array(auto_array_ref< T >) throw(); 62 ~auto_array(void) throw(); 69 auto_array< T >& operator=(auto_array< T >&) throw(); 70 auto_array< T >& operator=(auto_array_ref< T >) throw(); 77 auto_array< T >::auto_array(T* ptr) in auto_array() function in tools::auto_array 84 auto_array< T >::auto_array(auto_array< T >& ptr) in auto_array() function in tools::auto_array 91 auto_array< T >::auto_array(auto_array_ref< T > ref) in auto_array() function in tools::auto_array [all …]
|
H A D | auto_array_test.cpp | 51 tools::auto_array< test_array > 52 do_copy(tools::auto_array< test_array >& ta) in do_copy() 54 return tools::auto_array< test_array >(ta); in do_copy() 96 using tools::auto_array; in ATF_TEST_CASE_BODY() 100 auto_array< test_array > t(new test_array[10]); in ATF_TEST_CASE_BODY() 114 using tools::auto_array; in ATF_TEST_CASE_BODY() 118 auto_array< test_array > t1(new test_array[10]); in ATF_TEST_CASE_BODY() 122 auto_array< test_array > t2(t1); in ATF_TEST_CASE_BODY() 138 using tools::auto_array; in ATF_TEST_CASE_BODY() 142 auto_array< test_array > t1(new test_array[10]); in ATF_TEST_CASE_BODY() [all …]
|
H A D | io.cpp | 288 tools::auto_array< char > buffer(new char[m_bufsize]); in read_one() 317 tools::auto_array< struct pollfd > poll_fds(new struct pollfd[m_nfds]); in mux()
|
H A D | process.cpp | 57 tools::auto_array< const char* > 60 tools::auto_array< const char* > argv(new const char*[c.size() + 1]); in collection_to_argv()
|
H A D | io.hpp | 418 tools::auto_array< std::string > m_buffers;
|
H A D | process.hpp | 67 auto_array< const char* > m_exec_argv;
|
H A D | fs.cpp | 586 tools::auto_array< char > buf(new char[p.str().length() + 1]); in temp_dir()
|
/netbsd-src/external/bsd/atf/dist/atf-c++/detail/ |
H A D | auto_array.hpp | 55 class auto_array { class 59 auto_array(T* = NULL) throw(); 60 auto_array(auto_array< T >&) throw(); 61 auto_array(auto_array_ref< T >) throw(); 62 ~auto_array(void) throw(); 69 auto_array< T >& operator=(auto_array< T >&) throw(); 70 auto_array< T >& operator=(auto_array_ref< T >) throw(); 77 auto_array< T >::auto_array(T* ptr) in auto_array() function in atf::auto_array 84 auto_array< T >::auto_array(auto_array< T >& ptr) in auto_array() function in atf::auto_array 91 auto_array< T >::auto_array(auto_array_ref< T > ref) in auto_array() function in atf::auto_array [all …]
|
H A D | auto_array_test.cpp | 53 atf::auto_array< test_array > 54 do_copy(atf::auto_array< test_array >& ta) in do_copy() 56 return atf::auto_array< test_array >(ta); in do_copy() 98 using atf::auto_array; in ATF_TEST_CASE_BODY() 102 auto_array< test_array > t(new test_array[10]); in ATF_TEST_CASE_BODY() 116 using atf::auto_array; in ATF_TEST_CASE_BODY() 120 auto_array< test_array > t1(new test_array[10]); in ATF_TEST_CASE_BODY() 124 auto_array< test_array > t2(t1); in ATF_TEST_CASE_BODY() 140 using atf::auto_array; in ATF_TEST_CASE_BODY() 144 auto_array< test_array > t1(new test_array[10]); in ATF_TEST_CASE_BODY() [all …]
|
H A D | process.cpp | 53 atf::auto_array< const char* > 56 atf::auto_array< const char* > argv(new const char*[c.size() + 1]); in collection_to_argv()
|
H A D | process.hpp | 66 auto_array< const char* > m_exec_argv;
|
/netbsd-src/external/bsd/kyua-cli/dist/utils/ |
H A D | auto_array.ipp | 32 #include "utils/auto_array.hpp" 53 /// Constructs a new auto_array from a given pointer. 60 auto_array< T >::auto_array(T* ptr) throw() : 66 /// Constructs a copy of an auto_array. 71 auto_array< T >::auto_array(auto_array< T >& ptr) throw() : 77 /// Constructs a new auto_array form a reference. 79 /// Internal function used to construct a new auto_array from an object 84 auto_array< T >::auto_array(detail::auto_array_ref< T > ref) throw() : 90 /// Destructor for auto_array objects. 92 auto_array< T >::~auto_array(void) throw() [all …]
|
H A D | auto_array.hpp | 43 template< class > class auto_array; 58 template< class > friend class utils::auto_array; 76 class auto_array { class 81 auto_array(T* = NULL) throw(); 82 auto_array(auto_array< T >&) throw(); 83 auto_array(detail::auto_array_ref< T >) throw(); 84 ~auto_array(void) throw(); 92 auto_array< T >& operator=(auto_array< T >&) throw(); 93 auto_array< T >& operator=(detail::auto_array_ref< T >) throw();
|
H A D | auto_array_test.cpp | 41 using utils::auto_array; 126 auto_array< test_array > t(new test_array[10]); in ATF_TEST_CASE_BODY() 143 auto_array< test_array > t1(new test_array[10]); in ATF_TEST_CASE_BODY() 147 auto_array< test_array > t2(t1); in ATF_TEST_CASE_BODY() 166 auto_array< test_array > t1(new test_array[10]); in ATF_TEST_CASE_BODY() 170 auto_array< test_array > t2 = t1; in ATF_TEST_CASE_BODY() 188 auto_array< test_array > t(ta); in ATF_TEST_CASE_BODY() 203 auto_array< test_array > t(ta1); in ATF_TEST_CASE_BODY() 227 auto_array< test_array > t(ta1); in ATF_TEST_CASE_BODY() 248 auto_array< test_array > t1(new test_array[10]); in ATF_TEST_CASE_BODY() [all …]
|
/netbsd-src/external/bsd/kyua-cli/dist/utils/process/ |
H A D | systembuf.cpp | 50 utils::auto_array< char > _read_buf; 53 utils::auto_array< char > _write_buf;
|
/netbsd-src/external/bsd/kyua-cli/dist/utils/fs/ |
H A D | operations.cpp | 225 utils::auto_array< char > buf(new char[full_template.str().length() + 1]); in mkdtemp() 257 utils::auto_array< char > buf(new char[full_template.str().length() + 1]); in mkstemp()
|
/netbsd-src/external/bsd/kyua-cli/dist/utils/cmdline/ |
H A D | parser.cpp | 64 utils::auto_array< ::option > long_options; 284 utils::auto_array< const char* > argv(new const char*[args.size() + 1]); in parse()
|
/netbsd-src/external/bsd/atf/dist/atf-c++/ |
H A D | tests.cpp | 194 auto_array< const char * > array(new const char*[(config.size() * 2) + 1]); in init()
|
/netbsd-src/external/bsd/atf/dist/atf-sh/ |
H A D | atf-check.cpp | 119 atf::auto_array< char > buf(new char[p.str().length() + 1]); in temp_file()
|