Home
last modified time | relevance | path

Searched refs:PyDict_Type (Results 1 - 17 of 17) sorted by relevance

/third_party/python/Modules/
H A Dxxsubtype.c182 if (PyDict_Type.tp_init((PyObject *)self, args, kwds) < 0) in spamdict_init()
225 DEFERRED_ADDRESS(&PyDict_Type), /* tp_base */
269 spamdict_type.tp_base = &PyDict_Type; in xxsubtype_exec()
H A D_collectionsmodule.c2096 PyDict_Type.tp_dealloc((PyObject *)dd); in defdict_dealloc()
2105 baserepr = PyDict_Type.tp_repr((PyObject *)dd); in defdict_repr()
2172 return PyDict_Type.tp_traverse(self, visit, arg); in defdict_traverse()
2179 return PyDict_Type.tp_clear((PyObject *)dd); in defdict_tp_clear()
2208 result = PyDict_Type.tp_init(self, newargs, kwds); in defdict_init()
2260 DEFERRED_ADDRESS(&PyDict_Type), /* tp_base */
2306 dict_get = _PyType_Lookup(&PyDict_Type, &_Py_ID(get)); in _collections__count_elements_impl()
2308 dict_setitem = _PyType_Lookup(&PyDict_Type, &_Py_ID(__setitem__)); in _collections__count_elements_impl()
2583 defdict_type.tp_base = &PyDict_Type; in collections_exec()
H A D_pickle.c4335 if (type == &PyDict_Type) { in save()
4884 Py_INCREF((PyObject *)&PyDict_Type); in _pickle_PicklerMemoProxy___reduce___impl()
4885 PyTuple_SET_ITEM(reduce_value, 0, (PyObject *)&PyDict_Type); in _pickle_PicklerMemoProxy___reduce___impl()
7385 Py_INCREF((PyObject *)&PyDict_Type); in _pickle_UnpicklerMemoProxy___reduce___impl()
7386 PyTuple_SET_ITEM(reduce_value, 0, (PyObject *)&PyDict_Type); in _pickle_UnpicklerMemoProxy___reduce___impl()
H A D_elementtree.c386 if (!PyArg_ParseTuple(args, "O|O!:Element", &tag, &PyDict_Type, &attrib)) in element_init()
587 &PyDict_Type, &attrib)) { in subelement()
759 memo: object(subclass_of="&PyDict_Type")
1545 attrib: object(subclass_of='&PyDict_Type')
3017 attrs: object(subclass_of='&PyDict_Type')
H A D_testcapimodule.c5194 if (!PyArg_ParseTuple(args, "O!", &PyDict_Type, &dict)) in dict_get_version()
5686 PyObject *pykwargs = PyObject_Vectorcall((PyObject*)&PyDict_Type, in meth_fastcall_keywords()
/third_party/python/Include/
H A Ddictobject.h15 PyAPI_DATA(PyTypeObject) PyDict_Type;
19 #define PyDict_CheckExact(op) Py_IS_TYPE(op, &PyDict_Type)
/third_party/python/Objects/
H A Dodictobject.c1364 PyDict_Type.tp_dealloc((PyObject *)self); in odict_dealloc()
1456 return PyDict_Type.tp_traverse((PyObject *)od, visit, arg); in odict_traverse()
1483 cmp = PyDict_Type.tp_richcompare(v, w, op); in odict_richcompare()
1574 &PyDict_Type, /* tp_base */
1593 return PyDict_Type.tp_new(&PyODict_Type, NULL, NULL); in PyODict_New()
H A Ddictobject.c129 class dict "PyDictObject *" "&PyDict_Type"
730 assert (Py_IS_TYPE(mp, &PyDict_Type)); in new_dict()
737 mp = PyObject_GC_New(PyDictObject, &PyDict_Type); in new_dict()
2386 if (state->numfree < PyDict_MAXFREELIST && Py_IS_TYPE(mp, &PyDict_Type)) { in dict_dealloc()
3037 split_copy = PyObject_GC_New(PyDictObject, &PyDict_Type); in PyDict_Copy()
3773 if (type != &PyDict_Type) { in dict_new()
3840 PyTypeObject PyDict_Type = { variable
H A Dobject.c1890 &PyDict_Type,
1972 &PyODict_Type, // base=&PyDict_Type
H A Dtypeobject.c3300 &PyDict_Type, &orig_dict)) in type_new()
5828 else if (PyType_IsSubtype(base, &PyDict_Type)) { in inherit_special()
/third_party/python/Modules/_ctypes/
H A Dstgdict.c32 if (PyDict_Type.tp_init((PyObject *)self, args, kwds) < 0) in PyCStgDict_init()
58 PyDict_Type.tp_dealloc((PyObject *)self); in PyCStgDict_dealloc()
H A D_ctypes.c2869 &PyDict_Type, &dict, &data, &len)) in PyCData_setstate()
5704 /* StgDict is derived from PyDict_Type */ in _ctypes_add_types()
5705 TYPE_READY_BASE(&PyCStgDict_Type, &PyDict_Type); in _ctypes_add_types()
/third_party/python/Python/
H A Dspecialize.c1212 if (container_type == &PyDict_Type) { in _Py_Specialize_BinarySubscr()
1291 if (container_type == &PyDict_Type) { in _Py_Specialize_StoreSubscr()
1298 == PyDict_Type.tp_as_mapping->mp_ass_subscript)) { in _Py_Specialize_StoreSubscr()
H A Dbltinmodule.c3066 SETBUILTIN("dict", &PyDict_Type); in _PyBuiltin_Init()
H A Dcompile.c4703 return &PyDict_Type; in infer_type()
/third_party/python/PC/
H A Dpython3dll.c757 EXPORT_DATA(PyDict_Type)
/third_party/protobuf/python/google/protobuf/pyext/
H A Dmessage.cc208 &PyDict_Type, &dict)) { in New()

Completed in 80 milliseconds