Lines Matching refs:PythonString
65 auto str = Take<PythonString>(str_obj); in As()
159 if (PythonString::Check(m_py_obj)) in GetObjectType()
178 PythonString PythonObject::Repr() const { in Repr()
180 return PythonString(); in Repr()
183 return PythonString(); in Repr()
184 return PythonString(PyRefType::Owned, repr); in Repr()
187 PythonString PythonObject::Str() const { in Str()
189 return PythonString(); in Str()
192 return PythonString(); in Str()
193 return PythonString(PyRefType::Owned, str); in Str()
201 PythonObject result = dict.GetItemForKey(PythonString(piece)); in ResolveNameWithDictionary()
243 PythonString py_attr(attr); in HasAttribute()
251 PythonString py_attr(attr); in GetAttributeValue()
273 return PythonString(PyRefType::Borrowed, m_py_obj).CreateStructuredString(); in CreateStructuredObject()
371 Expected<PythonString> PythonString::FromUTF8(llvm::StringRef string) { in FromUTF8()
379 return Take<PythonString>(str); in FromUTF8()
382 PythonString::PythonString(llvm::StringRef string) { SetString(string); } in PythonString() function in PythonString
384 bool PythonString::Check(PyObject *py_obj) { in Check()
397 void PythonString::Convert(PyRefType &type, PyObject *&py_obj) { in Convert()
419 llvm::StringRef PythonString::GetString() const { in GetString()
428 Expected<llvm::StringRef> PythonString::AsUTF8() const { in AsUTF8()
451 size_t PythonString::GetSize() const { in GetSize()
466 void PythonString::SetString(llvm::StringRef string) { in SetString()
476 StructuredData::StringSP PythonString::CreateStructuredString() const { in CreateStructuredString()
1123 PythonString py_mode = obj.GetAttributeValue("mode").AsType<PythonString>(); in GetOptionsForPyObject()
1359 PythonString::FromUTF8(llvm::StringRef((const char *)buf, num_bytes)); in Write()
1382 auto pystring = As<PythonString>( in Read()