Searched refs:PyDict_Size (Results 1 – 25 of 44) sorted by relevance
12
80 if (kw == NULL || PyDict_Size(kw) == 0) in PyCFunction_Call()87 if (kw == NULL || PyDict_Size(kw) == 0) { in PyCFunction_Call()98 if (kw == NULL || PyDict_Size(kw) == 0) { in PyCFunction_Call()110 if (kw == NULL || PyDict_Size(kw) == 0) { in PyCFunction_Call()
505 nk = PyDict_Size(kw); in function_call()
1038 if (kwds != NULL && (!PyDict_Check(kwds) || PyDict_Size(kwds) != 0)) { in wrapper_call()
756 (PyDict_Check(kwds) && PyDict_Size(kwds) == 0))) in type_call()1483 n = PyDict_Size(set); in set_mro_error()2069 if (kwds != NULL && PyDict_Check(kwds) && PyDict_Size(kwds) != 0) { in type_init()2111 const Py_ssize_t nkwds = kwds == NULL ? 0 : PyDict_Size(kwds); in type_new()2974 (kwds && PyDict_Check(kwds) && PyDict_Size(kwds)); in excess_args()
34 #define PyODict_Size(od) PyDict_Size(_PyObject_CAST(od))
32 PyAPI_FUNC(Py_ssize_t) PyDict_Size(PyObject *mp);
125 PyAPI_FUNC(Py_ssize_t) PyDict_Size(PyObject *mp);
166 if (PyDict_Size(self->mapping) == self->size) { in pysqlite_cache_get()
131 PyDict_Size
180 if (PyDict_Size(pto->kw) == 0) { in partial_call()
824 if ((p = PyDict_Size(self->memo)) < 0) in put2()1946 dict_size = PyDict_Size(obj); in batch_dict_exact()1975 if (PyDict_Size(obj) != dict_size) { in batch_dict_exact()2011 if ((len = PyDict_Size(args)) < 0) in save_dict()2909 lm = PyDict_Size(self->memo); in Pickle_getvalue()
3689 n_kwds = PyDict_Size(kwds); in repeat_new()3839 if (kwds != NULL && PyDict_CheckExact(kwds) && PyDict_Size(kwds) > 0) { in izip_longest_new()3841 if (fillvalue == NULL || PyDict_Size(kwds) > 1) { in izip_longest_new()
336 self->ufd_len = PyDict_Size(self->dict); in update_ufd_array()
812 if (PyDict_Size(o1) != PyDict_Size(o2)) { in AssertSameStructureHelper()
492 PyDict_Size(u->u_cellvars)); in compiler_enter_scope()954 arg = PyDict_Size(dict); in compiler_add_o()3748 Py_ssize_t i, pos = 0, size = PyDict_Size(dict); in dict_keys_inorder()3789 n = PyDict_Size(c->u->u_freevars); in compute_code_flags()3793 n = PyDict_Size(c->u->u_cellvars); in compute_code_flags()3840 nlocals = PyDict_Size(c->u->u_varnames); in makecode()
1598 nkeywords = (keywords == NULL) ? 0 : PyDict_Size(keywords); in vgetargskeywords()1925 if (PyDict_Size(kw) == 0) in _PyArg_NoKeywords()
1368 if (kwds != NULL && PyDict_Check(kwds) && PyDict_Size(kwds)) { in min_max()1370 if (PyDict_Size(kwds)!=1 || keyfunc == NULL) { in min_max()
338 o = PyInt_FromSsize_t(PyDict_Size(p->strings)); in w_object()
139 .. c:function:: Py_ssize_t PyDict_Size(PyObject *p)
110 PyDict_Size=python39.PyDict_Size
151 .. c:function:: Py_ssize_t PyDict_Size(PyObject *p)
427 if (PyTuple_Size(args) || (kwds != NULL && PyDict_Size(kwds))) { in context_tp_new()
279 "PyDict_Size"
250 PyDict_Size:int:::251 PyDict_Size:PyObject*:p::
392 if (size != PyDict_Size(other)) { in DescriptorMapping_Equal()