Home
last modified time | relevance | path

Searched refs:numargs (Results 1 – 14 of 14) sorted by relevance

/external/python/cffi/cffi/
Dvengine_cpy.py356 numargs = len(tp.args)
357 if numargs == 0:
359 elif numargs == 1:
390 'O' * numargs, name, ', '.join(['&arg%d' % i for i in rng])))
409 if numargs == 0:
423 numargs = len(tp.args)
424 if numargs == 0:
426 elif numargs == 1:
Drecompiler.py658 numargs = len(tp.args)
659 if numargs == 0:
661 elif numargs == 1:
742 if numargs == 0:
808 numargs = len(tp.args)
811 elif numargs == 0:
813 elif numargs == 1:
Dvengine_gen.py149 numargs = len(tp.args)
/external/python/cpython2/Doc/extending/
Dembedding.rst211 static int numargs=0;
217 if(!PyArg_ParseTuple(args, ":numargs"))
219 return Py_BuildValue("i", numargs);
223 {"numargs", emb_numargs, METH_VARARGS,
231 numargs = argc;
234 These two lines initialize the ``numargs`` variable, and make the
235 :func:`emb.numargs` function accessible to the embedded Python interpreter.
241 print "Number of arguments", emb.numargs()
/external/python/cpython3/Doc/extending/
Dembedding.rst218 static int numargs=0;
224 if(!PyArg_ParseTuple(args, ":numargs"))
226 return PyLong_FromLong(numargs);
230 {"numargs", emb_numargs, METH_VARARGS,
249 numargs = argc;
252 These two lines initialize the ``numargs`` variable, and make the
253 :func:`emb.numargs` function accessible to the embedded Python interpreter.
259 print("Number of arguments", emb.numargs())
/external/llvm/include/llvm/Option/
DOptParser.td111 class MultiArg<list<string> prefixes, string name, int numargs>
113 int NumArgs = numargs;
/external/lzma/C/Util/7z/
D7zMain.c375 int MY_CDECL main(int numargs, char *args[]) in main() argument
390 if (numargs == 1) in main()
402 if (numargs < 3) in main()
/external/python/cpython2/Modules/
Ditertoolsmodule.c1128 Py_ssize_t numargs; in islice_new() local
1137 numargs = PyTuple_Size(args); in islice_new()
1138 if (numargs == 2) { in islice_new()
1458 Py_ssize_t numargs, i; in imap_new() local
1463 numargs = PyTuple_Size(args); in imap_new()
1464 if (numargs < 2) { in imap_new()
1470 iters = PyTuple_New(numargs-1); in imap_new()
1474 for (i=1 ; i<numargs ; i++) { in imap_new()
1546 Py_ssize_t numargs, i; in imap_next() local
1548 numargs = PyTuple_Size(lz->iters); in imap_next()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Option/
DOptParser.td112 class MultiArg<list<string> prefixes, string name, int numargs>
114 int NumArgs = numargs;
/external/python/cpython3/Python/
Dbltinmodule.c1198 Py_ssize_t numargs, i; in map_new() local
1203 numargs = PyTuple_Size(args); in map_new()
1204 if (numargs < 2) { in map_new()
1210 iters = PyTuple_New(numargs-1); in map_new()
1214 for (i=1 ; i<numargs ; i++) { in map_new()
1301 Py_ssize_t numargs = PyTuple_GET_SIZE(lz->iters); in map_reduce() local
1302 PyObject *args = PyTuple_New(numargs+1); in map_reduce()
1308 for (i = 0; i<numargs; i++){ in map_reduce()
/external/llvm-project/llvm/include/llvm/Option/
DOptParser.td124 class MultiArg<list<string> prefixes, string name, int numargs>
126 int NumArgs = numargs;
/external/python/cpython2/Doc/tools/
Dsusp-ignored.csv6 extending/embedding,,:numargs,"if(!PyArg_ParseTuple(args, "":numargs""))"
/external/python/cpython3/Doc/tools/
Dsusp-ignored.csv10 extending/embedding,,:numargs,"if(!PyArg_ParseTuple(args, "":numargs""))"
/external/python/cpython3/Modules/
Ditertoolsmodule.c1479 Py_ssize_t numargs; in islice_new() local
1488 numargs = PyTuple_Size(args); in islice_new()
1489 if (numargs == 2) { in islice_new()