Home
last modified time | relevance | path

Searched refs:PyDict_CheckExact (Results 1 – 25 of 38) sorted by relevance

12

/external/python/cpython2/Modules/_sqlite/
Dsqlitecompat.h38 #ifndef PyDict_CheckExact
39 #define PyDict_CheckExact(op) ((op)->ob_type == &PyDict_Type) macro
Dstatement.c293 if (PyDict_CheckExact(parameters)) { in pysqlite_statement_bind_parameters()
/external/python/cpython3/Python/
Dceval.c1898 if (PyDict_CheckExact(f->f_builtins)) { in _PyEval_EvalFrameDefault()
1934 if (PyDict_CheckExact(ns)) in _PyEval_EvalFrameDefault()
2066 if (PyDict_CheckExact(locals)) { in _PyEval_EvalFrameDefault()
2082 if (PyDict_CheckExact(f->f_builtins)) { in _PyEval_EvalFrameDefault()
2111 if (PyDict_CheckExact(f->f_globals) in _PyEval_EvalFrameDefault()
2112 && PyDict_CheckExact(f->f_builtins)) in _PyEval_EvalFrameDefault()
2194 if (PyDict_CheckExact(locals)) { in _PyEval_EvalFrameDefault()
2399 if (PyDict_CheckExact(f->f_locals)) { in _PyEval_EvalFrameDefault()
2560 assert(PyDict_CheckExact(map)); in _PyEval_EvalFrameDefault()
3154 if (!PyDict_CheckExact(kwargs)) { in _PyEval_EvalFrameDefault()
[all …]
Dimport.c361 if (PyDict_CheckExact(modules)) { in PyImport_GetModule()
476 if (PyDict_CheckExact(modules)) { in PyImport_Cleanup()
506 if (PyDict_CheckExact(modules)) { in PyImport_Cleanup()
784 if (PyDict_CheckExact(modules)) { in _PyImport_AddModuleObject()
/external/python/cpython2/Include/
Ddictobject.h101 #define PyDict_CheckExact(op) (Py_TYPE(op) == &PyDict_Type) macro
/external/python/cpython3/Include/
Ddictobject.h60 #define PyDict_CheckExact(op) (Py_TYPE(op) == &PyDict_Type) macro
/external/python/cpython3/Objects/
Ddictobject.c265 assert(PyDict_CheckExact(op)); in PyDict_ClearFreeList()
622 assert(PyDict_CheckExact(orig)); in clone_combined_dict()
943 if (!PyDict_CheckExact(op) || !_PyObject_GC_IS_TRACKED(op)) in _PyDict_MaybeUntrack()
1215 if (!PyDict_CheckExact(op)) in make_keys_shared()
1815 if (PyDict_CheckExact(d) && ((PyDictObject *)d)->ma_used == 0) { in _PyDict_FromKeys()
1816 if (PyDict_CheckExact(iterable)) { in _PyDict_FromKeys()
1863 if (PyDict_CheckExact(d)) { in _PyDict_FromKeys()
2029 if (!PyDict_CheckExact(mp)) { in dict_subscript()
2573 if (PyDict_CheckExact(mp) && mp->ma_values == NULL && in PyDict_Copy()
Dsetobject.c983 if (PyDict_CheckExact(other)) { in set_update_internal()
1566 else if (PyDict_CheckExact(other)) { in set_difference()
1583 if (PyDict_CheckExact(other)) { in set_difference()
1681 if (PyDict_CheckExact(other)) { in set_symmetric_difference_update()
Dabstract.c2205 if (PyDict_CheckExact(o)) { in PyMapping_Keys()
2219 if (PyDict_CheckExact(o)) { in PyMapping_Items()
2233 if (PyDict_CheckExact(o)) { in PyMapping_Values()
Dtypeobject.c262 assert(PyDict_CheckExact(raw)); in PyType_Modified()
3326 assert(PyDict_CheckExact(raw)); in type___subclasses___impl()
5336 assert(PyDict_CheckExact(dict)); in add_subclass()
5376 assert(PyDict_CheckExact(dict)); in remove_subclass()
7353 assert(PyDict_CheckExact(subclasses)); in recurse_down_subclasses()
Dcall.c1357 assert(kwargs == NULL || PyDict_CheckExact(kwargs)); in _PyStack_UnpackDict()
/external/python/cpython2/Objects/
Ddictobject.c235 assert(PyDict_CheckExact(op)); in PyDict_Fini()
488 if (!PyDict_CheckExact(op) || !_PyObject_GC_IS_TRACKED(op)) in _PyDict_MaybeUntrack()
1257 if (!PyDict_CheckExact(mp)) { in dict_subscript()
1432 if (PyDict_CheckExact(d) && ((PyDictObject *)d)->ma_used == 0) { in dict_fromkeys()
1433 if (PyDict_CheckExact(seq)) { in dict_fromkeys()
1484 if (PyDict_CheckExact(d)) { in dict_fromkeys()
Dsetobject.c938 if (PyDict_CheckExact(other)) { in set_update_internal()
1534 if (!PyAnySet_Check(other) && !PyDict_CheckExact(other)) { in set_difference()
1548 if (PyDict_CheckExact(other)) { in set_difference()
1647 if (PyDict_CheckExact(other)) { in set_symmetric_difference_update()
/external/python/cpython3/Modules/_sqlite/
Dstatement.c284 if (PyDict_CheckExact(parameters)) { in pysqlite_statement_bind_parameters()
/external/python/cpython2/Modules/
D_functoolsmodule.c309 else if(!PyDict_CheckExact(kw)) in partial_setstate()
Dgcmodule.c526 if (PyDict_CheckExact(op)) in untrack_dicts()
D_elementtree.c109 #define PyDict_CheckExact PyDict_Check macro
317 if (PyDict_CheckExact(attrib) && !PyDict_Size(attrib)) in element_new()
/external/python/cpython3/Modules/
D_pickle.c226 if (!PyDict_CheckExact(st->dispatch_table)) { in _Pickle_InitState()
236 if (!PyDict_CheckExact(st->extension_registry)) { in _Pickle_InitState()
246 if (!PyDict_CheckExact(st->inverted_registry)) { in _Pickle_InitState()
255 if (!PyDict_CheckExact(st->extension_cache)) { in _Pickle_InitState()
271 if (!PyDict_CheckExact(st->name_mapping_2to3)) { in _Pickle_InitState()
281 if (!PyDict_CheckExact(st->import_mapping_2to3)) { in _Pickle_InitState()
292 if (!PyDict_CheckExact(st->name_mapping_3to2)) { in _Pickle_InitState()
302 if (!PyDict_CheckExact(st->import_mapping_3to2)) { in _Pickle_InitState()
1780 if (PyDict_CheckExact(modules)) { in whichmodule()
2967 assert(obj != NULL && PyDict_CheckExact(obj)); in batch_dict_exact()
[all …]
D_elementtree.c158 return PyDict_CheckExact(obj) && PyDict_GET_SIZE(obj) == 0; in is_empty_dict()
855 if (PyDict_CheckExact(object)) { in deepcopy()
1096 if (!PyDict_CheckExact(state)) { in _elementtree_Element___setstate__()
D_functoolsmodule.c353 else if(!PyDict_CheckExact(kw)) in partial_setstate()
/external/python/cpython2/Modules/_ctypes/
Dctypes.h11 #define PyDict_CheckExact(ob) (Py_TYPE(ob) == &PyDict_Type) macro
/external/python/cpython2/Python/
Dceval.c2185 if (PyDict_CheckExact(x)) in PyEval_EvalFrameEx()
2316 if (PyDict_CheckExact(v)) { in PyEval_EvalFrameEx()
2526 assert (PyDict_CheckExact(v)); in PyEval_EvalFrameEx()
2540 assert (PyDict_CheckExact(v)); in PyEval_EvalFrameEx()
4964 else if (PyDict_CheckExact(locals)) in import_all_from()
5196 if (PyDict_CheckExact(locals) && in string_concatenate()
Dmarshal.c385 else if (PyDict_CheckExact(v)) { in w_object()
/external/python/cpython3/Doc/c-api/
Ddict.rst28 .. c:function:: int PyDict_CheckExact(PyObject *p)
/external/python/cpython2/Doc/c-api/
Ddict.rst36 .. c:function:: int PyDict_CheckExact(PyObject *p)

12