Searched refs:nres (Results 1 - 13 of 13) sorted by relevance

/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
H A Dlapi.h17 #define adjustresults(L,nres) \
18 { if ((nres) == LUA_MULTRET && L->ci->top < L->top) L->ci->top = L->top; }
H A Dlcorolib.c32 int nres = lua_gettop(co); local
33 if (!lua_checkstack(L, nres + 1)) {
34 lua_pop(co, nres); /* remove results anyway */
38 lua_xmove(co, L, nres); /* move yielded values */
39 return nres;
/freebsd-11-stable/contrib/lua/src/
H A Dlapi.h17 #define adjustresults(L,nres) \
18 { if ((nres) == LUA_MULTRET && L->ci->top < L->top) L->ci->top = L->top; }
H A Dlcorolib.c41 int nres = lua_gettop(co); local
42 if (!lua_checkstack(L, nres + 1)) {
43 lua_pop(co, nres); /* remove results anyway */
47 lua_xmove(co, L, nres); /* move yielded values */
48 return nres;
H A Dldo.h48 int nres);
H A Dldo.c329 ** Given 'nres' results at 'firstResult', move 'wanted' of them to 'res'.
335 int nres, int wanted) {
339 if (nres == 0) /* no results? */
346 for (i = 0; i < nres; i++) /* move all results to correct place */
348 L->top = res + nres;
353 if (wanted <= nres) { /* enough results? */
358 for (i = 0; i < nres; i++) /* move all results to correct place */
376 int luaD_poscall (lua_State *L, CallInfo *ci, StkId firstResult, int nres) { argument
390 return moveresults(L, firstResult, res, nres, wanted);
334 moveresults(lua_State *L, const TValue *firstResult, StkId res, int nres, int wanted) argument
H A Dlua.c198 static int docall (lua_State *L, int narg, int nres) { argument
205 status = lua_pcall(L, narg, nres, base);
/freebsd-11-stable/usr.sbin/portsnap/phttpget/
H A Dphttpget.c310 int nres = 0; /* Number of next reply to receive */ local
357 while (nres < argc) {
388 firstreq = nres;
439 if (nres == nreq) {
581 nres++;
591 fname = strrchr(argv[nres], '/');
593 fname = argv[nres];
598 argv[nres]);
673 fprintf(stderr, "http://%s/%s: %d ", servername, argv[nres],
685 nres
[all...]
/freebsd-11-stable/sbin/hastd/
H A Dhastd.c487 struct hast_resource *nres, *cres, *tres; local
615 TAILQ_FOREACH(nres, &newcfg->hc_resources, hr_next) {
616 if (strcmp(cres->hr_name, nres->hr_name) == 0)
619 if (nres == NULL) {
629 TAILQ_FOREACH_SAFE(nres, &newcfg->hc_resources, hr_next, tres) {
631 if (strcmp(cres->hr_name, nres->hr_name) == 0)
635 TAILQ_REMOVE(&newcfg->hc_resources, nres, hr_next);
636 TAILQ_INSERT_TAIL(&cfg->hc_resources, nres, hr_next);
637 pjdlog_info("Resource %s added.", nres->hr_name);
662 TAILQ_FOREACH_SAFE(nres,
[all...]
/freebsd-11-stable/lib/libc/net/
H A Drcmd.c93 int refused, nres; local
138 nres = 0;
140 nres++;
182 if (nres > 1) {
203 if (nres > 1) {
/freebsd-11-stable/sys/dev/qlnx/qlnxe/
H A Decore_iov_api.h165 int nres; /* number of resources */ member in struct:ecore_hw_sriov_info
H A Decore_sriov.c455 "IOV info: nres %d, cap 0x%x, ctrl 0x%x, total %d, initial %d, num vfs %d, offset %d, stride %d, page size 0x%x\n",
456 iov->nres, iov->cap, iov->ctrl,
/freebsd-11-stable/contrib/unbound/iterator/
H A Diterator.c2411 size_t naddr, nres, navail; local
2432 delegpt_count_addr(iq->dp, &naddr, &nres, &navail);

Completed in 226 milliseconds