Lines Matching refs:PythonBytes
76 if (PythonBytes::Check(m_py_obj)) in GetObjectType()
190 return PythonBytes(PyRefType::Borrowed, m_py_obj).CreateStructuredString(); in CreateStructuredObject()
204 PythonBytes::PythonBytes() : PythonObject() {} in PythonBytes() function in PythonBytes
206 PythonBytes::PythonBytes(llvm::ArrayRef<uint8_t> bytes) : PythonObject() { in PythonBytes() function in PythonBytes
210 PythonBytes::PythonBytes(const uint8_t *bytes, size_t length) : PythonObject() { in PythonBytes() function in PythonBytes
214 PythonBytes::PythonBytes(PyRefType type, PyObject *py_obj) : PythonObject() { in PythonBytes() function in PythonBytes
218 PythonBytes::PythonBytes(const PythonBytes &object) : PythonObject(object) {} in PythonBytes() function in PythonBytes
220 PythonBytes::~PythonBytes() {} in ~PythonBytes()
222 bool PythonBytes::Check(PyObject *py_obj) { in Check()
228 void PythonBytes::Reset(PyRefType type, PyObject *py_obj) { in Reset()
233 if (!PythonBytes::Check(py_obj)) { in Reset()
243 llvm::ArrayRef<uint8_t> PythonBytes::GetBytes() const { in GetBytes()
254 size_t PythonBytes::GetSize() const { in GetSize()
260 void PythonBytes::SetBytes(llvm::ArrayRef<uint8_t> bytes) { in SetBytes()
266 StructuredData::StringSP PythonBytes::CreateStructuredString() const { in CreateStructuredString()
287 PythonByteArray::PythonByteArray(const PythonBytes &object) in PythonByteArray()