Lines Matching defs:python
44 const python::PythonDictionary &class_dict) const {
46 using namespace python;
78 using namespace python;
107 PythonModule::MainModule().ResolveName<python::PythonDictionary>(
115 PythonObject::ResolveNameWithDictionary<python::PythonCallable>(
227 T ExtractValueFromPythonObject(python::PythonObject &p, Status &error) {
233 using namespace python;
279 // Now that we called the python method with the transformed arguments,
307 python::PythonObject Transform(bool arg) {
308 // Boolean arguments need to be turned into python objects.
309 return python::PythonBoolean(arg);
312 python::PythonObject Transform(Status arg) {
313 return python::SWIGBridge::ToSWIGWrapper(arg);
316 python::PythonObject Transform(const StructuredDataImpl &arg) {
317 return python::SWIGBridge::ToSWIGWrapper(arg);
320 python::PythonObject Transform(lldb::ExecutionContextRefSP arg) {
321 return python::SWIGBridge::ToSWIGWrapper(arg);
324 python::PythonObject Transform(lldb::ProcessSP arg) {
325 return python::SWIGBridge::ToSWIGWrapper(arg);
328 python::PythonObject Transform(lldb::ThreadPlanSP arg) {
329 return python::SWIGBridge::ToSWIGWrapper(arg);
332 python::PythonObject Transform(lldb::ProcessAttachInfoSP arg) {
333 return python::SWIGBridge::ToSWIGWrapper(arg);
336 python::PythonObject Transform(lldb::ProcessLaunchInfoSP arg) {
337 return python::SWIGBridge::ToSWIGWrapper(arg);
340 python::PythonObject Transform(Event *arg) {
341 return python::SWIGBridge::ToSWIGWrapper(arg);
344 python::PythonObject Transform(lldb::StreamSP arg) {
345 return python::SWIGBridge::ToSWIGWrapper(arg.get());
348 python::PythonObject Transform(lldb::DataExtractorSP arg) {
349 return python::SWIGBridge::ToSWIGWrapper(arg);
359 void ReverseTransform(T &original_arg, python::PythonObject transformed_arg,
365 python::PythonObject transformed_arg, Status &error) {
366 python::PythonBoolean boolean_arg = python::PythonBoolean(
367 python::PyRefType::Borrowed, transformed_arg.get());
422 fmt += python::PythonFormat<T>::format;
434 python::PythonObject &p, Status &error);
439 StructuredData::DictionarySP>(python::PythonObject &p, Status &error);
443 python::PythonObject &p, Status &error);
447 python::PythonObject &p, Status &error);
452 python::PythonObject &p, Status &error);
457 python::PythonObject &p, Status &error);
461 lldb::ProcessAttachInfoSP>(python::PythonObject &p, Status &error);
465 lldb::ProcessLaunchInfoSP>(python::PythonObject &p, Status &error);
470 python::PythonObject &p, Status &error);
475 std::optional<MemoryRegionInfo>>(python::PythonObject &p, Status &error);