Home
last modified time | relevance | path

Searched refs:minpos (Results 1 – 2 of 2) sorted by relevance

/third_party/python/Include/
Dmodsupport.h128 int minpos, int maxpos, int minkw,
130 #define _PyArg_UnpackKeywords(args, nargs, kwargs, kwnames, parser, minpos, maxpos, minkw, buf) \ argument
132 (minpos) <= (nargs) && (nargs) <= (maxpos) && args != NULL) ? (args) : \
134 (minpos), (maxpos), (minkw), (buf)))
/third_party/python/Python/
Dgetargs.c2271 int minpos, int maxpos, int minkw, in _PyArg_UnpackKeywords() argument
2277 int reqlimit = minkw ? maxpos + minkw : minpos; in _PyArg_UnpackKeywords()
2305 minposonly = Py_MIN(posonly, minpos); in _PyArg_UnpackKeywords()
2318 if (nkwargs == 0 && minkw == 0 && minpos <= nargs && nargs <= maxpos) { in _PyArg_UnpackKeywords()
2347 (minpos < maxpos) ? "at most" : "exactly", in _PyArg_UnpackKeywords()
2398 else if (i < minpos || (maxpos <= i && i < reqlimit)) { in _PyArg_UnpackKeywords()