Home
last modified time | relevance | path

Searched refs:nkeywords (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Python/
Dgetargs.c1572 int i, len, nargs, nkeywords; in vgetargskeywords() local
1598 nkeywords = (keywords == NULL) ? 0 : PyDict_Size(keywords); in vgetargskeywords()
1599 if (nargs + nkeywords > len) { in vgetargskeywords()
1606 nargs + nkeywords); in vgetargskeywords()
1624 if (nkeywords) { in vgetargskeywords()
1628 --nkeywords; in vgetargskeywords()
1638 else if (nkeywords && PyErr_Occurred()) in vgetargskeywords()
1663 if (!nkeywords) in vgetargskeywords()
1684 if (nkeywords > 0) { in vgetargskeywords()
Dast.c1986 int i, nargs, nkeywords, ngens; in ast_for_call() local
1994 nkeywords = 0; in ast_for_call()
2004 nkeywords++; in ast_for_call()
2007 if (ngens > 1 || (ngens && (nargs || nkeywords))) { in ast_for_call()
2013 if (nargs + nkeywords + ngens > 255) { in ast_for_call()
2021 keywords = asdl_seq_new(nkeywords, c->c_arena); in ast_for_call()
2025 nkeywords = 0; in ast_for_call()
2031 if (nkeywords) { in ast_for_call()
2078 for (k = 0; k < nkeywords; k++) { in ast_for_call()
2092 asdl_seq_SET(keywords, nkeywords++, kw); in ast_for_call()
/external/python/cpython3/Python/
Dast.c2940 int i, nargs, nkeywords; in ast_for_call() local
2948 nkeywords = 0; in ast_for_call()
2972 nkeywords++; in ast_for_call()
2979 keywords = _Py_asdl_seq_new(nkeywords, c->c_arena); in ast_for_call()
2984 nkeywords = 0; /* keyword arguments + keyword argument unpackings */ in ast_for_call()
2993 if (nkeywords) { in ast_for_call()
3041 asdl_seq_SET(keywords, nkeywords++, kw); in ast_for_call()
3053 if (nkeywords) { in ast_for_call()
3126 asdl_seq_SET(keywords, nkeywords++, kw); in ast_for_call()
Dcompile.c4114 Py_ssize_t nkeywords = asdl_seq_LEN(keywords); in validate_keywords() local
4115 for (Py_ssize_t i = 0; i < nkeywords; i++) { in validate_keywords()
4123 for (Py_ssize_t j = i + 1; j < nkeywords; j++) { in validate_keywords()