Searched refs:pybind11_fail (Results 1 - 12 of 12) sorted by relevance

/gem5/ext/pybind11/include/pybind11/
H A Deval.h43 default: pybind11_fail("invalid evaluation mode");
79 default: pybind11_fail("invalid evaluation mode");
100 pybind11_fail("File \"" + fname_str + "\" could not be opened!");
H A Dembed.h79 pybind11_fail("Can't add new modules after the interpreter has been initialized");
83 pybind11_fail("Insufficient memory to add a new module");
104 pybind11_fail("The interpreter is already running");
H A Dpytypes.h894 if (!m_ptr) pybind11_fail("Could not allocate string object!");
900 if (!m_ptr) pybind11_fail("Could not allocate string object!");
918 pybind11_fail("Unable to extract string contents! (encoding issue)");
923 pybind11_fail("Unable to extract string contents! (invalid type)");
962 if (!m_ptr) pybind11_fail("Could not allocate bytes object!");
967 if (!m_ptr) pybind11_fail("Could not allocate bytes object!");
979 pybind11_fail("Unable to extract bytes contents!");
989 pybind11_fail("Unable to extract string contents! (encoding issue)");
994 pybind11_fail("Unable to extract string contents! (invalid type)");
997 pybind11_fail("Coul
[all...]
H A Dpybind11.h253 pybind11_fail("Internal error while parsing type signature (1)");
275 pybind11_fail("Internal error while parsing type signature (2)");
305 pybind11_fail("Cannot overload existing non-function object \"" + std::string(rec->name) +
332 pybind11_fail("cpp_function::cpp_function(): Could not allocate function object");
339 pybind11_fail("overloading a method with both static and instance methods is not supported; "
395 pybind11_fail("cpp_function::cpp_function(): Could not allocate instance method object");
609 pybind11_fail("Internal error: function call dispatcher inserted wrong number of arguments!");
808 pybind11_fail("Internal error in module::module()");
870 pybind11_fail("Error during initialization: multiple incompatible definitions with name \"" +
894 pybind11_fail("generic_typ
[all...]
H A Dattr.h262 pybind11_fail("generic_type: type \"" + std::string(name) +
269 pybind11_fail("generic_type: type \"" + std::string(name) + "\" " +
384 pybind11_fail("arg(): could not convert default argument "
387 pybind11_fail("arg(): could not convert default argument "
H A Dbuffer_info.h33 pybind11_fail("buffer_info: ndim doesn't match shape and/or strides length");
H A Dcast.h51 pybind11_fail("loader_life_support: internal error");
75 pybind11_fail("loader_life_support: error allocating list");
80 pybind11_fail("loader_life_support: error adding patient");
165 pybind11_fail("pybind11::detail::get_type_info: type has multiple pybind11-registered bases");
196 pybind11_fail("pybind11::detail::get_type_info: unable to find type info for \"" + tname + "\"");
336 pybind11_fail("pybind11::detail::instance::get_value_and_holder: "
340 pybind11_fail("pybind11::detail::instance::get_value_and_holder: `" +
352 pybind11_fail("instance allocation failed: new instance has no pybind11-registered base types");
1741 pybind11_fail("Internal error: cast_ref fallback invoked"); }
1749 pybind11_fail("Interna
[all...]
H A Dnumpy.h92 pybind11_fail(std::string("NumPy type info missing for ") + tinfo.name());
231 pybind11_fail("pybind11 numpy support requires numpy >= 1.7.0");
562 pybind11_fail("NumPy: shape ndim doesn't match strides ndim");
1048 pybind11_fail("Unsupported buffer format!");
1096 pybind11_fail("NumPy: dtype is already registered");
1107 pybind11_fail(std::string("NumPy: unsupported field dtype: `") +
1145 pybind11_fail("NumPy: invalid buffer descriptor!");
1413 pybind11_fail("pybind11::vectorize: incompatible size/dimension of inputs!");
H A Deigen.h381 pybind11_fail("Invalid return_value_policy for Eigen Map/Ref/Block type");
/gem5/ext/pybind11/include/pybind11/detail/
H A Dclass.h58 pybind11_fail("make_static_property_type(): error allocating type!");
73 pybind11_fail("make_static_property_type(): failure in PyType_Ready()!");
172 pybind11_fail("make_default_metaclass(): error allocating metaclass!");
190 pybind11_fail("make_default_metaclass(): failure in PyType_Ready()!");
325 pybind11_fail("pybind11_object_dealloc(): Tried to deallocate unregistered instance!");
375 pybind11_fail("make_object_base_type(): error allocating type!");
396 pybind11_fail("PyType_Ready failed in make_object_base_type():" + error_string());
446 pybind11_fail(std::string(type->tp_name) + ": dynamic attributes are "
567 pybind11_fail(std::string(rec.name) + ": Unable to create type object!");
606 pybind11_fail(st
[all...]
H A Dinternals.h268 pybind11_fail("get_internals: could not successfully initialize the TSS key!");
273 pybind11_fail("get_internals: could not successfully initialize the TLS key!");
H A Dcommon.h680 [[noreturn]] PYBIND11_NOINLINE inline void pybind11_fail(const char *reason) { throw std::runtime_error(reason); } function
681 [[noreturn]] PYBIND11_NOINLINE inline void pybind11_fail(const std::string &reason) { throw std::runtime_error(reason); } function

Completed in 31 milliseconds