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, ToSWIGWrapper(args_impl), dict);
78 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
81 if (!pfunc.IsAllocated())
85 pfunc(ToSWIGWrapper(frame_sp), ToSWIGWrapper(wp_sp), dict);
122 PythonCallable pfunc(PyRefType::Borrowed, pfunc_impl);
124 if (!pfunc.IsAllocated()) {
125 pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
127 if (!pfunc.IsAllocated())
131 *pyfunct_wrapper = pfunc.get();
132 Py_XINCREF(pfunc.get());
137 auto argc = pfunc.GetArgInfo();
146 result = pfunc(value_arg, dict);
148 result = pfunc(value_arg, dict, ToSWIGWrapper(*options_sp));
166 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
169 if (!pfunc.IsAllocated())
179 PythonObject result = pfunc(val_arg, dict);
197 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
200 if (!pfunc.IsAllocated())
203 return pfunc(ToSWIGWrapper(std::move(debugger_sp)), dict);
219 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
222 if (!pfunc.IsAllocated()) {
230 llvm::Expected<PythonCallable::ArgInfo> arg_info = pfunc.GetArgInfo();
243 result = pfunc(target_arg, ToSWIGWrapper(args_impl));
263 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
266 if (!pfunc.IsAllocated()) {
272 llvm::Expected<PythonCallable::ArgInfo> arg_info = pfunc.GetArgInfo();
284 return pfunc(ToSWIGWrapper(process_sp), ToSWIGWrapper(args_impl));
303 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
306 if (!pfunc.IsAllocated()) {
314 llvm::Expected<PythonCallable::ArgInfo> arg_info = pfunc.GetArgInfo();
333 result = pfunc(tp_arg, dict);
335 result = pfunc(tp_arg, ToSWIGWrapper(std::move(args_sb)), dict);
355 auto pfunc = self.ResolveName<PythonCallable>(method_name);
357 if (!pfunc.IsAllocated())
363 result = pfunc(event_arg.obj());
365 result = pfunc();
399 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
402 if (!pfunc.IsAllocated())
406 pfunc(ToSWIGWrapper(breakpoint_sp), ToSWIGWrapper(args_impl), dict);
424 auto pfunc = self.ResolveName<PythonCallable>(method_name);
426 if (!pfunc.IsAllocated())
429 PythonObject result = sym_ctx ? pfunc(ToSWIGWrapper(*sym_ctx)) : pfunc();
475 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
478 if (!pfunc.IsAllocated()) {
485 pfunc(ToSWIGWrapper(target_sp), ToSWIGWrapper(args_impl), dict);
525 auto pfunc = self.ResolveName<PythonCallable>("handle_stop");
527 if (!pfunc.IsAllocated())
534 pfunc(ToSWIGWrapper(std::move(exc_ctx_sp)), sb_stream_arg);
562 auto pfunc = self.ResolveName<PythonCallable>(callee_name);
564 if (!pfunc.IsAllocated()) {
574 PythonObject result = pfunc();
581 auto pfunc = self.ResolveName<PythonCallable>("num_children");
583 if (!pfunc.IsAllocated())
586 auto arg_info = pfunc.GetArgInfo();
594 ret_val = unwrapOrSetPythonException(As<long long>(pfunc.Call()));
597 As<long long>(pfunc.Call(PythonInteger(max))));
616 auto pfunc = self.ResolveName<PythonCallable>("get_child_at_index");
618 if (!pfunc.IsAllocated())
621 PythonObject result = pfunc(PythonInteger(idx));
642 auto pfunc = self.ResolveName<PythonCallable>("get_child_index");
644 if (!pfunc.IsAllocated())
647 llvm::Expected<PythonObject> result = pfunc.Call(PythonString(child_name));
781 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
784 if (!pfunc.IsAllocated())
787 auto argc = pfunc.GetArgInfo();
796 pfunc(debugger_arg, PythonString(args), cmd_retobj_arg.obj(), dict);
798 pfunc(debugger_arg, PythonString(args),
812 auto pfunc = self.ResolveName<PythonCallable>("__call__");
814 if (!pfunc.IsAllocated())
819 pfunc(ToSWIGWrapper(std::move(debugger)), PythonString(args),
836 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
839 if (!pfunc.IsAllocated())
842 return pfunc(ToSWIGWrapper(process_sp));
855 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
858 if (!pfunc.IsAllocated())
861 return pfunc();
883 auto pfunc = py_module.ResolveName<PythonCallable>("get_dynamic_setting");
885 if (!pfunc.IsAllocated())
888 auto result = pfunc(ToSWIGWrapper(target_sp), PythonString(setting));
905 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
908 if (!pfunc.IsAllocated())
911 auto result = pfunc(ToSWIGWrapper(process), dict);
929 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
932 if (!pfunc.IsAllocated())
935 auto result = pfunc(ToSWIGWrapper(std::move(thread)), dict);
952 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
955 if (!pfunc.IsAllocated())
958 auto result = pfunc(ToSWIGWrapper(target), dict);
976 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
979 if (!pfunc.IsAllocated())
982 auto result = pfunc(ToSWIGWrapper(std::move(frame)), dict);
999 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
1002 if (!pfunc.IsAllocated())
1005 auto result = pfunc(ToSWIGWrapper(value), dict);
1023 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(
1028 if (!pfunc.IsAllocated())
1031 pfunc(ToSWIGWrapper(std::move(debugger)), dict);