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);
245 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
248 if (!pfunc.IsAllocated())
252 pfunc(SWIGBridge::ToSWIGWrapper(breakpoint_sp), SWIGBridge::ToSWIGWrapper(args_impl), dict);
270 auto pfunc = self.ResolveName<PythonCallable>(method_name);
272 if (!pfunc.IsAllocated())
275 PythonObject result = sym_ctx ? pfunc(SWIGBridge::ToSWIGWrapper(*sym_ctx)) : pfunc();
321 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
324 if (!pfunc.IsAllocated()) {
331 pfunc(SWIGBridge::ToSWIGWrapper(target_sp), SWIGBridge::ToSWIGWrapper(args_impl), dict);
371 auto pfunc = self.ResolveName<PythonCallable>("handle_stop");
373 if (!pfunc.IsAllocated())
379 pfunc(SWIGBridge::ToSWIGWrapper(std::move(exc_ctx_sp)), sb_stream_arg);
408 auto pfunc = self.ResolveName<PythonCallable>(callee_name);
410 if (!pfunc.IsAllocated()) {
420 PythonObject result = pfunc();
427 auto pfunc = self.ResolveName<PythonCallable>("num_children");
429 if (!pfunc.IsAllocated())
432 auto arg_info = pfunc.GetArgInfo();
440 ret_val = unwrapOrSetPythonException(As<long long>(pfunc.Call()));
443 As<long long>(pfunc.Call(PythonInteger(max))));
462 auto pfunc = self.ResolveName<PythonCallable>("get_child_at_index");
464 if (!pfunc.IsAllocated())
467 PythonObject result = pfunc(PythonInteger(idx));
488 auto pfunc = self.ResolveName<PythonCallable>("get_child_index");
490 if (!pfunc.IsAllocated())
493 llvm::Expected<PythonObject> result = pfunc.Call(PythonString(child_name));
687 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
690 if (!pfunc.IsAllocated())
693 auto argc = pfunc.GetArgInfo();
702 pfunc(debugger_arg, PythonString(args), cmd_retobj_arg.obj(), dict);
704 pfunc(debugger_arg, PythonString(args),
718 auto pfunc = self.ResolveName<PythonCallable>("__call__");
720 if (!pfunc.IsAllocated())
725 pfunc(SWIGBridge::ToSWIGWrapper(std::move(debugger)), PythonString(args),
737 auto pfunc = self.ResolveName<PythonCallable>("get_repeat_command");
739 if (!pfunc.IsAllocated())
743 PythonObject result = pfunc(command_str);
763 auto pfunc = self.ResolveName<PythonCallable>("__call__");
765 if (!pfunc.IsAllocated()) {
770 pfunc(SWIGBridge::ToSWIGWrapper(std::move(debugger)), SWIGBridge::ToSWIGWrapper(args_impl),
787 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
790 if (!pfunc.IsAllocated())
793 return pfunc(SWIGBridge::ToSWIGWrapper(process_sp));
806 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
809 if (!pfunc.IsAllocated())
812 return pfunc();
834 auto pfunc = py_module.ResolveName<PythonCallable>("get_dynamic_setting");
836 if (!pfunc.IsAllocated())
839 auto result = pfunc(SWIGBridge::ToSWIGWrapper(target_sp), PythonString(setting));
856 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
859 if (!pfunc.IsAllocated())
862 auto result = pfunc(SWIGBridge::ToSWIGWrapper(process), dict);
880 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
883 if (!pfunc.IsAllocated())
886 auto result = pfunc(SWIGBridge::ToSWIGWrapper(std::move(thread)), dict);
903 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
906 if (!pfunc.IsAllocated())
909 auto result = pfunc(SWIGBridge::ToSWIGWrapper(target), dict);
927 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
930 if (!pfunc.IsAllocated())
933 auto result = pfunc(SWIGBridge::ToSWIGWrapper(std::move(frame)), dict);
950 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
953 if (!pfunc.IsAllocated())
956 auto result = pfunc(SWIGBridge::ToSWIGWrapper(value), dict);
974 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
979 if (!pfunc.IsAllocated())
982 pfunc(SWIGBridge::ToSWIGWrapper(std::move(debugger)), dict);