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()
/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.c2108 PyDict_Type.tp_dealloc((PyObject *)dd); in defdict_dealloc()
2117 baserepr = PyDict_Type.tp_repr((PyObject *)dd); in defdict_repr()
2152 return PyDict_Type.tp_traverse(self, visit, arg); in defdict_traverse()
2159 return PyDict_Type.tp_clear((PyObject *)dd); in defdict_tp_clear()
2188 result = PyDict_Type.tp_init(self, newargs, kwds); in defdict_init()
2240 DEFERRED_ADDRESS(&PyDict_Type), /* tp_base */
2283 dict_get = _PyType_LookupId(&PyDict_Type, &PyId_get); in _count_elements()
2285 dict_setitem = _PyType_LookupId(&PyDict_Type, &PyId___setitem__); in _count_elements()
2404 defdict_type.tp_base = &PyDict_Type; in PyInit__collections()
/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/Include/
Ddictobject.h50 PyAPI_DATA(PyTypeObject) PyDict_Type;
60 #define PyDict_CheckExact(op) (Py_TYPE(op) == &PyDict_Type)
/external/python/cpython3/Objects/clinic/
Dfuncobject.c.h39 &PyCode_Type, &code, &PyDict_Type, &globals, &name, &defaults, &closure)) { in func_new()
/external/python/cpython3/Modules/clinic/
D_weakref.c.h54 &PyDict_Type, &dct, &key)) { in _weakref__remove_dead_weakref()
D_sre.c.h508 …&pattern, &flags, &PyList_Type, &code, &groups, &PyDict_Type, &groupindex, &PyTuple_Type, &indexgr… in _sre_compile()
D_elementtree.c.h82 if (!PyArg_Parse(arg, "O!:__deepcopy__", &PyDict_Type, &memo)) { in _elementtree_Element___deepcopy__()
/external/python/cpython3/Objects/
Dodictobject.c1376 PyDict_Type.tp_dealloc((PyObject *)self); in odict_dealloc()
1470 return PyDict_Type.tp_traverse((PyObject *)od, visit, arg); in odict_traverse()
1498 cmp = PyDict_Type.tp_richcompare(v, w, op); in odict_richcompare()
1589 &PyDict_Type, /* tp_base */
1608 return PyDict_Type.tp_new(&PyODict_Type, NULL, NULL); in PyODict_New()
Ddictobject.c580 assert (Py_TYPE(mp) == &PyDict_Type); in new_dict()
584 mp = PyObject_GC_New(PyDictObject, &PyDict_Type); in new_dict()
1915 if (numfree < PyDict_MAXFREELIST && Py_TYPE(mp) == &PyDict_Type) in dict_dealloc()
2553 split_copy = PyObject_GC_New(PyDictObject, &PyDict_Type); in PyDict_Copy()
3164 if (type == &PyDict_Type) in dict_new()
3201 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/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/PC/os2vacpp/
Dpython.def14 PyDict_Type
/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/cpython3/PC/
Dpython3.def112 PyDict_Type=python37.PyDict_Type DATA
/external/python/cpython3/Doc/c-api/
Ddict.rst16 .. c:var:: PyTypeObject PyDict_Type
/external/python/cpython2/Doc/c-api/
Ddict.rst16 .. c:var:: PyTypeObject PyDict_Type
/external/python/cpython3/Lib/test/
Dclinic.test123 f: object(subclass_of="&PyDict_Type")
163 …e_Type, &b, &PyList_Type, &c, &PySet_Type, &d, &PyFrozenSet_Type, &e, &PyDict_Type, &f, &PyUnicode…

12