/third_party/python/Objects/ |
D | dictobject.c | 501 CHECK(PyDict_Check(op)); in _PyDict_CheckConsistency() 703 assert(PyDict_Check(orig)); in clone_combined_dict_keys() 981 assert(PyDict_Check(dict)); in _PyDict_HasOnlyStringKeys() 1400 if (!PyDict_Check(op)) { in PyDict_GetItem() 1489 if (!PyDict_Check(op)) { in _PyDict_GetItem_KnownHash() 1513 if (!PyDict_Check(op)) { in PyDict_GetItemWithError() 1604 if (!PyDict_Check(op)) { in PyDict_SetItem() 1632 if (!PyDict_Check(op)) { in _PyDict_SetItem_KnownHash() 1695 if (!PyDict_Check(op)) { in _PyDict_DelItem_KnownHash() 1736 if (!PyDict_Check(op)) { in _PyDict_DelItemIf() [all …]
|
D | funcobject.c | 14 assert(PyDict_Check(globals)); in PyFunction_NewWithQualName() 180 else if (defaults && PyDict_Check(defaults)) { in PyFunction_SetKwDefaults() 251 assert(PyDict_Check(op->func_annotations)); in func_get_annotation_dict() 274 else if (annotations && PyDict_Check(annotations)) { in PyFunction_SetAnnotations() 449 if (value != NULL && !PyDict_Check(value)) { in func_set_kwdefaults() 488 if (value != NULL && !PyDict_Check(value)) { in func_set_annotations()
|
D | call.c | 132 assert(kwargs == NULL || PyDict_Check(kwargs)); in _PyObject_FastCallDictTstate() 177 assert(keywords == NULL || PyTuple_Check(keywords) || PyDict_Check(keywords)); in _PyObject_MakeTpCall() 195 if (keywords == NULL || PyDict_Check(keywords)) { in _PyObject_MakeTpCall() 287 assert(kwargs == NULL || PyDict_Check(kwargs)); in _PyObject_Call() 371 if (kwargs != NULL && !PyDict_Check(kwargs)) { in PyEval_CallObjectWithKeywords() 896 assert(PyDict_Check(kwargs)); in _PyStack_UnpackDict()
|
D | moduleobject.c | 484 if (d == NULL || !PyDict_Check(d) || in PyModule_GetNameObject() 817 if (PyDict_Check(dict)) { in module_dir() 846 if ((dict == NULL) || !PyDict_Check(dict)) { in module_get_annotations() 883 if ((dict == NULL) || !PyDict_Check(dict)) { in module_set_annotations()
|
D | odictobject.c | 872 if (!PyDict_Check(other)) { in odict_or() 1527 if (!PyODict_Check(v) || !PyDict_Check(w)) { in odict_richcompare() 2335 assert(kwargs == NULL || PyDict_Check(kwargs)); in mutablemapping_update()
|
D | typeobject.c | 1096 assert(kwds == NULL || PyDict_Check(kwds)); in type_call() 2349 if (value != NULL && !PyDict_Check(value)) { in subtype_setdict() 2435 assert(kwds == NULL || PyDict_Check(kwds)); in type_init() 2438 PyDict_Check(kwds) && PyDict_GET_SIZE(kwds) != 0) { in type_init() 3286 assert(kwds == NULL || PyDict_Check(kwds)); in type_new() 3782 assert(dict && PyDict_Check(dict)); in find_name_in_mro() 4123 assert(PyDict_Check(dict)); in merge_class_dict() 4422 (kwds && PyDict_Check(kwds) && PyDict_GET_SIZE(kwds)); in excess_args() 5078 if (!PyDict_Check(*kwargs)) { in _PyObject_GetNewArguments() 5142 if (!PyDict_Check(obj)) { in _PyObject_GetItemsIter() [all …]
|
D | frameobject.c | 933 assert(PyDict_Check(dict)); in map_to_dict() 986 assert(PyDict_Check(dict)); in dict_to_map()
|
D | methodobject.c | 525 assert(kwargs == NULL || PyDict_Check(kwargs)); in cfunction_call()
|
D | structseq.c | 165 if (dict && !PyDict_Check(dict)) { in structseq_new_impl()
|
/third_party/python/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__() 513 if (!PyDict_Check(args[1])) { in _elementtree_Element_makeelement() 785 if (!PyDict_Check(args[1])) { in _elementtree_TreeBuilder_start()
|
/third_party/python/Objects/clinic/ |
D | funcobject.c.h | 51 if (!PyDict_Check(fastargs[1])) { in func_new()
|
/third_party/python/Python/ |
D | getargs.c | 1384 (keywords != NULL && !PyDict_Check(keywords)) || in PyArg_ParseTupleAndKeywords() 1408 (keywords != NULL && !PyDict_Check(keywords)) || in _PyArg_ParseTupleAndKeywords_SizeT() 1434 (keywords != NULL && !PyDict_Check(keywords)) || in PyArg_VaParseTupleAndKeywords() 1459 (keywords != NULL && !PyDict_Check(keywords)) || in _PyArg_VaParseTupleAndKeywords_SizeT() 1559 if (!PyDict_Check(kwargs)) { in PyArg_ValidateKeywordArguments() 1594 assert(kwargs == NULL || PyDict_Check(kwargs)); in vgetargskeywords() 2028 assert(kwargs == NULL || PyDict_Check(kwargs)); in vgetargskeywordsfast_impl() 2252 || (keywords != NULL && !PyDict_Check(keywords))) in vgetargskeywordsfast() 2282 assert(kwargs == NULL || PyDict_Check(kwargs)); in _PyArg_UnpackKeywords()
|
D | _warnings.c | 239 if (!PyDict_Check(registry)) { in get_once_registry() 629 if (registry && !PyDict_Check(registry) && (registry != Py_None)) { in warn_explicit() 869 assert(PyDict_Check(globals)); in setup_context() 1061 if (!PyDict_Check(module_globals)) { in warnings_warn_explicit()
|
D | import.c | 945 assert(PyDict_Check(path_importer_cache)); in get_path_importer() 1335 if (!PyDict_Check(globals)) { in resolve_name() 1813 if (PyDict_Check(builtins)) { in PyImport_Import()
|
/third_party/python/Modules/_sqlite/ |
D | statement.c | 242 …if (PyTuple_CheckExact(parameters) || PyList_CheckExact(parameters) || (!PyDict_Check(parameters) … in pysqlite_statement_bind_parameters() 295 } else if (PyDict_Check(parameters)) { in pysqlite_statement_bind_parameters()
|
/third_party/python/Include/ |
D | dictobject.h | 17 #define PyDict_Check(op) \ macro
|
/third_party/python/Include/cpython/ |
D | dictobject.h | 48 #define PyDict_GET_SIZE(mp) (assert(PyDict_Check(mp)),((PyDictObject *)mp)->ma_used)
|
/third_party/python/Doc/c-api/ |
D | concrete.rst | 14 dictionary, use :c:func:`PyDict_Check`. The chapter is structured like the
|
D | dict.rst | 22 .. c:function:: int PyDict_Check(PyObject *p)
|
/third_party/python/Modules/ |
D | _functoolsmodule.c | 85 assert(PyDict_Check(pkw)); in partial_new() 289 assert(PyDict_Check(pto->kw)); in partial_call() 384 assert (PyDict_Check(pto->kw)); in partial_repr() 427 (kw != Py_None && !PyDict_Check(kw))) in partial_setstate()
|
D | _pickle.c | 3303 assert(PyDict_Check(obj)); in save_dict() 4052 if (!PyDict_Check(kwargs)) { in save_reduce() 4981 else if (PyDict_Check(obj)) { in Pickler_set_memo() 5962 if (use_kwargs && !PyDict_Check(kwargs)) { in load_newobj() 6694 if (!PyDict_Check(state)) { in load_build() 6724 if (!PyDict_Check(slotstate)) { in load_build() 7502 else if (PyDict_Check(obj)) { in Unpickler_set_memo()
|
D | _json.c | 1251 if (markers != Py_None && !PyDict_Check(markers)) { in encoder_new() 1438 else if (PyDict_Check(obj)) { in encoder_listencode_obj()
|
/third_party/python/Modules/_io/ |
D | stringio.c | 923 if (!PyDict_Check(dict)) { in stringio_setstate()
|
D | bytesio.c | 865 if (!PyDict_Check(dict)) { in bytesio_setstate()
|