Home
last modified time | relevance | path

Searched refs:PythonByteArray (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonDataObjects.cpp171 if (PythonByteArray::Check(m_py_obj)) in GetObjectType()
290 return PythonByteArray(PyRefType::Borrowed, m_py_obj) in CreateStructuredObject()
345 PythonByteArray::PythonByteArray(llvm::ArrayRef<uint8_t> bytes) in PythonByteArray() function in PythonByteArray
346 : PythonByteArray(bytes.data(), bytes.size()) {} in PythonByteArray()
348 PythonByteArray::PythonByteArray(const uint8_t *bytes, size_t length) { in PythonByteArray() function in PythonByteArray
350 *this = Take<PythonByteArray>(PyByteArray_FromStringAndSize(str, length)); in PythonByteArray()
353 bool PythonByteArray::Check(PyObject *py_obj) { in Check()
359 llvm::ArrayRef<uint8_t> PythonByteArray::GetBytes() const { in GetBytes()
368 size_t PythonByteArray::GetSize() const { in GetSize()
375 StructuredData::StringSP PythonByteArray::CreateStructuredString() const { in CreateStructuredString()
H A DPythonDataObjects.h441 class PythonByteArray : public TypedPythonObject<PythonByteArray> {
444 explicit PythonByteArray(llvm::ArrayRef<uint8_t> bytes);
445 PythonByteArray(const uint8_t *bytes, size_t length);
446 PythonByteArray(const PythonBytes &object);
/freebsd/contrib/llvm-project/lldb/bindings/python/
H A Dpython-typemaps.swig245 } else if (PythonByteArray::Check($input)) {
246 PythonByteArray bytearray(PyRefType::Borrowed, $input);
266 } else if (PythonByteArray::Check($input)) {
267 PythonByteArray bytearray(PyRefType::Borrowed, $input);