/external/ltp/pan/ |
D | splitstr.c | 61 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/ |
D | lp_bld_printf.c | 46 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/ |
D | docopt.py | 62 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/ |
D | test_new.py | 111 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/libvterm/src/ |
D | pen.c | 91 static int lookup_colour(const VTermState *state, int palette, const long args[], int argcount, VTe… in lookup_colour() argument 95 if(argcount < 3) in lookup_colour() 96 return argcount; in lookup_colour() 103 if (!argcount || CSI_ARG_IS_MISSING(args[0])) { in lookup_colour() 104 return argcount ? 1 : 0; in lookup_colour() 109 return argcount ? 1 : 0; in lookup_colour() 267 INTERNAL void vterm_state_setpen(VTermState *state, const long args[], int argcount) in vterm_state_setpen() argument 274 while(argi < argcount) { in vterm_state_setpen() 370 if(argcount - argi < 1) in vterm_state_setpen() 372 …argi += 1 + lookup_colour(state, CSI_ARG(args[argi+1]), args+argi+2, argcount-argi-2, &state->pen.… in vterm_state_setpen() [all …]
|
D | vterm_internal.h | 226 void vterm_state_setpen(VTermState *state, const long args[], int argcount); 227 int vterm_state_getpen(VTermState *state, long args[], int argcount);
|
D | state.c | 882 static int on_csi(const char *leader, const long args[], int argcount, const char *intermed, char c… in on_csi() argument 998 col = argcount < 2 || CSI_ARG_IS_MISSING(args[1]) ? 1 : CSI_ARG(args[1]); in on_csi() 1226 col = argcount < 2 || CSI_ARG_IS_MISSING(args[1]) ? 1 : CSI_ARG(args[1]); in on_csi() 1292 vterm_state_setpen(state, args, argcount); in on_csi() 1373 … state->scrollregion_bottom = argcount < 2 || CSI_ARG_IS_MISSING(args[1]) ? -1 : CSI_ARG(args[1]); in on_csi() 1393 state->scrollregion_right = argcount < 2 || CSI_ARG_IS_MISSING(args[1]) ? -1 : CSI_ARG(args[1]); in on_csi() 1443 if((*state->fallbacks->csi)(leader, args, argcount, intermed, command, state->fbdata)) in on_csi()
|
/external/python/cpython2/Lib/compiler/ |
D | pyassem.py | 263 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/Objects/ |
D | codeobject.c | 106 PyCode_NewWithPosOnlyArgs(int argcount, int posonlyargcount, int kwonlyargcount, in PyCode_NewWithPosOnlyArgs() argument 118 if (argcount < posonlyargcount || posonlyargcount < 0 || in PyCode_NewWithPosOnlyArgs() 157 if (argcount <= n_varnames && kwonlyargcount <= n_varnames) { in PyCode_NewWithPosOnlyArgs() 159 total_args = (Py_ssize_t)argcount + (Py_ssize_t)kwonlyargcount + in PyCode_NewWithPosOnlyArgs() 208 co->co_argcount = argcount; in PyCode_NewWithPosOnlyArgs() 246 PyCode_New(int argcount, int kwonlyargcount, in PyCode_New() argument 253 return PyCode_NewWithPosOnlyArgs(argcount, 0, kwonlyargcount, nlocals, in PyCode_New() 426 int argcount; in code_new() local 445 &argcount, &posonlyargcount, &kwonlyargcount, in code_new() 458 code, filename, name, argcount, posonlyargcount, in code_new() [all …]
|
D | call.c | 864 Py_ssize_t argcount; in _PyObject_Call_Prepend() local 869 argcount = PyTuple_GET_SIZE(args); in _PyObject_Call_Prepend() 870 if (argcount + 1 <= (Py_ssize_t)Py_ARRAY_LENGTH(small_stack)) { in _PyObject_Call_Prepend() 874 stack = PyMem_Malloc((argcount + 1) * sizeof(PyObject *)); in _PyObject_Call_Prepend() 885 argcount * sizeof(PyObject *)); in _PyObject_Call_Prepend() 888 stack, argcount + 1, in _PyObject_Call_Prepend()
|
/external/python/cpython2/Objects/ |
D | codeobject.c | 93 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()
|
D | classobject.c | 2586 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/cpython3/Modules/_ctypes/ |
D | callproc.c | 816 int argcount) in _call_function_pointer() argument 841 argcount, in _call_function_pointer() 1096 Py_ssize_t i, n, argcount, argtype_count; in _ctypes_callproc() local 1104 n = argcount = PyTuple_GET_SIZE(argtuple); in _ctypes_callproc() 1108 ++argcount; in _ctypes_callproc() 1111 args = (struct argument *)alloca(sizeof(struct argument) * argcount); in _ctypes_callproc() 1116 memset(args, 0, sizeof(struct argument) * argcount); in _ctypes_callproc() 1172 avalues = (void **)alloca(sizeof(void *) * argcount); in _ctypes_callproc() 1173 atypes = (ffi_type **)alloca(sizeof(ffi_type *) * argcount); in _ctypes_callproc() 1178 for (i = 0; i < argcount; ++i) { in _ctypes_callproc() [all …]
|
/external/python/cpython2/Modules/_ctypes/ |
D | callproc.c | 778 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/ |
D | code.rst | 36 .. 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/ |
D | CallTips.py | 180 argcount = fob.func_code.co_argcount 181 real_args = fob.func_code.co_varnames[arg_offset:argcount]
|
/external/python/cpython3/Include/ |
D | eval.h | 24 PyObject *const *args, Py_ssize_t argcount,
|
/external/python/cpython2/Doc/c-api/ |
D | code.rst | 36 .. c:function:: PyCodeObject *PyCode_New(int argcount, int nlocals, int stacksize, int flags, PyObj…
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atifs_to_tgsi.c | 209 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/library/ |
D | new.rst | 49 .. function:: code(argcount, nlocals, stacksize, flags, codestring, constants, names, varnames, fil…
|
/external/python/cpython2/Python/ |
D | ceval.c | 3368 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()
|
D | marshal.c | 1005 int argcount; in r_object() local 1023 argcount = (int)r_long(p); in r_object() 1057 argcount, nlocals, stacksize, flags, in r_object()
|
/external/python/cpython3/Python/ |
D | ceval.c | 4046 PyObject *const *args, Py_ssize_t argcount, in _PyEval_EvalCodeWithName() argument 4095 if (argcount > co->co_argcount) { in _PyEval_EvalCodeWithName() 4099 n = argcount; in _PyEval_EvalCodeWithName() 4109 u = _PyTuple_FromArray(args + n, argcount - n); in _PyEval_EvalCodeWithName() 4186 if ((argcount > co->co_argcount) && !(co->co_flags & CO_VARARGS)) { in _PyEval_EvalCodeWithName() 4187 too_many_positional(tstate, co, argcount, defcount, fastlocals); in _PyEval_EvalCodeWithName() 4192 if (argcount < co->co_argcount) { in _PyEval_EvalCodeWithName() 4195 for (i = argcount; i < m; i++) { in _PyEval_EvalCodeWithName() 4322 PyObject *const *args, int argcount, in PyEval_EvalCodeEx() argument 4328 args, argcount, in PyEval_EvalCodeEx()
|
D | marshal.c | 1325 int argcount; in r_object() local 1349 argcount = (int)r_long(p); in r_object() 1400 argcount, posonlyargcount, kwonlyargcount, in r_object()
|
/external/libvterm/include/ |
D | vterm.h | 337 …int (*csi)(const char *leader, const long args[], int argcount, const char *intermed, char command…
|