Lines Matching refs:pfunc

31   auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
35 if (auto arg_info = pfunc.GetArgInfo())
45 ? pfunc.Call(frame_arg, bp_loc_arg, dict)
46 : pfunc.Call(frame_arg, bp_loc_arg, SWIGBridge::ToSWIGWrapper(args_impl), dict);
78 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
81 if (!pfunc.IsAllocated())
85 pfunc(SWIGBridge::ToSWIGWrapper(frame_sp), SWIGBridge::ToSWIGWrapper(wp_sp), dict);
105 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
108 if (!pfunc.IsAllocated())
112 pfunc(SWIGBridge::ToSWIGWrapper(type_impl_sp), dict);
148 PythonCallable pfunc(PyRefType::Borrowed, pfunc_impl);
150 if (!pfunc.IsAllocated()) {
151 pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
153 if (!pfunc.IsAllocated())
157 *pyfunct_wrapper = pfunc.get();
158 Py_XINCREF(pfunc.get());
163 auto argc = pfunc.GetArgInfo();
172 result = pfunc(value_arg, dict);
174 result = pfunc(value_arg, dict, SWIGBridge::ToSWIGWrapper(*options_sp));
192 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
195 if (!pfunc.IsAllocated())
205 PythonObject result = pfunc(val_arg, dict);
223 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
226 if (!pfunc.IsAllocated())
229 return pfunc(SWIGBridge::ToSWIGWrapper(std::move(debugger_sp)), dict);
244 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
247 if (!pfunc.IsAllocated()) {
255 llvm::Expected<PythonCallable::ArgInfo> arg_info = pfunc.GetArgInfo();
274 result = pfunc(tp_arg, dict);
276 result = pfunc(tp_arg, SWIGBridge::ToSWIGWrapper(std::move(args_sb)), dict);
296 auto pfunc = self.ResolveName<PythonCallable>(method_name);
298 if (!pfunc.IsAllocated())
304 result = pfunc(event_arg.obj());
306 result = pfunc();
334 auto pfunc = self.ResolveName<PythonCallable>(method_name);
336 if (!pfunc.IsAllocated())
344 result = pfunc(sb_stream_arg);
372 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
375 if (!pfunc.IsAllocated())
379 pfunc(SWIGBridge::ToSWIGWrapper(breakpoint_sp), SWIGBridge::ToSWIGWrapper(args_impl), dict);
397 auto pfunc = self.ResolveName<PythonCallable>(method_name);
399 if (!pfunc.IsAllocated())
402 PythonObject result = sym_ctx ? pfunc(SWIGBridge::ToSWIGWrapper(*sym_ctx)) : pfunc();
448 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
451 if (!pfunc.IsAllocated()) {
458 pfunc(SWIGBridge::ToSWIGWrapper(target_sp), SWIGBridge::ToSWIGWrapper(args_impl), dict);
498 auto pfunc = self.ResolveName<PythonCallable>("handle_stop");
500 if (!pfunc.IsAllocated())
507 pfunc(SWIGBridge::ToSWIGWrapper(std::move(exc_ctx_sp)), sb_stream_arg);
535 auto pfunc = self.ResolveName<PythonCallable>(callee_name);
537 if (!pfunc.IsAllocated()) {
547 PythonObject result = pfunc();
554 auto pfunc = self.ResolveName<PythonCallable>("num_children");
556 if (!pfunc.IsAllocated())
559 auto arg_info = pfunc.GetArgInfo();
567 ret_val = unwrapOrSetPythonException(As<long long>(pfunc.Call()));
570 As<long long>(pfunc.Call(PythonInteger(max))));
589 auto pfunc = self.ResolveName<PythonCallable>("get_child_at_index");
591 if (!pfunc.IsAllocated())
594 PythonObject result = pfunc(PythonInteger(idx));
615 auto pfunc = self.ResolveName<PythonCallable>("get_child_index");
617 if (!pfunc.IsAllocated())
620 llvm::Expected<PythonObject> result = pfunc.Call(PythonString(child_name));
790 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
793 if (!pfunc.IsAllocated())
796 auto argc = pfunc.GetArgInfo();
805 pfunc(debugger_arg, PythonString(args), cmd_retobj_arg.obj(), dict);
807 pfunc(debugger_arg, PythonString(args),
821 auto pfunc = self.ResolveName<PythonCallable>("__call__");
823 if (!pfunc.IsAllocated())
828 pfunc(SWIGBridge::ToSWIGWrapper(std::move(debugger)), PythonString(args),
845 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
848 if (!pfunc.IsAllocated())
851 return pfunc(SWIGBridge::ToSWIGWrapper(process_sp));
864 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
867 if (!pfunc.IsAllocated())
870 return pfunc();
892 auto pfunc = py_module.ResolveName<PythonCallable>("get_dynamic_setting");
894 if (!pfunc.IsAllocated())
897 auto result = pfunc(SWIGBridge::ToSWIGWrapper(target_sp), PythonString(setting));
914 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
917 if (!pfunc.IsAllocated())
920 auto result = pfunc(SWIGBridge::ToSWIGWrapper(process), dict);
938 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
941 if (!pfunc.IsAllocated())
944 auto result = pfunc(SWIGBridge::ToSWIGWrapper(std::move(thread)), dict);
961 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
964 if (!pfunc.IsAllocated())
967 auto result = pfunc(SWIGBridge::ToSWIGWrapper(target), dict);
985 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
988 if (!pfunc.IsAllocated())
991 auto result = pfunc(SWIGBridge::ToSWIGWrapper(std::move(frame)), dict);
1008 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
1011 if (!pfunc.IsAllocated())
1014 auto result = pfunc(SWIGBridge::ToSWIGWrapper(value), dict);
1032 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
1037 if (!pfunc.IsAllocated())
1040 pfunc(SWIGBridge::ToSWIGWrapper(std::move(debugger)), dict);