Home
last modified time | relevance | path

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

/third_party/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()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_printf.c47 int argcount, in lp_build_print_args() argument
55 assert(argcount > 0); in lp_build_print_args()
59 for (i = 1; i < argcount; i++) { in lp_build_print_args()
70 return LLVMBuildCall(builder, gallivm->debug_printf_hook, args, argcount, ""); in lp_build_print_args()
195 unsigned argcount, i; in lp_build_printf() local
197 argcount = lp_get_printf_arg_count(fmt); in lp_build_printf()
198 assert(ARRAY_SIZE(params) >= argcount + 1); in lp_build_printf()
201 for (i = 1; i <= argcount; i++) { in lp_build_printf()
207 return lp_build_print_args(gallivm, argcount + 1, params); in lp_build_printf()
/third_party/python/Modules/_ctypes/
Dcallproc.c804 int argcount, in _call_function_pointer() argument
842 bool is_variadic = (argtypecount != 0 && argcount > argtypecount); in _call_function_pointer()
861 argcount, in _call_function_pointer()
871 argcount, in _call_function_pointer()
885 argcount, in _call_function_pointer()
1149 Py_ssize_t i, n, argcount, argtype_count; in _ctypes_callproc() local
1157 n = argcount = PyTuple_GET_SIZE(argtuple); in _ctypes_callproc()
1161 ++argcount; in _ctypes_callproc()
1164 if (argcount > CTYPES_MAX_ARGCOUNT) in _ctypes_callproc()
1167 argcount, CTYPES_MAX_ARGCOUNT); in _ctypes_callproc()
[all …]
/third_party/python/Objects/clinic/
Dcodeobject.c.h14 code_new_impl(PyTypeObject *type, int argcount, int posonlyargcount,
25 int argcount; in code_new() local
49 argcount = _PyLong_AsInt(PyTuple_GET_ITEM(args, 0)); in code_new()
50 if (argcount == -1 && PyErr_Occurred()) { in code_new()
135 …return_value = code_new_impl(type, argcount, posonlyargcount, kwonlyargcount, nlocals, stacksize, … in code_new()
/third_party/python/Objects/
Dcodeobject.c117 PyCode_NewWithPosOnlyArgs(int argcount, int posonlyargcount, int kwonlyargcount, in PyCode_NewWithPosOnlyArgs() argument
129 if (argcount < posonlyargcount || posonlyargcount < 0 || in PyCode_NewWithPosOnlyArgs()
186 if (argcount <= n_varnames && kwonlyargcount <= n_varnames) { in PyCode_NewWithPosOnlyArgs()
188 total_args = (Py_ssize_t)argcount + (Py_ssize_t)kwonlyargcount + in PyCode_NewWithPosOnlyArgs()
237 co->co_argcount = argcount; in PyCode_NewWithPosOnlyArgs()
275 PyCode_New(int argcount, int kwonlyargcount, in PyCode_New() argument
282 return PyCode_NewWithPosOnlyArgs(argcount, 0, kwonlyargcount, nlocals, in PyCode_New()
549 code_new_impl(PyTypeObject *type, int argcount, int posonlyargcount, in code_new_impl() argument
564 code, filename, name, argcount, posonlyargcount, in code_new_impl()
569 if (argcount < 0) { in code_new_impl()
[all …]
Dcall.c413 Py_ssize_t argcount = PyTuple_GET_SIZE(args); in _PyObject_Call_Prepend() local
414 if (argcount + 1 <= (Py_ssize_t)Py_ARRAY_LENGTH(small_stack)) { in _PyObject_Call_Prepend()
418 stack = PyMem_Malloc((argcount + 1) * sizeof(PyObject *)); in _PyObject_Call_Prepend()
429 argcount * sizeof(PyObject *)); in _PyObject_Call_Prepend()
432 stack, argcount + 1, in _PyObject_Call_Prepend()
/third_party/ltp/tools/sparse/sparse-src/
Dtoken.h174 struct argcount { struct
195 struct argcount count; argument
Dpre-process.c338 struct argcount *p = &arglist->next->count; in collect_arguments()
358 struct argcount *p = &arglist->next->count; in collect_arguments()
1089 struct argcount *count = &list->count; in parse_arguments()
1197 struct argcount *count = &arglist->next->count; in try_arg()
/third_party/python/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…
Dveryhigh.rst278 …ct *co, PyObject *globals, PyObject *locals, PyObject *const *args, int argcount, PyObject *const …
/third_party/python/Include/internal/
Dpycore_ceval.h52 PyObject* const* args, size_t argcount,
/third_party/python/Python/
Dceval.c4780 PyObject *const *args, Py_ssize_t argcount, in _PyEval_MakeFrameVector() argument
4816 if (argcount > co->co_argcount) { in _PyEval_MakeFrameVector()
4820 n = argcount; in _PyEval_MakeFrameVector()
4830 PyObject *u = _PyTuple_FromArray(args + n, argcount - n); in _PyEval_MakeFrameVector()
4843 PyObject *value = args[i+argcount]; in _PyEval_MakeFrameVector()
4910 if ((argcount > co->co_argcount) && !(co->co_flags & CO_VARARGS)) { in _PyEval_MakeFrameVector()
4911 too_many_positional(tstate, co, argcount, con->fc_defaults, fastlocals, in _PyEval_MakeFrameVector()
4917 if (argcount < co->co_argcount) { in _PyEval_MakeFrameVector()
4921 for (i = argcount; i < m; i++) { in _PyEval_MakeFrameVector()
5054 PyObject* const* args, size_t argcount, in _PyEval_Vector() argument
[all …]
Dmarshal.c1304 int argcount; in r_object() local
1328 argcount = (int)r_long(p); in r_object()
1379 argcount, posonlyargcount, kwonlyargcount, in r_object()
/third_party/python/Doc/data/
Drefcounts.dat238 PyCode_NewWithPosOnlyArgs:int:argcount::
256 PyCode_New:int:argcount::
813 PyEval_EvalCodeEx:int:argcount::
/third_party/python/Doc/library/
Dtypes.rst153 ….. audit-event:: code.__new__ code,filename,name,argcount,posonlyargcount,kwonlyargcount,nlocals,s…
/third_party/python/Lib/test/
Dtest_subprocess.py283 argcount = subprocess.Popen.__init__.__code__.co_argcount
284 too_many_args = [0] * (argcount + 1)
/third_party/python/Doc/whatsnew/
D3.8.rst2002 in :pep:`570`. The first argument (*argcount*) now represents the total