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

/gem5/ext/pybind11/include/pybind11/
H A Dcast.h303 iterator find(const type_info *find_type) { argument
305 while (it != endit && it->type != find_type) ++it;
316 * `find_type` is omitted (or explicitly specified as nullptr) the first value/holder are returned,
322 PYBIND11_NOINLINE inline value_and_holder instance::get_value_and_holder(const type_info *find_type /*= nullptr default in common.h*/, bool throw_if_missing /*= true in common.h*/) {
324 if (!find_type || Py_TYPE(this) == find_type->type)
325 return value_and_holder(this, find_type, 0, 0);
328 auto it = vhs.find(find_type);
341 std::string(find_type->type->tp_name) + "' is not a pybind11 base of the given `" +
/gem5/ext/pybind11/include/pybind11/detail/
H A Dcommon.h430 /// Returns the value_and_holder wrapper for the given type (or the first, if `find_type`
433 value_and_holder get_value_and_holder(const type_info *find_type = nullptr, bool throw_if_missing = true);

Completed in 15 milliseconds