Home
last modified time | relevance | path

Searched refs:auto_array (Results 1 – 19 of 19) sorted by relevance

/netbsd-src/external/bsd/atf/dist/tools/
H A Dauto_array.hpp55 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 Dauto_array_test.cpp51 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 Dio.cpp288 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 Dprocess.cpp57 tools::auto_array< const char* >
60 tools::auto_array< const char* > argv(new const char*[c.size() + 1]); in collection_to_argv()
H A Dio.hpp418 tools::auto_array< std::string > m_buffers;
H A Dprocess.hpp67 auto_array< const char* > m_exec_argv;
H A Dfs.cpp586 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 Dauto_array.hpp55 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 Dauto_array_test.cpp53 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 Dprocess.cpp53 atf::auto_array< const char* >
56 atf::auto_array< const char* > argv(new const char*[c.size() + 1]); in collection_to_argv()
H A Dprocess.hpp66 auto_array< const char* > m_exec_argv;
/netbsd-src/external/bsd/kyua-cli/dist/utils/
H A Dauto_array.ipp32 #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 Dauto_array.hpp43 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 Dauto_array_test.cpp41 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 Dsystembuf.cpp50 utils::auto_array< char > _read_buf;
53 utils::auto_array< char > _write_buf;
/netbsd-src/external/bsd/kyua-cli/dist/utils/fs/
H A Doperations.cpp225 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 Dparser.cpp64 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 Dtests.cpp194 auto_array< const char * > array(new const char*[(config.size() * 2) + 1]); in init()
/netbsd-src/external/bsd/atf/dist/atf-sh/
H A Datf-check.cpp119 atf::auto_array< char > buf(new char[p.str().length() + 1]); in temp_file()