OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:nup
(Results
1 - 4
of
4
) sorted by null
/external/chromium_org/third_party/skia/third_party/lua/src/
lauxlib.c
828
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
) {
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
);
[
all
...]
ldblib.c
230
int
nup
= luaL_checkint(L, argnup);
local
234
luaL_argcheck(L, 1 <=
nup
&&
nup
<= ar.nups, argnup, "invalid upvalue index");
235
return
nup
;
lauxlib.h
91
LUALIB_API void (luaL_setfuncs) (lua_State *L, const luaL_Reg *l, int
nup
);
203
const luaL_Reg *l, int
nup
);
lvm.c
382
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 */
Completed in 59 milliseconds