Searched refs:lua_gc (Results 1 – 6 of 6) sorted by relevance
| /redis-3.2.3/deps/lua/src/ |
| H A D | lua.c | 106 if (status != 0) lua_gc(L, LUA_GCCOLLECT, 0); in docall() 347 lua_gc(L, LUA_GCSTOP, 0); /* stop collector during initialization */ in pmain() 349 lua_gc(L, LUA_GCRESTART, 0); in pmain()
|
| H A D | lua.h | 230 LUA_API int (lua_gc) (lua_State *L, int what, int data); variable 291 #define lua_getgccount(L) lua_gc(L, LUA_GCCOUNT, 0)
|
| H A D | lbaselib.c | 200 int res = lua_gc(L, optsnum[o], ex); in luaB_collectgarbage() 203 int b = lua_gc(L, LUA_GCCOUNTB, 0); in luaB_collectgarbage()
|
| H A D | lapi.c | 899 LUA_API int lua_gc (lua_State *L, int what, int data) { in lua_gc() function
|
| /redis-3.2.3/src/ |
| H A D | scripting.c | 1344 lua_gc(lua,LUA_GCSTEP,LUA_GC_CYCLE_PERIOD); in evalGenericCommand()
|
| H A D | server.c | 2937 long long memory_lua = (long long)lua_gc(server.lua,LUA_GCCOUNT,0)*1024; in genRedisInfoString()
|