Searched refs:nup (Results 1 – 5 of 5) sorted by relevance
| /redis-3.2.3/deps/lua/src/ |
| H A D | lauxlib.c | 243 const luaL_Reg *l, int nup) { in luaI_openlib() argument 258 lua_insert(L, -(nup+1)); /* move library table to below upvalues */ in luaI_openlib() 262 for (i=0; i<nup; i++) /* copy upvalues to the top */ in luaI_openlib() 263 lua_pushvalue(L, -nup); in luaI_openlib() 264 lua_pushcclosure(L, l->func, nup); in luaI_openlib() 265 lua_setfield(L, -(nup+2), l->name); in luaI_openlib() 267 lua_pop(L, nup); /* remove upvalues */ in luaI_openlib()
|
| H A D | ldebug.c | 451 int nup, j; in symbexec() local 453 nup = pt->p[b]->nups; in symbexec() 454 check(pc + nup < pt->sizecode); in symbexec() 455 for (j = 1; j <= nup; j++) { in symbexec() 460 pc += nup; /* do not 'execute' these pseudo-instructions */ in symbexec()
|
| H A D | lua_cjson.c | 1300 static void luaL_setfuncs (lua_State *l, const luaL_Reg *reg, int nup) in luaL_setfuncs() argument 1304 luaL_checkstack(l, nup, "too many upvalues"); in luaL_setfuncs() 1306 for (i = 0; i < nup; i++) /* copy upvalues to the top */ in luaL_setfuncs() 1307 lua_pushvalue(l, -nup); in luaL_setfuncs() 1308 lua_pushcclosure(l, reg->func, nup); /* closure with those upvalues */ in luaL_setfuncs() 1309 lua_setfield(l, -(nup + 2), reg->name); in luaL_setfuncs() 1311 lua_pop(l, nup); /* remove upvalues */ in luaL_setfuncs()
|
| H A D | lvm.c | 726 int nup, j; in luaV_execute() local 728 nup = p->nups; in luaV_execute() 729 ncl = luaF_newLclosure(L, nup, cl->env); in luaV_execute() 731 for (j=0; j<nup; j++, pc++) { in luaV_execute()
|
| H A D | lauxlib.h | 43 const luaL_Reg *l, int nup);
|