Searched refs:PyDict_Size (Results 1 – 25 of 31) 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()2108 const Py_ssize_t nkwds = kwds == NULL ? 0 : PyDict_Size(kwds); in type_new()2934 (kwds && PyDict_Check(kwds) && PyDict_Size(kwds)); in excess_args()
939 Py_ssize_t dictsize = PyDict_Size(other); in set_update_internal()
573 PyDict_Size(kw) != 0))) { in PyInstance_New()
57 return PyLong_FromLong(PyDict_Size(self->values)); in len()59 return PyInt_FromLong(PyDict_Size(self->values)); in len()
2815 if ((cmsg->composite_fields && PyDict_Size(cmsg->composite_fields) != 0) || in CheckAndGetInteger()2817 PyDict_Size(cmsg->extensions->values) != 0)) { in CheckAndGetInteger()
390 if (size != PyDict_Size(other)) { in DescriptorMapping_Equal()
122 PyAPI_FUNC(Py_ssize_t) PyDict_Size(PyObject *mp);
166 if (PyDict_Size(self->mapping) == self->size) { in pysqlite_cache_get()
131 PyDict_Size
179 if (PyDict_Size(pto->kw) == 0) { in partial_call()
819 if ((p = PyDict_Size(self->memo)) < 0) in put2()1930 dict_size = PyDict_Size(obj); in batch_dict_exact()1959 if (PyDict_Size(obj) != dict_size) { in batch_dict_exact()1995 if ((len = PyDict_Size(args)) < 0) in save_dict()2893 lm = PyDict_Size(self->memo); in Pickle_getvalue()
3699 n_kwds = PyDict_Size(kwds); in repeat_new()3849 if (kwds != NULL && PyDict_CheckExact(kwds) && PyDict_Size(kwds) > 0) { in izip_longest_new()3851 if (fillvalue == NULL || PyDict_Size(kwds) > 1) { in izip_longest_new()
336 self->ufd_len = PyDict_Size(self->dict); in update_ufd_array()
1832 if (PyDict_Size(cache) >= MAXCACHE) in cache_struct()
307 if (PyDict_CheckExact(attrib) && !PyDict_Size(attrib)) in element_new()
492 PyDict_Size(u->u_cellvars)); in compiler_enter_scope()954 arg = PyDict_Size(dict); in compiler_add_o()3747 Py_ssize_t i, pos = 0, size = PyDict_Size(dict); in dict_keys_inorder()3788 n = PyDict_Size(c->u->u_freevars); in compute_code_flags()3792 n = PyDict_Size(c->u->u_cellvars); in compute_code_flags()3839 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()
1367 if (kwds != NULL && PyDict_Check(kwds) && PyDict_Size(kwds)) { in min_max()1369 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)
279 "PyDict_Size"
250 PyDict_Size:int:::251 PyDict_Size:PyObject*:p::