Home
last modified time | relevance | path

Searched refs:mt (Results 1 – 8 of 8) sorted by relevance

/redis-3.2.3/deps/lua/etc/
H A Dstrict.lua11 local mt = getmetatable(_G)
12 if mt == nil then
13 mt = {}
14 setmetatable(_G, mt)
17 mt.__declared = {}
24 mt.__newindex = function (t, n, v)
25 if not mt.__declared[n] then
30 mt.__declared[n] = true
35 mt.__index = function (t, n)
36 if not mt.__declared[n] and what() ~= "C" then
H A Dluavs.bat9 @set MYMT=mt /nologo
/redis-3.2.3/deps/lua/src/
H A Dltm.c62 Table *mt; in luaT_gettmbyobj() local
65 mt = hvalue(o)->metatable; in luaT_gettmbyobj()
68 mt = uvalue(o)->metatable; in luaT_gettmbyobj()
71 mt = G(L)->mt[ttype(o)]; in luaT_gettmbyobj()
73 return (mt ? luaH_getstr(mt, G(L)->tmname[event]) : luaO_nilobject); in luaT_gettmbyobj()
H A Dlapi.c589 Table *mt = NULL; in lua_getmetatable() local
595 mt = hvalue(obj)->metatable; in lua_getmetatable()
601 mt = G(L)->mt[ttype(obj)]; in lua_getmetatable()
604 if (mt == NULL) in lua_getmetatable()
607 sethvalue(L, L->top, mt); in lua_getmetatable()
699 Table *mt; in lua_setmetatable() local
705 mt = NULL; in lua_setmetatable()
708 mt = hvalue(L->top - 1); in lua_setmetatable()
713 if (mt) in lua_setmetatable()
719 if (mt) in lua_setmetatable()
[all …]
H A Dlgc.c77 Table *mt = gco2u(o)->metatable; in reallymarkobject() local
79 if (mt) markobject(g, mt); in reallymarkobject()
496 if (g->mt[i]) markobject(g, g->mt[i]); in markmt()
H A Dlstate.h92 struct Table *mt[NUM_TAGS]; /* metatables for basic types */ member
H A Dlstate.c181 for (i=0; i<NUM_TAGS; i++) g->mt[i] = NULL; in lua_newstate()
/redis-3.2.3/deps/jemalloc/
H A Dconfig.sub296 | mt \
336 basic_machine=mt-unknown
836 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`