Searched refs:lua_setfield (Results 1 – 13 of 13) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
D | loadlib.c | 265 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 …]
|
D | ldblib.c | 73 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()
|
D | linit.c | 63 lua_setfield(L, -2, lib->name); in luaL_openlibs()
|
D | lmathlib.c | 274 lua_setfield(L, -2, "pi"); in luaopen_math() 276 lua_setfield(L, -2, "huge"); in luaopen_math()
|
D | liolib.c | 282 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()
|
D | loslib.c | 138 lua_setfield(L, -2, key); in setfield() 145 lua_setfield(L, -2, key); in setboolfield()
|
D | lauxlib.c | 279 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()
|
D | lbaselib.c | 451 lua_setfield(L, -2, "_G"); in luaopen_base() 455 lua_setfield(L, -2, "_VERSION"); /* set global _VERSION */ in luaopen_base()
|
D | ltablib.c | 123 lua_setfield(L, -2, "n"); /* t.n = number of elements */ in pack()
|
D | lua.c | 453 lua_setfield(L, LUA_REGISTRYINDEX, "LUA_NOENV"); in pmain()
|
D | lstrlib.c | 1006 lua_setfield(L, -2, "__index"); /* metatable.__index = string */ in createmetatable()
|
D | lapi.c | 758 LUA_API void lua_setfield (lua_State *L, int idx, const char *k) { in lua_setfield() function
|
/device/linaro/bootloader/edk2/StdLib/Include/Lua/ |
D | lua.h | 240 LUA_API void (lua_setfield) (lua_State *L, int idx, const char *k); variable
|