Home
last modified time | relevance | path

Searched refs:argcount (Results 1 - 15 of 15) sorted by relevance

/third_party/ltp/pan/
H A Dsplitstr.c37 * const char **splitstr(const char *str, const char *separator, int *argcount)
42 * strings is returned, along with argcount being set to the number of strings
45 * returned and argcount will be set to zero.
61 const char **splitstr(const char *str, const char *separator, int *argcount) in splitstr() argument
68 * In most recoverable errors, if argcount is not NULL, in splitstr()
69 * set argcount to 0. Then return NULL. in splitstr()
72 if (argcount != NULL) in splitstr()
73 *argcount = 0; in splitstr()
83 if (argcount != NULL) in splitstr()
84 *argcount in splitstr()
[all...]
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_printf.c54 int argcount, in lp_build_print_args()
62 assert(argcount > 0); in lp_build_print_args()
66 for (i = 1; i < argcount; i++) { in lp_build_print_args()
75 return LLVMBuildCall2(builder, printf_type, gallivm->debug_printf_hook, args, argcount, ""); in lp_build_print_args()
200 unsigned argcount, i; in lp_build_printf() local
202 argcount = lp_get_printf_arg_count(fmt); in lp_build_printf()
203 assert(ARRAY_SIZE(params) >= argcount + 1); in lp_build_printf()
206 for (i = 1; i <= argcount; i++) { in lp_build_printf()
212 return lp_build_print_args(gallivm, argcount + 1, params); in lp_build_printf()
53 lp_build_print_args(struct gallivm_state* gallivm, int argcount, LLVMValueRef* args) lp_build_print_args() argument
/third_party/python/Modules/_ctypes/
H A Dcallproc.c807 int argcount, in _call_function_pointer()
849 bool is_variadic = (argtypecount != 0 && argcount > argtypecount); in _call_function_pointer()
868 argcount, in _call_function_pointer()
878 argcount, in _call_function_pointer()
892 argcount, in _call_function_pointer()
1151 Py_ssize_t i, n, argcount, argtype_count; in _ctypes_callproc() local
1159 n = argcount = PyTuple_GET_SIZE(argtuple); in _ctypes_callproc()
1163 ++argcount; in _ctypes_callproc()
1166 if (argcount > CTYPES_MAX_ARGCOUNT) in _ctypes_callproc()
1169 argcount, CTYPES_MAX_ARGCOUN in _ctypes_callproc()
801 _call_function_pointer(int flags, PPROC pProc, void **avalues, ffi_type **atypes, ffi_type *restype, void *resmem, int argcount, int argtypecount) _call_function_pointer() argument
[all...]
/third_party/python/Objects/clinic/
H A Dcodeobject.c.h6 "code(argcount, posonlyargcount, kwonlyargcount, nlocals, stacksize,\n"
15 code_new_impl(PyTypeObject *type, int argcount, int posonlyargcount,
27 int argcount; in code_new() local
54 argcount = _PyLong_AsInt(PyTuple_GET_ITEM(args, 0)); in code_new()
55 if (argcount == -1 && PyErr_Occurred()) { in code_new()
153 return_value = code_new_impl(type, argcount, posonlyargcount, kwonlyargcount, nlocals, stacksize, flags, code, consts, names, varnames, filename, name, qualname, firstlineno, linetable, exceptiontable, freevars, cellvars); in code_new()
/third_party/ltp/tools/sparse/sparse-src/
H A Dtoken.h174 struct argcount { struct
195 struct argcount count;
H A 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/Objects/
H A Dcodeobject.c234 if (con->argcount < con->posonlyargcount || con->posonlyargcount < 0 || in _PyCode_Validate()
276 con->argcount - in _PyCode_Validate()
318 co->co_argcount = con->argcount; in init_code()
498 PyCode_NewWithPosOnlyArgs(int argcount, int posonlyargcount, int kwonlyargcount, in PyCode_NewWithPosOnlyArgs() argument
590 .argcount = argcount, in PyCode_NewWithPosOnlyArgs()
622 PyCode_New(int argcount, int kwonlyargcount, in PyCode_New() argument
631 return PyCode_NewWithPosOnlyArgs(argcount, 0, kwonlyargcount, nlocals, in PyCode_New()
1498 argcount: int
1522 code_new_impl(PyTypeObject *type, int argcount, in argument
[all...]
H A Dcall.c464 Py_ssize_t argcount = PyTuple_GET_SIZE(args); in _PyObject_Call_Prepend() local
465 if (argcount + 1 <= (Py_ssize_t)Py_ARRAY_LENGTH(small_stack)) { in _PyObject_Call_Prepend()
469 stack = PyMem_Malloc((argcount + 1) * sizeof(PyObject *)); in _PyObject_Call_Prepend()
480 argcount * sizeof(PyObject *)); in _PyObject_Call_Prepend()
483 stack, argcount + 1, in _PyObject_Call_Prepend()
/third_party/python/Python/
H A Dceval.c207 size_t argcount, PyObject *kwnames);
4846 int argcount = oparg + is_meth; local
4847 PyObject *callable = PEEK(argcount + 1);
4852 DEOPT_IF(code->co_argcount != argcount, CALL);
4859 STACK_SHRINK(argcount);
4860 for (int i = 0; i < argcount; i++) {
4863 for (int i = argcount; i < code->co_nlocalsplus; i++) {
4880 int argcount = oparg + is_meth; local
4881 PyObject *callable = PEEK(argcount + 1);
4886 DEOPT_IF(argcount > cod
6137 initialize_locals(PyThreadState *tstate, PyFunctionObject *func, PyObject **localsplus, PyObject *const *args, Py_ssize_t argcount, PyObject *kwnames) global() argument
6364 _PyEvalFramePushAndInit(PyThreadState *tstate, PyFunctionObject *func, PyObject *locals, PyObject* const* args, size_t argcount, PyObject *kwnames) global() argument
6417 _PyEval_Vector(PyThreadState *tstate, PyFunctionObject *func, PyObject *locals, PyObject* const* args, size_t argcount, PyObject *kwnames) global() argument
6450 PyEval_EvalCodeEx(PyObject *_co, PyObject *globals, PyObject *locals, PyObject *const *args, int argcount, PyObject *const *kws, int kwcount, PyObject *const *defs, int defcount, PyObject *kwdefs, PyObject *closure) global() argument
[all...]
H A Dspecialize.c1501 int argcount = code->co_argcount; in specialize_py_call() local
1503 assert(defcount <= argcount); in specialize_py_call()
1504 int min_args = argcount-defcount; in specialize_py_call()
1505 if (nargs > argcount || nargs < min_args) { in specialize_py_call()
1509 assert(nargs <= argcount && nargs >= min_args); in specialize_py_call()
1523 if (argcount == nargs) { in specialize_py_call()
H A Dmarshal.c1355 int argcount; in r_object() local
1379 argcount = (int)r_long(p); in r_object()
1445 .argcount = argcount, in r_object()
H A Dcompile.c8044 .argcount = posonlyargcount + posorkwargcount, in makecode()
/third_party/python/Include/internal/
H A Dpycore_ceval.h81 PyObject* const* args, size_t argcount,
H A Dpycore_code.h189 int argcount; member
191 // XXX Replace argcount with posorkwargcount (argcount - posonlyargcount).
/third_party/python/Lib/test/
H A Dtest_subprocess.py301 argcount = subprocess.Popen.__init__.__code__.co_argcount
302 too_many_args = [0] * (argcount + 1)

Completed in 39 milliseconds