Lines Matching refs:PythonDictionary
163 if (PythonDictionary::Check(m_py_obj))
202 const PythonDictionary &dict) {
267 return PythonDictionary(PyRefType::Borrowed, m_py_obj)
650 // PythonDictionary
652 PythonDictionary::PythonDictionary(PyInitialValue value) {
654 *this = Take<PythonDictionary>(PyDict_New());
657 bool PythonDictionary::Check(PyObject *py_obj) {
664 bool PythonDictionary::HasKey(const llvm::Twine &key) const {
678 uint32_t PythonDictionary::GetSize() const {
684 PythonList PythonDictionary::GetKeys() const {
690 PythonObject PythonDictionary::GetItemForKey(const PythonObject &key) const {
700 PythonDictionary::GetItem(const PythonObject &key) const {
711 Expected<PythonObject> PythonDictionary::GetItem(const Twine &key) const {
722 Error PythonDictionary::SetItem(const PythonObject &key,
732 Error PythonDictionary::SetItem(const Twine &key,
742 void PythonDictionary::SetItemForKey(const PythonObject &key,
750 PythonDictionary::CreateStructuredDictionary() const {
798 PythonDictionary PythonModule::GetDictionary() const {
800 return PythonDictionary();
801 return Retain<PythonDictionary>(PyModule_GetDict(m_py_obj));
1423 PythonDictionary globals(PyInitialValue::Empty);
1442 const PythonDictionary &globals,
1443 const PythonDictionary &locals) {
1468 const PythonDictionary &globals,
1469 const PythonDictionary &locals) {