/netbsd-src/sys/modules/luasystm/ |
H A D | luasystm.c | 54 s = lua_tostring(L, -1); in print() 65 s = lua_tostring(L, -1); in print_nolog() 76 s = lua_tostring(L, -1); in uprint() 87 s = lua_tostring(L, -1); in systm_aprint_normal() 98 s = lua_tostring(L, -1); in systm_aprint_naive() 109 s = lua_tostring(L, -1); in systm_aprint_verbose() 120 s = lua_tostring(L, -1); in systm_aprint_debug() 131 s = lua_tostring(L, -1); in systm_aprint_error() 151 s = lua_tostring(L, -1); in systm_panic()
|
/netbsd-src/sys/modules/luapmf/ |
H A D | luapmf.c | 59 key = lua_tostring(L, -2); in set_platform() 60 value = lua_tostring(L, -1); in set_platform() 71 key = lua_tostring(L, -1); in get_platform()
|
/netbsd-src/external/mit/lua/dist/src/ |
H A D | loadlib.c | 188 luaL_gsub(L, lua_tostring(L, -1), LUA_EXEC_DIR, buff); in setprogdir() 505 pusherrornotfound(L, lua_tostring(L, -1)); /* create error message */ in searchpath() 529 path = lua_tostring(L, -1); in findfile() 543 lua_tostring(L, 1), filename, lua_tostring(L, -1)); in checkload() 597 filename = findfile(L, lua_tostring(L, -1), "cpath", LUA_CSUBSEP); in searcher_Croot() 641 luaL_error(L, "module '%s' not found:%s", name, lua_tostring(L, -1)); in findloader()
|
H A D | lauxlib.c | 90 const char *name = lua_tostring(L, -1); in pushglobalfuncname() 108 lua_pushfstring(L, "function '%s'", lua_tostring(L, -1)); in pushfuncname() 193 ar.name = (pushglobalfuncname(L, &ar)) ? lua_tostring(L, -1) : "?"; in luaL_argerror() 203 typearg = lua_tostring(L, -1); /* use the given type name */ in luaL_typeerror() 749 const char *filename = lua_tostring(L, fnameindex) + 1; in errfile() 819 status = lua_load(L, getF, &lf, lua_tostring(L, -1), mode); in luaL_loadfilex() 933 const char *kind = (tt == LUA_TSTRING) ? lua_tostring(L, -1) : in luaL_tolstring() 1031 return lua_tostring(L, -1); in luaL_gsub() 1048 const char *msg = lua_tostring(L, -1); in panic()
|
H A D | lua.c | 125 const char *msg = lua_tostring(L, -1); in report() 137 const char *msg = lua_tostring(L, 1); in msghandler() 524 const char *line = lua_tostring(L, -1); /* original line */ in addreturn() 587 lua_tostring(L, -1))); in l_print()
|
H A D | lbaselib.c | 56 lua_warning(L, lua_tostring(L, i), 1); in luaB_warn() 57 lua_warning(L, lua_tostring(L, n), 0); /* close warning */ in luaB_warn() 448 if (lua_type(L, 1) == LUA_TSTRING && *lua_tostring(L, 1) == '#') { in luaB_select()
|
H A D | luac.c | 153 if (lua_load(L,reader,&i,"=(" PROGNAME ")",NULL)!=LUA_OK) fatal(lua_tostring(L,-1)); in combine() 181 if (luaL_loadfile(L,filename)!=LUA_OK) fatal(lua_tostring(L,-1)); in pmain() 209 if (lua_pcall(L,2,0,0)!=LUA_OK) fatal(lua_tostring(L,-1)); in main()
|
H A D | liolib.c | 322 const char *filename = lua_tostring(L, 1); in g_iofile() 648 return luaL_error(L, "%s", lua_tostring(L, -n + 1)); in io_readline()
|
H A D | ldblib.c | 444 const char *msg = lua_tostring(L, arg + 1); in db_traceback()
|
H A D | lua.h | 421 #define lua_tostring(L,i) lua_tolstring(L, (i), NULL) macro
|
/netbsd-src/libexec/httpd/ |
H A D | lua-bozo.c | 81 bozo_printf(httpd, "%s\r\n", lua_tostring(L, 1)); in lua_print() 234 lua_tostring(map->L, -1)); in bozo_add_lua_map() 237 lua_tostring(map->L, -1)); in bozo_add_lua_map() 442 lua_tostring(map->L, -1)); in bozo_process_lua()
|
/netbsd-src/external/bsd/lutok/dist/ |
H A D | state_test.cpp | 229 ATF_REQUIRE(std::strcmp("hello", lua_tostring(raw(state), -1)) == 0); in ATF_TEST_CASE_BODY() 638 ATF_REQUIRE(std::strcmp("oh yes", lua_tostring(raw(state), -1)) == 0); in ATF_TEST_CASE_BODY() 886 ATF_REQUIRE_MATCH("Divisor is 0", lua_tostring(raw(state), -1)); in ATF_TEST_CASE_BODY() 899 ATF_REQUIRE_MATCH("Unhandled exception", lua_tostring(raw(state), -1)); in ATF_TEST_CASE_BODY() 912 ATF_REQUIRE_MATCH(std::string(900, 'A'), lua_tostring(raw(state), -1)); in ATF_TEST_CASE_BODY() 916 ATF_REQUIRE_MATCH(std::string(900, 'A'), lua_tostring(raw(state), -1)); in ATF_TEST_CASE_BODY() 960 ATF_REQUIRE_EQ(std::string("first"), lua_tostring(raw(state), -1)); in ATF_TEST_CASE_BODY() 965 ATF_REQUIRE_EQ(std::string("second"), lua_tostring(raw(state), -1)); in ATF_TEST_CASE_BODY() 966 ATF_REQUIRE_EQ(std::string("first"), lua_tostring(raw(state), -2)); in ATF_TEST_CASE_BODY() 1177 ATF_REQUIRE_EQ(std::string("baz"), lua_tostring(raw(state), -1)); in ATF_TEST_CASE_BODY()
|
H A D | state.cpp | 55 lua_getglobal(state, lua_tostring(state, -1)); in protected_getglobal() 106 lua_setglobal(state, lua_tostring(state, -2)); in protected_setglobal() 862 const char *raw_string = lua_tostring(_pimpl->lua_state, index); in to_string()
|
H A D | exceptions.cpp | 86 const std::string message = lua_tostring(raw_state, -1); in from_stack()
|
/netbsd-src/lib/lua/sqlite/ |
H A D | sqlite.c | 156 lua_pushinteger(L, sqlite3_exec(*db, lua_tostring(L, 2), NULL, in db_exec() 217 lua_tostring(L, 3), -1, SQLITE_TRANSIENT)); in stmt_bind() 246 lua_tostring(L, 2))); in stmt_bind_parameter_index()
|
/netbsd-src/sys/modules/lua/ |
H A D | lua.c | 475 lua_tostring(s->K->L, -1)); in luaioctl() 487 lua_tostring(s->K->L, -1)); in luaioctl() 508 module = lua_tostring(L, -1); in lua_require()
|
/netbsd-src/lib/lua/gpio/ |
H A D | gpio.c | 118 strlcpy(req->gp_name, lua_tostring(L, n), sizeof(req->gp_name)); in gpio_get_pin()
|