Home
last modified time | relevance | path

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

/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonDataObjects.cpp167 if (PythonBytes::Check(m_py_obj)) in GetObjectType()
286 return PythonBytes(PyRefType::Borrowed, m_py_obj).CreateStructuredString(); in CreateStructuredObject()
300 PythonBytes::PythonBytes(llvm::ArrayRef<uint8_t> bytes) { SetBytes(bytes); }
302 PythonBytes::PythonBytes(const uint8_t *bytes, size_t length) { in PythonBytes() function in PythonBytes
306 bool PythonBytes::Check(PyObject *py_obj) { in PythonBytes()
312 llvm::ArrayRef<uint8_t> PythonBytes::GetBytes() const { in Check()
323 size_t PythonBytes::GetSize() const { in GetBytes()
329 void PythonBytes in GetSize()
304 PythonBytes::PythonBytes(const uint8_t *bytes, size_t length) { PythonBytes() function in PythonBytes
[all...]
H A DPythonDataObjects.h67 class PythonBytes; variable
424 class PythonBytes : public TypedPythonObject<PythonBytes> {
427 explicit PythonBytes(llvm::ArrayRef<uint8_t> bytes);
428 PythonBytes(const uint8_t *bytes, size_t length);
446 PythonByteArray(const PythonBytes &object);
/llvm-project/lldb/bindings/python/
H A Dpython-typemaps.swig249 } else if (PythonBytes::Check($input)) {
250 PythonBytes bytes(PyRefType::Borrowed, $input);
270 } else if (PythonBytes::Check($input)) {
271 PythonBytes bytes(PyRefType::Borrowed, $input);
304 PythonBytes bytes(static_cast<const uint8_t *>($1), result);
/llvm-project/lldb/unittests/ScriptInterpreter/Python/
H A DPythonDataObjectsTests.cpp223 EXPECT_TRUE(PythonBytes::Check(py_bytes)); in TEST_F()
224 PythonBytes python_bytes(PyRefType::Owned, py_bytes); in TEST_F()