Home
last modified time | relevance | path

Searched refs:PyDict_CheckExact (Results 1 – 25 of 39) 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/Include/
Ddictobject.h19 #define PyDict_CheckExact(op) Py_IS_TYPE(op, &PyDict_Type) macro
/external/tensorflow/tensorflow/python/util/
Dfunction_parameter_canonicalizer.cc74 DCHECK(PyDict_CheckExact(kwargs)); in Canonicalize()
/external/python/cpython2/Include/
Ddictobject.h101 #define PyDict_CheckExact(op) (Py_TYPE(op) == &PyDict_Type) macro
/external/python/cpython3/Python/
Dceval.c2316 if (PyDict_CheckExact(f->f_builtins)) { in _PyEval_EvalFrameDefault()
2354 if (PyDict_CheckExact(ns)) in _PyEval_EvalFrameDefault()
2488 if (PyDict_CheckExact(locals)) { in _PyEval_EvalFrameDefault()
2514 if (PyDict_CheckExact(f->f_builtins)) { in _PyEval_EvalFrameDefault()
2546 if (PyDict_CheckExact(f->f_globals) in _PyEval_EvalFrameDefault()
2547 && PyDict_CheckExact(f->f_builtins)) in _PyEval_EvalFrameDefault()
2670 if (PyDict_CheckExact(locals)) { in _PyEval_EvalFrameDefault()
2862 if (PyDict_CheckExact(f->f_locals)) { in _PyEval_EvalFrameDefault()
2981 assert(PyDict_CheckExact(map)); in _PyEval_EvalFrameDefault()
3551 if (!PyDict_CheckExact(kwargs)) { in _PyEval_EvalFrameDefault()
[all …]
Dimport.c368 if (PyDict_CheckExact(modules)) { in import_get_module()
519 if (PyDict_CheckExact(modules)) { in _PyImport_Cleanup()
551 if (PyDict_CheckExact(modules)) { in _PyImport_Cleanup()
858 if (PyDict_CheckExact(modules)) { in import_add_module()
920 if (PyDict_CheckExact(modules)) { in remove_module()
/external/python/cpython3/Objects/
Ddictobject.c269 assert(PyDict_CheckExact(op)); in _PyDict_ClearFreeList()
668 assert(PyDict_CheckExact(orig)); in clone_combined_dict()
989 if (!PyDict_CheckExact(op) || !_PyObject_GC_IS_TRACKED(op)) in _PyDict_MaybeUntrack()
1304 if (!PyDict_CheckExact(op)) in make_keys_shared()
1928 if (PyDict_CheckExact(d) && ((PyDictObject *)d)->ma_used == 0) { in _PyDict_FromKeys()
1929 if (PyDict_CheckExact(iterable)) { in _PyDict_FromKeys()
1976 if (PyDict_CheckExact(d)) { in _PyDict_FromKeys()
2147 if (!PyDict_CheckExact(mp)) { in dict_subscript()
2350 if (PyDict_CheckExact(arg)) { in dict_update_arg()
2709 if (PyDict_CheckExact(mp) && mp->ma_values == NULL && in PyDict_Copy()
[all …]
Dsetobject.c875 if (PyDict_CheckExact(other)) { in set_update_internal()
1497 else if (PyDict_CheckExact(other)) { in set_difference()
1514 if (PyDict_CheckExact(other)) { in set_difference()
1612 if (PyDict_CheckExact(other)) { in set_symmetric_difference_update()
Dabstract.c2312 if (PyDict_CheckExact(o)) { in PyMapping_Keys()
2326 if (PyDict_CheckExact(o)) { in PyMapping_Items()
2340 if (PyDict_CheckExact(o)) { in PyMapping_Values()
/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.c292 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/cpython2/Modules/_ctypes/
Dctypes.h11 #define PyDict_CheckExact(ob) (Py_TYPE(ob) == &PyDict_Type) macro
/external/tensorflow/tensorflow/compiler/xla/python/
Dpytree.cc96 if (PyDict_CheckExact(ptr)) return Kind::kDict; in GetKind()
356 if (!PyDict_CheckExact(object.ptr())) { in FlattenUpTo()
/external/python/cpython3/Modules/
D_pickle.c236 if (!PyDict_CheckExact(st->dispatch_table)) { in _Pickle_InitState()
246 if (!PyDict_CheckExact(st->extension_registry)) { in _Pickle_InitState()
256 if (!PyDict_CheckExact(st->inverted_registry)) { in _Pickle_InitState()
265 if (!PyDict_CheckExact(st->extension_cache)) { in _Pickle_InitState()
281 if (!PyDict_CheckExact(st->name_mapping_2to3)) { in _Pickle_InitState()
291 if (!PyDict_CheckExact(st->import_mapping_2to3)) { in _Pickle_InitState()
302 if (!PyDict_CheckExact(st->name_mapping_3to2)) { in _Pickle_InitState()
312 if (!PyDict_CheckExact(st->import_mapping_3to2)) { in _Pickle_InitState()
1936 if (PyDict_CheckExact(modules)) { in whichmodule()
3257 assert(obj != NULL && PyDict_CheckExact(obj)); in batch_dict_exact()
[all …]
D_elementtree.c170 return PyDict_CheckExact(obj) && PyDict_GET_SIZE(obj) == 0; in is_empty_dict()
875 if (PyDict_CheckExact(object)) { in deepcopy()
1112 if (!PyDict_CheckExact(state)) { in _elementtree_Element___setstate__()
D_functoolsmodule.c390 else if(!PyDict_CheckExact(kw)) in partial_setstate()
/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/cpython2/Doc/c-api/
Ddict.rst36 .. c:function:: int PyDict_CheckExact(PyObject *p)
/external/python/cpython3/Doc/c-api/
Ddict.rst28 .. c:function:: int PyDict_CheckExact(PyObject *p)

12