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.cpp169 if (PythonByteArray::Check(m_py_obj)) in GetObjectType()
288 return PythonByteArray(PyRefType::Borrowed, m_py_obj) in CreateStructuredObject()
343 PythonByteArray::PythonByteArray(llvm::ArrayRef<uint8_t> bytes) in PythonByteArray() function in PythonByteArray
344 : PythonByteArray(bytes.data(), bytes.size()) {} in PythonByteArray()
346 PythonByteArray::PythonByteArray(const uint8_t *bytes, size_t length) { in PythonByteArray() function in PythonByteArray
348 *this = Take<PythonByteArray>(PyByteArray_FromStringAndSize(str, length)); in PythonByteArray()
351 bool PythonByteArray::Check(PyObject *py_obj) { in Check()
357 llvm::ArrayRef<uint8_t> PythonByteArray::GetBytes() const { in GetBytes()
366 size_t PythonByteArray::GetSize() const { in GetSize()
373 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);