/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()
|
D | object.c | 1387 assert(dict && PyDict_Check(dict)); in _PyObject_GenericGetAttrWithDict() 1699 assert(PyDict_Check(dict)); in merge_class_dict() 1757 assert(PyDict_Check(dict)); in merge_list_attr() 1842 if (PyDict_Check(dict)) in _specialized_dir_module() 1873 else if (!PyDict_Check(dict)) { in _generic_dir()
|
D | classobject.c | 54 if (dict == NULL || !PyDict_Check(dict)) { in PyClass_New() 298 if (v == NULL || !PyDict_Check(v)) in set_dict() 529 if (!PyDict_Check(dict)) { in PyInstance_NewRaw() 571 || (kw != NULL && (!PyDict_Check(kw) || in PyInstance_New() 620 else if (!PyDict_Check(dict)) { in instance_new() 846 if (v == NULL || !PyDict_Check(v)) { in instance_setattr()
|
/external/python/cpython3/Objects/ |
D | dictobject.c | 915 assert(PyDict_Check(dict)); in _PyDict_HasOnlyStringKeys() 1298 if (!PyDict_Check(op)) in PyDict_GetItem() 1347 if (!PyDict_Check(op)) { in _PyDict_GetItem_KnownHash() 1371 if (!PyDict_Check(op)) { in PyDict_GetItemWithError() 1447 if (!PyDict_Check(op)) { in PyDict_SetItem() 1472 if (!PyDict_Check(op)) { in _PyDict_SetItem_KnownHash() 1532 if (!PyDict_Check(op)) { in _PyDict_DelItem_KnownHash() 1573 if (!PyDict_Check(op)) { in _PyDict_DelItemIf() 1621 if (!PyDict_Check(op)) in PyDict_Clear() 1663 if (!PyDict_Check(op)) in _PyDict_Next() [all …]
|
D | funcobject.c | 155 else if (defaults && PyDict_Check(defaults)) { in PyFunction_SetKwDefaults() 218 else if (annotations && PyDict_Check(annotations)) { in PyFunction_SetAnnotations() 367 if (value != NULL && !PyDict_Check(value)) { in func_set_kwdefaults() 397 if (value != NULL && !PyDict_Check(value)) { in func_set_annotations()
|
D | call.c | 95 assert(kwargs == NULL || PyDict_Check(kwargs)); in _PyObject_FastCallDict() 223 assert(kwargs == NULL || PyDict_Check(kwargs)); in PyObject_Call() 314 assert(kwargs == NULL || PyDict_Check(kwargs)); in _PyFunction_FastCallDict() 458 assert(kwargs == NULL || PyDict_Check(kwargs)); in _PyMethodDef_RawFastCallDict() 742 assert(kwargs == NULL || PyDict_Check(kwargs)); in cfunction_call_varargs() 816 if (kwargs != NULL && !PyDict_Check(kwargs)) { in PyEval_CallObjectWithKeywords()
|
D | frameobject.c | 666 if (code == NULL || globals == NULL || !PyDict_Check(globals) || in _PyFrame_New_NoTrack() 836 assert(PyDict_Check(dict)); in map_to_dict() 889 assert(PyDict_Check(dict)); in dict_to_map()
|
D | typeobject.c | 939 (PyDict_Check(kwds) && PyDict_GET_SIZE(kwds) == 0))) in type_call() 2195 if (value != NULL && !PyDict_Check(value)) { in subtype_setdict() 2279 assert(kwds == NULL || PyDict_Check(kwds)); in type_init() 2282 PyDict_Check(kwds) && PyDict_GET_SIZE(kwds) != 0) { in type_init() 2363 assert(kwds == NULL || PyDict_Check(kwds)); in type_new() 3056 assert(dict && PyDict_Check(dict)); in find_name_in_mro() 3363 assert(PyDict_Check(dict)); in merge_class_dict() 3648 (kwds && PyDict_Check(kwds) && PyDict_GET_SIZE(kwds)); in excess_args() 4299 if (!PyDict_Check(*kwargs)) { in _PyObject_GetNewArguments() 4363 if (!PyDict_Check(obj)) { in _PyObject_GetItemsIter() [all …]
|
/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/tensorflow/tensorflow/python/util/ |
D | util.cc | 234 if (PyDict_Check(o)) return true; in IsMappingHelper() 543 if (PyDict_Check(nested)) { in GetValueIterator() 556 if (PyDict_Check(nested)) { in GetValueIteratorForData() 720 if (PyDict_Check(o1) && PyDict_Check(o2)) { in AssertSameStructureHelper()
|
/external/python/cpython3/Include/ |
D | dictobject.h | 58 #define PyDict_Check(op) \ macro 112 #define PyDict_GET_SIZE(mp) (assert(PyDict_Check(mp)),((PyDictObject *)mp)->ma_used)
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | py_exception_registry.cc | 28 DCHECK(PyDict_Check(code_to_exc_type_map)); in Init()
|
/external/python/cpython3/Modules/_sqlite/ |
D | statement.c | 220 …if (PyTuple_CheckExact(parameters) || PyList_CheckExact(parameters) || (!PyDict_Check(parameters) … in pysqlite_statement_bind_parameters() 272 } else if (PyDict_Check(parameters)) { in pysqlite_statement_bind_parameters()
|
/external/tensorflow/tensorflow/python/client/ |
D | tf_sessionrun_wrapper.i | 33 if (!PyDict_Check($input)) {
|
/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/Python/ |
D | getargs.c | 1408 (keywords != NULL && !PyDict_Check(keywords)) || in PyArg_ParseTupleAndKeywords() 1432 (keywords != NULL && !PyDict_Check(keywords)) || in _PyArg_ParseTupleAndKeywords_SizeT() 1458 (keywords != NULL && !PyDict_Check(keywords)) || in PyArg_VaParseTupleAndKeywords() 1483 (keywords != NULL && !PyDict_Check(keywords)) || in _PyArg_VaParseTupleAndKeywords_SizeT() 1583 if (!PyDict_Check(kwargs)) { in PyArg_ValidateKeywordArguments() 1618 assert(kwargs == NULL || PyDict_Check(kwargs)); in vgetargskeywords() 2043 assert(kwargs == NULL || PyDict_Check(kwargs)); in vgetargskeywordsfast_impl() 2251 || (keywords != NULL && !PyDict_Check(keywords))) in vgetargskeywordsfast()
|
D | _warnings.c | 109 if (!PyDict_Check(registry)) { in get_once_registry() 488 if (registry && !PyDict_Check(registry) && (registry != Py_None)) { in warn_explicit() 706 assert(PyDict_Check(globals)); in setup_context() 959 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/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/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/cpython3/Modules/ |
D | _functoolsmodule.c | 49 assert(PyDict_Check(pkw)); in partial_new() 198 assert (PyDict_Check(pto->kw)); in partial_call() 295 assert (PyDict_Check(pto->kw)); in partial_repr() 338 (kw != Py_None && !PyDict_Check(kw))) in partial_setstate()
|