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

/freebsd-13-stable/sys/contrib/openzfs/module/lua/
H A Dlapi.h18 #define adjustresults(L,nres) \
19 { if ((nres) == LUA_MULTRET && L->ci->top < L->top) L->ci->top = L->top; }
H A Dlcorolib.c31 int nres = lua_gettop(co); local
32 if (!lua_checkstack(L, nres + 1)) {
33 lua_pop(co, nres); /* remove results anyway */
37 lua_xmove(co, L, nres); /* move yielded values */
38 return nres;
/freebsd-13-stable/usr.sbin/pnfsdscopymr/
H A Dpnfsdscopymr.c76 struct addrinfo hints, *res, *nres; local
190 nres = res;
191 while (nres != NULL) {
193 nres->ai_family) {
199 if (nres->ai_family == AF_INET &&
200 nres->ai_addrlen >= sizeof(sin)) {
201 memcpy(&sin, nres->ai_addr,
206 } else if (nres->ai_family ==
207 AF_INET6 && nres->ai_addrlen >=
209 memcpy(&sin6, nres
[all...]
/freebsd-13-stable/contrib/lua/src/
H A Dlapi.h25 #define adjustresults(L,nres) \
26 { if ((nres) <= LUA_MULTRET && L->ci->top < L->top) L->ci->top = L->top; }
H A Dlcorolib.c33 int status, nres; local
39 status = lua_resume(co, L, narg, &nres);
41 if (!lua_checkstack(L, nres + 1)) {
42 lua_pop(co, nres); /* remove results anyway */
46 lua_xmove(co, L, nres); /* move yielded values */
47 return nres;
H A Dldo.c346 static StkId rethook (lua_State *L, CallInfo *ci, StkId firstres, int nres) { argument
360 luaD_hook(L, LUA_HOOKRET, -1, ftransfer, nres); /* call it */
387 ** Given 'nres' results at 'firstResult', move 'wanted' of them to 'res'.
392 static void moveresults (lua_State *L, StkId res, int nres, int wanted) { argument
400 if (nres == 0) /* no results? */
403 setobjs2s(L, res, L->top - nres); /* move it to proper place */
407 wanted = nres; /* we want all results */
416 wanted = nres;
420 firstresult = L->top - nres; /* index of first result */
422 for (i = 0; i < nres
434 luaD_poscall(lua_State *L, CallInfo *ci, int nres) argument
[all...]
H A Dldo.h68 LUAI_FUNC void luaD_poscall (lua_State *L, CallInfo *ci, int nres);
H A Dlua.c132 static int docall (lua_State *L, int narg, int nres) { argument
139 status = lua_pcall(L, narg, nres, base);
H A Dlvm.c1694 int nres = ci->nresults; local
1697 while (nres-- > 0)
1710 int nres = ci->nresults; local
1712 if (nres == 0)
1717 while (--nres > 0) /* complete missing results */
H A Dlua.h301 int *nres);
/freebsd-13-stable/libexec/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-13-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-13-stable/contrib/bc/include/
H A Dprogram.h122 #define bc_program_retire(p, nres, nops) \
123 (bc_vec_npopAt(&(p)->results, (nops), (p)->results.len - (nres + nops)))
/freebsd-13-stable/lib/libc/net/
H A Drcmd.c95 int refused, nres; local
140 nres = 0;
142 nres++;
184 if (nres > 1) {
205 if (nres > 1) {
/freebsd-13-stable/sys/dev/bhnd/bhndb/
H A Dbhndb_subr.c657 size_t nres, ndt; local
671 nres = 0;
673 nres++;
719 hr->resource_specs = malloc(sizeof(hr->resource_specs[0]) * (nres + 1),
723 for (size_t i = 0; i < nres; i++)
726 hr->resource_specs[nres].type = -1;
729 hr->resources = malloc(sizeof(hr->resources[0]) * nres, M_BHND,
/freebsd-13-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.c454 "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",
455 iov->nres, iov->cap, iov->ctrl,
/freebsd-13-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 132 milliseconds