Searched refs:_pimpl (Results 1 - 25 of 40) sorted by relevance

12

/netbsd-current/external/bsd/lutok/dist/
H A Dstack_cleaner.cpp63 _pimpl(new impl(state_, state_.get_top()))
74 const unsigned int current_depth = _pimpl->state_ref.get_top();
75 assert(current_depth >= _pimpl->original_depth);
76 const unsigned int diff = current_depth - _pimpl->original_depth;
78 _pimpl->state_ref.pop(diff);
90 _pimpl->original_depth = _pimpl->state_ref.get_top();
H A Ddebug.cpp48 _pimpl(new impl())
71 if (lua_getinfo(raw_state, what_.c_str(), &_pimpl->lua_debug) == 0)
85 lua_getstack(raw_state, level, &_pimpl->lua_debug);
95 return _pimpl->lua_debug.event;
105 assert(_pimpl->lua_debug.name != NULL);
106 return _pimpl->lua_debug.name;
116 assert(_pimpl->lua_debug.namewhat != NULL);
117 return _pimpl->lua_debug.namewhat;
127 assert(_pimpl->lua_debug.what != NULL);
128 return _pimpl
[all...]
H A Dstate.cpp247 _pimpl.reset(new impl(lua, true));
258 _pimpl(new impl(reinterpret_cast< lua_State* >(raw_state_), false))
270 if (_pimpl->owned && _pimpl->lua_state != NULL)
286 assert(_pimpl->lua_state != NULL);
287 assert(lua_gettop(_pimpl->lua_state) == 0);
288 lua_close(_pimpl->lua_state);
289 _pimpl->lua_state = NULL;
304 lua_pushcfunction(_pimpl->lua_state, protected_getglobal);
305 lua_pushstring(_pimpl
[all...]
H A Ddebug.hpp63 std::shared_ptr< impl > _pimpl; member in class:lutok::debug
65 std::tr1::shared_ptr< impl > _pimpl; member in class:lutok::debug
H A Dstack_cleaner.hpp75 std::unique_ptr< impl > _pimpl; member in class:lutok::stack_cleaner
/netbsd-current/external/bsd/kyua-cli/dist/utils/signals/
H A Dprogrammer.cpp83 _pimpl(new impl(signo))
90 if (::sigaction(_pimpl->signo, &sa, &_pimpl->old_sa) == -1) {
93 _pimpl->signo, original_errno);
95 _pimpl->programmed = true;
105 if (_pimpl->programmed) {
126 PRE(_pimpl->programmed);
130 _pimpl->programmed = false;
132 if (::sigaction(_pimpl->signo, &_pimpl
[all...]
H A Dprogrammer.hpp52 std::unique_ptr< impl > _pimpl; member in class:utils::signals::programmer
/netbsd-current/external/bsd/kyua-cli/dist/utils/process/
H A Dsystembuf.cpp76 _pimpl(new impl(fd, bufsize))
78 setp(_pimpl->_write_buf.get(), _pimpl->_write_buf.get() + _pimpl->_bufsize);
87 ::close(_pimpl->_fd);
100 ssize_t cnt = ::read(_pimpl->_fd, _pimpl->_read_buf.get(),
101 _pimpl->_bufsize);
107 setg(_pimpl->_read_buf.get(), _pimpl
[all...]
H A Dfdstream.cpp64 _pimpl(new impl(fd))
66 rdbuf(&_pimpl->_systembuf);
H A Dfdstream.hpp53 std::unique_ptr< impl > _pimpl; member in class:utils::process::ifdstream
H A Dsystembuf.hpp53 std::unique_ptr< impl > _pimpl; member in class:utils::process::systembuf
/netbsd-current/external/bsd/kyua-cli/dist/utils/config/
H A Dparser.cpp155 _pimpl(new impl(this, config_tree))
157 lutok::stack_cleaner cleaner(_pimpl->_state);
159 _pimpl->_state.push_cxx_function(lua_syntax);
160 _pimpl->_state.set_global("syntax");
161 *_pimpl->_state.new_userdata< config::parser::impl* >() = _pimpl.get();
162 _pimpl->_state.set_global("_config_parser");
185 lutok::do_file(_pimpl->_state, file.str());
190 if (!_pimpl->_syntax_called)
H A Dparser.hpp69 std::unique_ptr< impl > _pimpl; member in class:utils::config::parser
/netbsd-current/external/bsd/kyua-cli/dist/engine/
H A Daction.cpp67 _pimpl(new impl(context_))
84 return _pimpl->_context;
96 return *_pimpl == *other._pimpl;
H A Dcontext.cpp78 _pimpl(new impl(cwd_, env_))
103 return _pimpl->_cwd;
113 return _pimpl->_env;
125 return *_pimpl == *other._pimpl;
H A Daction.hpp54 std::shared_ptr< impl > _pimpl; member in class:engine::action
H A Dtest_program.cpp276 _pimpl(new impl(interface_name_, binary_, root_, test_suite_name_, md_))
293 return _pimpl->interface_name;
303 return _pimpl->binary;
313 const fs::path full_path = _pimpl->root / _pimpl->binary;
324 return _pimpl->root;
334 return _pimpl->test_suite_name;
344 return _pimpl->md;
382 if (!_pimpl->test_cases) {
384 _pimpl
[all...]
H A Dmetadata.cpp536 _pimpl(new impl(props))
553 return _pimpl->props.lookup< config::strings_set_node >(
564 return _pimpl->props.lookup< config::strings_set_node >("allowed_platforms");
574 return _pimpl->props.all_properties("custom", true);
584 return _pimpl->props.lookup< config::string_node >("description");
594 return _pimpl->props.lookup< config::bool_node >("has_cleanup");
604 return _pimpl->props.lookup< config::strings_set_node >("required_configs");
614 return _pimpl->props.lookup< paths_set_node >("required_files");
624 return _pimpl->props.lookup< bytes_node >("required_memory");
634 return _pimpl
[all...]
/netbsd-current/external/bsd/kyua-cli/dist/utils/sqlite/
H A Dtransaction.hpp52 std::shared_ptr< impl > _pimpl; member in class:utils::sqlite::transaction
H A Dstatement.cpp150 _pimpl(new impl(db, static_cast< ::sqlite3_stmt* >(raw_stmt)))
189 const int error = ::sqlite3_step(_pimpl->stmt);
198 throw api_error::from_database(_pimpl->db, "sqlite3_step");
210 return ::sqlite3_column_count(_pimpl->stmt);
222 const char* name = ::sqlite3_column_name(_pimpl->stmt, index);
224 throw api_error::from_database(_pimpl->db, "sqlite3_column_name");
237 return c_type_to_cxx(::sqlite3_column_type(_pimpl->stmt, index));
251 std::map< std::string, int >& cache = _pimpl->column_cache;
280 return blob(::sqlite3_column_blob(_pimpl->stmt, index),
281 ::sqlite3_column_bytes(_pimpl
[all...]
H A Dtransaction.cpp113 _pimpl(new impl(db, impl::open_status))
130 _pimpl->commit();
140 _pimpl->rollback();
H A Ddatabase.cpp132 _pimpl(new impl(static_cast< ::sqlite3* >(db_), owned_))
218 return _pimpl->db;
231 _pimpl->close();
248 const int error = ::sqlite3_exec(_pimpl->db, sql.c_str(), NULL, NULL, NULL);
277 const int error = ::sqlite3_prepare_v2(_pimpl->db, sql.c_str(),
291 return ::sqlite3_last_insert_rowid(_pimpl->db);
/netbsd-current/external/bsd/kyua-cli/dist/utils/fs/
H A Dauto_cleaners.hpp51 std::shared_ptr< impl > _pimpl; member in class:utils::fs::auto_directory
71 std::shared_ptr< impl > _pimpl; member in class:utils::fs::auto_file
H A Dauto_cleaners.cpp91 _pimpl(new impl(directory_))
134 return _pimpl->_directory;
146 _pimpl->cleanup();
199 _pimpl(new impl(file_))
242 return _pimpl->_file;
254 _pimpl->remove();
/netbsd-current/external/bsd/kyua-cli/dist/store/
H A Dtransaction.cpp441 _pimpl(pimpl_)
458 _pimpl->_valid = _pimpl->_stmt.step();
468 return _pimpl->_valid;
478 const int64_t id = _pimpl->_stmt.safe_column_int64("test_program_id");
479 if (!_pimpl->_last_test_program ||
480 _pimpl->_last_test_program.get().first != id)
483 _pimpl->_backend, id);
484 _pimpl->_last_test_program = std::make_pair(id, tp);
486 return _pimpl
[all...]

Completed in 308 milliseconds

12