Lines Matching defs:python

60       const python::PythonDictionary &class_dict) const {
62 using namespace python;
119 using namespace python;
151 PythonModule::MainModule().ResolveName<python::PythonDictionary>(
158 PythonObject::ResolveNameWithDictionary<python::PythonCallable>(
330 T ExtractValueFromPythonObject(python::PythonObject &p, Status &error) {
336 using namespace python;
382 // Now that we called the python method with the transformed arguments,
410 python::PythonObject Transform(bool arg) {
411 // Boolean arguments need to be turned into python objects.
412 return python::PythonBoolean(arg);
415 python::PythonObject Transform(const Status &arg) {
416 return python::SWIGBridge::ToSWIGWrapper(arg.Clone());
419 python::PythonObject Transform(Status &&arg) {
420 return python::SWIGBridge::ToSWIGWrapper(std::move(arg));
423 python::PythonObject Transform(const StructuredDataImpl &arg) {
424 return python::SWIGBridge::ToSWIGWrapper(arg);
427 python::PythonObject Transform(lldb::ExecutionContextRefSP arg) {
428 return python::SWIGBridge::ToSWIGWrapper(arg);
431 python::PythonObject Transform(lldb::TargetSP arg) {
432 return python::SWIGBridge::ToSWIGWrapper(arg);
435 python::PythonObject Transform(lldb::ProcessSP arg) {
436 return python::SWIGBridge::ToSWIGWrapper(arg);
439 python::PythonObject Transform(lldb::ThreadPlanSP arg) {
440 return python::SWIGBridge::ToSWIGWrapper(arg);
443 python::PythonObject Transform(lldb::ProcessAttachInfoSP arg) {
444 return python::SWIGBridge::ToSWIGWrapper(arg);
447 python::PythonObject Transform(lldb::ProcessLaunchInfoSP arg) {
448 return python::SWIGBridge::ToSWIGWrapper(arg);
451 python::PythonObject Transform(Event *arg) {
452 return python::SWIGBridge::ToSWIGWrapper(arg);
455 python::PythonObject Transform(lldb::StreamSP arg) {
456 return python::SWIGBridge::ToSWIGWrapper(arg.get());
459 python::PythonObject Transform(lldb::DataExtractorSP arg) {
460 return python::SWIGBridge::ToSWIGWrapper(arg);
470 void ReverseTransform(T &original_arg, python::PythonObject transformed_arg,
476 python::PythonObject transformed_arg, Status &error) {
477 python::PythonBoolean boolean_arg = python::PythonBoolean(
478 python::PyRefType::Borrowed, transformed_arg.get());
532 fmt += python::PythonFormat<T>::format;
544 python::PythonObject &p, Status &error);
549 StructuredData::DictionarySP>(python::PythonObject &p, Status &error);
553 python::PythonObject &p, Status &error);
557 python::PythonObject &p, Status &error);
562 python::PythonObject &p, Status &error);
567 python::PythonObject &p, Status &error);
571 lldb::ProcessAttachInfoSP>(python::PythonObject &p, Status &error);
575 lldb::ProcessLaunchInfoSP>(python::PythonObject &p, Status &error);
580 python::PythonObject &p, Status &error);
585 std::optional<MemoryRegionInfo>>(python::PythonObject &p, Status &error);
590 lldb::ExecutionContextRefSP>(python::PythonObject &p, Status &error);