Home
last modified time | relevance | path

Searched refs:nparams (Results 1 – 25 of 66) sorted by relevance

123

/netbsd/sbin/wsconsctl/
H A Dmouse.c128 pl.nparams = 0; in mouse_get_parameters()
134 params[pl.nparams++].key = WSMOUSECFG_HORIZSCROLLDIST; in mouse_get_parameters()
136 params[pl.nparams++].key = WSMOUSECFG_VERTSCROLLDIST; in mouse_get_parameters()
148 for (i = 0; i < pl.nparams; ++i) { in mouse_get_parameters()
277 pl.nparams = 0; in mouse_put_parameters()
281 params[pl.nparams].key = WSMOUSECFG_REVERSE_SCROLLING; in mouse_put_parameters()
282 params[pl.nparams++].value = reverse_scrolling; in mouse_put_parameters()
286 params[pl.nparams].key = WSMOUSECFG_HORIZSCROLLDIST; in mouse_put_parameters()
287 params[pl.nparams++].value = horiz_scroll_dist; in mouse_put_parameters()
291 params[pl.nparams].key = WSMOUSECFG_VERTSCROLLDIST; in mouse_put_parameters()
[all …]
/netbsd/external/gpl3/gcc.old/dist/gcc/d/
H A Druntime.cc216 int flags, int nparams, ...) in build_libcall_decl() argument
218 tree *args = XALLOCAVEC (tree, nparams); in build_libcall_decl()
225 va_start (ap, nparams); in build_libcall_decl()
227 for (int i = 0; i < nparams; i++) in build_libcall_decl()
235 nparams = i; in build_libcall_decl()
246 fntype = build_varargs_function_type_array (tret, nparams, args); in build_libcall_decl()
248 fntype = build_function_type_array (tret, nparams, args); in build_libcall_decl()
/netbsd/external/gpl3/gcc/dist/gcc/d/
H A Druntime.cc221 int flags, int nparams, ...) in build_libcall_decl() argument
223 tree *args = XALLOCAVEC (tree, nparams); in build_libcall_decl()
230 va_start (ap, nparams); in build_libcall_decl()
232 for (int i = 0; i < nparams; i++) in build_libcall_decl()
240 nparams = i; in build_libcall_decl()
251 fntype = build_varargs_function_type_array (tret, nparams, args); in build_libcall_decl()
253 fntype = build_function_type_array (tret, nparams, args); in build_libcall_decl()
/netbsd/usr.bin/tput/
H A Dtput.c149 int i, nparams, piss[TPARM_MAX]; in process() local
156 nparams = _ti_parm_analyse(str, piss, TPARM_MAX); in process()
161 for (i = 0; i < nparams; i++) { in process()
163 errx(2, errfew, nparams, cap); in process()
181 #define p(i) (i <= nparams ? \ in process()
/netbsd/share/examples/puffs/pgfs/
H A Dpgfs_db.c215 unsigned int nparams; member
234 c->nparams = 0; in createcmd()
238 c->nparams++; in createcmd()
241 c->paramtypes = emalloc(c->nparams * sizeof(*c->paramtypes)); in createcmd()
242 for (i = 0; i < c->nparams; i++) { in createcmd()
359 paramvalues = emalloc(c->nparams * sizeof(*paramvalues)); in vsendcmd()
363 for (i = 0; i < c->nparams; i++) { in vsendcmd()
413 emalloc(c->nparams * sizeof(*paramformats)); in vsendcmd()
417 c->nparams * sizeof(*paramformats)); in vsendcmd()
435 ret = PQsendQueryPrepared(conn, c->name, c->nparams, in vsendcmd()
[all …]
/netbsd/sys/dev/wscons/
H A Dwsmouse.c620 struct wsmouse_param *buf, size_t nparams) in wsmouse_set_params() argument
624 for (i = 0; i < nparams; ++i) { in wsmouse_set_params()
642 struct wsmouse_param *buf, size_t nparams) in wsmouse_get_params() argument
646 for (i = 0; i < nparams; ++i) { in wsmouse_get_params()
670 if (upl->params == NULL || upl->nparams > WSMOUSECFG_MAX) in wsmouse_handle_params()
672 if (upl->nparams == 0) in wsmouse_handle_params()
675 len = upl->nparams * sizeof(struct wsmouse_param); in wsmouse_handle_params()
684 error = wsmouse_set_params(sc, buf, upl->nparams); in wsmouse_handle_params()
688 error = wsmouse_get_params(sc, buf, upl->nparams); in wsmouse_handle_params()
/netbsd/external/gpl3/gdb/dist/gdb/
H A Dbuildsym.c262 int nparams = 0, iparams; in finish_block_internal() local
270 nparams++; in finish_block_internal()
272 if (nparams > 0) in finish_block_internal()
274 ftype->set_num_fields (nparams); in finish_block_internal()
277 TYPE_ALLOC (ftype, nparams * sizeof (struct field))); in finish_block_internal()
284 if (iparams == nparams) in finish_block_internal()
H A Dgdbtypes.c544 int nparams, in lookup_function_type_with_arguments() argument
550 if (nparams > 0) in lookup_function_type_with_arguments()
552 if (param_types[nparams - 1] == NULL) in lookup_function_type_with_arguments()
554 --nparams; in lookup_function_type_with_arguments()
557 else if (check_typedef (param_types[nparams - 1])->code () in lookup_function_type_with_arguments()
560 --nparams; in lookup_function_type_with_arguments()
562 gdb_assert (nparams == 0); in lookup_function_type_with_arguments()
569 fn->set_num_fields (nparams); in lookup_function_type_with_arguments()
571 ((struct field *) TYPE_ZALLOC (fn, nparams * sizeof (struct field))); in lookup_function_type_with_arguments()
572 for (i = 0; i < nparams; ++i) in lookup_function_type_with_arguments()
/netbsd/external/gpl3/gdb.old/dist/gdb/
H A Dbuildsym.c262 int nparams = 0, iparams; in finish_block_internal() local
270 nparams++; in finish_block_internal()
272 if (nparams > 0) in finish_block_internal()
274 ftype->set_num_fields (nparams); in finish_block_internal()
277 TYPE_ALLOC (ftype, nparams * sizeof (struct field))); in finish_block_internal()
284 if (iparams == nparams) in finish_block_internal()
H A Dgdbtypes.c544 int nparams, in lookup_function_type_with_arguments() argument
550 if (nparams > 0) in lookup_function_type_with_arguments()
552 if (param_types[nparams - 1] == NULL) in lookup_function_type_with_arguments()
554 --nparams; in lookup_function_type_with_arguments()
557 else if (check_typedef (param_types[nparams - 1])->code () in lookup_function_type_with_arguments()
560 --nparams; in lookup_function_type_with_arguments()
562 gdb_assert (nparams == 0); in lookup_function_type_with_arguments()
569 fn->set_num_fields (nparams); in lookup_function_type_with_arguments()
571 ((struct field *) TYPE_ZALLOC (fn, nparams * sizeof (struct field))); in lookup_function_type_with_arguments()
572 for (i = 0; i < nparams; ++i) in lookup_function_type_with_arguments()
/netbsd/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dobjc.d99 const nparams = ftype.parameterList.length; in create() local
101 if (ftype.isproperty && nparams == 1) in create()
116 if (nparams) in create()
128 return lookup(cast(const(char)*)buf[].ptr, buf.length - 1, nparams); in create()
H A Descape.c957 size_t nparams = Parameter::dim(tf->parameters); in escapeByValue() local
958 if (i - j < nparams && i >= j) in escapeByValue()
1154 size_t nparams = Parameter::dim(tf->parameters); in escapeByRef() local
1155 if (i - j < nparams && i >= j) in escapeByRef()
H A Dexpression.c1383 size_t nparams = Parameter::dim(tf->parameters); in functionParameters() local
1390 if (nargs > nparams && tf->varargs == 0) in functionParameters()
1411 size_t n = (nargs > nparams) ? nargs : nparams; // n = max(nargs, nparams) in functionParameters()
1442 if (i < nparams) in functionParameters()
1450 if (tf->varargs == 2 && i + 1 == nparams) in functionParameters()
1463 if (tf->varargs == 2 && i + 1 == nparams) in functionParameters()
1472 else if (nargs != nparams) in functionParameters()
1611 assert(nargs >= nparams); in functionParameters()
1616 if (i < nparams) in functionParameters()
1945 assert(arguments->dim >= nparams); in functionParameters()
[all …]
H A Descape.d502 const nparams = tf.parameterList.length; in checkConstructorEscape() local
515 if (i - j < nparams && i >= j) in checkConstructorEscape()
1730 size_t nparams = tf.parameterList.length; in visit() local
1731 if (i - j < nparams && i >= j) in visit()
2027 size_t nparams = tf.parameterList.length; in visit() local
2028 if (i - j < nparams && i >= j) in visit()
H A Dopover.c1923 { size_t nparams; in inferApplyArgTypesY() local
1937 nparams = Parameter::dim(tf->parameters); in inferApplyArgTypesY()
1938 if (nparams == 0 || tf->varargs) in inferApplyArgTypesY()
1940 if (parameters->dim != nparams) in inferApplyArgTypesY()
1943 for (size_t u = 0; u < nparams; u++) in inferApplyArgTypesY()
H A Dfunc.d2723 const nparams = tf.parameterList.length; in checkMain() local
2729 if (nparams == 1) in checkMain()
2742 if (tf.parameterList.varargs || nparams >= 2 || argerr) in checkMain()
2748 if (nparams == 2 || nparams == 3) in checkMain()
2761 if (nparams == 3) in checkMain()
2769 argerr = nparams != 0; in checkMain()
2773 …f.parameterList.varargs && (!this.isCsymbol() || (!tf.parameterList.hasIdentifierList && nparams))) in checkMain()
/netbsd/external/bsd/pcc/dist/pcc/cc/cxxcom/
H A Dpftn.c110 static int nparams; variable
590 nparams++; in dclargs()
596 if (nparams != 0) in dclargs()
599 if (nparams) in dclargs()
626 for (i = 0; i < nparams; i++) { in dclargs()
644 if (oldstyle && nparams) { in dclargs()
657 bfcode(parr, nparams); in dclargs()
663 inline_args(parr, nparams); in dclargs()
669 nparams = 0; in dclargs()
1121 nparams++; in ftnarg()
[all …]
/netbsd/external/bsd/pcc/dist/pcc/cc/ccom/
H A Dpftn.c122 static int nparams; variable
625 if (nparams != 0) in dclargs()
628 if (nparams) in dclargs()
657 for (i = 0; i < nparams; i++) { in dclargs()
676 if (oldstyle && nparams) { in dclargs()
679 for (i = 0; i < nparams; i++) { in dclargs()
689 bfcode(parr, nparams); in dclargs()
695 inline_args(parr, nparams); in dclargs()
702 nparams = 0; in dclargs()
1127 nparams++; in ftnarg()
[all …]
/netbsd/external/mit/lua/dist/src/
H A Dlparser.c957 static void setvararg (FuncState *fs, int nparams) { in setvararg() argument
959 luaK_codeABC(fs, OP_VARARGPREP, nparams, 0, 0); in setvararg()
967 int nparams = 0; in parlist() local
974 nparams++; in parlist()
986 adjustlocalvars(ls, nparams); in parlist()
1032 int base, nparams; in funcargs() local
1062 nparams = LUA_MULTRET; /* open call */ in funcargs()
1066 nparams = fs->freereg - (base+1); in funcargs()
1068 init_exp(f, VCALL, luaK_codeABC(fs, OP_CALL, base, nparams+1, 2)); in funcargs()
H A Dldebug.c348 ar->nparams = 0; in auxgetinfo()
352 ar->nparams = f->l.p->numparams; in auxgetinfo()
/netbsd/external/bsd/unbound/dist/sldns/
H A Dstr2wire.c640 size_t nparams = 0, i; in sldns_str2wire_check_svcbparams() local
651 svcparams[nparams] = rdata_ptr; in sldns_str2wire_check_svcbparams()
663 nparams += 1; in sldns_str2wire_check_svcbparams()
664 if (nparams >= MAX_NUMBER_OF_SVCPARAMS) in sldns_str2wire_check_svcbparams()
674 ,nparams in sldns_str2wire_check_svcbparams()
693 for(i=0; i < nparams; i++) { in sldns_str2wire_check_svcbparams()
695 if(i + 1 < nparams && key == sldns_read_uint16(svcparams[i+1])) in sldns_str2wire_check_svcbparams()
717 for(j=0; j < nparams; j++) { in sldns_str2wire_check_svcbparams()
731 for (i = 0; i < nparams; i++) { in sldns_str2wire_check_svcbparams()
/netbsd/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Descape.c957 size_t nparams = Parameter::dim(tf->parameters); in escapeByValue() local
958 if (i - j < nparams && i >= j) in escapeByValue()
1154 size_t nparams = Parameter::dim(tf->parameters); in escapeByRef() local
1155 if (i - j < nparams && i >= j) in escapeByRef()
H A Dexpression.c1383 size_t nparams = Parameter::dim(tf->parameters); in functionParameters() local
1390 if (nargs > nparams && tf->varargs == 0) in functionParameters()
1411 size_t n = (nargs > nparams) ? nargs : nparams; // n = max(nargs, nparams) in functionParameters()
1442 if (i < nparams) in functionParameters()
1450 if (tf->varargs == 2 && i + 1 == nparams) in functionParameters()
1463 if (tf->varargs == 2 && i + 1 == nparams) in functionParameters()
1472 else if (nargs != nparams) in functionParameters()
1611 assert(nargs >= nparams); in functionParameters()
1616 if (i < nparams) in functionParameters()
1945 assert(arguments->dim >= nparams); in functionParameters()
[all …]
H A Dopover.c1923 { size_t nparams; in inferApplyArgTypesY() local
1937 nparams = Parameter::dim(tf->parameters); in inferApplyArgTypesY()
1938 if (nparams == 0 || tf->varargs) in inferApplyArgTypesY()
1940 if (parameters->dim != nparams) in inferApplyArgTypesY()
1943 for (size_t u = 0; u < nparams; u++) in inferApplyArgTypesY()
/netbsd/external/gpl3/binutils/dist/gprofng/src/
H A Dcomp_com.h892 COMPMSG_ID m, int32_t nparams);

123