Home
last modified time | relevance | path

Searched refs:argcount (Results 1 – 25 of 34) sorted by relevance

12

/external/ltp/pan/
Dsplitstr.c61 const char **splitstr(const char *str, const char *separator, int *argcount) in splitstr() argument
72 if (argcount != NULL) in splitstr()
73 *argcount = 0; in splitstr()
83 if (argcount != NULL) in splitstr()
84 *argcount = 0; in splitstr()
94 if (argcount != NULL) in splitstr()
95 *argcount = 0; in splitstr()
136 if (argcount != NULL) in splitstr()
137 *argcount = num_toks; in splitstr()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_printf.c46 int argcount, in lp_build_print_args() argument
54 assert(argcount > 0); in lp_build_print_args()
58 for (i = 1; i < argcount; i++) { in lp_build_print_args()
69 return LLVMBuildCall(builder, gallivm->debug_printf_hook, args, argcount, ""); in lp_build_print_args()
194 unsigned argcount, i; in lp_build_printf() local
196 argcount = lp_get_printf_arg_count(fmt); in lp_build_printf()
197 assert(ARRAY_SIZE(params) >= argcount + 1); in lp_build_printf()
200 for (i = 1; i <= argcount; i++) { in lp_build_printf()
206 return lp_build_print_args(gallivm, argcount + 1, params); in lp_build_printf()
/external/fmtlib/support/
Ddocopt.py62 if type(e) is Argument or type(e) is Option and e.argcount:
67 if type(e) is Command or type(e) is Option and e.argcount == 0:
182 def __init__(self, short=None, long=None, argcount=0, value=False): argument
183 assert argcount in (0, 1)
184 self.short, self.long, self.argcount = short, long, argcount
185 self.value = None if value is False and argcount else value
189 short, long, argcount, value = None, None, 0, False
198 argcount = 1
199 if argcount:
202 return class_(short, long, argcount, value)
[all …]
/external/python/cpython2/Lib/test/
Dtest_new.py111 argcount = c.co_argcount
126 d = new.code(argcount, nlocals, stacksize, flags, codestring,
131 d = new.code(argcount, nlocals, stacksize, flags, codestring,
137 -argcount, nlocals, stacksize, flags, codestring,
142 argcount, -nlocals, stacksize, flags, codestring,
147 argcount, nlocals, stacksize, flags, codestring,
154 d = new.code(argcount, nlocals, stacksize, flags, codestring,
Dtest_subprocess.py148 argcount = subprocess.Popen.__init__.__code__.co_argcount
149 too_many_args = [0] * (argcount + 1)
/external/python/cpython2/Lib/compiler/
Dpyassem.py263 self.argcount = getArgCount(args)
293 self.argcount = self.argcount - 1
536 argcount = self.argcount
538 argcount = argcount - 1
539 return types.CodeType(argcount, nlocals, self.stacksize, self.flags,
574 argcount = len(args)
579 argcount = argcount - numNames
580 return argcount
/external/python/cpython3/Modules/_ctypes/
Dcallproc.c821 int argcount, in _call_function_pointer() argument
859 bool is_variadic = (argtypecount != 0 && argcount > argtypecount); in _call_function_pointer()
878 argcount, in _call_function_pointer()
888 argcount, in _call_function_pointer()
902 argcount, in _call_function_pointer()
1166 Py_ssize_t i, n, argcount, argtype_count; in _ctypes_callproc() local
1174 n = argcount = PyTuple_GET_SIZE(argtuple); in _ctypes_callproc()
1178 ++argcount; in _ctypes_callproc()
1181 if (argcount > CTYPES_MAX_ARGCOUNT) in _ctypes_callproc()
1184 argcount, CTYPES_MAX_ARGCOUNT); in _ctypes_callproc()
[all …]
/external/python/cpython3/Objects/
Dcodeobject.c117 PyCode_NewWithPosOnlyArgs(int argcount, int posonlyargcount, int kwonlyargcount, in PyCode_NewWithPosOnlyArgs() argument
129 if (argcount < posonlyargcount || posonlyargcount < 0 || in PyCode_NewWithPosOnlyArgs()
178 if (argcount <= n_varnames && kwonlyargcount <= n_varnames) { in PyCode_NewWithPosOnlyArgs()
180 total_args = (Py_ssize_t)argcount + (Py_ssize_t)kwonlyargcount + in PyCode_NewWithPosOnlyArgs()
229 co->co_argcount = argcount; in PyCode_NewWithPosOnlyArgs()
267 PyCode_New(int argcount, int kwonlyargcount, in PyCode_New() argument
274 return PyCode_NewWithPosOnlyArgs(argcount, 0, kwonlyargcount, nlocals, in PyCode_New()
447 int argcount; in code_new() local
466 &argcount, &posonlyargcount, &kwonlyargcount, in code_new()
479 code, filename, name, argcount, posonlyargcount, in code_new()
[all …]
Dcall.c470 Py_ssize_t argcount = PyTuple_GET_SIZE(args); in _PyObject_Call_Prepend() local
471 if (argcount + 1 <= (Py_ssize_t)Py_ARRAY_LENGTH(small_stack)) { in _PyObject_Call_Prepend()
475 stack = PyMem_Malloc((argcount + 1) * sizeof(PyObject *)); in _PyObject_Call_Prepend()
486 argcount * sizeof(PyObject *)); in _PyObject_Call_Prepend()
489 stack, argcount + 1, in _PyObject_Call_Prepend()
/external/python/cpython2/Objects/
Dcodeobject.c93 PyCode_New(int argcount, int nlocals, int stacksize, int flags, in PyCode_New() argument
101 if (argcount < 0 || nlocals < 0 || in PyCode_New()
122 co->co_argcount = argcount; in PyCode_New()
271 int argcount; in code_new() local
288 &argcount, &nlocals, &stacksize, &flags, in code_new()
299 if (argcount < 0) { in code_new()
332 co = (PyObject *)PyCode_New(argcount, nlocals, stacksize, flags, in code_new()
Dclassobject.c2586 Py_ssize_t argcount = PyTuple_Size(arg); in instancemethod_call() local
2587 PyObject *newarg = PyTuple_New(argcount + 1); in instancemethod_call()
2593 for (i = 0; i < argcount; i++) { in instancemethod_call()
/external/python/cpython2/Modules/_ctypes/
Dcallproc.c778 int argcount) in _call_function_pointer() argument
808 argcount, in _call_function_pointer()
1099 Py_ssize_t i, n, argcount, argtype_count; in _ctypes_callproc() local
1107 n = argcount = PyTuple_GET_SIZE(argtuple); in _ctypes_callproc()
1111 ++argcount; in _ctypes_callproc()
1114 args = (struct argument *)alloca(sizeof(struct argument) * argcount); in _ctypes_callproc()
1119 memset(args, 0, sizeof(struct argument) * argcount); in _ctypes_callproc()
1170 avalues = (void **)alloca(sizeof(void *) * argcount); in _ctypes_callproc()
1171 atypes = (ffi_type **)alloca(sizeof(ffi_type *) * argcount); in _ctypes_callproc()
1176 for (i = 0; i < argcount; ++i) { in _ctypes_callproc()
[all …]
/external/python/cpython3/Doc/c-api/
Dcode.rst36 .. c:function:: PyCodeObject* PyCode_New(int argcount, int kwonlyargcount, int nlocals, int stacksi…
43 .. c:function:: PyCodeObject* PyCode_NewWithPosOnlyArgs(int argcount, int posonlyargcount, int kwon…
/external/python/cpython2/Lib/idlelib/
DCallTips.py180 argcount = fob.func_code.co_argcount
181 real_args = fob.func_code.co_varnames[arg_offset:argcount]
/external/python/cpython3/Include/
Deval.h24 PyObject *const *args, Py_ssize_t argcount,
/external/python/cpython3/Include/internal/
Dpycore_ceval.h46 PyObject *const *args, Py_ssize_t argcount,
/external/mesa3d/src/mesa/state_tracker/
Dst_atifs_to_tgsi.c209 struct ureg_dst *dst, struct ureg_src *args, unsigned argcount) in emit_special_inst() argument
244 struct ureg_dst *dst, struct ureg_src *args, unsigned argcount) in emit_arith_inst() argument
247 emit_special_inst(t, desc, dst, args, argcount); in emit_arith_inst()
251 ureg_insn(t->ureg, desc->TGSI_opcode, dst, 1, args, argcount, 0); in emit_arith_inst()
/external/python/cpython2/Doc/c-api/
Dcode.rst36 .. c:function:: PyCodeObject *PyCode_New(int argcount, int nlocals, int stacksize, int flags, PyObj…
/external/python/cpython2/Doc/library/
Dnew.rst49 .. function:: code(argcount, nlocals, stacksize, flags, codestring, constants, names, varnames, fil…
/external/python/cpython3/Python/
Dceval.c4076 PyObject *const *args, Py_ssize_t argcount, in _PyEval_EvalCode() argument
4124 if (argcount > co->co_argcount) { in _PyEval_EvalCode()
4128 n = argcount; in _PyEval_EvalCode()
4138 u = _PyTuple_FromArray(args + n, argcount - n); in _PyEval_EvalCode()
4215 if ((argcount > co->co_argcount) && !(co->co_flags & CO_VARARGS)) { in _PyEval_EvalCode()
4216 too_many_positional(tstate, co, argcount, defcount, fastlocals); in _PyEval_EvalCode()
4221 if (argcount < co->co_argcount) { in _PyEval_EvalCode()
4224 for (i = argcount; i < m; i++) { in _PyEval_EvalCode()
4351 PyObject *const *args, Py_ssize_t argcount, in _PyEval_EvalCodeWithName() argument
4360 args, argcount, in _PyEval_EvalCodeWithName()
[all …]
Dmarshal.c1300 int argcount; in r_object() local
1324 argcount = (int)r_long(p); in r_object()
1375 code, filename, name, argcount, posonlyargcount, in r_object()
1381 argcount, posonlyargcount, kwonlyargcount, in r_object()
/external/python/cpython2/Python/
Dceval.c3368 PyObject **args, int argcount, PyObject **kws, int kwcount, in PyEval_EvalCodeEx() argument
3395 int n = argcount; in PyEval_EvalCodeEx()
3406 if (argcount > co->co_argcount) { in PyEval_EvalCodeEx()
3415 argcount + kwcount); in PyEval_EvalCodeEx()
3426 u = PyTuple_New(argcount - n); in PyEval_EvalCodeEx()
3430 for (i = n; i < argcount; i++) { in PyEval_EvalCodeEx()
3500 if (argcount < co->co_argcount) { in PyEval_EvalCodeEx()
3502 for (i = argcount; i < m; i++) { in PyEval_EvalCodeEx()
3532 else if (argcount > 0 || kwcount > 0) { in PyEval_EvalCodeEx()
3536 argcount + kwcount); in PyEval_EvalCodeEx()
Dmarshal.c1005 int argcount; in r_object() local
1023 argcount = (int)r_long(p); in r_object()
1057 argcount, nlocals, stacksize, flags, in r_object()
/external/libcups/test/
Drun-stp-tests.sh13 argcount=$#
695 if test $argcount -eq 0; then
/external/python/cpython3/Doc/library/
Dtypes.rst146 ….. audit-event:: code.__new__ code,filename,name,argcount,posonlyargcount,kwonlyargcount,nlocals,s…

12