Home
last modified time | relevance | path

Searched refs:PyDict_Size (Results 1 – 25 of 31) sorted by relevance

12

/external/python/cpython2/Objects/
Dmethodobject.c80 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()
Dfuncobject.c505 nk = PyDict_Size(kw); in function_call()
Ddescrobject.c1038 if (kwds != NULL && (!PyDict_Check(kwds) || PyDict_Size(kwds) != 0)) { in wrapper_call()
Dtypeobject.c756 (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()
Dsetobject.c939 Py_ssize_t dictsize = PyDict_Size(other); in set_update_internal()
Dclassobject.c573 PyDict_Size(kw) != 0))) { in PyInstance_New()
/external/protobuf/python/google/protobuf/pyext/
Dextension_dict.cc57 return PyLong_FromLong(PyDict_Size(self->values)); in len()
59 return PyInt_FromLong(PyDict_Size(self->values)); in len()
Dmessage.cc2815 if ((cmsg->composite_fields && PyDict_Size(cmsg->composite_fields) != 0) || in CheckAndGetInteger()
2817 PyDict_Size(cmsg->extensions->values) != 0)) { in CheckAndGetInteger()
Ddescriptor_containers.cc390 if (size != PyDict_Size(other)) { in DescriptorMapping_Equal()
/external/python/cpython2/Include/
Ddictobject.h122 PyAPI_FUNC(Py_ssize_t) PyDict_Size(PyObject *mp);
/external/python/cpython2/Modules/_sqlite/
Dcache.c166 if (PyDict_Size(self->mapping) == self->size) { in pysqlite_cache_get()
/external/python/cpython2/PC/os2vacpp/
Dpython.def131 PyDict_Size
/external/python/cpython2/Modules/
D_functoolsmodule.c179 if (PyDict_Size(pto->kw) == 0) { in partial_call()
DcPickle.c819 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()
Ditertoolsmodule.c3699 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()
Dselectmodule.c336 self->ufd_len = PyDict_Size(self->dict); in update_ufd_array()
D_struct.c1832 if (PyDict_Size(cache) >= MAXCACHE) in cache_struct()
D_elementtree.c307 if (PyDict_CheckExact(attrib) && !PyDict_Size(attrib)) in element_new()
/external/python/cpython2/Python/
Dcompile.c492 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()
Dgetargs.c1598 nkeywords = (keywords == NULL) ? 0 : PyDict_Size(keywords); in vgetargskeywords()
1925 if (PyDict_Size(kw) == 0) in _PyArg_NoKeywords()
Dbltinmodule.c1367 if (kwds != NULL && PyDict_Check(kwds) && PyDict_Size(kwds)) { in min_max()
1369 if (PyDict_Size(kwds)!=1 || keyfunc == NULL) { in min_max()
Dmarshal.c338 o = PyInt_FromSsize_t(PyDict_Size(p->strings)); in w_object()
/external/python/cpython2/Doc/c-api/
Ddict.rst139 .. c:function:: Py_ssize_t PyDict_Size(PyObject *p)
/external/python/cpython2/PC/os2emx/
Dpython27.def279 "PyDict_Size"
/external/python/cpython2/Doc/data/
Drefcounts.dat250 PyDict_Size:int:::
251 PyDict_Size:PyObject*:p::

12