Home
last modified time | relevance | path

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

/external/chromium_org/third_party/skia/third_party/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()
Dliolib.c281 lua_setfield(L, LUA_REGISTRYINDEX, f); in g_iofile()
625 lua_setfield(L, -2, "__index"); /* metatable.__index = metatable */ in createmeta()
650 lua_setfield(L, LUA_REGISTRYINDEX, k); /* add file to registry */ in createstdfile()
652 lua_setfield(L, -2, fname); /* add file to module */ in createstdfile()
Dlmathlib.c274 lua_setfield(L, -2, "pi"); in luaopen_math()
276 lua_setfield(L, -2, "huge"); in luaopen_math()
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()
Dlua.h240 LUA_API void (lua_setfield) (lua_State *L, int idx, const char *k); variable
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
/external/skia/src/utils/
DSkLua.cpp120 #define CHECK_SETFIELD(key) do if (key) lua_setfield(fL, -2, key); while (0)
125 lua_setfield(L, -2, key); in setfield_bool_if()
131 lua_setfield(L, -2, key); in setfield_string()
136 lua_setfield(L, -2, key); in setfield_number()
141 lua_setfield(L, -2, key); in setfield_boolean()
151 lua_setfield(L, -2, key); in setfield_function()
1486 lua_setfield(L, -2, "__index"); \
/external/chromium_org/third_party/skia/src/utils/
DSkLua.cpp123 #define CHECK_SETFIELD(key) do if (key) lua_setfield(fL, -2, key); while (0)
128 lua_setfield(L, -2, key); in setfield_bool_if()
134 lua_setfield(L, -2, key); in setfield_string()
139 lua_setfield(L, -2, key); in setfield_number()
144 lua_setfield(L, -2, key); in setfield_boolean()
154 lua_setfield(L, -2, key); in setfield_function()
1496 lua_setfield(L, -2, "__index"); \