Home
last modified time | relevance | path

Searched refs:PyDict_Type (Results 1 – 25 of 28) sorted by relevance

12

/external/python/cpython3/Modules/
Dxxsubtype.c180 if (PyDict_Type.tp_init((PyObject *)self, args, kwds) < 0) in spamdict_init()
223 DEFERRED_ADDRESS(&PyDict_Type), /* tp_base */
267 spamdict_type.tp_base = &PyDict_Type; in xxsubtype_exec()
D_collectionsmodule.c2315 PyDict_Type.tp_dealloc((PyObject *)dd); in defdict_dealloc()
2325 baserepr = PyDict_Type.tp_repr((PyObject *)dd); in defdict_repr()
2402 return PyDict_Type.tp_traverse(self, visit, arg); in defdict_traverse()
2409 return PyDict_Type.tp_clear((PyObject *)dd); in defdict_tp_clear()
2437 result = PyDict_Type.tp_init(self, newargs, kwds); in defdict_init()
2515 dict_get = _PyType_Lookup(&PyDict_Type, &_Py_ID(get)); in _collections__count_elements_impl()
2517 dict_setitem = _PyType_Lookup(&PyDict_Type, &_Py_ID(__setitem__)); in _collections__count_elements_impl()
2802 ADD_TYPE(module, &defdict_spec, state->defdict_type, &PyDict_Type); in collections_exec()
D_testcapimodule.c1898 if (!PyArg_ParseTuple(args, "O!", &PyDict_Type, &dict)) in dict_get_version()
2146 PyObject *pykwargs = PyObject_Vectorcall((PyObject*)&PyDict_Type, in meth_fastcall_keywords()
2158 if (!PyArg_ParseTuple(args, "OO!|O!", &func, &PyTuple_Type, &pos_args, &PyDict_Type, &kwargs)) { in test_pycfunction_call()
2692 &PyDict_Type, &kwargs, in eval_eval_code_ex()
D_elementtree.c418 if (!PyArg_ParseTuple(args, "O|O!:Element", &tag, &PyDict_Type, &attrib)) in element_init()
615 &PyDict_Type, &attrib)) { in subelement()
D_pickle.c4333 if (type == &PyDict_Type) { in save()
4889 PyTuple_SET_ITEM(reduce_value, 0, Py_NewRef(&PyDict_Type)); in _pickle_PicklerMemoProxy___reduce___impl()
7358 PyTuple_SET_ITEM(reduce_value, 0, Py_NewRef(&PyDict_Type)); in _pickle_UnpicklerMemoProxy___reduce___impl()
/external/python/cpython3/Include/
Ddictobject.h15 PyAPI_DATA(PyTypeObject) PyDict_Type;
19 #define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
/external/python/cpython3/Objects/
Dodictobject.c1390 PyDict_Type.tp_dealloc((PyObject *)self); in odict_dealloc()
1442 return PyDict_Type.tp_traverse((PyObject *)od, visit, arg); in odict_traverse()
1469 cmp = PyDict_Type.tp_richcompare(v, w, op); in odict_richcompare()
1559 &PyDict_Type, /* tp_base */
1578 return PyDict_Type.tp_new(&PyODict_Type, NULL, NULL); in PyODict_New()
Dnamespaceobject.c56 dict = PyObject_CallOneArg((PyObject *)&PyDict_Type, arg); in namespace_init()
Ddictobject.c922 assert (Py_IS_TYPE(mp, &PyDict_Type)); in new_dict()
929 mp = PyObject_GC_New(PyDictObject, &PyDict_Type); in new_dict()
3184 Py_IS_TYPE(mp, &PyDict_Type)) { in dict_dealloc()
3962 split_copy = PyObject_GC_New(PyDictObject, &PyDict_Type); in copy_lock_held()
4757 if (type != &PyDict_Type) { in dict_new()
4825 PyTypeObject PyDict_Type = { variable
Dobject.c2273 &PyDict_Type,
Dtypeobject.c4271 &PyDict_Type, &orig_dict)) in type_new()
7461 else if (is_subtype_with_mro(mro, base, &PyDict_Type)) { in inherit_special()
10920 || type == &PyDict_Type in expect_manually_inherited()
/external/pytorch/torch/csrc/utils/
Ddisable_torch_function.cpp296 tp == &PyList_Type || tp == &PyTuple_Type || tp == &PyDict_Type || in is_basic_python_type()
/external/python/cpython3/Python/
Dspecialize.c1574 if (container_type == &PyDict_Type) { in _Py_Specialize_BinarySubscr()
1655 if (container_type == &PyDict_Type) { in _Py_Specialize_StoreSubscr()
1662 == PyDict_Type.tp_as_mapping->mp_ass_subscript)) { in _Py_Specialize_StoreSubscr()
Dbltinmodule.c3173 SETBUILTIN("dict", &PyDict_Type); in _PyBuiltin_Init()
/external/python/cpython3/Tools/c-analyzer/cpython/
Dglobals-to-fix.tsv40 Objects/dictobject.c - PyDict_Type -
/external/python/cpython3/PC/
Dpython3dll.c803 EXPORT_DATA(PyDict_Type)
/external/python/cpython3/Doc/data/
Dstable_abi.dat129 data,PyDict_Type,3.2,,
/external/tensorflow/tensorflow/compiler/xla/python/
Dpytree.cc61 add_builtin_type(&PyDict_Type, PyTreeKind::kDict); in Singleton()
/external/python/cpython3/Doc/c-api/
Ddict.rst16 .. c:var:: PyTypeObject PyDict_Type
/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/upb/python/
Dmessage.c1785 &name, &PyTuple_Type, &bases, &PyDict_Type, in PyUpb_MessageMeta_New()
/external/python/cpython3/Tools/c-analyzer/
DTODO653 Objects/dictobject.c:PyDict_Type PyTypeObject PyDict_Type
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc208 &PyTuple_Type, &bases, &PyDict_Type, &dict)) { in New()
/external/cronet/tot/third_party/protobuf/python/google/protobuf/pyext/
Dmessage.cc208 &PyTuple_Type, &bases, &PyDict_Type, &dict)) { in New()
/external/python/cpython3/Misc/
Dstable_abi.toml597 [data.PyDict_Type]
/external/cronet/stable/third_party/protobuf/python/google/protobuf/pyext/
Dmessage.cc208 &PyTuple_Type, &bases, &PyDict_Type, &dict)) { in New()

12