Home
last modified time | relevance | path

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

/external/skqp/samplecode/
DSampleLua.cpp50 SkDebugf("lua err: %s\n", lua_tostring(L, -1)); in setImageFilename()
85 SkDebugf("lua err: %s\n", lua_tostring(L, -1)); in onQuery()
111 SkDebugf("lua err: %s\n", lua_tostring(L, -1)); in onDrawContent()
125 SkDebugf("lua err: %s\n", lua_tostring(L, -1)); in onFindClickHandler()
/external/lua/src/
Dloadlib.c184 luaL_gsub(L, lua_tostring(L, -1), LUA_EXEC_DIR, buff); in setprogdir()
501 pusherrornotfound(L, lua_tostring(L, -1)); /* create error message */ in searchpath()
525 path = lua_tostring(L, -1); in findfile()
539 lua_tostring(L, 1), filename, lua_tostring(L, -1)); in checkload()
593 filename = findfile(L, lua_tostring(L, -1), "cpath", LUA_CSUBSEP); in searcher_Croot()
636 luaL_error(L, "module '%s' not found:%s", name, lua_tostring(L, -1)); in findloader()
Dlua.c102 const char *msg = lua_tostring(L, -1); in report()
114 const char *msg = lua_tostring(L, 1); in msghandler()
424 p = lua_tostring(L, -1); in get_prompt()
481 const char *line = lua_tostring(L, -1); /* original line */ in addreturn()
544 lua_tostring(L, -1))); in l_print()
Dlauxlib.c84 const char *name = lua_tostring(L, -1); in pushglobalfuncname()
102 lua_pushfstring(L, "function '%s'", lua_tostring(L, -1)); in pushfuncname()
187 ar.name = (pushglobalfuncname(L, &ar)) ? lua_tostring(L, -1) : "?"; in luaL_argerror()
197 typearg = lua_tostring(L, -1); /* use the given type name */ in luaL_typeerror()
713 const char *filename = lua_tostring(L, fnameindex) + 1; in errfile()
778 status = lua_load(L, getF, &lf, lua_tostring(L, -1), mode); in luaL_loadfilex()
886 const char *kind = (tt == LUA_TSTRING) ? lua_tostring(L, -1) : in luaL_tolstring()
984 return lua_tostring(L, -1); in luaL_gsub()
1000 const char *msg = lua_tostring(L, -1); in panic()
Dlbaselib.c52 lua_warning(L, lua_tostring(L, i), 1); in luaB_warn()
53 lua_warning(L, lua_tostring(L, n), 0); /* close warning */ in luaB_warn()
418 if (lua_type(L, 1) == LUA_TSTRING && *lua_tostring(L, 1) == '#') { in luaB_select()
Dluac.c151 if (lua_load(L,reader,&i,"=(" PROGNAME ")",NULL)!=LUA_OK) fatal(lua_tostring(L,-1)); in combine()
180 if (luaL_loadfile(L,filename)!=LUA_OK) fatal(lua_tostring(L,-1)); in pmain()
208 if (lua_pcall(L,2,0,0)!=LUA_OK) fatal(lua_tostring(L,-1)); in main()
Dliolib.c314 const char *filename = lua_tostring(L, 1); in g_iofile()
640 return luaL_error(L, "%s", lua_tostring(L, -n + 1)); in io_readline()
Dldblib.c429 const char *msg = lua_tostring(L, arg + 1); in db_traceback()
Dlua.h386 #define lua_tostring(L,i) lua_tolstring(L, (i), NULL) macro
/external/llvm-project/lldb/source/Plugins/ScriptInterpreter/Lua/
DLua.cpp76 llvm::formatv("{0}\n", lua_tostring(m_lua_state, -1)), in Run()
89 llvm::formatv("{0}", lua_tostring(m_lua_state, -1)), in RegisterBreakpointCallback()
125 llvm::formatv("{0}\n", lua_tostring(m_lua_state, -1)), in LoadModule()
/external/oss-fuzz/projects/lua/
Dfuzz_lua.c91 const char *msg = lua_tostring(L, -1); in report()
102 const char *msg = lua_tostring(L, 1); in msghandler()
/external/mesa3d/src/freedreno/decode/
Dscript.c87 fprintf(stderr, fmt, lua_tostring(L, -1)); in error()
237 const char *name = lua_tostring(L, 2); in l_rnn_struct_meta_index()
324 const char *name = lua_tostring(L, 2); in l_rnn_reg_meta_index()
426 const char *name = lua_tostring(L, 2); in l_rnn_meta_index()
452 const char *gpuname = lua_tostring(L, 1); in l_rnn_init()
470 const char *name = lua_tostring(L, 2); in l_rnn_enumname()
/external/rust/crates/grpcio-sys/grpc/third_party/upb/tests/bindings/lua/
Dmain.c52 fprintf(stderr, "error testing Lua: %s\n", lua_tostring(L, -1)); in main()
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/bindings/lua/
Ddef.c284 f = upb_oneofdef_ntofz(o, lua_tostring(L, 2)); in lupb_oneofdef_lookupfield()
351 const char *nested_name = lua_tostring(L, -1); in lupb_msgdef_pushnested()
375 f = upb_msgdef_ntofz(m, lua_tostring(L, 2)); in lupb_msgdef_field()
398 if (!upb_msgdef_lookupnamez(m, lua_tostring(L, 2), &f, &o)) { in lupb_msgdef_lookupname()
559 const char *key = lua_tostring(L, 2); in lupb_enumdef_value()
Dmsg.c636 luaL_error(L, "no such field '%s'", lua_tostring(L, field)); in lupb_msg_checkfield()
/external/llvm-project/lldb/bindings/lua/
Dlua-wrapper.swig31 llvm::formatv("{0}\n", lua_tostring(L, -1)),
/external/skqp/tools/lua/
Dlua_pictures.cpp60 SkDebugf("lua err: %s\n", lua_tostring(L, -1)); in call_canvas()
/external/bcc/src/lua/src/
Dmain.c59 const char *msg = lua_tostring(L, -1); in report()
/external/skqp/src/utils/
DSkLuaCanvas.cpp35 SkDebugf("lua err: %s\n", lua_tostring(L, -1)); in ~AutoCallLua()
DSkLua.cpp136 SkDebugf("lua err: %s\n", lua_tostring(fL, -1)); in ~SkLua()
146 SkDebugf("--- lua failed: %s\n", lua_tostring(fL, -1)); in runCode()
1207 const char* scaleToFitStr = lua_tostring(L, 4); in lmatrix_setRectToRect()
1780 SkDebugf("lua err: %s\n", lua_tostring(fL, -1)); in ~AutoCallLua()
/external/libtextclassifier/native/utils/
Dlua-utils.cc74 const char* field_name = lua_tostring(state_, /*idx=*/kIndexStackTop); in GetField()