Home
last modified time | relevance | path

Searched refs:PythonInteger (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/lldb/unittests/ScriptInterpreter/Python/
H A DPythonDataObjectsTests.cpp180 PythonInteger constructed_int(7); in TEST_F()
270 PythonInteger integer(7); in TEST_F()
326 PythonInteger integer(long_value0); in TEST_F()
379 PythonInteger int_value(1); in TEST_F()
393 PythonInteger int_value(1); in TEST_F()
405 PythonInteger int_value(1); in TEST_F()
418 PythonInteger int_value(1); in TEST_F()
444 py_keys[1] = PythonInteger(key_1); in TEST_F()
485 values[0] = PythonInteger(value_0); in TEST_F()
541 PythonInteger one(1); in TEST_F()
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonDataObjects.h71 class PythonInteger; variable
457 class PythonInteger : public TypedPythonObject<PythonInteger> {
461 PythonInteger() : TypedPythonObject() {} // MSVC requires this for some reason
463 explicit PythonInteger(int64_t value);
H A DPythonDataObjects.cpp172 if (PythonInteger::Check(m_py_obj)) in GetObjectType()
272 return PythonInteger(PyRefType::Borrowed, m_py_obj) in CreateStructuredObject()
447 PythonInteger::PythonInteger(int64_t value) { SetInteger(value); } in PythonInteger() function in PythonInteger
449 bool PythonInteger::Check(PyObject *py_obj) { in Check()
458 void PythonInteger::SetInteger(int64_t value) { in SetInteger()
459 *this = Take<PythonInteger>(PyLong_FromLongLong(value)); in SetInteger()
462 StructuredData::IntegerSP PythonInteger::CreateStructuredInteger() const { in CreateStructuredInteger()
/llvm-project-15.0.7/lldb/bindings/python/
H A Dpython-wrapper.swig597 As<long long>(pfunc.Call(PythonInteger(max))));
621 PythonObject result = pfunc(PythonInteger(idx));