Searched refs:lua_gettop (Results 1 - 14 of 14) sorted by relevance

/external/chromium_org/third_party/skia/third_party/lua/src/
H A Dlcorolib.c26 if (lua_status(co) == LUA_OK && lua_gettop(co) == 0) {
33 int nres = lua_gettop(co);
53 r = auxresume(L, co, lua_gettop(L) - 1);
69 int r = auxresume(L, co, lua_gettop(L));
100 return lua_yield(L, lua_gettop(L));
117 else if (lua_gettop(co) == 0)
H A Dlbitlib.c37 int i, n = lua_gettop(L);
60 int i, n = lua_gettop(L);
70 int i, n = lua_gettop(L);
H A Dlbaselib.c24 int n = lua_gettop(L); /* number of arguments */
332 return lua_gettop(L) - 1;
349 return lua_gettop(L);
354 int n = lua_gettop(L);
378 return lua_gettop(L);
393 status = lua_pcallk(L, lua_gettop(L) - 2, LUA_MULTRET, 0, 0, pcallcont);
400 int n = lua_gettop(L);
H A Dlmathlib.c171 int n = lua_gettop(L); /* number of arguments */
185 int n = lua_gettop(L); /* number of arguments */
202 switch (lua_gettop(L)) { /* check number of arguments */
H A Dltablib.c44 switch (lua_gettop(L)) {
120 int n = lua_gettop(L); /* number of elements to pack */
H A Dlua.c174 int base = lua_gettop(L) - narg; /* function index */
310 if (status == LUA_OK && lua_gettop(L) > 0) { /* any result to print? */
314 if (lua_pcall(L, lua_gettop(L)-1, 0, 0) != LUA_OK)
H A Dlauxlib.c68 int top = lua_gettop(L);
119 int top = lua_gettop(L);
138 lua_concat(L, lua_gettop(L) - top);
141 lua_concat(L, lua_gettop(L) - top);
635 int fnameindex = lua_gettop(L) + 1; /* index of filename on the stack */
H A Dliolib.c304 int n = lua_gettop(L) - 1; /* number of arguments to read */
424 int nargs = lua_gettop(L) - 1;
514 int nargs = lua_gettop(L) - arg;
H A Dlua.h145 LUA_API int (lua_gettop) (lua_State *L);
H A Dlstrlib.c153 int n = lua_gettop(L); /* number of arguments */
893 int top = lua_gettop(L);
H A Dloadlib.c587 int lastarg = lua_gettop(L); /* last parameter */
H A Dlapi.c160 LUA_API int lua_gettop (lua_State *L) { function
/external/chromium_org/third_party/skia/src/utils/
H A DSkLua.cpp470 if (lua_gettop(L) < 5) {
1405 if (lua_gettop(L) > 0 && lua_isstring(L, 1)) {
1440 int count = lua_gettop(L);
1460 if (lua_gettop(L) > 0 && lua_isstring(L, 1)) {
/external/skia/src/utils/
H A DSkLua.cpp462 if (lua_gettop(L) < 5) {
1397 if (lua_gettop(L) > 0 && lua_isstring(L, 1)) {
1432 int count = lua_gettop(L);
1452 if (lua_gettop(L) > 0 && lua_isstring(L, 1)) {

Completed in 1469 milliseconds