Home
last modified time | relevance | path

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

/external/chromium_org/third_party/skia/third_party/lua/src/
Dlcorolib.c26 if (lua_status(co) == LUA_OK && lua_gettop(co) == 0) { in auxresume()
33 int nres = lua_gettop(co); in auxresume()
53 r = auxresume(L, co, lua_gettop(L) - 1); in luaB_coresume()
69 int r = auxresume(L, co, lua_gettop(L)); in luaB_auxwrap()
100 return lua_yield(L, lua_gettop(L)); in luaB_yield()
117 else if (lua_gettop(co) == 0) in luaB_costatus()
Dlbaselib.c24 int n = lua_gettop(L); /* number of arguments */ in luaB_print()
332 return lua_gettop(L) - 1; in dofilecont()
349 return lua_gettop(L); in luaB_assert()
354 int n = lua_gettop(L); in luaB_select()
378 return lua_gettop(L); in finishpcall()
393 status = lua_pcallk(L, lua_gettop(L) - 2, LUA_MULTRET, 0, 0, pcallcont); in luaB_pcall()
400 int n = lua_gettop(L); in luaB_xpcall()
Dlbitlib.c37 int i, n = lua_gettop(L); in andaux()
60 int i, n = lua_gettop(L); in b_or()
70 int i, n = lua_gettop(L); in b_xor()
Dlmathlib.c171 int n = lua_gettop(L); /* number of arguments */ in math_min()
185 int n = lua_gettop(L); /* number of arguments */ in math_max()
202 switch (lua_gettop(L)) { /* check number of arguments */ in math_random()
Dlua.c174 int base = lua_gettop(L) - narg; /* function index */ in docall()
310 if (status == LUA_OK && lua_gettop(L) > 0) { /* any result to print? */ in dotty()
314 if (lua_pcall(L, lua_gettop(L)-1, 0, 0) != LUA_OK) in dotty()
Dltablib.c44 switch (lua_gettop(L)) { in tinsert()
120 int n = lua_gettop(L); /* number of elements to pack */ in pack()
Dlauxlib.c68 int top = lua_gettop(L); in pushglobalfuncname()
119 int top = lua_gettop(L); in luaL_traceback()
138 lua_concat(L, lua_gettop(L) - top); in luaL_traceback()
141 lua_concat(L, lua_gettop(L) - top); in luaL_traceback()
635 int fnameindex = lua_gettop(L) + 1; /* index of filename on the stack */ in luaL_loadfilex()
Dliolib.c304 int n = lua_gettop(L) - 1; /* number of arguments to read */ in aux_lines()
424 int nargs = lua_gettop(L) - 1; in g_read()
514 int nargs = lua_gettop(L) - arg; in g_write()
Dlstrlib.c153 int n = lua_gettop(L); /* number of arguments */ in str_char()
893 int top = lua_gettop(L); in str_format()
Dlua.h145 LUA_API int (lua_gettop) (lua_State *L); variable
Dloadlib.c587 int lastarg = lua_gettop(L); /* last parameter */ in ll_module()
Dlapi.c160 LUA_API int lua_gettop (lua_State *L) { in lua_gettop() function
/external/skia/src/utils/
DSkLua.cpp462 if (lua_gettop(L) < 5) { in lcanvas_drawText()
1397 if (lua_gettop(L) > 0 && lua_isstring(L, 1)) { in lsk_newDocumentPDF()
1432 int count = lua_gettop(L); in lsk_newTypeface()
1452 if (lua_gettop(L) > 0 && lua_isstring(L, 1)) { in lsk_loadImage()
/external/chromium_org/third_party/skia/src/utils/
DSkLua.cpp470 if (lua_gettop(L) < 5) { in lcanvas_drawText()
1405 if (lua_gettop(L) > 0 && lua_isstring(L, 1)) { in lsk_newDocumentPDF()
1440 int count = lua_gettop(L); in lsk_newTypeface()
1460 if (lua_gettop(L) > 0 && lua_isstring(L, 1)) { in lsk_loadImage()