/external/python/cpython2/Modules/ |
D | cgensupport.c | 14 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 …]
|
D | cgensupport.h | 32 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 | _operator.c.h | 46 _operator_add(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in _operator_add() argument 52 if (!_PyArg_UnpackStack(args, nargs, "add", in _operator_add() 76 _operator_sub(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in _operator_sub() argument 82 if (!_PyArg_UnpackStack(args, nargs, "sub", in _operator_sub() 106 _operator_mul(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in _operator_mul() argument 112 if (!_PyArg_UnpackStack(args, nargs, "mul", in _operator_mul() 136 _operator_matmul(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in _operator_matmul() argument 142 if (!_PyArg_UnpackStack(args, nargs, "matmul", in _operator_matmul() 166 _operator_floordiv(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in _operator_floordiv() argument 172 if (!_PyArg_UnpackStack(args, nargs, "floordiv", in _operator_floordiv() [all …]
|
D | _codecsmodule.c.h | 65 _codecs_encode(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in _codecs_encode() argument 74 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in _codecs_encode() 104 _codecs_decode(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in _codecs_decode() argument 113 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in _codecs_decode() 163 _codecs_escape_decode(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in _codecs_escape_decode() argument 169 if (!_PyArg_ParseStack(args, nargs, "s*|z:escape_decode", in _codecs_escape_decode() 197 _codecs_escape_encode(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in _codecs_escape_encode() argument 203 if (!_PyArg_ParseStack(args, nargs, "O!|z:escape_encode", in _codecs_escape_encode() 226 _codecs_unicode_internal_decode(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in _codecs_unicode_internal_decode() argument 232 if (!_PyArg_ParseStack(args, nargs, "O|z:unicode_internal_decode", in _codecs_unicode_internal_decode() [all …]
|
D | audioop.c.h | 19 audioop_getsample(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in audioop_getsample() argument 26 if (!_PyArg_ParseStack(args, nargs, "y*in:getsample", in audioop_getsample() 54 audioop_max(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in audioop_max() argument 60 if (!_PyArg_ParseStack(args, nargs, "y*i:max", in audioop_max() 88 audioop_minmax(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in audioop_minmax() argument 94 if (!_PyArg_ParseStack(args, nargs, "y*i:minmax", in audioop_minmax() 122 audioop_avg(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in audioop_avg() argument 128 if (!_PyArg_ParseStack(args, nargs, "y*i:avg", in audioop_avg() 156 audioop_rms(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in audioop_rms() argument 162 if (!_PyArg_ParseStack(args, nargs, "y*i:rms", in audioop_rms() [all …]
|
D | posixmodule.c.h | 37 os_stat(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in os_stat() argument 46 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in os_stat() 75 os_lstat(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in os_lstat() argument 83 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in os_lstat() 136 os_access(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in os_access() argument 148 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in os_access() 243 os_chdir(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in os_chdir() argument 250 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in os_chdir() 281 os_fchdir(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in os_fchdir() argument 288 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in os_fchdir() [all …]
|
D | _sre.c.h | 170 _sre_SRE_Pattern_match(PatternObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwna… in _sre_SRE_Pattern_match() argument 179 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in _sre_SRE_Pattern_match() 203 _sre_SRE_Pattern_fullmatch(PatternObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *… in _sre_SRE_Pattern_fullmatch() argument 212 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in _sre_SRE_Pattern_fullmatch() 238 _sre_SRE_Pattern_search(PatternObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwn… in _sre_SRE_Pattern_search() argument 247 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in _sre_SRE_Pattern_search() 271 _sre_SRE_Pattern_findall(PatternObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kw… in _sre_SRE_Pattern_findall() argument 280 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in _sre_SRE_Pattern_findall() 306 _sre_SRE_Pattern_finditer(PatternObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *k… in _sre_SRE_Pattern_finditer() argument 315 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in _sre_SRE_Pattern_finditer() [all …]
|
D | zlibmodule.c.h | 23 zlib_compress(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in zlib_compress() argument 31 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in zlib_compress() 67 zlib_decompress(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in zlib_decompress() argument 76 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in zlib_decompress() 129 zlib_compressobj(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in zlib_compressobj() argument 141 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in zlib_compressobj() 175 zlib_decompressobj(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in zlib_decompressobj() argument 183 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in zlib_decompressobj() 257 zlib_Decompress_decompress(compobject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwn… in zlib_Decompress_decompress() argument 265 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in zlib_Decompress_decompress() [all …]
|
D | _winapi.c.h | 105 _winapi_ConnectNamedPipe(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnam… in _winapi_ConnectNamedPipe() argument 113 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in _winapi_ConnectNamedPipe() 141 _winapi_CreateFile(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in _winapi_CreateFile() argument 153 if (!_PyArg_ParseStack(args, nargs, "skk" F_POINTER "kk" F_HANDLE ":CreateFile", in _winapi_CreateFile() 183 _winapi_CreateJunction(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in _winapi_CreateJunction() argument 189 if (!_PyArg_ParseStack(args, nargs, "uu:CreateJunction", in _winapi_CreateJunction() 217 _winapi_CreateNamedPipe(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in _winapi_CreateNamedPipe() argument 230 if (!_PyArg_ParseStack(args, nargs, "skkkkkk" F_POINTER ":CreateNamedPipe", in _winapi_CreateNamedPipe() 265 _winapi_CreatePipe(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in _winapi_CreatePipe() argument 271 if (!_PyArg_ParseStack(args, nargs, "Ok:CreatePipe", in _winapi_CreatePipe() [all …]
|
D | _elementtree.c.h | 164 _elementtree_Element_find(ElementObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *k… in _elementtree_Element_find() argument 172 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in _elementtree_Element_find() 196 _elementtree_Element_findtext(ElementObject *self, PyObject *const *args, Py_ssize_t nargs, PyObjec… in _elementtree_Element_findtext() argument 205 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in _elementtree_Element_findtext() 228 _elementtree_Element_findall(ElementObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject… in _elementtree_Element_findall() argument 236 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in _elementtree_Element_findall() 259 _elementtree_Element_iterfind(ElementObject *self, PyObject *const *args, Py_ssize_t nargs, PyObjec… in _elementtree_Element_iterfind() argument 267 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in _elementtree_Element_iterfind() 290 _elementtree_Element_get(ElementObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kw… in _elementtree_Element_get() argument 298 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in _elementtree_Element_get() [all …]
|
D | fcntlmodule.c.h | 28 fcntl_fcntl(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in fcntl_fcntl() argument 35 if (!_PyArg_ParseStack(args, nargs, "O&i|O:fcntl", in fcntl_fcntl() 86 fcntl_ioctl(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in fcntl_ioctl() argument 94 if (!_PyArg_ParseStack(args, nargs, "O&I|Op:ioctl", in fcntl_ioctl() 120 fcntl_flock(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in fcntl_flock() argument 126 if (!_PyArg_ParseStack(args, nargs, "O&i:flock", in fcntl_flock() 171 fcntl_lockf(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in fcntl_lockf() argument 180 if (!_PyArg_ParseStack(args, nargs, "O&i|OOi:lockf", in fcntl_lockf()
|
/external/python/cpython3/Objects/ |
D | call.c | 84 _PyObject_FastCallDict(PyObject *callable, PyObject *const *args, Py_ssize_t nargs, in _PyObject_FastCallDict() argument 93 assert(nargs >= 0); in _PyObject_FastCallDict() 94 assert(nargs == 0 || args != NULL); in _PyObject_FastCallDict() 98 return _PyFunction_FastCallDict(callable, args, nargs, kwargs); in _PyObject_FastCallDict() 101 return _PyCFunction_FastCallDict(callable, args, nargs, kwargs); in _PyObject_FastCallDict() 115 argstuple = _PyStack_AsTuple(args, nargs); in _PyObject_FastCallDict() 137 _PyObject_FastCallKeywords(PyObject *callable, PyObject *const *stack, Py_ssize_t nargs, in _PyObject_FastCallKeywords() argument 145 assert(nargs >= 0); in _PyObject_FastCallKeywords() 153 return _PyFunction_FastCallKeywords(callable, stack, nargs, kwnames); in _PyObject_FastCallKeywords() 156 return _PyCFunction_FastCallKeywords(callable, stack, nargs, kwnames); in _PyObject_FastCallKeywords() [all …]
|
/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/ |
D | INVOKEINTERFACE.java | 39 …private int nargs; // Number of arguments on stack (number of stack slots), called "count" in vmsp… field in INVOKEINTERFACE 50 public INVOKEINTERFACE(final int index, final int nargs) { in INVOKEINTERFACE() argument 53 if (nargs < 1) { in INVOKEINTERFACE() 54 throw new ClassGenException("Number of arguments must be > 0 " + nargs); in INVOKEINTERFACE() 56 this.nargs = nargs; in INVOKEINTERFACE() 68 out.writeByte(nargs); in dump() 78 return nargs; in getCount() 89 nargs = bytes.readUnsignedByte(); in initFromFile() 99 return super.toString(cp) + " " + nargs; in toString() 105 return nargs; // nargs includes this reference in consumeStack()
|
/external/python/cpython3/Python/clinic/ |
D | bltinmodule.c.h | 91 builtin_format(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in builtin_format() argument 97 if (!_PyArg_ParseStack(args, nargs, "O|U:format", in builtin_format() 161 builtin_compile(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in builtin_compile() argument 173 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in builtin_compile() 196 builtin_divmod(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in builtin_divmod() argument 202 if (!_PyArg_UnpackStack(args, nargs, "divmod", in builtin_divmod() 233 builtin_eval(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in builtin_eval() argument 240 if (!_PyArg_UnpackStack(args, nargs, "eval", in builtin_eval() 271 builtin_exec(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in builtin_exec() argument 278 if (!_PyArg_UnpackStack(args, nargs, "exec", in builtin_exec() [all …]
|
/external/python/cpython3/Objects/clinic/ |
D | bytearrayobject.c.h | 61 bytearray_translate(PyByteArrayObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwn… in bytearray_translate() argument 69 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in bytearray_translate() 97 bytearray_maketrans(void *null, PyObject *const *args, Py_ssize_t nargs) in bytearray_maketrans() argument 103 if (!_PyArg_ParseStack(args, nargs, "y*y*:maketrans", in bytearray_maketrans() 143 bytearray_replace(PyByteArrayObject *self, PyObject *const *args, Py_ssize_t nargs) in bytearray_replace() argument 150 if (!_PyArg_ParseStack(args, nargs, "y*y*|n:replace", in bytearray_replace() 191 bytearray_split(PyByteArrayObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in bytearray_split() argument 199 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in bytearray_split() 266 bytearray_rsplit(PyByteArrayObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwname… in bytearray_rsplit() argument 274 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in bytearray_rsplit() [all …]
|
D | bytesobject.c.h | 26 bytes_split(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in bytes_split() argument 34 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in bytes_split() 145 bytes_rsplit(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in bytes_rsplit() argument 153 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in bytes_rsplit() 193 bytes_strip(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs) in bytes_strip() argument 198 if (!_PyArg_UnpackStack(args, nargs, "strip", in bytes_strip() 224 bytes_lstrip(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs) in bytes_lstrip() argument 229 if (!_PyArg_UnpackStack(args, nargs, "lstrip", in bytes_lstrip() 255 bytes_rstrip(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs) in bytes_rstrip() argument 260 if (!_PyArg_UnpackStack(args, nargs, "rstrip", in bytes_rstrip() [all …]
|
D | unicodeobject.c.h | 80 unicode_center(PyObject *self, PyObject *const *args, Py_ssize_t nargs) in unicode_center() argument 86 if (!_PyArg_ParseStack(args, nargs, "n|O&:center", in unicode_center() 118 unicode_encode(PyObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in unicode_encode() argument 126 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in unicode_encode() 151 unicode_expandtabs(PyObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in unicode_expandtabs() argument 158 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in unicode_expandtabs() 449 unicode_ljust(PyObject *self, PyObject *const *args, Py_ssize_t nargs) in unicode_ljust() argument 455 if (!_PyArg_ParseStack(args, nargs, "n|O&:ljust", in unicode_ljust() 498 unicode_strip(PyObject *self, PyObject *const *args, Py_ssize_t nargs) in unicode_strip() argument 503 if (!_PyArg_UnpackStack(args, nargs, "strip", in unicode_strip() [all …]
|
/external/python/cpython3/PC/clinic/ |
D | winreg.c.h | 87 winreg_HKEYType___exit__(PyHKEYObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwn… in winreg_HKEYType___exit__() argument 96 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in winreg_HKEYType___exit__() 144 winreg_ConnectRegistry(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in winreg_ConnectRegistry() argument 151 if (!_PyArg_ParseStack(args, nargs, "ZO&:ConnectRegistry", in winreg_ConnectRegistry() 191 winreg_CreateKey(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in winreg_CreateKey() argument 198 if (!_PyArg_ParseStack(args, nargs, "O&Z:CreateKey", in winreg_CreateKey() 246 winreg_CreateKeyEx(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in winreg_CreateKeyEx() argument 257 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in winreg_CreateKeyEx() 296 winreg_DeleteKey(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in winreg_DeleteKey() argument 302 if (!_PyArg_ParseStack(args, nargs, "O&u:DeleteKey", in winreg_DeleteKey() [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_argparse.py | 553 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/ |
D | xpathInternals.h | 298 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/ |
D | test_argparse.py | 539 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/python/cpython3/Modules/cjkcodecs/clinic/ |
D | multibytecodec.c.h | 25 …odec_encode(MultibyteCodecObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in _multibytecodec_MultibyteCodec_encode() argument 33 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in _multibytecodec_MultibyteCodec_encode() 63 …odec_decode(MultibyteCodecObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in _multibytecodec_MultibyteCodec_decode() argument 71 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in _multibytecodec_MultibyteCodec_decode() 100 …ultibyteIncrementalEncoderObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in _multibytecodec_MultibyteIncrementalEncoder_encode() argument 108 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in _multibytecodec_MultibyteIncrementalEncoder_encode() 149 …ultibyteIncrementalDecoderObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in _multibytecodec_MultibyteIncrementalDecoder_decode() argument 157 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in _multibytecodec_MultibyteIncrementalDecoder_decode() 202 …tibyteStreamReader_read(MultibyteStreamReaderObject *self, PyObject *const *args, Py_ssize_t nargs) in _multibytecodec_MultibyteStreamReader_read() argument 207 if (!_PyArg_UnpackStack(args, nargs, "read", in _multibytecodec_MultibyteStreamReader_read() [all …]
|
/external/u-boot/common/ |
D | cli_simple.c | 25 int nargs = 0; in cli_simple_parse_line() local 28 while (nargs < CONFIG_SYS_MAXARGS) { in cli_simple_parse_line() 34 argv[nargs] = NULL; in cli_simple_parse_line() 35 debug_parser("%s: nargs=%d\n", __func__, nargs); in cli_simple_parse_line() 36 return nargs; in cli_simple_parse_line() 39 argv[nargs++] = line; /* begin of argument string */ in cli_simple_parse_line() 46 argv[nargs] = NULL; in cli_simple_parse_line() 47 debug_parser("parse_line: nargs=%d\n", nargs); in cli_simple_parse_line() 48 return nargs; in cli_simple_parse_line() 56 debug_parser("%s: nargs=%d\n", __func__, nargs); in cli_simple_parse_line() [all …]
|
/external/selinux/prebuilts/bin/ |
D | seinfo.py | 36 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/Python/ |
D | getargs.c | 30 PyAPI_FUNC(int) _PyArg_ParseStack_SizeT(PyObject *const *args, Py_ssize_t nargs, 32 PyAPI_FUNC(int) _PyArg_ParseStackAndKeywords_SizeT(PyObject *const *args, Py_ssize_t nargs, 73 static int vgetargs1_impl(PyObject *args, PyObject *const *stack, Py_ssize_t nargs, 90 static int vgetargskeywordsfast_impl(PyObject *const *args, Py_ssize_t nargs, 147 _PyArg_ParseStack(PyObject *const *args, Py_ssize_t nargs, const char *format, ...) in _PyArg_ParseStack() argument 153 retval = vgetargs1_impl(NULL, args, nargs, format, &va, 0); in _PyArg_ParseStack() 159 _PyArg_ParseStack_SizeT(PyObject *const *args, Py_ssize_t nargs, const char *format, ...) in _PyArg_ParseStack_SizeT() argument 165 retval = vgetargs1_impl(NULL, args, nargs, format, &va, FLAG_SIZE_T); in _PyArg_ParseStack_SizeT() 254 vgetargs1_impl(PyObject *compat_args, PyObject *const *stack, Py_ssize_t nargs, const char *format, in vgetargs1_impl() argument 272 assert(nargs == 0 || stack != NULL); in vgetargs1_impl() [all …]
|