/external/python/cpython2/Objects/ |
D | dictobject.c | 714 if (!PyDict_Check(op)) in PyDict_GetItem() 762 if (!PyDict_Check(op)) { in _PyDict_GetItemWithError() 832 if (!PyDict_Check(op)) { in PyDict_SetItem() 874 if (!PyDict_Check(op)) { in PyDict_DelItem() 906 if (!PyDict_Check(op)) { in _PyDict_DelItemIf() 946 if (!PyDict_Check(op)) in PyDict_Clear() 1025 if (!PyDict_Check(op)) in PyDict_Next() 1052 if (!PyDict_Check(op)) in _PyDict_Next() 1558 assert(PyDict_Check(d)); in PyDict_MergeFromSeq2() 1644 if (a == NULL || !PyDict_Check(a) || b == NULL) { in PyDict_Merge() [all …]
|
D | frameobject.c | 667 if (code == NULL || globals == NULL || !PyDict_Check(globals) || in PyFrame_New() 678 assert(!builtins || PyDict_Check(builtins)); in PyFrame_New() 680 else if (!PyDict_Check(builtins)) in PyFrame_New() 700 assert(builtins != NULL && PyDict_Check(builtins)); in PyFrame_New() 828 assert(PyDict_Check(dict)); in map_to_dict() 876 assert(PyDict_Check(dict)); in dict_to_map()
|
D | funcobject.c | 212 if (!PyDict_Check(value)) { in func_set_dict() 503 if (kw != NULL && PyDict_Check(kw)) { in function_call()
|
/external/tensorflow/tensorflow/python/util/ |
D | nest.cc | 59 if (PyDict_Check(o)) { in GetKeysFromDictOrMapping() 78 if (!PyDict_Check(dict) && !swig::IsMapping(dict)) { in FlattenDictItems()
|
D | util.cc | 239 if (PyDict_Check(o)) return true; in IsMappingHelper() 249 if (PyDict_Check(o)) return true; in IsMutableMappingHelper() 600 if (PyDict_Check(nested)) { in GetValueIterator() 613 if (PyDict_Check(nested)) { in GetValueIteratorForData() 811 if (PyDict_Check(o1) && PyDict_Check(o2)) { in AssertSameStructureHelper()
|
/external/python/cpython3/Objects/ |
D | dictobject.c | 475 CHECK(PyDict_Check(op)); in _PyDict_CheckConsistency() 961 assert(PyDict_Check(dict)); in _PyDict_HasOnlyStringKeys() 1390 if (!PyDict_Check(op)) in PyDict_GetItem() 1439 if (!PyDict_Check(op)) { in _PyDict_GetItem_KnownHash() 1463 if (!PyDict_Check(op)) { in PyDict_GetItemWithError() 1554 if (!PyDict_Check(op)) { in PyDict_SetItem() 1582 if (!PyDict_Check(op)) { in _PyDict_SetItem_KnownHash() 1645 if (!PyDict_Check(op)) { in _PyDict_DelItem_KnownHash() 1686 if (!PyDict_Check(op)) { in _PyDict_DelItemIf() 1734 if (!PyDict_Check(op)) in PyDict_Clear() [all …]
|
D | call.c | 108 assert(kwargs == NULL || PyDict_Check(kwargs)); in _PyObject_FastCallDictTstate() 153 assert(keywords == NULL || PyTuple_Check(keywords) || PyDict_Check(keywords)); in _PyObject_MakeTpCall() 171 if (keywords == NULL || PyDict_Check(keywords)) { in _PyObject_MakeTpCall() 262 assert(kwargs == NULL || PyDict_Check(kwargs)); in _PyObject_Call() 428 if (kwargs != NULL && !PyDict_Check(kwargs)) { in PyEval_CallObjectWithKeywords() 953 assert(PyDict_Check(kwargs)); in _PyStack_UnpackDict()
|
D | funcobject.c | 163 else if (defaults && PyDict_Check(defaults)) { in PyFunction_SetKwDefaults() 226 else if (annotations && PyDict_Check(annotations)) { in PyFunction_SetAnnotations() 400 if (value != NULL && !PyDict_Check(value)) { in func_set_kwdefaults() 440 if (value != NULL && !PyDict_Check(value)) { in func_set_annotations()
|
/external/python/cpython2/Modules/ |
D | _functoolsmodule.c | 165 assert (PyDict_Check(pto->kw)); in partial_call() 253 if (!PyDict_Check(value)) { in partial_set_dict() 294 (kw != Py_None && !PyDict_Check(kw))) in partial_setstate()
|
/external/python/cpython3/Modules/clinic/ |
D | _weakref.c.h | 56 if (!PyDict_Check(args[0])) { in _weakref__remove_dead_weakref()
|
D | _elementtree.c.h | 84 if (!PyDict_Check(arg)) { in _elementtree_Element___deepcopy__() 518 if (!PyDict_Check(args[1])) { in _elementtree_Element_makeelement() 790 if (!PyDict_Check(args[1])) { in _elementtree_TreeBuilder_start()
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | py_exception_registry.cc | 31 CHECK(PyDict_Check(code_to_exc_type_map)); in Init()
|
/external/python/cpython3/Objects/clinic/ |
D | funcobject.c.h | 51 if (!PyDict_Check(fastargs[1])) { in func_new()
|
/external/python/cpython3/Modules/_sqlite/ |
D | statement.c | 222 …if (PyTuple_CheckExact(parameters) || PyList_CheckExact(parameters) || (!PyDict_Check(parameters) … in pysqlite_statement_bind_parameters() 275 } else if (PyDict_Check(parameters)) { in pysqlite_statement_bind_parameters()
|
/external/python/cpython3/Include/ |
D | dictobject.h | 17 #define PyDict_Check(op) \ macro
|
/external/python/cpython2/Modules/_sqlite/ |
D | statement.c | 231 …if (PyTuple_CheckExact(parameters) || PyList_CheckExact(parameters) || (!PyDict_Check(parameters) … in pysqlite_statement_bind_parameters() 281 } else if (PyDict_Check(parameters)) { in pysqlite_statement_bind_parameters()
|
/external/python/cpython3/Include/cpython/ |
D | dictobject.h | 53 #define PyDict_GET_SIZE(mp) (assert(PyDict_Check(mp)),((PyDictObject *)mp)->ma_used)
|
/external/python/cpython3/Python/ |
D | getargs.c | 1459 (keywords != NULL && !PyDict_Check(keywords)) || in PyArg_ParseTupleAndKeywords() 1483 (keywords != NULL && !PyDict_Check(keywords)) || in _PyArg_ParseTupleAndKeywords_SizeT() 1509 (keywords != NULL && !PyDict_Check(keywords)) || in PyArg_VaParseTupleAndKeywords() 1534 (keywords != NULL && !PyDict_Check(keywords)) || in _PyArg_VaParseTupleAndKeywords_SizeT() 1634 if (!PyDict_Check(kwargs)) { in PyArg_ValidateKeywordArguments() 1669 assert(kwargs == NULL || PyDict_Check(kwargs)); in vgetargskeywords() 2103 assert(kwargs == NULL || PyDict_Check(kwargs)); in vgetargskeywordsfast_impl() 2327 || (keywords != NULL && !PyDict_Check(keywords))) in vgetargskeywordsfast() 2357 assert(kwargs == NULL || PyDict_Check(kwargs)); in _PyArg_UnpackKeywords()
|
D | _warnings.c | 245 if (!PyDict_Check(registry)) { in get_once_registry() 635 if (registry && !PyDict_Check(registry) && (registry != Py_None)) { in warn_explicit() 875 assert(PyDict_Check(globals)); in setup_context() 1067 if (!PyDict_Check(module_globals)) { in warnings_warn_explicit()
|
/external/python/cpython2/Include/ |
D | dictobject.h | 99 #define PyDict_Check(op) \ macro
|
/external/python/cpython2/Doc/c-api/ |
D | concrete.rst | 14 dictionary, use :c:func:`PyDict_Check`. The chapter is structured like the
|
/external/python/cpython3/Doc/c-api/ |
D | concrete.rst | 14 dictionary, use :c:func:`PyDict_Check`. The chapter is structured like the
|
/external/python/cpython2/Python/ |
D | _warnings.c | 75 if (!PyDict_Check(registry)) { in get_once_registry() 304 if (registry && !PyDict_Check(registry) && (registry != Py_None)) { in warn_explicit() 472 assert(PyDict_Check(globals)); in setup_context()
|
D | getargs.c | 1457 (keywords != NULL && !PyDict_Check(keywords)) || in PyArg_ParseTupleAndKeywords() 1481 (keywords != NULL && !PyDict_Check(keywords)) || in _PyArg_ParseTupleAndKeywords_SizeT() 1507 (keywords != NULL && !PyDict_Check(keywords)) || in PyArg_VaParseTupleAndKeywords() 1539 (keywords != NULL && !PyDict_Check(keywords)) || in _PyArg_VaParseTupleAndKeywords_SizeT() 1576 assert(keywords == NULL || PyDict_Check(keywords)); in vgetargskeywords()
|
/external/python/cpython3/Modules/ |
D | _functoolsmodule.c | 50 assert(PyDict_Check(pkw)); in partial_new() 233 assert(PyDict_Check(pto->kw)); in partial_call() 332 assert (PyDict_Check(pto->kw)); in partial_repr() 375 (kw != Py_None && !PyDict_Check(kw))) in partial_setstate()
|