Home
last modified time | relevance | path

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

12

/external/python/cpython2/Mac/Modules/
DNav.c464 } else if (!PyArg_ParseTuple(args, "O!", &PyDict_Type, &dict)) in nav_NavGetFile()
498 } else if (!PyArg_ParseTuple(args, "O!", &PyDict_Type, &dict)) in nav_NavPutFile()
531 } else if (!PyArg_ParseTuple(args, "lO!", &action, &PyDict_Type, &dict)) in nav_NavAskSaveChanges()
560 } else if (!PyArg_ParseTuple(args, "O!", &PyDict_Type, &dict)) in nav_NavCustomAskSaveChanges()
589 } else if (!PyArg_ParseTuple(args, "O!", &PyDict_Type, &dict)) in nav_NavAskDiscardChanges()
622 } else if (!PyArg_ParseTuple(args, "O!", &PyDict_Type, &dict)) in nav_NavChooseFile()
655 } else if (!PyArg_ParseTuple(args, "O!", &PyDict_Type, &dict)) in nav_NavChooseFolder()
688 } else if (!PyArg_ParseTuple(args, "O!", &PyDict_Type, &dict)) in nav_NavChooseVolume()
721 } else if (!PyArg_ParseTuple(args, "O!", &PyDict_Type, &dict)) in nav_NavChooseObject()
753 } else if (!PyArg_ParseTuple(args, "O!", &PyDict_Type, &dict)) in nav_NavNewFolder()
/external/python/cpython2/Modules/
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 initxxsubtype()
D_collectionsmodule.c1574 PyDict_Type.tp_dealloc((PyObject *)dd); in defdict_dealloc()
1594 sts = PyDict_Type.tp_print((PyObject *)dd, fp, 0); in defdict_print()
1607 baserepr = PyDict_Type.tp_repr((PyObject *)dd); in defdict_repr()
1642 return PyDict_Type.tp_traverse(self, visit, arg); in defdict_traverse()
1649 return PyDict_Type.tp_clear((PyObject *)dd); in defdict_tp_clear()
1678 result = PyDict_Type.tp_init(self, newargs, kwds); in defdict_init()
1730 DEFERRED_ADDRESS(&PyDict_Type), /* tp_base */
1763 defdict_type.tp_base = &PyDict_Type; in init_collections()
D_weakref.c28 &PyDict_Type, &dct, &key)) { in remove_dead_weakref()
D_json.c984 rval = PyObject_CallFunctionObjArgs((PyObject *)(&PyDict_Type), in _parse_object_str()
1111 rval = PyObject_CallFunctionObjArgs((PyObject *)(&PyDict_Type), in _parse_object_unicode()
/external/python/cpython3/Modules/
Dxxsubtype.c182 if (PyDict_Type.tp_init((PyObject *)self, args, kwds) < 0) in spamdict_init()
225 DEFERRED_ADDRESS(&PyDict_Type), /* tp_base */
267 spamdict_type.tp_base = &PyDict_Type; in xxsubtype_exec()
D_collectionsmodule.c2097 PyDict_Type.tp_dealloc((PyObject *)dd); in defdict_dealloc()
2106 baserepr = PyDict_Type.tp_repr((PyObject *)dd); in defdict_repr()
2173 return PyDict_Type.tp_traverse(self, visit, arg); in defdict_traverse()
2180 return PyDict_Type.tp_clear((PyObject *)dd); in defdict_tp_clear()
2209 result = PyDict_Type.tp_init(self, newargs, kwds); in defdict_init()
2261 DEFERRED_ADDRESS(&PyDict_Type), /* tp_base */
2308 dict_get = _PyType_LookupId(&PyDict_Type, &PyId_get); in _collections__count_elements_impl()
2310 dict_setitem = _PyType_LookupId(&PyDict_Type, &PyId___setitem__); in _collections__count_elements_impl()
2583 defdict_type.tp_base = &PyDict_Type; in collections_exec()
D_pickle.c4323 if (type == &PyDict_Type) { in save()
4877 Py_INCREF((PyObject *)&PyDict_Type); in _pickle_PicklerMemoProxy___reduce___impl()
4878 PyTuple_SET_ITEM(reduce_value, 0, (PyObject *)&PyDict_Type); in _pickle_PicklerMemoProxy___reduce___impl()
7432 Py_INCREF((PyObject *)&PyDict_Type); in _pickle_UnpicklerMemoProxy___reduce___impl()
7433 PyTuple_SET_ITEM(reduce_value, 0, (PyObject *)&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/cpython2/Include/
Ddictobject.h91 PyAPI_DATA(PyTypeObject) PyDict_Type;
101 #define PyDict_CheckExact(op) (Py_TYPE(op) == &PyDict_Type)
/external/python/cpython2/Modules/_sqlite/
Dsqlitecompat.h39 #define PyDict_CheckExact(op) ((op)->ob_type == &PyDict_Type)
/external/python/cpython3/Objects/
Dodictobject.c1418 PyDict_Type.tp_dealloc((PyObject *)self); in odict_dealloc()
1510 return PyDict_Type.tp_traverse((PyObject *)od, visit, arg); in odict_traverse()
1537 cmp = PyDict_Type.tp_richcompare(v, w, op); in odict_richcompare()
1628 &PyDict_Type, /* tp_base */
1647 return PyDict_Type.tp_new(&PyODict_Type, NULL, NULL); in PyODict_New()
Ddictobject.c622 assert (Py_IS_TYPE(mp, &PyDict_Type)); in new_dict()
628 mp = PyObject_GC_New(PyDictObject, &PyDict_Type); in new_dict()
2029 if (numfree < PyDict_MAXFREELIST && Py_IS_TYPE(mp, &PyDict_Type)) { in dict_dealloc()
2689 split_copy = PyObject_GC_New(PyDictObject, &PyDict_Type); in PyDict_Copy()
3349 if (type == &PyDict_Type) in dict_new()
3418 PyTypeObject PyDict_Type = { variable
/external/python/cpython2/Modules/_ctypes/
Dstgdict.c22 if (PyDict_Type.tp_init((PyObject *)self, args, kwds) < 0) in PyCStgDict_init()
48 PyDict_Type.tp_dealloc((PyObject *)self); in PyCStgDict_dealloc()
Dctypes.h11 #define PyDict_CheckExact(ob) (Py_TYPE(ob) == &PyDict_Type)
/external/python/cpython2/PC/os2vacpp/
Dpython.def14 PyDict_Type
/external/python/cpython3/Modules/_ctypes/
Dstgdict.c22 if (PyDict_Type.tp_init((PyObject *)self, args, kwds) < 0) in PyCStgDict_init()
48 PyDict_Type.tp_dealloc((PyObject *)self); in PyCStgDict_dealloc()
/external/python/cpython2/Objects/
Ddictobject.c261 assert (Py_TYPE(mp) == &PyDict_Type); in PyDict_New()
277 mp = PyObject_GC_New(PyDictObject, &PyDict_Type); in PyDict_New()
1091 if (numfree < PyDict_MAXFREELIST && Py_TYPE(mp) == &PyDict_Type) in dict_dealloc()
2419 if (type == &PyDict_Type) in dict_new()
2457 PyTypeObject PyDict_Type = { variable
Dfuncobject.c378 &PyDict_Type, &globals, in func_new()
/external/python/cpython2/Doc/c-api/
Ddict.rst16 .. c:var:: PyTypeObject PyDict_Type
/external/python/cpython3/PC/
Dpython3.def111 PyDict_Type=python39.PyDict_Type DATA
/external/python/cpython3/Doc/c-api/
Ddict.rst16 .. c:var:: PyTypeObject PyDict_Type
/external/python/cpython2/RISCOS/Modules/
Ddrawfmodule.c334 if(!PyArg_ParseTuple(arg,"O!",&PyDict_Type,&d)) return NULL; in DrawF_FontTable()
/external/python/cpython2/PC/os2emx/
Dpython27.def285 "PyDict_Type"
/external/python/cpython2/Python/
Dbltinmodule.c739 &PyDict_Type, &globals, in builtin_execfile()
2731 SETBUILTIN("dict", &PyDict_Type); in _PyBuiltin_Init()

12