Lines Matching defs:tp
169 inline detail::type_info *get_local_type_info(const std::type_index &tp) {
171 auto it = locals.find(tp);
177 inline detail::type_info *get_global_type_info(const std::type_index &tp) {
179 auto it = types.find(tp);
186 PYBIND11_NOINLINE inline detail::type_info *get_type_info(const std::type_index &tp,
188 if (auto ltype = get_local_type_info(tp))
190 if (auto gtype = get_global_type_info(tp))
194 std::string tname = tp.name();
201 PYBIND11_NOINLINE inline handle get_type_handle(const std::type_info &tp, bool throw_if_missing) {
202 detail::type_info *type_info = get_type_info(tp, throw_if_missing);
399 PYBIND11_NOINLINE inline bool isinstance_generic(handle obj, const std::type_info &tp) {
400 handle type = detail::get_type_handle(tp, false);