Home
last modified time | relevance | path

Searched refs:argcount (Results 1 – 25 of 32) 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
56 assert(argcount > 0); in lp_build_print_args()
60 for (i = 1; i < argcount; i++) { in lp_build_print_args()
71 return LLVMBuildCall(builder, func_printf, args, argcount, ""); in lp_build_print_args()
198 unsigned argcount, i; in lp_build_printf() local
200 argcount = lp_get_printf_arg_count(fmt); in lp_build_printf()
201 assert(ARRAY_SIZE(params) >= argcount + 1); in lp_build_printf()
204 for (i = 1; i <= argcount; i++) { in lp_build_printf()
210 return lp_build_print_args(gallivm, argcount + 1, params); in lp_build_printf()
/external/libvterm/src/
Dpen.c67 static int lookup_colour(const VTermState *state, int palette, const long args[], int argcount, VTe… in lookup_colour() argument
71 if(argcount < 3) in lookup_colour()
72 return argcount; in lookup_colour()
84 lookup_colour_palette(state, argcount ? CSI_ARG_OR(args[0], -1) : -1, col); in lookup_colour()
86 return argcount ? 1 : 0; in lookup_colour()
210 INTERNAL void vterm_state_setpen(VTermState *state, const long args[], int argcount) in vterm_state_setpen() argument
217 while(argi < argcount) { in vterm_state_setpen()
313 if(argcount - argi < 1) in vterm_state_setpen()
315 …argi += 1 + lookup_colour(state, CSI_ARG(args[argi+1]), args+argi+2, argcount-argi-2, &state->pen.… in vterm_state_setpen()
334 if(argcount - argi < 1) in vterm_state_setpen()
[all …]
Dparser.c36 int argcount = 1; // Always at least 1 arg in do_string_csi() local
40 argcount++; in do_string_csi()
44 if(argcount > CSI_ARGS_MAX) in do_string_csi()
45 argcount = CSI_ARGS_MAX; in do_string_csi()
48 for(argi = 0; argi < argcount; argi++) in do_string_csi()
52 for(i = leaderlen; i < arglen && argi < argcount; i++) { in do_string_csi()
100 …if((*vt->parser_callbacks->csi)(leaderlen ? leader : NULL, csi_args, argcount, intermedlen ? inter… in do_string_csi()
Dvterm_internal.h189 void vterm_state_setpen(VTermState *state, const long args[], int argcount);
190 int vterm_state_getpen(VTermState *state, long args[], int argcount);
Dstate.c899 static int on_csi(const char *leader, const long args[], int argcount, const char *intermed, char c… in on_csi() argument
1011 col = argcount < 2 || CSI_ARG_IS_MISSING(args[1]) ? 1 : CSI_ARG(args[1]); in on_csi()
1212 col = argcount < 2 || CSI_ARG_IS_MISSING(args[1]) ? 1 : CSI_ARG(args[1]); in on_csi()
1278 vterm_state_setpen(state, args, argcount); in on_csi()
1359 … state->scrollregion_bottom = argcount < 2 || CSI_ARG_IS_MISSING(args[1]) ? -1 : CSI_ARG(args[1]); in on_csi()
1373 state->scrollregion_right = argcount < 2 || CSI_ARG_IS_MISSING(args[1]) ? -1 : CSI_ARG(args[1]); in on_csi()
/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,
/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.c746 int argcount) in _call_function_pointer() argument
776 argcount, in _call_function_pointer()
1063 Py_ssize_t i, n, argcount, argtype_count; in _ctypes_callproc() local
1071 n = argcount = PyTuple_GET_SIZE(argtuple); in _ctypes_callproc()
1075 ++argcount; in _ctypes_callproc()
1078 args = (struct argument *)alloca(sizeof(struct argument) * argcount); in _ctypes_callproc()
1083 memset(args, 0, sizeof(struct argument) * argcount); in _ctypes_callproc()
1132 avalues = (void **)alloca(sizeof(void *) * argcount); in _ctypes_callproc()
1133 atypes = (ffi_type **)alloca(sizeof(ffi_type *) * argcount); in _ctypes_callproc()
1138 for (i = 0; i < argcount; ++i) { in _ctypes_callproc()
[all …]
/external/python/cpython3/Objects/
Dnamespaceobject.c45 Py_ssize_t argcount = PyObject_Size(args); in namespace_init() local
46 if (argcount < 0) in namespace_init()
48 else if (argcount > 0) { in namespace_init()
Dcodeobject.c105 PyCode_New(int argcount, int kwonlyargcount, in PyCode_New() argument
117 if (argcount < 0 || kwonlyargcount < 0 || nlocals < 0 || in PyCode_New()
144 Py_ssize_t total_args = argcount + kwonlyargcount + in PyCode_New()
176 co->co_argcount = argcount; in PyCode_New()
328 int argcount; in code_new() local
346 &argcount, &kwonlyargcount, in code_new()
358 if (argcount < 0) { in code_new()
397 co = (PyObject *)PyCode_New(argcount, kwonlyargcount, in code_new()
Dabstract.c2335 Py_ssize_t argcount; in _PyObject_Call_Prepend() local
2340 argcount = PyTuple_GET_SIZE(args); in _PyObject_Call_Prepend()
2341 if (argcount + 1 <= (Py_ssize_t)Py_ARRAY_LENGTH(small_stack)) { in _PyObject_Call_Prepend()
2345 stack = PyMem_Malloc((argcount + 1) * sizeof(PyObject *)); in _PyObject_Call_Prepend()
2356 argcount * sizeof(PyObject *)); in _PyObject_Call_Prepend()
2359 stack, argcount + 1, in _PyObject_Call_Prepend()
/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/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()
/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/nos/host/android/manual_tests/
Dtest_citadel.c238 int i, rv, argcount, optind = 1; in do_tpm() local
253 argcount = argc - optind; in do_tpm()
255 buflen = option.more + argcount; in do_tpm()
262 for (i = 0; i < argcount; i++) { in do_tpm()
/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
245 struct ureg_dst *dst, struct ureg_src *args, unsigned argcount) in emit_arith_inst() argument
248 return emit_special_inst(t, desc, dst, args, argcount); in emit_arith_inst()
251 ureg_insn(t->ureg, desc->TGSI_opcode, dst, 1, args, argcount); in emit_arith_inst()
/external/python/cpython3/Doc/c-api/
Dcode.rst36 .. c:function:: PyCodeObject* PyCode_New(int argcount, int kwonlyargcount, int nlocals, int stacksi…
/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/cpython2/Python/
Dceval.c3348 PyObject **args, int argcount, PyObject **kws, int kwcount, in PyEval_EvalCodeEx() argument
3375 int n = argcount; in PyEval_EvalCodeEx()
3386 if (argcount > co->co_argcount) { in PyEval_EvalCodeEx()
3395 argcount + kwcount); in PyEval_EvalCodeEx()
3406 u = PyTuple_New(argcount - n); in PyEval_EvalCodeEx()
3410 for (i = n; i < argcount; i++) { in PyEval_EvalCodeEx()
3480 if (argcount < co->co_argcount) { in PyEval_EvalCodeEx()
3482 for (i = argcount; i < m; i++) { in PyEval_EvalCodeEx()
3512 else if (argcount > 0 || kwcount > 0) { in PyEval_EvalCodeEx()
3516 argcount + kwcount); in PyEval_EvalCodeEx()
Dmarshal.c999 int argcount; in r_object() local
1017 argcount = (int)r_long(p); in r_object()
1051 argcount, nlocals, stacksize, flags, in r_object()
/external/python/cpython3/Python/
Dceval.c3865 PyObject **args, Py_ssize_t argcount, in _PyEval_EvalCodeWithName() argument
3914 if (argcount > co->co_argcount) { in _PyEval_EvalCodeWithName()
3918 n = argcount; in _PyEval_EvalCodeWithName()
3928 u = PyTuple_New(argcount - n); in _PyEval_EvalCodeWithName()
3933 for (i = n; i < argcount; i++) { in _PyEval_EvalCodeWithName()
4001 if (argcount > co->co_argcount && !(co->co_flags & CO_VARARGS)) { in _PyEval_EvalCodeWithName()
4002 too_many_positional(co, argcount, defcount, fastlocals); in _PyEval_EvalCodeWithName()
4007 if (argcount < co->co_argcount) { in _PyEval_EvalCodeWithName()
4010 for (i = argcount; i < m; i++) { in _PyEval_EvalCodeWithName()
4146 PyObject **args, int argcount, PyObject **kws, int kwcount, in PyEval_EvalCodeEx() argument
[all …]
Dmarshal.c1324 int argcount; in r_object() local
1347 argcount = (int)r_long(p); in r_object()
1406 argcount, kwonlyargcount, in r_object()
/external/libvterm/include/
Dvterm.h171 …int (*csi)(const char *leader, const long args[], int argcount, const char *intermed, char command…

12