/third_party/python/Modules/ |
H A D | xxsubtype.c | 182 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.c | 2096 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.c | 4335 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.c | 386 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.c | 5194 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 D | dictobject.h | 15 PyAPI_DATA(PyTypeObject) PyDict_Type; 19 #define PyDict_CheckExact(op) Py_IS_TYPE(op, &PyDict_Type)
|
/third_party/python/Objects/ |
H A D | odictobject.c | 1364 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 D | dictobject.c | 129 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 D | object.c | 1890 &PyDict_Type, 1972 &PyODict_Type, // base=&PyDict_Type
|
H A D | typeobject.c | 3300 &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 D | stgdict.c | 32 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.c | 2869 &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 D | specialize.c | 1212 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 D | bltinmodule.c | 3066 SETBUILTIN("dict", &PyDict_Type); in _PyBuiltin_Init()
|
H A D | compile.c | 4703 return &PyDict_Type; in infer_type()
|
/third_party/python/PC/ |
H A D | python3dll.c | 757 EXPORT_DATA(PyDict_Type)
|
/third_party/protobuf/python/google/protobuf/pyext/ |
H A D | message.cc | 208 &PyDict_Type, &dict)) { in New()
|