Home
last modified time | relevance | path

Searched refs:nargs (Results 1 – 25 of 538) sorted by relevance

12345678910>>...22

/external/mmc-utils/
Dmmc_cmds.h18 int do_read_extcsd(int nargs, char **argv);
19 int do_write_extcsd(int nargs, char **argv);
20 int do_writeprotect_get(int nargs, char **argv);
21 int do_writeprotect_set(int nargs, char **argv);
22 int do_disable_512B_emulation(int nargs, char **argv);
23 int do_write_boot_en(int nargs, char **argv);
24 int do_boot_bus_conditions_set(int nargs, char **argv);
25 int do_write_bkops_en(int nargs, char **argv);
26 int do_hwreset_en(int nargs, char **argv);
27 int do_hwreset_dis(int nargs, char **argv);
[all …]
Dmmc_cmds.c133 int do_writeprotect_get(int nargs, char **argv) in do_writeprotect_get() argument
139 CHECK(nargs != 2, "Usage: mmc writeprotect get </path/to/mmcblkX>\n", in do_writeprotect_get()
161 int do_writeprotect_set(int nargs, char **argv) in do_writeprotect_set() argument
167 CHECK(nargs != 2, "Usage: mmc writeprotect set </path/to/mmcblkX>\n", in do_writeprotect_set()
197 int do_disable_512B_emulation(int nargs, char **argv) in do_disable_512B_emulation() argument
203 CHECK(nargs != 2, "Usage: mmc disable 512B emulation </path/to/mmcblkX>\n", exit(1)); in do_disable_512B_emulation()
241 int do_write_boot_en(int nargs, char **argv) in do_write_boot_en() argument
249 CHECK(nargs != 4, "Usage: mmc bootpart enable <partition_number> " in do_write_boot_en()
307 int do_boot_bus_conditions_set(int nargs, char **argv) in do_boot_bus_conditions_set() argument
314 CHECK(nargs != 5, "Usage: mmc: bootbus set <boot_mode> " in do_boot_bus_conditions_set()
[all …]
Dmmc.c35 int nargs; /* if == 999, any number of arguments member
420 if (matchcmd->nargs < 0 && matchcmd->nargs < -*nargs_ ){ in parse_args()
422 matchcmd->verb, -matchcmd->nargs); in parse_args()
425 if(matchcmd->nargs >= 0 && matchcmd->nargs != *nargs_ && matchcmd->nargs != 999){ in parse_args()
427 matchcmd->verb, matchcmd->nargs); in parse_args()
442 int nargs=0, r; in main() local
445 r = parse_args(ac, av, &func, &nargs, &cmd, &args); in main()
451 exit(func(nargs, args)); in main()
/external/valgrind/auxprogs/
Dppcfround.c331 int nargs, in do_N_unary() argument
335 for (i = 0; i < nargs; i++) { in do_N_unary()
343 int nargs, in do_N_binary() argument
347 for (i = 0; i < nargs; i++) { in do_N_binary()
348 for (j = 0; j < nargs; j++) { in do_N_binary()
357 int nargs, in do_N_ternary() argument
361 for (i = 0; i < nargs; i++) { in do_N_ternary()
362 for (j = 0; j < nargs; j++) { in do_N_ternary()
363 for (k = 0; k < nargs; k++) { in do_N_ternary()
374 int nargs = 21; in main() local
[all …]
/external/python/cpython2/Modules/
Dcgensupport.c14 PyArg_GetObject(register PyObject *args, int nargs, int i, PyObject **p_arg) in PyArg_GetObject() argument
16 if (nargs != 1) { in PyArg_GetObject()
18 nargs != PyTuple_Size(args) || in PyArg_GetObject()
19 i < 0 || i >= nargs) { in PyArg_GetObject()
34 PyArg_GetLong(register PyObject *args, int nargs, int i, long *p_arg) in PyArg_GetLong() argument
36 if (nargs != 1) { in PyArg_GetLong()
38 nargs != PyTuple_Size(args) || in PyArg_GetLong()
39 i < 0 || i >= nargs) { in PyArg_GetLong()
52 PyArg_GetShort(register PyObject *args, int nargs, int i, short *p_arg) in PyArg_GetShort() argument
55 if (!PyArg_GetLong(args, nargs, i, &x)) in PyArg_GetShort()
[all …]
Dcgensupport.h32 extern int PyArg_GetObject(PyObject *args, int nargs,
34 extern int PyArg_GetLong(PyObject *args, int nargs,
36 extern int PyArg_GetShort(PyObject *args, int nargs,
38 extern int PyArg_GetFloat(PyObject *args, int nargs,
40 extern int PyArg_GetString(PyObject *args, int nargs,
42 extern int PyArg_GetChar(PyObject *args, int nargs,
44 extern int PyArg_GetLongArray(PyObject *args, int nargs,
46 extern int PyArg_GetShortArray(PyObject *args, int nargs,
48 extern int PyArg_GetDoubleArray(PyObject *args, int nargs,
50 extern int PyArg_GetFloatArray(PyObject *args, int nargs,
[all …]
/external/python/cpython3/Modules/clinic/
D_sre.c.h80 _sre_SRE_Pattern_match(PatternObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in _sre_SRE_Pattern_match() argument
90 if (!_PyArg_ParseStack(args, nargs, kwnames, &_parser, in _sre_SRE_Pattern_match()
116 _sre_SRE_Pattern_fullmatch(PatternObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwname… in _sre_SRE_Pattern_fullmatch() argument
126 if (!_PyArg_ParseStack(args, nargs, kwnames, &_parser, in _sre_SRE_Pattern_fullmatch()
154 _sre_SRE_Pattern_search(PatternObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in _sre_SRE_Pattern_search() argument
164 if (!_PyArg_ParseStack(args, nargs, kwnames, &_parser, in _sre_SRE_Pattern_search()
190 _sre_SRE_Pattern_findall(PatternObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in _sre_SRE_Pattern_findall() argument
200 if (!_PyArg_ParseStack(args, nargs, kwnames, &_parser, in _sre_SRE_Pattern_findall()
226 _sre_SRE_Pattern_finditer(PatternObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in _sre_SRE_Pattern_finditer() argument
235 if (!_PyArg_ParseStack(args, nargs, kwnames, &_parser, in _sre_SRE_Pattern_finditer()
[all …]
Dposixmodule.c.h37 os_stat(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_stat() argument
46 if (!_PyArg_ParseStack(args, nargs, kwnames, &_parser, in os_stat()
75 os_lstat(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_lstat() argument
83 if (!_PyArg_ParseStack(args, nargs, kwnames, &_parser, in os_lstat()
136 os_access(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_access() argument
148 if (!_PyArg_ParseStack(args, nargs, kwnames, &_parser, in os_access()
243 os_chdir(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_chdir() argument
250 if (!_PyArg_ParseStack(args, nargs, kwnames, &_parser, in os_chdir()
281 os_fchdir(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_fchdir() argument
288 if (!_PyArg_ParseStack(args, nargs, kwnames, &_parser, in os_fchdir()
[all …]
D_asynciomodule.c.h276 _asyncio_Task_current_task(PyTypeObject *type, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in _asyncio_Task_current_task() argument
283 if (!_PyArg_ParseStack(args, nargs, kwnames, &_parser, in _asyncio_Task_current_task()
308 _asyncio_Task_all_tasks(PyTypeObject *type, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in _asyncio_Task_all_tasks() argument
315 if (!_PyArg_ParseStack(args, nargs, kwnames, &_parser, in _asyncio_Task_all_tasks()
408 _asyncio_Task_get_stack(TaskObj *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in _asyncio_Task_get_stack() argument
415 if (!_PyArg_ParseStack(args, nargs, kwnames, &_parser, in _asyncio_Task_get_stack()
445 _asyncio_Task_print_stack(TaskObj *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in _asyncio_Task_print_stack() argument
453 if (!_PyArg_ParseStack(args, nargs, kwnames, &_parser, in _asyncio_Task_print_stack()
475 _asyncio_Task__step(TaskObj *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in _asyncio_Task__step() argument
482 if (!_PyArg_ParseStack(args, nargs, kwnames, &_parser, in _asyncio_Task__step()
[all …]
/external/python/cpython2/Lib/test/
Dtest_argparse.py553 argument_signatures = [Sig('-x', nargs=1)]
564 argument_signatures = [Sig('-x', nargs=3)]
576 Sig('-w', nargs='?'),
577 Sig('-x', nargs='?', const=42),
578 Sig('-y', nargs='?', default='spam'),
579 Sig('-z', nargs='?', type=int, const='42', default='84'),
599 Sig('-x', nargs='*'),
600 Sig('-y', nargs='*', default='spam'),
618 Sig('-x', nargs='+'),
619 Sig('-y', nargs='+', default='spam'),
[all …]
/external/libxml2/include/libxml/
DxpathInternals.h298 if (nargs != (x)) \
595 XMLPUBFUN void XMLCALL xmlXPathLastFunction(xmlXPathParserContextPtr ctxt, int nargs);
596 XMLPUBFUN void XMLCALL xmlXPathPositionFunction(xmlXPathParserContextPtr ctxt, int nargs);
597 XMLPUBFUN void XMLCALL xmlXPathCountFunction(xmlXPathParserContextPtr ctxt, int nargs);
598 XMLPUBFUN void XMLCALL xmlXPathIdFunction(xmlXPathParserContextPtr ctxt, int nargs);
599 XMLPUBFUN void XMLCALL xmlXPathLocalNameFunction(xmlXPathParserContextPtr ctxt, int nargs);
600 XMLPUBFUN void XMLCALL xmlXPathNamespaceURIFunction(xmlXPathParserContextPtr ctxt, int nargs);
601 XMLPUBFUN void XMLCALL xmlXPathStringFunction(xmlXPathParserContextPtr ctxt, int nargs);
602 XMLPUBFUN void XMLCALL xmlXPathStringLengthFunction(xmlXPathParserContextPtr ctxt, int nargs);
603 XMLPUBFUN void XMLCALL xmlXPathConcatFunction(xmlXPathParserContextPtr ctxt, int nargs);
[all …]
/external/python/cpython3/Lib/test/
Dtest_argparse.py539 argument_signatures = [Sig('-x', nargs=1)]
550 argument_signatures = [Sig('-x', nargs=3)]
562 Sig('-w', nargs='?'),
563 Sig('-x', nargs='?', const=42),
564 Sig('-y', nargs='?', default='spam'),
565 Sig('-z', nargs='?', type=int, const='42', default='84'),
585 Sig('-x', nargs='*'),
586 Sig('-y', nargs='*', default='spam'),
604 Sig('-x', nargs='+'),
605 Sig('-y', nargs='+', default='spam'),
[all …]
/external/valgrind/none/tests/ppc32/
Dtest_gx.c74 double* args, int nargs, in do_one() argument
81 for (i = 0; i < nargs; i++) { in do_one()
94 int nargs = 19; in main() local
95 double* args = malloc(nargs * sizeof(double)); in main()
116 do_one( "fre", do_fre, args, nargs, "%e", "%4.1e"); in main()
117 do_one( "fres", do_fres, args, nargs, "%e", "%4.1e"); in main()
119 do_one( "frsqrte", do_frsqrte, args, nargs, "%e", "%4.1e"); in main()
120 do_one( "frsqrtes", do_frsqrtes, args, nargs, "%e", "%4.1e"); in main()
Dtest_fx.c39 double* args, int nargs, in do_one() argument
46 for (i = 0; i < nargs; i++) { in do_one()
59 int nargs = 19; in main() local
60 double* args = malloc(nargs * sizeof(double)); in main()
81 do_one( "fsqrt", do_fsqrt, args, nargs, "%e", "%20.14e"); in main()
82 do_one( "fsqrts", do_fsqrts, args, nargs, "%e", "%e"); in main()
/external/selinux/prebuilts/bin/
Dseinfo.py36 parser.add_argument("policy", help="Path to the SELinux policy to query.", nargs="?")
47 nargs='?', const=True, metavar="ATTR")
49 nargs='?', const=True, metavar="BOOL")
51 nargs='?', const=True, metavar="CLASS")
53 nargs='?', const=True, metavar="ROLE")
55 nargs='?', const=True, metavar="TYPE")
57 nargs='?', const=True, metavar="USER")
59 nargs='?', const=True, metavar="CAT")
61 nargs='?', const=True, metavar="COMMON")
63 nargs='?', const=True, metavar="CLASS")
[all …]
/external/python/cpython3/Objects/
Dmethodobject.c102 Py_ssize_t nargs = PyTuple_GET_SIZE(args); in PyCFunction_Call() local
103 res = _PyCFunction_FastCallDict(func, stack, nargs, kwds); in PyCFunction_Call()
154 _PyCFunction_FastCallDict(PyObject *func_obj, PyObject **args, Py_ssize_t nargs, in _PyCFunction_FastCallDict() argument
165 assert(nargs >= 0); in _PyCFunction_FastCallDict()
166 assert(nargs == 0 || args != NULL); in _PyCFunction_FastCallDict()
185 if (nargs != 0) { in _PyCFunction_FastCallDict()
188 func->m_ml->ml_name, nargs); in _PyCFunction_FastCallDict()
202 if (nargs != 1) { in _PyCFunction_FastCallDict()
205 func->m_ml->ml_name, nargs); in _PyCFunction_FastCallDict()
225 tuple = _PyStack_AsTuple(args, nargs); in _PyCFunction_FastCallDict()
[all …]
/external/e2fsprogs/intl/
Dplural-exp.c37 .nargs = 0,
42 .nargs = 0,
51 .nargs = 2,
79 plvar.nargs = 0; in init_germanic_plural()
82 plone.nargs = 0; in init_germanic_plural()
86 GERMANIC_PLURAL.nargs = 2; in init_germanic_plural()
/external/python/cpython3/PC/clinic/
Dwinsound.c.h23 winsound_PlaySound(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in winsound_PlaySound() argument
31 if (!_PyArg_ParseStack(args, nargs, kwnames, &_parser, in winsound_PlaySound()
60 winsound_Beep(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in winsound_Beep() argument
68 if (!_PyArg_ParseStack(args, nargs, kwnames, &_parser, in winsound_Beep()
93 winsound_MessageBeep(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in winsound_MessageBeep() argument
100 if (!_PyArg_ParseStack(args, nargs, kwnames, &_parser, in winsound_MessageBeep()
/external/libffi/src/x86/
Dffi.c90 const int nargs = ecif->cif->nargs - 1; in ffi_prep_args() local
91 if (nargs > 0) in ffi_prep_args()
93 p_arg += nargs; in ffi_prep_args()
94 p_argv += nargs; in ffi_prep_args()
98 for (i = ecif->cif->nargs; in ffi_prep_args()
316 for (ptr = cif->arg_types, i = cif->nargs; i > 0; i--, ptr++) in ffi_prep_cif_machdep()
450 arg_area = (void**) alloca (cif->nargs * sizeof (void*)); in ffi_closure_win64_inner()
479 arg_area = (void**) alloca (cif->nargs * sizeof (void*)); in ffi_closure_SYSV_inner()
503 arg_area = (void**) alloca (cif->nargs * sizeof (void*)); in ffi_closure_WIN32_inner()
569 i < cif->nargs && passed_regs < max_stack_count; in ffi_prep_incoming_args()
[all …]
/external/google-benchmark/tools/
Dcompare.py51 nargs=1,
59 nargs=1,
64 nargs=argparse.REMAINDER,
75 nargs=1,
81 nargs=1,
89 nargs=1,
94 nargs=argparse.REMAINDER,
106 nargs=1,
112 nargs=1,
120 nargs=1,
[all …]
/external/libcxx/utils/google-benchmark/tools/
Dcompare.py51 nargs=1,
59 nargs=1,
64 nargs=argparse.REMAINDER,
75 nargs=1,
81 nargs=1,
89 nargs=1,
94 nargs=argparse.REMAINDER,
106 nargs=1,
112 nargs=1,
120 nargs=1,
[all …]
/external/vboot_reference/utility/
Dtpmc.c35 int nargs; variable
111 if (nargs != 5) { in HandlerDefineSpace()
130 if (nargs < 3) { in HandlerWrite()
138 size = nargs - 3; in HandlerWrite()
172 if (nargs != 3) { in HandlerPCRRead()
195 if (nargs != 4) { in HandlerRead()
220 if (nargs != 3) { in HandlerGetPermissions()
238 if (nargs != 2) { in HandlerGetOwnership()
254 if (nargs != 3) { in HandlerGetRandom()
330 if (nargs == 2) { in HandlerSendRaw()
[all …]
/external/freetype/src/psaux/
Dcffdecode.c1116 FT_Int nargs; in cff_decoder_parse_charstrings() local
1124 nargs = num_args - num_args % 6; in cff_decoder_parse_charstrings()
1127 cff_check_points( builder, nargs / 2 ) ) in cff_decoder_parse_charstrings()
1130 args -= nargs; in cff_decoder_parse_charstrings()
1153 FT_Int nargs; in cff_decoder_parse_charstrings() local
1164 nargs = num_args & ~2; in cff_decoder_parse_charstrings()
1169 args -= nargs; in cff_decoder_parse_charstrings()
1171 if ( nargs & 1 ) in cff_decoder_parse_charstrings()
1175 nargs--; in cff_decoder_parse_charstrings()
1178 if ( cff_check_points( builder, 3 * ( nargs / 4 ) ) ) in cff_decoder_parse_charstrings()
[all …]
/external/selinux/policycoreutils/load_policy/
Dload_policy.c28 int ret, opt, quiet = 0, nargs, init=0, enforce=0; in main() local
54 nargs = argc - optind; in main()
55 if (nargs > 2) in main()
57 if (nargs >= 1 && !quiet) { in main()
62 if (nargs == 2 && ! quiet) { in main()
/external/curl/packages/OS400/
Dccsidcurl.c722 Curl_formadd_release_local(struct curl_forms * forms, int nargs, int skip) in Curl_formadd_release_local() argument
725 while(nargs--) in Curl_formadd_release_local()
726 if(nargs != skip) in Curl_formadd_release_local()
727 if(Curl_is_formadd_string(forms[nargs].option)) in Curl_formadd_release_local()
728 if(forms[nargs].value) in Curl_formadd_release_local()
729 free((char *) forms[nargs].value); in Curl_formadd_release_local()
793 int nargs; in curl_formadd_ccsid() local
828 nargs = 0; in curl_formadd_ccsid()
839 if(nargs >= lformlen) { in curl_formadd_ccsid()
893 namex = nargs; in curl_formadd_ccsid()
[all …]

12345678910>>...22