Home
last modified time | relevance | path

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

12

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzcp_synctask.c140 .ddca_origin = lua_tostring(state, 1), in zcp_synctask_clone()
141 .ddca_clone = lua_tostring(state, 2), in zcp_synctask_clone()
181 const char *dsname = lua_tostring(state, 1); in zcp_synctask_destroy()
233 const char *dsname = lua_tostring(state, 1); in zcp_synctask_promote()
269 const char *dsname = lua_tostring(state, 1); in zcp_synctask_rollback()
303 const char *dsname = lua_tostring(state, 1); in zcp_synctask_snapshot()
367 const char *fsname = lua_tostring(state, 1); in zcp_synctask_rename_snapshot()
368 const char *oldsnapname = lua_tostring(state, 2); in zcp_synctask_rename_snapshot()
369 const char *newsnapname = lua_tostring(state, 3); in zcp_synctask_rename_snapshot()
440 const char *dsname = lua_tostring(state, 1); in zcp_synctask_inherit_prop()
[all …]
H A Dzcp_iter.c130 const char *snapname = lua_tostring(state, 1); in zcp_clones_list()
217 const char *fsname = lua_tostring(state, 1); in zcp_snapshots_list()
304 const char *fsname = lua_tostring(state, 1); in zcp_children_list()
407 const char *dsname = lua_tostring(state, 1); in zcp_user_props_list()
476 dataset_name = lua_tostring(state, 1); in zcp_system_props_list()
591 const char *dsname = lua_tostring(state, 1); in zcp_bookmarks_list()
687 const char *snapname = lua_tostring(state, 1); in zcp_holds_list()
H A Dzcp.c142 msg = lua_tostring(state, 1); in zcp_error_handler()
260 key = lua_tostring(state, -2); in zcp_table_to_nvlist()
395 fnvlist_add_string(nvl, key, lua_tostring(state, index)); in zcp_lua_to_nvlist_impl()
656 dbgstring = lua_tostring(state, 1); in zcp_debug()
686 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()
1380 "invalid kwarg '%s'", lua_tostring(state, -2)); in zcp_parse_table_args()
H A Dzcp_get.c794 dataset_name = lua_tostring(state, 1); in zcp_get_prop()
795 property_name = lua_tostring(state, 2); in zcp_get_prop()
/freebsd/contrib/lyaml/ext/yaml/
H A Dlyaml.h103 _k = lua_tostring (L, -1); \
110 _k = strdup (lua_tostring (L, -1)); \
117 _k = (yaml_char_t *) lua_tostring (L, -1); \
132 _v = (yaml_char_t *) strdup (lua_tostring (L, -1)); \
/freebsd/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/libexec/flua/libjail/
H A Dlua_jail.c328 param_name = lua_tostring(L, -1); in getparam_table()
402 name = lua_tostring(L, 1); in l_getparams()
500 name = lua_tostring(L, 1); in l_setparams()
530 name = lua_tostring(L, -2); in l_setparams()
544 value = lua_tostring(L, -1); in l_setparams()
592 jid = jail_getid(lua_tostring(L, 1)); in l_attach()
623 jid = jail_getid(lua_tostring(L, 1)); in l_remove()
/freebsd/contrib/lua/src/
H A Dloadlib.c177 luaL_gsub(L, lua_tostring(L, -1), LUA_EXEC_DIR, buff); in setprogdir()
494 pusherrornotfound(L, lua_tostring(L, -1)); /* create error message */ in searchpath()
518 path = lua_tostring(L, -1); in findfile()
532 lua_tostring(L, 1), filename, lua_tostring(L, -1)); in checkload()
586 filename = findfile(L, lua_tostring(L, -1), "cpath", LUA_CSUBSEP); in searcher_Croot()
630 luaL_error(L, "module '%s' not found:%s", name, lua_tostring(L, -1)); in findloader()
H A Dlauxlib.c85 const char *name = lua_tostring(L, -1); in pushglobalfuncname()
103 lua_pushfstring(L, "function '%s'", lua_tostring(L, -1)); in pushfuncname()
188 ar.name = (pushglobalfuncname(L, &ar)) ? lua_tostring(L, -1) : "?"; in luaL_argerror()
198 typearg = lua_tostring(L, -1); /* use the given type name */ in luaL_typeerror()
739 const char *filename = lua_tostring(L, fnameindex) + 1; in errfile()
815 status = lua_load(L, getF, &lf, lua_tostring(L, -1), mode); in luaL_loadfilex()
924 const char *kind = (tt == LUA_TSTRING) ? lua_tostring(L, -1) : in luaL_tolstring()
1022 return lua_tostring(L, -1); in luaL_gsub()
1043 ? 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.c122 const char *msg = lua_tostring(L, -1); in report()
136 const char *msg = lua_tostring(L, 1); in msghandler()
529 const char *line = lua_tostring(L, -1); /* original line */ in addreturn()
593 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/libexec/flua/modules/
H A Dlposix.c104 error = getpwnam_r(lua_tostring(L, 2), &passwd, in lua_chown()
111 lua_tostring(L, 2)))); in lua_chown()
125 error = getgrnam_r(lua_tostring(L, 3), &gr, buf, sizeof(buf), in lua_chown()
132 lua_tostring(L, 3)))); in lua_chown()
241 argv[0] = lua_tostring(L, -1); in lua_execp()
249 argv[i] = lua_tostring(L, -1); in lua_execp()
H A Dlfbsd.c68 ret[i] = lua_tostring(L, -1); in luaL_checkarraystrings()
/freebsd/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 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()
H A Dexceptions.cpp86 const std::string message = lua_tostring(raw_state, -1); in from_stack()
/freebsd/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/contrib/libucl/lua/
H A Dlua_ucl.c133 out = lua_tostring (fd->L, -1); in lua_ucl_userdata_emitter()
348 const char *classname = lua_tostring (L, -1); in ucl_object_lua_fromtable()
846 type = lua_ucl_str_to_parse_type (lua_tostring (L, 3)); in lua_ucl_parser_parse_string()
903 type = lua_ucl_str_to_parse_type (lua_tostring (L, 3)); in lua_ucl_parser_parse_text()
1130 const char *strtype = lua_tostring (L, 2); in lua_ucl_object_tostring()
1172 path = lua_tostring (L, 3); in lua_ucl_object_validate()
1459 const char *strtype = lua_tostring (L, 2); in lua_ucl_to_format()
/freebsd/lib/clang/liblldb/
H A DLLDBWrapLua.cpp926 const char *result = lua_tostring(L, idx);
2722 SWIG_DOSTRING_FAIL(lua_tostring(L,-1)); in SWIG_Lua_dostring()
3823 llvm::formatv("{0}\n", lua_tostring(L, -1)), in LLDBSwigLuaBreakpointCallbackFunction()
3853 llvm::formatv("{0}\n", lua_tostring(L, -1)), in LLDBSwigLuaWatchpointCallbackFunction()
3911 arg1 = (char *)lua_tostring(L, 1); in _wrap_new_string__SWIG_1()
4085 arg2 = (char *)lua_tostring(L, 2); in _wrap_string_assign()
5639 arg1 = (char *)lua_tostring(L, 1); in _wrap_new_SBAttachInfo__SWIG_2()
5664 arg1 = (char *)lua_tostring(L, 1); in _wrap_new_SBAttachInfo__SWIG_3()
5844 arg2 = (char *)lua_tostring(L, 2); in _wrap_SBAttachInfo_SetExecutable__SWIG_0()
6223 arg2 = (char *)lua_tostring(L, 2); in _wrap_SBAttachInfo_SetProcessPluginName()
[all …]
/freebsd/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/stand/common/
H A Dinterp_lua.c152 const char *errstr = lua_tostring(luap, -1); in interp_init()
/freebsd/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()

12