Lines Matching refs:pfunc
70 … auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(python_function_name, dict);
73 if (auto arg_info = pfunc.GetArgInfo())
84 return pfunc.Call(frame_arg, bp_loc_arg, dict);
88 return pfunc.Call(frame_arg, bp_loc_arg, args_arg, dict);
125 … auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(python_function_name, dict);
127 if (!pfunc.IsAllocated())
132 PythonObject result = pfunc(frame_arg, wp_arg, dict);
179 PythonCallable pfunc(PyRefType::Borrowed, pfunc_impl);
181 if (!pfunc.IsAllocated())
183 pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(python_function_name, dict);
184 if (!pfunc.IsAllocated())
189 *pyfunct_wrapper = pfunc.get();
190 Py_XINCREF(pfunc.get());
195 auto argc = pfunc.GetArgInfo();
205 result = pfunc(value_arg,dict);
207 result = pfunc(value_arg,dict,options_arg);
228 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(python_class_name,dict);
230 if (!pfunc.IsAllocated())
242 PythonObject result = pfunc(val_arg, dict);
263 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(python_class_name, dict);
265 if (!pfunc.IsAllocated())
270 PythonObject result = pfunc(debugger_arg, dict);
295 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(python_class_name, dict);
297 if (!pfunc.IsAllocated()) {
311 llvm::Expected<PythonCallable::ArgInfo> arg_info = pfunc.GetArgInfo();
330 result = pfunc(target_arg, dict);
333 result = pfunc(target_arg, args_arg, dict);
361 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(python_class_name, dict);
363 if (!pfunc.IsAllocated()) {
377 llvm::Expected<PythonCallable::ArgInfo> arg_info = pfunc.GetArgInfo();
396 result = pfunc(tp_arg, dict);
399 result = pfunc(tp_arg, args_arg, dict);
426 auto pfunc = self.ResolveName<PythonCallable>(method_name);
428 if (!pfunc.IsAllocated())
436 result = pfunc(event_arg);
439 result = pfunc();
475 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(python_class_name, dict);
477 if (!pfunc.IsAllocated())
487 PythonObject result = pfunc(bkpt_arg, args_arg, dict);
513 auto pfunc = self.ResolveName<PythonCallable>(method_name);
515 if (!pfunc.IsAllocated())
522 result = pfunc(sym_ctx_arg);
524 result = pfunc();
578 auto pfunc =
582 if (!pfunc.IsAllocated()) {
596 PythonObject result = pfunc(target_arg, args_arg, dict);
643 auto pfunc = self.ResolveName<PythonCallable>("handle_stop");
645 if (!pfunc.IsAllocated())
654 result = pfunc(exc_ctx_arg, sb_stream_arg);
688 auto pfunc = self.ResolveName<PythonCallable>(callee_name);
690 if (!pfunc.IsAllocated())
701 PythonObject result = pfunc();
713 auto pfunc = self.ResolveName<PythonCallable>("num_children");
715 if (!pfunc.IsAllocated())
718 auto arg_info = pfunc.GetArgInfo();
726 ret_val = unwrapOrSetPythonException(As<long long>(pfunc.Call()));
728 ret_val = unwrapOrSetPythonException(As<long long>(pfunc.Call(PythonInteger(max))));
753 auto pfunc = self.ResolveName<PythonCallable>("get_child_at_index");
755 if (!pfunc.IsAllocated())
758 PythonObject result = pfunc(PythonInteger(idx));
783 auto pfunc = self.ResolveName<PythonCallable>("get_child_index");
785 if (!pfunc.IsAllocated())
788 llvm::Expected<PythonObject> result = pfunc.Call(PythonString(child_name));
938 … auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(python_function_name, dict);
940 if (!pfunc.IsAllocated())
945 auto argc = pfunc.GetArgInfo();
955 pfunc(debugger_arg, PythonString(args), cmd_retobj_arg, dict);
957 pfunc(debugger_arg, PythonString(args), exe_ctx_arg, cmd_retobj_arg, dict);
979 auto pfunc = self.ResolveName<PythonCallable>("__call__");
981 if (!pfunc.IsAllocated())
990 pfunc(debugger_arg, PythonString(args), exe_ctx_arg, cmd_retobj_arg);
1009 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(python_class_name, dict);
1011 if (!pfunc.IsAllocated())
1021 auto result = pfunc(process_arg);
1042 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(python_class_name, dict);
1044 if (!pfunc.IsAllocated())
1047 auto result = pfunc();
1081 auto pfunc = py_module.ResolveName<PythonCallable>("get_dynamic_setting");
1083 if (!pfunc.IsAllocated())
1088 auto result = pfunc(target_arg, PythonString(setting));
1107 … auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(python_function_name, dict);
1109 if (!pfunc.IsAllocated())
1114 auto result = pfunc(process_arg, dict);
1135 … auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(python_function_name, dict);
1137 if (!pfunc.IsAllocated())
1142 auto result = pfunc(thread_arg, dict);
1163 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(python_function_name,dict);
1165 if (!pfunc.IsAllocated())
1170 auto result = pfunc(target_arg, dict);
1191 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(python_function_name,dict);
1193 if (!pfunc.IsAllocated())
1198 auto result = pfunc(frame_arg, dict);
1219 … auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(python_function_name, dict);
1221 if (!pfunc.IsAllocated())
1226 auto result = pfunc(value_arg, dict);
1248 … auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(python_function_name, dict);
1252 if (!pfunc.IsAllocated())
1257 pfunc(debugger_arg, dict);