| /redis-3.2.3/deps/lua/src/ |
| H A D | lapi.c | 45 #define api_incr_top(L) {api_check(L, L->top < L->ci->top); L->top++;} 102 if (L->ci->top < L->top + size) in lua_checkstack() 103 L->ci->top = L->top + size; in lua_checkstack() 116 api_check(from, to->ci->top - to->top >= n); in lua_xmove() 119 setobj2s(to, to->top++, from->top + i); in lua_xmove() 186 L->top--; in lua_remove() 223 L->top--; in lua_replace() 539 luaV_gettable(L, t, L->top - 1, L->top - 1); in lua_gettable() 651 luaV_settable(L, t, L->top - 2, L->top - 1); in lua_settable() 692 L->top--; in lua_rawseti() [all …]
|
| H A D | ldo.c | 67 L->top = oldtop + 1; in luaD_seterrorobj() 129 L->top = (L->top - oldstack) + L->stack; in correctstack() 133 ci->top = (ci->top - oldstack) + L->stack; in correctstack() 184 ptrdiff_t top = savestack(L, L->top); in luaD_callhook() local 194 L->ci->top = L->top + LUA_MINSTACK; in luaD_callhook() 203 L->top = restorestack(L, top); in luaD_callhook() 297 for (st = L->top; st < ci->top; st++) in luaD_precall() 299 L->top = ci->top; in luaD_precall() 314 ci->top = L->top + LUA_MINSTACK; in luaD_precall() 359 L->top = res; in luaD_poscall() [all …]
|
| H A D | lvm.c | 87 L->top += 3; in callTMres() 90 L->top--; in callTMres() 103 L->top += 4; in callTM() 286 if (!(ttisstring(top-2) || ttisnumber(top-2)) || !tostring(L, top-1)) { in luaV_concat() 287 if (!call_binTM(L, top-2, top-1, top-2, TM_CONCAT)) in luaV_concat() 288 luaG_concaterror(L, top-2, top-1); in luaV_concat() 405 lua_assert(L->top == L->ci->top || luaG_checkopenop(i)); in luaV_execute() 598 if (nresults >= 0) L->top = L->ci->top; in luaV_execute() 648 if (b) L->top = L->ci->top; in luaV_execute() 688 L->top = L->ci->top; in luaV_execute() [all …]
|
| H A D | lobject.c | 105 setsvalue2s(L, L->top, luaS_new(L, str)); in pushstr() 117 setsvalue2s(L, L->top, luaS_newlstr(L, fmt, e-fmt)); in luaO_pushvfstring() 134 setnvalue(L->top, cast_num(va_arg(argp, int))); in luaO_pushvfstring() 139 setnvalue(L->top, cast_num(va_arg(argp, l_uacNumber))); in luaO_pushvfstring() 166 luaV_concat(L, n+1, cast_int(L->top - L->base) - 1); in luaO_pushvfstring() 167 L->top -= n; in luaO_pushvfstring() 168 return svalue(L->top - 1); in luaO_pushvfstring()
|
| H A D | ldebug.c | 143 setobjs2s(L, ci->base + (n - 1), L->top - 1); in lua_setlocal() 144 L->top--; /* pop value */ in lua_setlocal() 179 setnilvalue(L->top); in collectvalidlines() 187 sethvalue(L, L->top, t); in collectvalidlines() 238 StkId func = L->top - 1; in lua_getinfo() 242 L->top--; /* pop function */ in lua_getinfo() 251 if (f == NULL) setnilvalue(L->top); in lua_getinfo() 252 else setclvalue(L, L->top, f); in lua_getinfo() 561 for (p = ci->base; p < ci->top; p++) in isinstack() 622 setobjs2s(L, L->top, L->top - 1); /* move argument */ in luaG_errormsg() [all …]
|
| H A D | lstate.c | 51 L1->top = L1->stack; in stack_init() 54 L1->ci->func = L1->top; in stack_init() 55 setnilvalue(L1->top++); /* `function' entry for this `ci' */ in stack_init() 56 L1->base = L1->ci->base = L1->top; in stack_init() 57 L1->ci->top = L1->top + LUA_MINSTACK; in stack_init() 207 L->base = L->top = L->ci->base; in lua_close()
|
| H A D | ldo.h | 17 if ((char *)L->stack_last - (char *)L->top <= (n)*(int)sizeof(TValue)) \ 22 #define incr_top(L) {luaD_checkstack(L,1); L->top++;}
|
| H A D | lgc.c | 260 lim = l->top; in traversestack() 262 lua_assert(ci->top <= l->stack_last); in traversestack() 263 if (lim < ci->top) lim = ci->top; in traversestack() 265 for (o = l->stack; o < l->top; o++) in traversestack() 464 setobj2s(L, L->top, tm); in GCTM() 465 setuvalue(L, L->top+1, udata); in GCTM() 466 L->top += 2; in GCTM() 467 luaD_call(L, L->top - 2, 0); in GCTM()
|
| H A D | lstate.h | 51 StkId top; /* top for this function */ member 103 StkId top; /* first free slot in the stack */ member
|
| H A D | luac.c | 117 #define toproto(L,i) (clvalue(L->top+(i))->l.p) 127 setptvalue2s(L,L->top,f); incr_top(L); in combine()
|
| H A D | lundump.c | 166 setptvalue2s(S->L,S->L->top,f); incr_top(S->L); in LoadFunction() 178 S->L->top--; in LoadFunction()
|
| H A D | lstrlib.c | 757 int top = lua_gettop(L); in str_format() local 772 if (++arg > top) in str_format()
|
| H A D | lparser.c | 349 sethvalue2s(L, L->top, fs->h); in open_func() 351 setptvalue2s(L, L->top, f); in open_func() 379 L->top -= 2; /* remove table and prototype from the stack */ in close_func()
|
| /redis-3.2.3/deps/lua/test/ |
| H A D | life.lua | 30 function _CELLS:spawn(shape,left,top) 33 self[top+y][left+x] = shape[y*shape.w+x+1]
|
| /redis-3.2.3/deps/lua/doc/ |
| H A D | manual.css | 19 padding-top: 0.4em ;
|
| H A D | lua.css | 17 padding-top: 0.4em ;
|
| /redis-3.2.3/deps/lua/ |
| H A D | INSTALL | 6 controlled from the top-level Makefile.
|
| /redis-3.2.3/deps/linenoise/ |
| H A D | README.markdown | 117 to the top of the history (it will be the first the user will see when
|