Home
last modified time | relevance | path

Searched refs:_G (Results 1 – 4 of 4) sorted by relevance

/freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/
H A Dtst.lib_coroutine.lua43 _G.x = nil -- declare x
53 _G.x = {coroutine.yield(table.unpack(arg[i]))}
65 eqtab(_G.x, {})
68 eqtab(_G.x, {1, 2, 3})
71 eqtab(_G.x, {"xuxu"})
82 assert(foo(i) == _G.x)
86 for i=1,10 do _G.x = i; assert(f(i) == i) end
87 _G.x = 'xuxu'; assert(f('xuxu') == 'a')
261 _G.f = function () a=a+1; return a end
268 assert(_G.f() == 11)
[all …]
H A Dtst.lib_base.lua30 _ENV = setmetatable({}, {__index=_G})
35 assert(X == 30 and _G.X == 20)
340 assert(_G.X == 20)
343 local _g = _G
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/XRay/
H A DGraph.h292 VertexView(GraphT &_G) : G(_G) {} in VertexView() argument
329 EdgeView(GraphT &_G) : G(_G) {} in EdgeView() argument
/freebsd-14.2/tools/lua/
H A Dtemplate.lua55 local _G = _G
100 return t.context[k] or t.template[k] or _G[k]