Lines Matching defs:PythonDictionary
165 if (PythonDictionary::Check(m_py_obj))
204 const PythonDictionary &dict) {
269 return PythonDictionary(PyRefType::Borrowed, m_py_obj)
652 // PythonDictionary
654 PythonDictionary::PythonDictionary(PyInitialValue value) {
656 *this = Take<PythonDictionary>(PyDict_New());
659 bool PythonDictionary::Check(PyObject *py_obj) {
666 bool PythonDictionary::HasKey(const llvm::Twine &key) const {
680 uint32_t PythonDictionary::GetSize() const {
686 PythonList PythonDictionary::GetKeys() const {
692 PythonObject PythonDictionary::GetItemForKey(const PythonObject &key) const {
702 PythonDictionary::GetItem(const PythonObject &key) const {
713 Expected<PythonObject> PythonDictionary::GetItem(const Twine &key) const {
724 Error PythonDictionary::SetItem(const PythonObject &key,
734 Error PythonDictionary::SetItem(const Twine &key,
744 void PythonDictionary::SetItemForKey(const PythonObject &key,
752 PythonDictionary::CreateStructuredDictionary() const {
800 PythonDictionary PythonModule::GetDictionary() const {
802 return PythonDictionary();
803 return Retain<PythonDictionary>(PyModule_GetDict(m_py_obj));
1468 PythonDictionary globals(PyInitialValue::Empty);
1487 const PythonDictionary &globals,
1488 const PythonDictionary &locals) {
1513 const PythonDictionary &globals,
1514 const PythonDictionary &locals) {