Searched refs:nresults (Results 1 - 22 of 22) sorted by relevance

/netbsd-current/external/bsd/lutok/dist/
H A Doperations.cpp67 /// \param nresults The number of results to expect; -1 for any.
73 lutok::do_file(state& s, const std::string& file, const int nresults) argument
75 assert(nresults >= -1);
81 s.pcall(0, nresults == -1 ? LUA_MULTRET : nresults, 0);
89 assert(nresults == -1 || actual_results == nresults);
102 /// \param nresults The number of results to expect; -1 for any.
108 lutok::do_string(state& s, const std::string& str, const int nresults) argument
110 assert(nresults >
139 eval(state& s, const std::string& expression, const int nresults) argument
[all...]
H A Dstate.cpp626 /// \param nresults The third parameter to lua_pcall.
631 lutok::state::pcall(const int nargs, const int nresults, const int errfunc) argument
633 if (lua_pcall(_pimpl->lua_state, nargs, nresults, errfunc) != 0)
/netbsd-current/external/mpl/dhcp/bind/dist/lib/isc/
H A Dresult.c195 unsigned int nresults, const char **text, int set) {
199 REQUIRE(nresults <= ISC_RESULTCLASS_SIZE);
211 table->last = base + nresults - 1;
295 isc_result_register(unsigned int base, unsigned int nresults, const char **text, argument
299 return (register_table(&description_tables, base, nresults, text, set));
303 isc_result_registerids(unsigned int base, unsigned int nresults, argument
307 return (register_table(&identifier_tables, base, nresults, ids, set));
194 register_table(resulttable_list_t *tables, unsigned int base, unsigned int nresults, const char **text, int set) argument
/netbsd-current/lib/libc/citrus/
H A Dcitrus_iconv.h58 size_t * __restrict nresults)
66 outbytes, flags, nresults);
53 _citrus_iconv_convert(struct _citrus_iconv * __restrict cv, const char * __restrict * __restrict in, size_t * __restrict inbytes, char * __restrict * __restrict out, size_t * __restrict outbytes, uint32_t flags, size_t * __restrict nresults) argument
/netbsd-current/sys/external/bsd/drm2/linux/
H A Dlinux_radixtree.c146 unsigned nresults; local
150 nresults = radix_tree_gang_lookup_node(__UNVOLANST(&root->rtr_tree),
153 if (nresults == 0)
155 KASSERT(nresults == 1);
169 unsigned nresults; local
176 nresults = radix_tree_gang_lookup_node(
180 if (nresults == 0)
182 KASSERT(nresults == 1);
/netbsd-current/external/bsd/ntp/dist/lib/isc/
H A Dresult.c118 register_table(unsigned int base, unsigned int nresults, const char **txt, argument
124 REQUIRE(nresults <= ISC_RESULTCLASS_SIZE);
135 table->last = base + nresults - 1;
210 isc_result_register(unsigned int base, unsigned int nresults, argument
215 return (register_table(base, nresults, txt, msgcat, set));
/netbsd-current/external/mpl/dhcp/bind/dist/lib/isc/include/isc/
H A Dresult.h115 isc_result_register(unsigned int base, unsigned int nresults, const char **text,
119 isc_result_registerids(unsigned int base, unsigned int nresults,
/netbsd-current/external/bsd/ntp/dist/lib/isc/include/isc/
H A Dresult.h106 isc_result_register(unsigned int base, unsigned int nresults,
/netbsd-current/usr.sbin/makemandb/
H A Dapropos.c48 int nresults; member in struct:apropos_flags
124 aflags->nresults = atoi(optarg);
241 args.nrec = aflags.nresults ? aflags.nresults : -1;
H A Dapropos-utils.c702 int nresults = rc = 0; local
704 nresults++;
732 return (rc < 0) ? rc : nresults;
/netbsd-current/external/mit/lua/dist/src/
H A Dlapi.c207 lua_assert(hastocloseCfunc(ci->nresults));
219 api_check(L, hastocloseCfunc(L->ci->nresults) && L->tbclist.p == level,
1014 LUA_API void lua_callk (lua_State *L, int nargs, int nresults, argument
1022 checkresults(L, nargs, nresults);
1027 luaD_call(L, func, nresults); /* do the call */
1030 luaD_callnoyield(L, func, nresults); /* just do the call */
1031 adjustresults(L, nresults);
1042 int nresults; member in struct:CallS
1048 luaD_callnoyield(L, c->func, c->nresults);
1053 LUA_API int lua_pcallk (lua_State *L, int nargs, int nresults, in argument
1281 int nresults; local
[all...]
H A Dldo.c490 int wanted = ci->nresults;
510 ci->nresults = nret;
520 l_sinline int precallC (lua_State *L, StkId func, int nresults, argument
525 L->ci = ci = prepCallInfo(L, func, nresults, CIST_C,
592 CallInfo *luaD_precall (lua_State *L, StkId func, int nresults) { argument
596 precallC(L, func, nresults, clCvalue(s2v(func))->f);
599 precallC(L, func, nresults, fvalue(s2v(func)));
608 L->ci = ci = prepCallInfo(L, func, nresults, 0, func + 1 + fsize);
617 /* return luaD_precall(L, func, nresults); */
715 lua_assert(hastocloseCfunc(ci->nresults));
835 lua_resume(lua_State *L, lua_State *from, int nargs, int *nresults) argument
875 lua_yieldk(lua_State *L, int nresults, lua_KContext ctx, lua_KFunction k) argument
[all...]
H A Dlcode.h92 LUAI_FUNC void luaK_setreturns (FuncState *fs, expdesc *e, int nresults);
H A Dlua.h315 LUA_API void (lua_callk) (lua_State *L, int nargs, int nresults,
319 LUA_API int (lua_pcallk) (lua_State *L, int nargs, int nresults, int errfunc,
332 LUA_API int (lua_yieldk) (lua_State *L, int nresults, lua_KContext ctx,
H A Dlstate.h204 short nresults; /* expected number of results from this function */ member in struct:CallInfo
H A Dlcode.c731 ** Fix an expression to return the number of results 'nresults'.
734 void luaK_setreturns (FuncState *fs, expdesc *e, int nresults) { argument
737 SETARG_C(*pc, nresults + 1);
740 SETARG_C(*pc, nresults + 1);
H A Dlstate.c199 ci->nresults = 0;
H A Dlvm.c1778 int nresults = GETARG_C(i) - 1; local
1783 if ((newci = luaD_precall(L, ra, nresults)) == NULL)
1851 for (nres = ci->nresults; l_unlikely(nres > 0); nres--)
1865 int nres = ci->nresults;
/netbsd-current/sys/dev/raidframe/
H A Drf_evenodd_dagfuncs.c638 int i, prm, sector, nresults = node->numResults; local
691 if (nresults == 1) {
718 RF_ASSERT(nresults == 2);
755 if (nresults == 2)
767 RF_ASSERT(nresults == 1 || nresults == 2);
768 if (nresults == 1) {
/netbsd-current/tests/lib/libcurses/director/
H A Dtestlang_parse.y1067 * results. The variable nresults determines how many returns we expect
1072 do_function_call(size_t nresults)
1080 assert(nresults <= MAX_RESULTS);
1100 "reported %zu\n", nresults, returns_count.data_len);
1191 if (returns_count.data_len != nresults)
1193 "but received %zu", nresults, returns_count.data_len);
1196 for (i = 0; i < nresults; i++) {
1212 for (i = 0; i < nresults; i++) {
/netbsd-current/external/gpl3/gcc.old/dist/gcc/
H A Dtree-vect-slp.c3502 vec<tree> elts, unsigned int nresults,
3589 results.reserve (nresults);
3590 for (unsigned int i = 0; i < nresults; ++i)
3501 duplicate_and_interleave(vec_info *vinfo, gimple_seq *seq, tree vector_type, vec<tree> elts, unsigned int nresults, vec<tree> &results) argument
/netbsd-current/external/gpl3/gcc/dist/gcc/
H A Dtree-vect-slp.cc6333 const vec<tree> &elts, unsigned int nresults,
6420 results.reserve (nresults);
6421 for (unsigned int i = 0; i < nresults; ++i)
6286 duplicate_and_interleave(vec_info *vinfo, gimple_seq *seq, tree vector_type, const vec<tree> &elts, unsigned int nresults, vec<tree> &results) argument

Completed in 689 milliseconds