Home
last modified time | relevance | path

Searched refs:lua_setfield (Results 1 – 13 of 13) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dloadlib.c265 lua_setfield(L, -3, path); /* CLIBS[path] = plib */ in ll_addtoclib()
522 lua_setfield(L, 2, name); /* _LOADED[name] = returned value */ in ll_require()
527 lua_setfield(L, 2, name); /* _LOADED[name] = true */ in ll_require()
573 lua_setfield(L, -2, "_M"); /* module._M = module */ in modinit()
575 lua_setfield(L, -2, "_NAME"); in modinit()
581 lua_setfield(L, -2, "_PACKAGE"); in modinit()
612 lua_setfield(L, -2, "__index"); /* mt.__index = _G */ in ll_seeall()
652 lua_setfield(L, -2, fieldname); in setpath()
695 lua_setfield(L, -2, "__gc"); /* set finalizer for CLIBS table */ in luaopen_package()
702 lua_setfield(L, -3, "loaders"); /* put it in field `loaders' */ in luaopen_package()
[all …]
Dldblib.c73 lua_setfield(L, -2, i); in settabss()
79 lua_setfield(L, -2, i); in settabsi()
85 lua_setfield(L, -2, i); in settabsb()
108 lua_setfield(L, -2, fname); in treatstackoption()
312 lua_setfield(L, -2, "__mode"); /** hooktable.__mode = "k" */ in db_sethook()
Dlinit.c63 lua_setfield(L, -2, lib->name); in luaL_openlibs()
Dlmathlib.c274 lua_setfield(L, -2, "pi"); in luaopen_math()
276 lua_setfield(L, -2, "huge"); in luaopen_math()
Dliolib.c282 lua_setfield(L, LUA_REGISTRYINDEX, f); in g_iofile()
626 lua_setfield(L, -2, "__index"); /* metatable.__index = metatable */ in createmeta()
651 lua_setfield(L, LUA_REGISTRYINDEX, k); /* add file to registry */ in createstdfile()
653 lua_setfield(L, -2, fname); /* add file to module */ in createstdfile()
Dloslib.c138 lua_setfield(L, -2, key); in setfield()
145 lua_setfield(L, -2, key); in setboolfield()
Dlauxlib.c279 lua_setfield(L, LUA_REGISTRYINDEX, tname); /* registry.name = metatable */ in luaL_newmetatable()
821 lua_setfield(L, -3, modname); /* _LOADED[modname] = new table */ in luaL_pushmodule()
856 lua_setfield(L, -(nup + 2), l->name); in luaL_setfuncs()
874 lua_setfield(L, idx, fname); /* assign new table to field */ in luaL_getsubtable()
893 lua_setfield(L, -2, modname); /* _LOADED[modname] = module */ in luaL_requiref()
Dlbaselib.c451 lua_setfield(L, -2, "_G"); in luaopen_base()
455 lua_setfield(L, -2, "_VERSION"); /* set global _VERSION */ in luaopen_base()
Dltablib.c123 lua_setfield(L, -2, "n"); /* t.n = number of elements */ in pack()
Dlua.c453 lua_setfield(L, LUA_REGISTRYINDEX, "LUA_NOENV"); in pmain()
Dlstrlib.c1006 lua_setfield(L, -2, "__index"); /* metatable.__index = string */ in createmetatable()
Dlapi.c758 LUA_API void lua_setfield (lua_State *L, int idx, const char *k) { in lua_setfield() function
/device/linaro/bootloader/edk2/StdLib/Include/Lua/
Dlua.h240 LUA_API void (lua_setfield) (lua_State *L, int idx, const char *k); variable