/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/ |
H A D | tst.lib_base.lua | 31 _ENV = setmetatable({}, {__index=_G}) 45 a={name = "NAME"}; setmetatable(a, {__metatable = "xuxu", 51 assert(setmetatable(a,t) == a) 53 assert(setmetatable(a,nil) == a) 55 assert(setmetatable(a,t) == a) 71 a = setmetatable({}, t) 73 setmetatable(t, t) -- causes a bug in 5.1 ! 80 a = setmetatable({}, t) 88 a = setmetatable({}, {__index = setmetatable({}, 89 {__index = setmetatable({}, [all …]
|
H A D | tst.lib_coroutine.lua | 203 local C = {}; setmetatable(C, {__mode = "kv"}) 309 return setmetatable({x = x, k = {}}, mt)
|
H A D | tst.lib_table.lua | 201 for i=1,10 do a[i] = {val=rand(100)}; setmetatable(a[i], tt); end
|
H A D | tst.lib_strings.lua | 230 t = {}; setmetatable(t, {__index = function (t,s) return string.upper(s) end})
|
/freebsd/contrib/lyaml/spec/ |
H A D | lib_lyaml_functional_spec.yaml | 26 setmetatable({}, {__call=nop}) 98 expect(f(setmetatable({}, {__call=f}))).to_be(f) 106 expect(f(setmetatable({}, {__index={}}))).to_be(nil) 107 expect(f(setmetatable({}, {__call=42}))).to_be(nil)
|
H A D | spec_helper.lua | 187 return setmetatable({}, {
|
/freebsd/tools/lua/ |
H A D | template.lua | 32 local setmetatable = setmetatable 179 return assert(load(view, nil, nil, setmetatable({ template = template }, VIEW_ENV))) 294 return setmetatable({ 318 return setmetatable({ 586 …c[j] = "return layout and include(layout,setmetatable({view=table.concat(___),blocks=blocks},{__in… 629 return setmetatable({}, {
|
/freebsd/sys/tools/syscalls/core/ |
H A D | scret.lua | 37 setmetatable(obj, self)
|
H A D | freebsd-syscall.lua | 156 setmetatable(obj, self)
|
H A D | syscall.lua | 437 setmetatable(copy, deepCopy(getmetatable(orig), copies)) 485 setmetatable(obj, self)
|
H A D | scarg.lua | 150 setmetatable(obj, self)
|
/freebsd/contrib/lyaml/build-aux/ |
H A D | luke | 221 local configure=setmetatable(OrderedDict({checkprog=function(L,env,config)return dropuntil(config.p… 266 …ined dynamic_lookup -all_load',},LIBFLAG='-shared -fPIC',},},SHELLENV=setmetatable({},{__index=fun… 269 end)return setmetatable(env,env_mt)end,} 309 local weighting=setmetatable(copy(configure),{__call=function(self,config)local t=config.t[config.k… 597 return setmetatable({append=function(seq,v)local n=(int(seq.n)or len(seq))+1 617 …=rawget,rawset=rawset,rep=string.rep,rm=os.remove,select=select,setmetatable=setmetatable,sort=sor… 640 setmetatable(cm,contextmanager_mt)end
|
/freebsd/contrib/lyaml/lib/lyaml/ |
H A D | functional.lua | 30 local NULL = setmetatable({}, {_type='LYAML null'})
|
H A D | init.lua | 249 return setmetatable(object, dumper_mt) 462 return setmetatable(object, parser_mt)
|
/freebsd/sys/tools/syscalls/tools/ |
H A D | generator.lua | 104 setmetatable(obj, self)
|
/freebsd/contrib/lutok/ |
H A D | state_test.cpp | 240 "t = {}; setmetatable(t, meta)") == 0); in ATF_TEST_CASE_BODY() 255 "t = {}; setmetatable(t, meta)") == 0); in ATF_TEST_CASE_BODY() 268 "t = {}; setmetatable(t, meta)") == 0); in ATF_TEST_CASE_BODY() 900 raw(state), "t = {foo=123} ; setmetatable(t, {__index=1})") == 0); in ATF_TEST_CASE_BODY() 919 raw(state), "t = {} ; setmetatable(t, {__newindex=1})") == 0); in ATF_TEST_CASE_BODY()
|
/freebsd/sys/contrib/openzfs/module/lua/ |
H A D | lbaselib.c | 271 {"setmetatable", luaB_setmetatable},
|
/freebsd/contrib/lua/doc/ |
H A D | contents.html | 175 <A HREF="manual.html#pdf-setmetatable">setmetatable</A><BR> 205 <A HREF="manual.html#pdf-debug.setmetatable">debug.setmetatable</A><BR>
|
H A D | manual.html | 468 using the <a href="#pdf-setmetatable"><code>setmetatable</code></a> function. 8359 <hr><h3><a name="pdf-setmetatable"><code>setmetatable (table, metatable)</code></a></h3> 11477 <hr><h3><a name="pdf-debug.setmetatable"><code>debug.setmetatable (value, table)</code></a></h3>
|
/freebsd/contrib/lua/src/ |
H A D | ldblib.c | 471 {"setmetatable", db_setmetatable},
|
H A D | lbaselib.c | 525 {"setmetatable", luaB_setmetatable},
|
H A D | ltests.c | 1693 else if EQ("setmetatable") { in runC()
|
/freebsd/sys/contrib/openzfs/man/man8/ |
H A D | zfs-program.8 | 208 ipairs setmetatable next tonumber
|
/freebsd/stand/lua/ |
H A D | config.lua | 542 local cfg_env = setmetatable({}, {
|