Home
last modified time | relevance | path

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

12

/freebsd-src/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()
325 const char *fsname = lua_tostring(state, 1); in zcp_synctask_rename_snapshot()
326 const char *oldsnapname = lua_tostring(state, 2); in zcp_synctask_rename_snapshot()
327 const char *newsnapname = lua_tostring(state, 3); in zcp_synctask_rename_snapshot()
398 const char *dsname = lua_tostring(state, 1); in zcp_synctask_inherit_prop()
399 const char *prop = lua_tostring(state, 2); in zcp_synctask_inherit_prop()
441 const char *source = lua_tostring(state, 1); in zcp_synctask_bookmark()
[all …]
H A Dzcp_iter.c129 const char *snapname = lua_tostring(state, 1); in zcp_clones_list()
216 const char *fsname = lua_tostring(state, 1); in zcp_snapshots_list()
303 const char *fsname = lua_tostring(state, 1); in zcp_children_list()
406 const char *dsname = lua_tostring(state, 1); in zcp_user_props_list()
475 dataset_name = lua_tostring(state, 1); in zcp_system_props_list()
590 const char *dsname = lua_tostring(state, 1); in zcp_bookmarks_list()
686 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()
808 lua_tostring(state, -1)); in zcp_panic_cb()
1122 lua_tostring(state, -1)); in zcp_eval()
1375 "invalid kwarg '%s'", lua_tostring(state, -2)); in zcp_parse_table_args()
H A Dzcp_get.c767 dataset_name = lua_tostring(state, 1); in zcp_get_prop()
768 property_name = lua_tostring(state, 2); in zcp_get_prop()
/freebsd-src/libexec/flua/modules/
H A Dlposix.c98 struct passwd *p = getpwnam(lua_tostring(L, 2)); in lua_chown()
104 lua_tostring(L, 2)))); in lua_chown()
115 struct group *g = getgrnam(lua_tostring(L, 3)); in lua_chown()
121 lua_tostring(L, 3))));
H A Dlfbsd.c58 ret[i] = lua_tostring(L, -1); in luaL_checkarraystrings()
/freebsd-src/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Lua/
H A DLua.cpp55 llvm::formatv("{0}\n", lua_tostring(m_lua_state, -1)), in Run()
68 llvm::formatv("{0}", lua_tostring(m_lua_state, -1)), in RegisterBreakpointCallback()
96 llvm::formatv("{0}", lua_tostring(m_lua_state, -1)), in RegisterWatchpointCallback()
126 llvm::formatv("{0}\n", lua_tostring(m_lua_state, -1)), in CheckSyntax()
149 llvm::formatv("{0}\n", lua_tostring(m_lua_state, -1)), in LoadModule()
/freebsd-src/lib/flua/libjail/
H A Dlua_jail.c
/freebsd-src/contrib/lua/src/
H A Dloadlib.c186 luaL_gsub(L, lua_tostring(L, -1), LUA_EXEC_DIR, buff); in setprogdir()
503 pusherrornotfound(L, lua_tostring(L, -1)); /* create error message */ in searchpath()
527 path = lua_tostring(L, -1); in findfile()
541 lua_tostring(L, 1), filename, lua_tostring(L, -1)); in checkload()
595 filename = findfile(L, lua_tostring(L, -1), "cpath", LUA_CSUBSEP); in searcher_Croot()
639 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()
736 const char *filename = lua_tostring(L, fnameindex) + 1; in errfile()
806 status = lua_load(L, getF, &lf, lua_tostring(L, -1), mode); in luaL_loadfilex()
915 const char *kind = (tt == LUA_TSTRING) ? lua_tostring(L, -1) : in luaL_tolstring()
1013 return lua_tostring(L, -1); in luaL_gsub()
1029 const char *msg = lua_tostring(L, -1); in panic()
H A Dltests.c76 const char *msg = lua_tostring(L, -1); in tpanic()
130 lua_tostring(L, -1), buff); in warnf()
1217 lua_pushstring(L, lua_tostring(L1, -1)); in doremote()
1224 lua_pushstring(L, lua_tostring(L1, i)); in doremote()
1276 lua_pushstring(L, lua_tostring(L1, -1)); in checkpanic()
1479 luaL_gsub(L1, lua_tostring(L1, a), in runC()
1480 lua_tostring(L1, b), in runC()
1481 lua_tostring(L1, c)); in runC()
1609 lua_pushfstring(L1, lua_tostring(L, -2), (int)lua_tointeger(L, -1)); in runC()
1612 lua_pushfstring(L1, lua_tostring(L, -2), lua_tostring(L, -1)); in runC()
[all …]
H A Dlua.c123 const char *msg = lua_tostring(L, -1); in report()
135 const char *msg = lua_tostring(L, 1); in msghandler()
522 const char *line = lua_tostring(L, -1); /* original line */ in addreturn()
585 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()
440 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()
179 if (luaL_loadfile(L,filename)!=LUA_OK) fatal(lua_tostring(L,-1)); in pmain()
207 if (lua_pcall(L,2,0,0)!=LUA_OK) fatal(lua_tostring(L,-1)); in main()
/freebsd-src/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-src/contrib/llvm-project/lldb/bindings/lua/
H A Dlua-wrapper.swig30 llvm::formatv("{0}\n", lua_tostring(L, -1)),
60 llvm::formatv("{0}\n", lua_tostring(L, -1)),
/freebsd-src/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-src/lib/clang/liblldb/
H A DLLDBWrapLua.cpp924 /* Call lua_tostring() first as it may convert the value from number to in SWIG_Lua_pusherrstring()
926 const char *result = lua_tostring(L, idx); in SWIG_Lua_pusherrstring()
2722 SWIG_DOSTRING_FAIL(lua_tostring(L,-1));
3823 llvm::formatv("{0}\n", lua_tostring(L, -1)),
3853 llvm::formatv("{0}\n", lua_tostring(L, -1)), in _wrap_new_string__SWIG_1()
3911 arg1 = (char *)lua_tostring(L, 1); in _wrap_string_size()
4085 arg2 = (char *)lua_tostring(L, 2);
5639 arg1 = (char *)lua_tostring(L, 1); in _wrap_SBAttachInfo_GetEffectiveGroupID()
5664 arg1 = (char *)lua_tostring(L, 1); in _wrap_SBAttachInfo_EffectiveUserIDIsValid()
5844 arg2 = (char *)lua_tostring( in _wrap_SBAttachInfo_GetListener()
[all...]
/freebsd-src/stand/liblua/
H A Dlutils.c260 str = lua_tostring(L, 1); in lua_openfile()
263 mode = lua_tostring(L, 2); in lua_openfile()
H A Dgfx_utils.c268 const char *errstr = lua_tostring(L, -1); in gfx_init_md()
/freebsd-src/stand/common/
H A Dinterp_lua.c152 const char *errstr = lua_tostring(luap, -1); in interp_init()
/freebsd-src/sys/contrib/openzfs/module/lua/
H A Dlauxlib.c83 lua_pushfstring(L, "function " LUA_QS, lua_tostring(L, -1)); in pushfuncname()
158 ar.name = (pushglobalfuncname(L, &ar)) ? lua_tostring(L, -1) : "?"; in luaL_argerror()
770 return lua_tostring(L, -1); in luaL_gsub()
H A Dlbaselib.c235 if (lua_type(L, 1) == LUA_TSTRING && *lua_tostring(L, 1) == '#') { in luaB_select()

12