Searched refs:destructor (Results 1 - 2 of 2) sorted by relevance

/gem5/ext/googletest/googletest/test/
H A Dgtest_catch_exceptions_test.py94 'in the test fixture\'s destructor'
139 'in the test fixture\'s destructor'
155 self.assert_('CxxExceptionInSetUpTestCaseTest destructor '
180 self.assert_('CxxExceptionInSetUpTest destructor '
198 self.assert_('CxxExceptionInTearDownTest destructor '
209 self.assert_('CxxExceptionInTestBodyTest destructor '
/gem5/ext/pybind11/include/pybind11/
H A Dpytypes.h1151 explicit capsule(const void *value, const char *name = nullptr, void (*destructor)(PyObject *) = nullptr)
1152 : object(PyCapsule_New(const_cast<void *>(value), name, destructor), stolen_t{}) {
1157 PYBIND11_DEPRECATED("Please pass a destructor that takes a void pointer as input")
1164 capsule(const void *value, void (*destructor)(void *)) {
1166 auto destructor = reinterpret_cast<void (*)(void *)>(PyCapsule_GetContext(o));
1168 destructor(ptr);
1174 if (PyCapsule_SetContext(m_ptr, (void *) destructor) != 0)
1178 capsule(void (*destructor)()) { argument
1179 m_ptr = PyCapsule_New(reinterpret_cast<void *>(destructor), nullptr, [](PyObject *o) {
1180 auto destructor
[all...]

Completed in 11 milliseconds