Searched refs:metatable (Results 1 - 15 of 15) sorted by relevance

/freebsd-13-stable/sys/contrib/openzfs/module/lua/
H A Dltm.c66 mt = hvalue(o)->metatable;
69 mt = uvalue(o)->metatable;
H A Dlvm.c119 (tm = fasttm(L, h->metatable, TM_INDEX)) == NULL) { /* or no TM? */
148 ((tm = fasttm(L, h->metatable, TM_NEWINDEX)) == NULL &&
275 tm = get_equalTM(L, uvalue(t1)->metatable, uvalue(t2)->metatable, TM_EQ);
281 tm = get_equalTM(L, hvalue(t1)->metatable, hvalue(t2)->metatable, TM_EQ);
341 tm = fasttm(L, h->metatable, TM_LEN);
H A Dlstring.c182 u->uv.metatable = NULL;
H A Dlobject.h433 struct Table *metatable; member in struct:Udata::__anon10625
566 struct Table *metatable; member in struct:Table
H A Dlgc.c252 Table *mt = gco2u(o)->metatable;
435 const TValue *mode = gfasttm(g, h->metatable, TM_MODE);
436 markobject(g, h->metatable);
H A Dlapi.c691 mt = hvalue(obj)->metatable;
694 mt = uvalue(obj)->metatable;
823 hvalue(obj)->metatable = mt;
831 uvalue(obj)->metatable = mt;
H A Dltable.c370 t->metatable = NULL;
/freebsd-13-stable/contrib/lua/src/
H A Dltm.c75 mt = hvalue(o)->metatable;
78 mt = uvalue(o)->metatable;
89 ** with metatable, use their '__name' metafield, if present.
93 if ((ttistable(o) && (mt = hvalue(o)->metatable) != NULL) ||
94 (ttisfulluserdata(o) && (mt = uvalue(o)->metatable) != NULL)) {
H A Dlobject.h443 struct Table *metatable; member in struct:Udata
462 struct Table *metatable; member in struct:Udata0
722 struct Table *metatable; member in struct:Table
H A Dlvm.c308 tm = fasttm(L, hvalue(t)->metatable, TM_INDEX); /* table's metamethod */
345 tm = fasttm(L, h->metatable, TM_NEWINDEX); /* get metamethod */
597 tm = fasttm(L, uvalue(t1)->metatable, TM_EQ);
599 tm = fasttm(L, uvalue(t2)->metatable, TM_EQ);
605 tm = fasttm(L, hvalue(t1)->metatable, TM_EQ);
607 tm = fasttm(L, hvalue(t2)->metatable, TM_EQ);
693 tm = fasttm(L, h->metatable, TM_LEN);
H A Dlstring.c268 u->metatable = NULL;
H A Dlapi.c749 mt = hvalue(obj)->metatable;
752 mt = uvalue(obj)->metatable;
915 hvalue(obj)->metatable = mt;
923 uvalue(obj)->metatable = mt;
H A Dlgc.c289 ** (only closures can), and a userdata's metatable must be a table.
310 markobjectN(g, u->metatable); /* mark its metatable */
538 const TValue *mode = gfasttm(g, h->metatable, TM_MODE);
539 markobjectN(g, h->metatable);
559 markobjectN(g, u->metatable); /* mark its metatable */
H A Dltable.c599 t->metatable = NULL;
/freebsd-13-stable/lib/clang/liblldb/
H A DLLDBWrapLua.cpp1028 swig_lua_method *metatable; /* 0 for -eluac */ member in struct:swig_lua_class
1252 if(!lua_isnil(L,-1)) /*There is an ordinary metatable */
1307 lua_remove(L,-2); /* stack tidy, remove metatable */
1319 lua_remove(L,-2); /* stack tidy, remove metatable */
1353 lua_pop(L,1); /* remote metatable */
1367 /* There must be namespace table (not metatable) at the top of the stack */
1418 lua_newtable(L); /* metatable for namespace */
1437 lua_setmetatable(L,-2); /* set metatable */
1516 /* Trick: temporarily replacing original metatable with metatable fo
[all...]

Completed in 414 milliseconds