Home
last modified time | relevance | path

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

/aosp_15_r20/packages/services/Car/tools/telemetry/lua-interpreter/
Dlua_engine.cc112 std::string(lua_tostring(lua_state, lua_gettop(lua_state))); in ConvertJsonToLuaTable()
153 std::string(lua_tostring(lua_state, lua_gettop(lua_state))); in ConvertJsonToLuaTable()
214 const char* error = lua_tostring(lua_state_, lua_gettop(lua_state_)); in ExecuteScript()
256 const char* error = lua_tostring(lua_state_, lua_gettop(lua_state_)); in ExecuteScript()
306 const auto saved_state = lua_tostring(lua_state_, lua_gettop(lua_state_)); in GetSavedState()
353 std::string json = lua_tostring(lua_state, lua_gettop(lua_state)); in ConvertTableToJson()
375 log << lua_tostring(lua_state, i); in ScriptLog()
423 std::string error = lua_tostring(lua_state, lua_gettop(lua_state)); in OnError()
/aosp_15_r20/external/lua/src/
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A Dldblib.c429 const char *msg = lua_tostring(L, arg + 1); in db_traceback()
H A Dlua.h386 #define lua_tostring(L,i) lua_tolstring(L, (i), NULL) macro
/aosp_15_r20/packages/services/Car/packages/ScriptExecutor/src/
DLuaEngine.cpp88 const char* error = lua_tostring(mLuaState, -1); in loadScript()
159 const char* error = lua_tostring(mLuaState, -1); in run()
189 const char* message = lua_tostring(lua, i); in scriptLog()
257 sListener->onError(ERROR_TYPE_LUA_SCRIPT_ERROR, lua_tostring(lua, /* index = */ -1), in onError()
DJniUtils.cpp241 const char* key = lua_tostring(lua, /* index = */ -2); in convertLuaTableToBundle()
261 bundleWrapper->putString(key, lua_tostring(lua, /* index = */ -1)); in convertLuaTableToBundle()
325 stringArray.push_back(lua_tostring(lua, /* index = */ -1)); in convertLuaTableToBundle()
/aosp_15_r20/external/mesa3d/src/freedreno/decode/
H A Dscript.c76 fprintf(stderr, fmt, lua_tostring(L, -1)); in error()
234 const char *name = lua_tostring(L, 2); in l_rnn_struct_meta_index()
323 const char *name = lua_tostring(L, 2); in l_rnn_reg_meta_index()
424 const char *name = lua_tostring(L, 2); in l_rnn_meta_index()
452 const char *gpuname = lua_tostring(L, 1); in l_rnn_init()
471 const char *name = lua_tostring(L, 2); in l_rnn_enumname()
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/upb/lua/
Ddef.c285 f = upb_OneofDef_LookupName(o, lua_tostring(L, 2)); in lupb_OneofDef_lookupfield()
349 const char* nested_name = lua_tostring(L, -1); in lupb_MessageDef_pushnested()
374 f = upb_MessageDef_FindFieldByName(m, lua_tostring(L, 2)); in lupb_MessageDef_Field()
397 if (!upb_MessageDef_FindByName(m, lua_tostring(L, 2), &f, &o)) { in lupb_MessageDef_FindByNameWithSize()
554 ev = upb_EnumDef_FindValueByName(e, lua_tostring(L, 2)); in lupb_EnumDef_Value()
Dmain.c77 fprintf(stderr, "error testing Lua: %s\n", lua_tostring(L, -1)); in main()
Dmsg.c668 luaL_error(L, "no such field '%s'", lua_tostring(L, field)); in lupb_msg_checkfield()
/aosp_15_r20/external/mesa3d/src/intel/executor/
H A Dexecutor_main.c389 const char *key = lua_tostring(L, key_idx); in parse_execute_args()
831 failf("failed to load script: %s", lua_tostring(L, -1)); in main()
835 failf("failed to run script: %s", lua_tostring(L, -1)); in main()
/aosp_15_r20/packages/services/Car/packages/ScriptExecutor/tests/unit/src/com/android/car/scriptexecutortest/unit/
DJniUtilsTestHelper.cpp229 std::string s = lua_tostring(luaState, -1); in Java_com_android_car_scriptexecutortest_unit_JniUtilsTest_nativeHasStringValue()
231 result = strcmp(lua_tostring(luaState, -1), rawValue) == 0; in Java_com_android_car_scriptexecutortest_unit_JniUtilsTest_nativeHasStringValue()
/aosp_15_r20/external/bcc/src/lua/src/
H A Dmain.c59 const char *msg = lua_tostring(L, -1); in report()
/aosp_15_r20/external/libtextclassifier/native/utils/
H A Dlua-utils.cc74 const char* field_name = lua_tostring(state_, /*idx=*/kIndexStackTop); in GetField()