Home
last modified time | relevance | path

Searched refs:lua_pushstring (Results 1 – 25 of 32) sorted by relevance

12

/freebsd-src/stand/liblua/
H A Dlutils.c73 lua_pushstring(L, "Builtin command not found"); in lua_has_command()
91 lua_pushstring(L, "Feature not enabled"); in lua_has_feature()
123 lua_pushstring(L, command_errbuf); in lua_command_error()
154 lua_pushstring(L, argv[nargc]); in lua_parse()
186 lua_pushstring(L, buf); in lua_gets()
209 lua_pushstring(L, getenv(luaL_checkstring(L, 1))); in lua_getenv()
428 lua_pushstring(L, desc); in lua_add_feature()
451 lua_pushstring(L, MACHINE); in luaopen_loader()
453 lua_pushstring(L, MACHINE_ARCH); in luaopen_loader()
455 lua_pushstring(L, LUA_PATH); in luaopen_loader()
/freebsd-src/lib/flua/libjail/
H A Dlua_jail.c
/freebsd-src/libexec/flua/modules/
H A Dlfbsd.c79 lua_pushstring(L, strerror(errno)); in lua_exec()
92 lua_pushstring(L, strerror(r)); in lua_exec()
99 lua_pushstring(L, strerror(r)); in lua_exec()
107 lua_pushstring(L, "Abnormal termination"); in lua_exec()
H A Dlfs.c165 lua_pushstring(L, entry->d_name); in lua_dir_iter_next()
275 lua_pushstring(L, mode_s); in PUSH_INTEGER()
288 lua_pushstring(L, buf); in push_st_permissions()
356 lua_pushstring(L, members[i].name); in lua_attributes()
H A Dlposix.c50 lua_pushstring(L, strerror(ENOMEM)); in lua_chmod()
56 lua_pushstring(L, outpath); in lua_chmod()
75 lua_pushstring(L, strerror(errno)); in lua_chown()
131 lua_pushstring(L, strerror(errno)); in lua_getpid()
162 lua_pushstring(L, strerror(error));
198 lua_pushstring(L, strerror(error));
205 lua_pushstring(L, name.f); \
230 lua_pushstring(L, strerror(ENOMEM));
236 lua_pushstring(L, outpath);
253 lua_pushstring(
[all...]
/freebsd-src/contrib/libucl/lua/
H A Dlua_ucl.c102 lua_pushstring (L, key); in ucl_object_lua_push_element()
243 lua_pushstring (L, ucl_obj_tostring (obj)); in ucl_object_lua_push_scalar()
605 lua_pushstring (L, (const char *)result); in lua_ucl_to_string()
715 lua_pushstring (L, ucl_parser_get_error (parser)); in lua_ucl_parser_parse_file()
720 lua_pushstring (L, "invalid arguments"); in lua_ucl_parser_parse_file()
826 lua_pushstring (L, ucl_parser_get_error (parser)); in lua_ucl_parser_parse_string()
831 lua_pushstring (L, "invalid arguments"); in lua_ucl_parser_parse_string()
872 lua_pushstring (L, ucl_parser_get_error (parser)); in lua_ucl_parser_parse_text()
877 lua_pushstring (L, "invalid arguments"); in lua_ucl_parser_parse_text()
961 lua_pushstring (L, "cannot load schema from lua table"); in lua_ucl_parser_validate()
[all …]
/freebsd-src/contrib/lutok/
H A Dstate_test.cpp226 lua_pushstring(raw(state), "global_variable"); in ATF_TEST_CASE_BODY()
273 lua_pushstring(raw(state), "foo"); in ATF_TEST_CASE_BODY()
298 lua_pushstring(raw(state), "bar"); in ATF_TEST_CASE_BODY()
325 lua_pushstring(raw(state), "baz"); in ATF_TEST_CASE_BODY()
465 lua_pushstring(raw(state), "foo"); in ATF_TEST_CASE_BODY()
487 lua_pushstring(raw(state), "foo"); in ATF_TEST_CASE_BODY()
509 lua_pushstring(raw(state), "foo"); in ATF_TEST_CASE_BODY()
604 lua_pushstring(raw(state), "this is a dummy value"); in ATF_TEST_CASE_BODY()
693 lua_pushstring(raw(state), "mul"); in ATF_TEST_CASE_BODY()
903 lua_pushstring(raw(state), "foo"); in ATF_TEST_CASE_BODY()
[all …]
H A Dstate.cpp305 lua_pushstring(_pimpl->lua_state, name.c_str()); in get_global()
731 lua_pushstring(_pimpl->lua_state, str.c_str()); in push_string()
780 lua_pushstring(_pimpl->lua_state, name.c_str()); in set_global()
/freebsd-src/contrib/lua/src/
H A Dloadlib.c136 lua_pushstring(L, dlerror()); in lsys_load()
144 lua_pushstring(L, dlerror()); in lsys_sym()
199 lua_pushstring(L, buffer); in pusherror()
306 lua_pushstring(L, dft); /* use default */ in setpath()
308 lua_pushstring(L, path); /* nothing to change */ in setpath()
420 lua_pushstring(L, (stat == ERRLIB) ? LIB_FAIL : "init"); in ll_loadlib()
500 return lua_pushstring(L, filename); /* save and return name */ in searchpath()
536 lua_pushstring(L, filename); /* will be 2nd argument to module */ in checkload()
605 lua_pushstring(L, filename); /* will be 2nd argument to module */ in searcher_Croot()
641 lua_pushstring(L, name); in findloader()
H A Dldblib.c112 lua_pushstring(L, v); in settabss()
209 lua_pushstring(L, lua_getlocal(L, NULL, nvar)); /* push local name */ in db_getlocal()
222 lua_pushstring(L, name); /* push name */ in db_getlocal()
250 lua_pushstring(L, name); in db_setlocal()
264 lua_pushstring(L, name); in auxupvalue()
329 lua_pushstring(L, hooknames[(int)ar->event]); /* push event name */ in hookf()
414 lua_pushstring(L, unmakemask(mask, buff)); /* 2nd result = mask */ in db_gethook()
H A Dltests.c147 lua_pushstring(L, buff); in warnf()
741 lua_pushstring(L, buildop(p, pc, buff)); in listcode()
806 lua_pushstring(L, name); in listlocals()
895 lua_pushstring(L, "no collectable"); in gc_color()
898 lua_pushstring(L, isdead(G(L), obj) ? "dead" : in gc_color()
911 lua_pushstring(L, "no collectable"); in gc_age()
916 lua_pushstring(L, gennames[getage(obj)]); in gc_age()
946 lua_pushstring(L, statenames[G(L)->gcstate]); in gc_state()
1086 lua_pushstring(L, name); in upvalue()
1091 lua_pushstring(L, name); in upvalue()
[all …]
H A Dlauxlib.c86 lua_pushstring(L, name + 3); /* push name without prefix */ in pushglobalfuncname()
256 lua_pushstring(L, strerror(en)); in luaL_fileresult()
295 lua_pushstring(L, what); in luaL_execresult()
316 lua_pushstring(L, tname); in luaL_newmetatable()
856 lua_pushstring(L, event); in luaL_getmetafield()
908 lua_pushstring(L, (lua_toboolean(L, idx) ? "true" : "false")); in luaL_tolstring()
981 lua_pushstring(L, modname); /* argument to open function */ in luaL_requiref()
H A Dloslib.c175 lua_pushstring(L, buff); in os_tmpname()
181 lua_pushstring(L, getenv(luaL_checkstring(L, 1))); /* if NULL push nil */ in os_getenv()
387 lua_pushstring(L, setlocale(cat[op], l)); in os_setlocale()
H A Dlcorolib.c151 lua_pushstring(L, statname[auxstatus(L, co)]); in luaB_costatus()
H A Dlbaselib.c188 lua_pushstring(L, (oldmode == LUA_GCINC) ? "incremental" in pushmode()
262 lua_pushstring(L, lua_typename(L, t)); in luaB_type()
H A Dlua.c188 lua_pushstring(L, argv[i]); in createargtable()
224 lua_pushstring(L, modname); in dolibrary()
H A Dlua.h248 LUA_API const char *(lua_pushstring) (lua_State *L, const char *s); variable
393 #define lua_pushliteral(L, s) lua_pushstring(L, "" s)
/freebsd-src/sys/contrib/openzfs/module/zfs/
H A Dzcp_get.c115 (void) lua_pushstring(state, src); in get_prop_src()
175 (void) lua_pushstring(state, buf); in zcp_get_user_prop()
176 (void) lua_pushstring(state, setpoint); in zcp_get_user_prop()
425 (void) lua_pushstring(state, strval); in get_special_prop()
435 (void) lua_pushstring(state, propval); in get_special_prop()
466 (void) lua_pushstring(state, strval); in get_zap_prop()
487 (void) lua_pushstring(state, propval); in get_zap_prop()
679 (void) lua_pushstring(state, dataset_name); in zcp_get_userquota_prop()
739 (void) lua_pushstring(state, dataset_name); in zcp_get_written_prop()
H A Dzcp_iter.c108 (void) lua_pushstring(state, clonename);
195 (void) lua_pushstring(state, snapname);
282 (void) lua_pushstring(state, childname);
360 (void) lua_pushstring(state, nvpair_name(pair)); in zcp_user_props_iter()
361 (void) lua_pushstring(state, val); in zcp_user_props_iter()
362 (void) lua_pushstring(state, source);
570 (void) lua_pushstring(state, bookmark_name);
659 (void) lua_pushstring(state, za->za_name);
746 (void) lua_pushstring(state, "__gc"); in zcp_load_list_lib()
H A Dzcp.c376 (void) lua_pushstring(state, "Lua stack overflow"); in zcp_lua_to_nvlist_impl()
494 (void) lua_pushstring(state, nvpair_name(pair)); in zcp_nvlist_to_lua()
537 (void) lua_pushstring(state, fnvpair_value_string(pair)); in zcp_nvpair_value_to_lua()
553 (void) lua_pushstring(state, strarr[i]); in zcp_nvpair_value_to_lua()
785 (void) lua_pushstring(state, "Channel program was canceled."); in zcp_lua_counthook()
797 (void) lua_pushstring(state, in zcp_lua_counthook()
/freebsd-src/lib/flua/libhash/
H A Dlhash.c
/freebsd-src/stand/common/
H A Dinterp_lua.c186 lua_pushstring(luap, argv[nargc]); in interp_run()
/freebsd-src/contrib/llvm-project/lldb/bindings/lua/
H A Dlua-wrapper.swig81 lua_pushstring(L, str);
/freebsd-src/sys/contrib/openzfs/module/lua/
H A Dlauxlib.c557 lua_pushstring(L, event); in luaL_getmetafield()
600 lua_pushstring(L, (lua_toboolean(L, idx) ? "true" : "false")); in luaL_tolstring()
744 lua_pushstring(L, modname); /* argument to open function */ in luaL_requiref()
/freebsd-src/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Lua/
H A DLua.cpp28 lua_pushstring(L, i != n ? "\t" : "\n"); in lldb_print()

12