Searched refs:nup (Results 1 - 8 of 8) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/lua/source/src/
H A Dlauxlib.c828 const luaL_Reg *l, int nup) {
832 lua_insert(L, -(nup + 1)); /* move library table to below upvalues */
835 luaL_setfuncs(L, l, nup);
837 lua_pop(L, nup); /* remove upvalues */
844 ** set functions from list 'l' into table at top - 'nup'; each
845 ** function gets the 'nup' elements at the top as upvalues.
848 LUALIB_API void luaL_setfuncs (lua_State *L, const luaL_Reg *l, int nup) { argument
850 luaL_checkstack(L, nup, "too many upvalues");
853 for (i = 0; i < nup; i++) /* copy upvalues to the top */
854 lua_pushvalue(L, -nup);
827 luaL_openlib(lua_State *L, const char *libname, const luaL_Reg *l, int nup) argument
[all...]
H A Dldblib.c230 int nup = luaL_checkint(L, argnup); local
234 luaL_argcheck(L, 1 <= nup && nup <= ar.nups, argnup, "invalid upvalue index");
235 return nup;
H A Dlauxlib.h91 LUALIB_API void (luaL_setfuncs) (lua_State *L, const luaL_Reg *l, int nup);
203 const luaL_Reg *l, int nup);
H A Dlvm.c382 int nup = p->sizeupvalues; local
385 for (i = 0; i < nup; i++) { /* check whether it has right upvalues */
403 int nup = p->sizeupvalues; local
406 Closure *ncl = luaF_newLclosure(L, nup);
409 for (i = 0; i < nup; i++) { /* fill in its upvalues */
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/qib/
H A Dqib_driver.c118 int nunits = 0, npresent = 0, nup = 0; local
134 nup++;
143 *nupp = nup;
H A Dqib_file_ops.c1363 int ret = 0, devmax, npresent, nup, ndev, dusable = 0, i; local
1366 devmax = qib_count_units(&npresent, &nup);
1371 if (nup == 0) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/ipath/
H A Dipath_file_ops.c1671 int maxofallports, npresent, nup; local
1674 devmax = ipath_count_units(&npresent, &nup, &maxofallports);
1743 if (nup == 0) {
2159 int nup; local
2163 (void) ipath_count_units(NULL, &nup, NULL);
2164 info.num_active = nup;
H A Dipath_driver.c252 int nunits, npresent, nup; local
257 nunits = npresent = nup = maxports = 0;
268 nup++;
278 *nupp = nup;

Completed in 135 milliseconds