/freebsd-13-stable/sys/contrib/openzfs/module/lua/ |
H A D | lapi.h | 18 #define adjustresults(L,nres) \ 19 { if ((nres) == LUA_MULTRET && L->ci->top < L->top) L->ci->top = L->top; }
|
H A D | lcorolib.c | 31 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 D | pnfsdscopymr.c | 76 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 D | lapi.h | 25 #define adjustresults(L,nres) \ 26 { if ((nres) <= LUA_MULTRET && L->ci->top < L->top) L->ci->top = L->top; }
|
H A D | lcorolib.c | 33 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 D | ldo.c | 346 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 D | ldo.h | 68 LUAI_FUNC void luaD_poscall (lua_State *L, CallInfo *ci, int nres);
|
H A D | lua.c | 132 static int docall (lua_State *L, int narg, int nres) { argument 139 status = lua_pcall(L, narg, nres, base);
|
H A D | lvm.c | 1694 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 D | lua.h | 301 int *nres);
|
/freebsd-13-stable/libexec/phttpget/ |
H A D | phttpget.c | 310 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 D | hastd.c | 487 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 D | program.h | 122 #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 D | rcmd.c | 95 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 D | bhndb_subr.c | 657 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 D | ecore_iov_api.h | 165 int nres; /* number of resources */ member in struct:ecore_hw_sriov_info
|
H A D | ecore_sriov.c | 454 "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 D | iterator.c | 2411 size_t naddr, nres, navail; local 2432 delegpt_count_addr(iq->dp, &naddr, &nres, &navail);
|