Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonDataObjects.cpp167 if (PythonByteArray::Check(m_py_obj)) in GetObjectType()
280 return PythonByteArray(PyRefType::Borrowed, m_py_obj) in CreateStructuredObject()
335 PythonByteArray::PythonByteArray(llvm::ArrayRef<uint8_t> bytes) in PythonByteArray() function in PythonByteArray
336 : PythonByteArray(bytes.data(), bytes.size()) {} in PythonByteArray()
338 PythonByteArray::PythonByteArray(const uint8_t *bytes, size_t length) { in PythonByteArray() function in PythonByteArray
340 *this = Take<PythonByteArray>(PyByteArray_FromStringAndSize(str, length)); in PythonByteArray()
343 bool PythonByteArray::Check(PyObject *py_obj) { in Check()
349 llvm::ArrayRef<uint8_t> PythonByteArray::GetBytes() const { in GetBytes()
358 size_t PythonByteArray::GetSize() const { in GetSize()
365 StructuredData::StringSP PythonByteArray::CreateStructuredString() const { in CreateStructuredString()
H A DPythonDataObjects.h429 class PythonByteArray : public TypedPythonObject<PythonByteArray> {
432 explicit PythonByteArray(llvm::ArrayRef<uint8_t> bytes);
433 PythonByteArray(const uint8_t *bytes, size_t length);
434 PythonByteArray(const PythonBytes &object);
/openbsd-src/gnu/llvm/lldb/bindings/python/
H A Dpython-typemaps.swig159 } else if (PythonByteArray::Check($input)) {
160 PythonByteArray bytearray(PyRefType::Borrowed, $input);
179 } else if (PythonByteArray::Check($input)) {
180 PythonByteArray bytearray(PyRefType::Borrowed, $input);