Searched refs:PythonBytes (Results 1 – 4 of 4) sorted by relevance
167 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...]
67 class PythonBytes; variable424 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);
249 } 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);
223 EXPECT_TRUE(PythonBytes::Check(py_bytes)); in TEST_F() 224 PythonBytes python_bytes(PyRefType::Owned, py_bytes); in TEST_F()