Home
last modified time | relevance | path

Searched refs:lua_tostring (Results 1 – 21 of 21) sorted by relevance

/external/skia/samplecode/
DSampleLua.cpp53 SkDebugf("lua err: %s\n", lua_tostring(L, -1)); in setImageFilename()
89 SkDebugf("lua err: %s\n", lua_tostring(L, -1)); in onQuery()
116 SkDebugf("lua err: %s\n", lua_tostring(L, -1)); in onDrawContent()
134 SkDebugf("lua err: %s\n", lua_tostring(L, -1)); in onFindClickHandler()
/external/skia/third_party/lua/src/
Dlua.c72 add_history(lua_tostring(L, idx)); /* add it to history */
137 const char *msg = lua_tostring(L, -1); in report()
151 const char *msg = (lua_type(L, -1) == LUA_TSTRING) ? lua_tostring(L, -1) in finalreport()
161 const char *msg = lua_tostring(L, 1); in traceback()
238 p = lua_tostring(L, -1); in get_prompt()
317 lua_tostring(L, -1))); in dotty()
Dloadlib.c177 luaL_gsub(L, lua_tostring(L, -1), LUA_EXEC_DIR, buff); in setprogdir()
358 const char *filename = luaL_gsub(L, lua_tostring(L, -1), in searchpath()
391 path = lua_tostring(L, -1); in findfile()
406 lua_tostring(L, 1), filename, lua_tostring(L, -1)); in checkload()
452 filename = findfile(L, lua_tostring(L, -1), "cpath", LUA_CSUBSEP); in searcher_Croot()
492 name, lua_tostring(L, -1)); in findloader()
Dlauxlib.c90 lua_pushfstring(L, "function " LUA_QS, lua_tostring(L, -1)); in pushfuncname()
165 ar.name = (pushglobalfuncname(L, &ar)) ? lua_tostring(L, -1) : "?"; in luaL_argerror()
589 const char *filename = lua_tostring(L, fnameindex) + 1; in errfile()
654 status = lua_load(L, getF, &lf, lua_tostring(L, -1), mode); in luaL_loadfilex()
915 return lua_tostring(L, -1); in luaL_gsub()
932 lua_tostring(L, -1)); in panic()
Dldblib.c125 options = lua_tostring(L, -1); in db_getinfo()
353 luai_writestringerror("%s\n", lua_tostring(L, -1)); in db_debug()
362 const char *msg = lua_tostring(L, arg + 1); in db_traceback()
Dluac.c144 if (lua_load(L,reader,&i,"=(" PROGNAME ")",NULL)!=LUA_OK) fatal(lua_tostring(L,-1)); in combine()
172 if (luaL_loadfile(L,filename)!=LUA_OK) fatal(lua_tostring(L,-1)); in pmain()
200 if (lua_pcall(L,2,0,0)!=LUA_OK) fatal(lua_tostring(L,-1)); in main()
Dliolib.c274 const char *filename = lua_tostring(L, 1); in g_iofile()
441 const char *p = lua_tostring(L, n); in g_read()
499 return luaL_error(L, "%s", lua_tostring(L, -n + 1)); in io_readline()
Dlbaselib.c355 if (lua_type(L, 1) == LUA_TSTRING && *lua_tostring(L, 1) == '#') { in luaB_select()
Dlua.h346 #define lua_tostring(L,i) lua_tolstring(L, (i), NULL) macro
/external/syslinux/com32/lua/src/
Dlua.c77 add_history(lua_tostring(L, idx)); /* add it to history */
144 const char *msg = lua_tostring(L, -1); in report()
158 const char *msg = (lua_type(L, -1) == LUA_TSTRING) ? lua_tostring(L, -1) in finalreport()
168 const char *msg = lua_tostring(L, 1); in traceback()
245 p = lua_tostring(L, -1); in get_prompt()
324 lua_tostring(L, -1))); in dotty()
Dloadlib.c181 luaL_gsub(L, lua_tostring(L, -1), LUA_EXEC_DIR, buff); in setprogdir()
407 const char *filename = luaL_gsub(L, lua_tostring(L, -1), in searchpath()
440 path = lua_tostring(L, -1); in findfile()
455 lua_tostring(L, 1), filename, lua_tostring(L, -1)); in checkload()
501 filename = findfile(L, lua_tostring(L, -1), "cpath", LUA_CSUBSEP); in searcher_Croot()
541 name, lua_tostring(L, -1)); in findloader()
Dlauxlib.c90 lua_pushfstring(L, "function " LUA_QS, lua_tostring(L, -1)); in pushfuncname()
165 ar.name = (pushglobalfuncname(L, &ar)) ? lua_tostring(L, -1) : "?"; in luaL_argerror()
589 const char *filename = lua_tostring(L, fnameindex) + 1; in errfile()
656 status = lua_load(L, getF, &lf, lua_tostring(L, -1), mode); in luaL_loadfilex()
917 return lua_tostring(L, -1); in luaL_gsub()
934 lua_tostring(L, -1)); in panic()
Dldblib.c125 options = lua_tostring(L, -1); in db_getinfo()
353 luai_writestringerror("%s\n", lua_tostring(L, -1)); in db_debug()
362 const char *msg = lua_tostring(L, arg + 1); in db_traceback()
Dluac.c144 if (lua_load(L,reader,&i,"=(" PROGNAME ")",NULL)!=LUA_OK) fatal(lua_tostring(L,-1)); in combine()
172 if (luaL_loadfile(L,filename)!=LUA_OK) fatal(lua_tostring(L,-1)); in pmain()
200 if (lua_pcall(L,2,0,0)!=LUA_OK) fatal(lua_tostring(L,-1)); in main()
Dliolib.c277 const char *filename = lua_tostring(L, 1); in g_iofile()
452 const char *p = lua_tostring(L, n); in g_read()
514 return luaL_error(L, "%s", lua_tostring(L, -n + 1)); in io_readline()
Dlfs.c250 const char *member = lua_tostring (L, 2); in _file_info_()
Dlbaselib.c355 if (lua_type(L, 1) == LUA_TSTRING && *lua_tostring(L, 1) == '#') { in luaB_select()
Dlua.h351 #define lua_tostring(L,i) lua_tolstring(L, (i), NULL) macro
/external/skia/tools/lua/
Dlua_pictures.cpp61 SkDebugf("lua err: %s\n", lua_tostring(L, -1)); in call_canvas()
/external/skia/src/utils/
DSkLuaCanvas.cpp32 SkDebugf("lua err: %s\n", lua_tostring(L, -1)); in ~AutoCallLua()
DSkLua.cpp123 SkDebugf("lua err: %s\n", lua_tostring(fL, -1)); in ~SkLua()
133 SkDebugf("--- lua failed: %s\n", lua_tostring(fL, -1)); in runCode()
1293 const char* scaleToFitStr = lua_tostring(L, 4); in lmatrix_setRectToRect()
1836 SkDebugf("lua err: %s\n", lua_tostring(fL, -1)); in ~AutoCallLua()