Home
last modified time | relevance | path

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

12

/freebsd-13.1/sys/contrib/openzfs/module/zfs/
H A Dzcp_synctask.c137 const char *dsname = lua_tostring(state, 1); in zcp_synctask_destroy()
189 const char *dsname = lua_tostring(state, 1); in zcp_synctask_promote()
226 const char *dsname = lua_tostring(state, 1); in zcp_synctask_rollback()
260 const char *dsname = lua_tostring(state, 1); in zcp_synctask_snapshot()
362 const char *dsname = lua_tostring(state, 1); in zcp_synctask_inherit_prop()
363 const char *prop = lua_tostring(state, 2); in zcp_synctask_inherit_prop()
405 const char *source = lua_tostring(state, 1); in zcp_synctask_bookmark()
406 const char *new = lua_tostring(state, 2); in zcp_synctask_bookmark()
451 const char *dsname = lua_tostring(state, 1); in zcp_synctask_set_prop()
452 const char *prop = lua_tostring(state, 2); in zcp_synctask_set_prop()
[all …]
H A Dzcp_iter.c126 const char *snapname = lua_tostring(state, 1); in zcp_clones_list()
213 const char *fsname = lua_tostring(state, 1); in zcp_snapshots_list()
300 const char *fsname = lua_tostring(state, 1); in zcp_children_list()
403 const char *dsname = lua_tostring(state, 1); in zcp_user_props_list()
472 dataset_name = lua_tostring(state, 1); in zcp_system_props_list()
584 const char *dsname = lua_tostring(state, 1); in zcp_bookmarks_list()
677 const char *snapname = lua_tostring(state, 1); in zcp_holds_list()
H A Dzcp.c141 msg = lua_tostring(state, 1); in zcp_error_handler()
259 key = lua_tostring(state, -2); in zcp_table_to_nvlist()
394 fnvlist_add_string(nvl, key, lua_tostring(state, index)); in zcp_lua_to_nvlist_impl()
655 dbgstring = lua_tostring(state, 1); in zcp_debug()
685 const char *dsname = lua_tostring(state, 1); in zcp_exists()
809 lua_tostring(state, -1)); in zcp_panic_cb()
1123 lua_tostring(state, -1)); in zcp_eval()
1376 "invalid kwarg '%s'", lua_tostring(state, -2)); in zcp_parse_table_args()
H A Dzcp_get.c769 dataset_name = lua_tostring(state, 1); in zcp_get_prop()
770 property_name = lua_tostring(state, 2); in zcp_get_prop()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Lua/
H A DLua.cpp78 llvm::formatv("{0}\n", lua_tostring(m_lua_state, -1)), in Run()
91 llvm::formatv("{0}", lua_tostring(m_lua_state, -1)), in RegisterBreakpointCallback()
125 llvm::formatv("{0}", lua_tostring(m_lua_state, -1)), in RegisterWatchpointCallback()
155 llvm::formatv("{0}\n", lua_tostring(m_lua_state, -1)), in CheckSyntax()
179 llvm::formatv("{0}\n", lua_tostring(m_lua_state, -1)), in LoadModule()
/freebsd-13.1/lib/flua/libjail/
H A Dlua_jail.c333 param_name = lua_tostring(L, -1); in getparam_table()
407 name = lua_tostring(L, 1); in l_getparams()
498 name = lua_tostring(L, 1); in l_setparams()
528 name = lua_tostring(L, -2); in l_setparams()
542 value = lua_tostring(L, -1); in l_setparams()
589 jid = jail_getid(lua_tostring(L, 1)); in l_attach()
620 jid = jail_getid(lua_tostring(L, 1)); in l_remove()
/freebsd-13.1/contrib/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()
485 const char *line = lua_tostring(L, -1); /* original line */ in addreturn()
548 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.c437 const char *msg = lua_tostring(L, arg + 1); in db_traceback()
/freebsd-13.1/contrib/lutok/
H A Dstate_test.cpp229 ATF_REQUIRE(std::strcmp("hello", lua_tostring(raw(state), -1)) == 0); in ATF_TEST_CASE_BODY()
529 ATF_REQUIRE(std::strcmp("oh yes", lua_tostring(raw(state), -1)) == 0); in ATF_TEST_CASE_BODY()
792 ATF_REQUIRE_MATCH("Divisor is 0", lua_tostring(raw(state), -1)); in ATF_TEST_CASE_BODY()
805 ATF_REQUIRE_MATCH("Unhandled exception", lua_tostring(raw(state), -1)); in ATF_TEST_CASE_BODY()
818 ATF_REQUIRE_MATCH(std::string(900, 'A'), lua_tostring(raw(state), -1)); in ATF_TEST_CASE_BODY()
822 ATF_REQUIRE_MATCH(std::string(900, 'A'), lua_tostring(raw(state), -1)); in ATF_TEST_CASE_BODY()
866 ATF_REQUIRE_EQ(std::string("first"), lua_tostring(raw(state), -1)); in ATF_TEST_CASE_BODY()
871 ATF_REQUIRE_EQ(std::string("second"), lua_tostring(raw(state), -1)); in ATF_TEST_CASE_BODY()
872 ATF_REQUIRE_EQ(std::string("first"), lua_tostring(raw(state), -2)); in ATF_TEST_CASE_BODY()
1008 ATF_REQUIRE_EQ(std::string("baz"), lua_tostring(raw(state), -1)); in ATF_TEST_CASE_BODY()
H A Dexceptions.cpp86 const std::string message = lua_tostring(raw_state, -1); in from_stack()
H A Dstate.cpp55 lua_getglobal(state, lua_tostring(state, -1)); in protected_getglobal()
106 lua_setglobal(state, lua_tostring(state, -2)); in protected_setglobal()
874 const char *raw_string = lua_tostring(_pimpl->lua_state, index); in to_string()
/freebsd-13.1/contrib/llvm-project/lldb/bindings/lua/
H A Dlua-wrapper.swig42 llvm::formatv("{0}\n", lua_tostring(L, -1)),
77 llvm::formatv("{0}\n", lua_tostring(L, -1)),
/freebsd-13.1/contrib/libucl/lua/
H A Dlua_ucl.c128 out = lua_tostring (fd->L, -1); in lua_ucl_userdata_emitter()
343 const char *classname = lua_tostring (L, -1); in ucl_object_lua_fromtable()
815 type = lua_ucl_str_to_parse_type (lua_tostring (L, 3)); in lua_ucl_parser_parse_string()
861 type = lua_ucl_str_to_parse_type (lua_tostring (L, 3)); in lua_ucl_parser_parse_text()
1088 const char *strtype = lua_tostring (L, 2); in lua_ucl_object_tostring()
1130 path = lua_tostring (L, 3); in lua_ucl_object_validate()
1417 const char *strtype = lua_tostring (L, 2); in lua_ucl_to_format()
/freebsd-13.1/lib/clang/liblldb/
H A DLLDBWrapLua.cpp3713 arg1 = (char *)lua_tostring(L, 1); in _wrap_new_string__SWIG_1()
3887 arg2 = (char *)lua_tostring(L, 2); in _wrap_string_assign()
4730 arg1 = (char *)lua_tostring(L, 1); in _wrap_new_SBAttachInfo__SWIG_2()
4755 arg1 = (char *)lua_tostring(L, 1); in _wrap_new_SBAttachInfo__SWIG_3()
4935 arg2 = (char *)lua_tostring(L, 2); in _wrap_SBAttachInfo_SetExecutable__SWIG_0()
5314 arg2 = (char *)lua_tostring(L, 2); in _wrap_SBAttachInfo_SetProcessPluginName()
7114 arg2 = (char *)lua_tostring(L, 2); in _wrap_SBBreakpoint_SetCondition()
7314 arg2 = (char *)lua_tostring(L, 2); in _wrap_SBBreakpoint_SetThreadName()
7364 arg2 = (char *)lua_tostring(L, 2); in _wrap_SBBreakpoint_SetQueueName()
7414 arg2 = (char *)lua_tostring(L, 2); in _wrap_SBBreakpoint_SetScriptCallbackFunction__SWIG_0()
[all …]
/freebsd-13.1/stand/common/
H A Dinterp_lua.c130 const char *errstr = lua_tostring(luap, -1); in interp_init()
/freebsd-13.1/sys/contrib/openzfs/module/lua/
H A Dlauxlib.c84 lua_pushfstring(L, "function " LUA_QS, lua_tostring(L, -1)); in pushfuncname()
159 ar.name = (pushglobalfuncname(L, &ar)) ? lua_tostring(L, -1) : "?"; in luaL_argerror()
771 return lua_tostring(L, -1); in luaL_gsub()
H A Dlbaselib.c236 if (lua_type(L, 1) == LUA_TSTRING && *lua_tostring(L, 1) == '#') { in luaB_select()
/freebsd-13.1/stand/liblua/
H A Dlutils.c223 str = lua_tostring(L, 1); in lua_openfile()
226 mode = lua_tostring(L, 2); in lua_openfile()
/freebsd-13.1/libexec/flua/modules/
H A Dlfs.c340 member = lua_tostring(L, 2); in lua_attributes()
/freebsd-13.1/sys/contrib/openzfs/include/sys/lua/
H A Dlua.h346 #define lua_tostring(L,i) lua_tolstring(L, (i), NULL) macro

12