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

/freebsd-12-stable/crypto/openssh/openbsd-compat/
H A Dgetcwd.c135 char *nup; local
137 if ((nup = realloc(up, upsize *= 2)) == NULL)
139 bup = nup + (bup - up);
140 up = nup;
/freebsd-12-stable/contrib/lua/src/
H A Dlauxlib.c914 const luaL_Reg *l, int nup) {
918 lua_insert(L, -(nup + 1)); /* move library table to below upvalues */
921 luaL_setfuncs(L, l, nup);
923 lua_pop(L, nup); /* remove upvalues */
930 ** set functions from list 'l' into table at top - 'nup'; each
931 ** function gets the 'nup' elements at the top as upvalues.
934 LUALIB_API void luaL_setfuncs (lua_State *L, const luaL_Reg *l, int nup) { argument
935 luaL_checkstack(L, nup, "too many upvalues");
938 for (i = 0; i < nup; i++) /* copy upvalues to the top */
939 lua_pushvalue(L, -nup);
913 luaL_openlib(lua_State *L, const char *libname, const luaL_Reg *l, int nup) argument
[all...]
H A Dldblib.c276 int nup = (int)luaL_checkinteger(L, argnup); /* upvalue index */ local
278 luaL_argcheck(L, (lua_getupvalue(L, argf, nup) != NULL), argnup,
280 return nup;
H A Dlauxlib.h99 LUALIB_API void (luaL_setfuncs) (lua_State *L, const luaL_Reg *l, int nup);
208 const luaL_Reg *l, int nup);
H A Dlvm.c613 int nup = p->sizeupvalues; local
616 for (i = 0; i < nup; i++) { /* check whether it has right upvalues */
634 int nup = p->sizeupvalues; local
637 LClosure *ncl = luaF_newLclosure(L, nup);
640 for (i = 0; i < nup; i++) { /* fill in its upvalues */
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
H A Dlauxlib.c685 const luaL_Reg *l, int nup) {
689 lua_insert(L, -(nup + 1)); /* move library table to below upvalues */
692 luaL_setfuncs(L, l, nup);
694 lua_pop(L, nup); /* remove upvalues */
701 ** set functions from list 'l' into table at top - 'nup'; each
702 ** function gets the 'nup' elements at the top as upvalues.
705 LUALIB_API void luaL_setfuncs (lua_State *L, const luaL_Reg *l, int nup) { argument
707 luaL_checkstack(L, nup, "too many upvalues");
710 for (i = 0; i < nup; i++) /* copy upvalues to the top */
711 lua_pushvalue(L, -nup);
684 luaL_openlib(lua_State *L, const char *libname, const luaL_Reg *l, int nup) argument
[all...]
H A Dlauxlib.h80 LUALIB_API void (luaL_setfuncs) (lua_State *L, const luaL_Reg *l, int nup);
167 const luaL_Reg *l, int nup);
H A Dlvm.c442 int nup = p->sizeupvalues; local
445 for (i = 0; i < nup; i++) { /* check whether it has right upvalues */
463 int nup = p->sizeupvalues; local
466 Closure *ncl = luaF_newLclosure(L, nup);
469 for (i = 0; i < nup; i++) { /* fill in its upvalues */

Completed in 78 milliseconds