/netbsd-current/external/bsd/lutok/dist/ |
H A D | operations.cpp | 67 /// \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 D | state.cpp | 626 /// \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 D | result.c | 195 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 D | citrus_iconv.h | 58 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 D | linux_radixtree.c | 146 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 D | result.c | 118 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 D | result.h | 115 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 D | result.h | 106 isc_result_register(unsigned int base, unsigned int nresults,
|
/netbsd-current/usr.sbin/makemandb/ |
H A D | apropos.c | 48 int nresults; member in struct:apropos_flags 124 aflags->nresults = atoi(optarg); 241 args.nrec = aflags.nresults ? aflags.nresults : -1;
|
H A D | apropos-utils.c | 702 int nresults = rc = 0; local 704 nresults++; 732 return (rc < 0) ? rc : nresults;
|
/netbsd-current/external/mit/lua/dist/src/ |
H A D | lapi.c | 207 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 D | ldo.c | 490 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 D | lcode.h | 92 LUAI_FUNC void luaK_setreturns (FuncState *fs, expdesc *e, int nresults);
|
H A D | lua.h | 315 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 D | lstate.h | 204 short nresults; /* expected number of results from this function */ member in struct:CallInfo
|
H A D | lcode.c | 731 ** 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 D | lstate.c | 199 ci->nresults = 0;
|
H A D | lvm.c | 1778 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 D | rf_evenodd_dagfuncs.c | 638 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 D | testlang_parse.y | 1067 * 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 D | tree-vect-slp.c | 3502 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 D | tree-vect-slp.cc | 6333 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
|