Searched refs:scoped_interpreter (Results 1 - 5 of 5) sorted by relevance

/gem5/ext/pybind11/include/pybind11/
H A Dembed.h133 py::scoped_interpreter guard{};
176 py::scoped_interpreter guard{};
180 class scoped_interpreter { class
182 scoped_interpreter(bool init_signal_handlers = true) { function in class:scoped_interpreter
186 scoped_interpreter(const scoped_interpreter &) = delete;
187 scoped_interpreter(scoped_interpreter &&other) noexcept { other.is_valid = false; }
188 scoped_interpreter &operator=(const scoped_interpreter
[all...]
/gem5/ext/pybind11/tests/test_embed/
H A Dcatch.cpp18 py::scoped_interpreter guard{};
H A Dtest_interpreter.cpp81 static_assert(std::is_move_constructible<py::scoped_interpreter>::value, "");
82 static_assert(!std::is_move_assignable<py::scoped_interpreter>::value, "");
83 static_assert(!std::is_copy_constructible<py::scoped_interpreter>::value, "");
84 static_assert(!std::is_copy_assignable<py::scoped_interpreter>::value, "");
87 REQUIRE_THROWS_WITH(py::scoped_interpreter(), "The interpreter is already running");
90 REQUIRE_NOTHROW(py::scoped_interpreter());
92 auto pyi1 = py::scoped_interpreter();
/gem5/src/python/
H A Dmarshal.cc49 py::scoped_interpreter guard{};
/gem5/ext/pybind11/tests/test_cmake_build/
H A Dembed.cpp13 py::scoped_interpreter guard{};

Completed in 4 milliseconds