Home
last modified time | relevance | path

Searched refs:lua (Results 1 – 25 of 105) sorted by relevance

12345

/freebsd/stand/lua/
H A DMakefile3 MAN= loader.conf.lua.5 \
4 cli.lua.8 \
5 color.lua.8 \
6 config.lua.8 \
7 core.lua.8 \
8 drawer.lua.8 \
9 gfx.lua.8 \
10 hook.lua.8 \
11 loader.lua.8 \
12 menu.lua.8 \
[all …]
/freebsd/sys/tools/syscalls/
H A DREADME.md7 available in ports. Currently, this script is compatible with lua from
8 ports along with the compatible luafilesystem and lua-posix modules.
11 `main.lua` generates all files.
17 `# /usr/libexec/flua /usr/src/sys/tools/syscalls/main.lua /usr/src/sys/kern/syscalls.master`
24 * `main.lua` - Main entry point that calls all scripts.
25 * `config.lua` - Contains the global configuration table and associated
29 * `syscall.lua` - Packages each system call entry from `syscalls.master`
31 * `scarg.lua` - Packages each argument for the system call into an argument
33 * `scret.lua` - An object for the return value of the system call.
34 * `freebsd-syscall.lua` - Contains the master system call table after
[all …]
/freebsd/contrib/libucl/
H A DCMakeLists.txt19 OPTION(ENABLE_LUA "Enable lua support [default: OFF]" OFF)
23 # Find lua installation
25 # Find lua libraries
45 "include/lua${LUA_VERSION_MAJOR}${LUA_VERSION_MINOR}"
46 "include/lua${LUA_VERSION_MAJOR}.${LUA_VERSION_MINOR}"
47 "include/lua-${LUA_VERSION_MAJOR}.${LUA_VERSION_MINOR}"
48 include/lua include
67 MESSAGE(STATUS "Fallback from luajit to plain lua")
69 MESSAGE(STATUS "Check for lua ${LUA_VERSION_MAJOR}.${LUA_VERSION_MINOR}")
70 FIND_PATH(LUA_INCLUDE_DIR lua.h
[all …]
H A Dconfigure.ac63 AC_ARG_ENABLE([lua], AS_HELP_STRING([--enable-lua], optenable
64 [Enable lua API build (requires lua libraries and headers) @<:@default=no@:>@]), [],
112 AC_DEFINE(HAVE_LUA, 1, [Define to 1 for lua support.])
114 ], [AC_MSG_ERROR([unable to find the lua libraries])
116 ], [AC_MSG_ERROR([unable to find the lua header files])
118 ], [AC_MSG_ERROR([unable to find the lua interpreter])])
181 lua/Makefile
185 lua/libucl.rockspec \
/freebsd/contrib/lua/src/
H A DMakefile40 LUA_T= lua
41 LUA_O= lua.o
70 ./lua -v
135 "SYSCFLAGS=-DLUA_BUILD_AS_DLL" "SYSLIBS=" "SYSLDFLAGS=-s" lua.exe
159 lapi.o: lapi.c lprefix.h lua.h luaconf.h lapi.h llimits.h lstate.h \
162 lauxlib.o: lauxlib.c lprefix.h lua.h luaconf.h lauxlib.h
163 lbaselib.o: lbaselib.c lprefix.h lua.h luaconf.h lauxlib.h lualib.h
164 lcode.o: lcode.c lprefix.h lua.h luaconf.h lcode.h llex.h lobject.h \
167 lcorolib.o: lcorolib.c lprefix.h lua.h luaconf.h lauxlib.h lualib.h
168 lctype.o: lctype.c lprefix.h lctype.h lua.h luaconf.h llimits.h
[all …]
H A Dluaconf.h.dist4 ** See Copyright Notice in lua.h
200 #define LUA_LDIR "!\\lua\\"
202 #define LUA_SHRDIR "!\\..\\share\\lua\\" LUA_VDIR "\\"
206 LUA_LDIR"?.lua;" LUA_LDIR"?\\init.lua;" \
207 LUA_CDIR"?.lua;" LUA_CDIR"?\\init.lua;" \
208 LUA_SHRDIR"?.lua;" LUA_SHRDIR"?\\init.lua;" \
209 ".\\?.lua;" ".\\?\\init.lua"
215 LUA_CDIR"..\\lib\\lua\\" LUA_VDIR "\\?.dll;" \
222 #define LUA_LDIR LUA_ROOT "share/lua/" LUA_VDIR "/"
223 #define LUA_CDIR LUA_ROOT "lib/lua/" LUA_VDIR "/"
[all …]
/freebsd/contrib/file/magic/Magdir/
H A Dlua3 # $File: lua,v 1.8 2020/10/08 23:23:56 christos Exp $
4 # lua: file(1) magic for Lua scripting language
5 # URL: https://www.lua.org/
9 0 search/1/w #!\ /usr/bin/lua Lua script text executable
10 !:mime text/x-lua
11 0 search/1/w #!\ /usr/local/bin/lua Lua script text executable
12 !:mime text/x-lua
13 0 search/1 #!/usr/bin/env\ lua Lua script text executable
14 !:mime text/x-lua
15 0 search/1 #!\ /usr/bin/env\ lua Lua script text executable
[all …]
/freebsd/libexec/nuageinit/tests/
H A DMakefile11 ${PACKAGE}FILES+= addgroup.lua
12 ${PACKAGE}FILES+= addsshkey.lua
13 ${PACKAGE}FILES+= adduser.lua
14 ${PACKAGE}FILES+= adduser_passwd.lua
15 ${PACKAGE}FILES+= dirname.lua
16 ${PACKAGE}FILES+= err.lua
17 ${PACKAGE}FILES+= sethostname.lua
18 ${PACKAGE}FILES+= warn.lua
H A Dnuage.sh17 atf_check /usr/libexec/flua $(atf_get_srcdir)/sethostname.lua
26 atf_check /usr/libexec/flua $(atf_get_srcdir)/addsshkey.lua
33 atf_check /usr/libexec/flua $(atf_get_srcdir)/addsshkey.lua
47 …e a table\nnuageinit: Argument should be a table\n" /usr/libexec/flua $(atf_get_srcdir)/adduser.lua
58 atf_check /usr/libexec/flua $(atf_get_srcdir)/adduser_passwd.lua
72 … a table\nnuageinit: Argument should be a table\n" /usr/libexec/flua $(atf_get_srcdir)/addgroup.lua
H A Dutils.sh13 atf_check -e "inline:nuageinit: plop\n" -s exit:0 /usr/libexec/flua $(atf_get_srcdir)/warn.lua
18 atf_check -e "inline:nuageinit: plop\n" -s exit:1 /usr/libexec/flua $(atf_get_srcdir)/err.lua
23 atf_check -o "inline:/my/path/\n" -s exit:0 /usr/libexec/flua $(atf_get_srcdir)/dirname.lua
/freebsd/sys/contrib/openzfs/lib/libzpool/
H A DMakefile.am24 module/lua/lapi.c \
25 module/lua/lauxlib.c \
26 module/lua/lbaselib.c \
27 module/lua/lcode.c \
28 module/lua/lcompat.c \
29 module/lua/lcorolib.c \
30 module/lua/lctype.c \
31 module/lua/ldebug.c \
32 module/lua/ldo.c \
33 module/lua/lfunc.c \
[all …]
/freebsd/contrib/libucl/doc/
H A Dlua_api.md3 This lua module allows to parse objects from strings and to store data into
8 ~~~lua
66 This is a `C` function to push `UCL` object as lua variable. This function
67 converts `obj` to lua representation using the following conversions:
69 - *scalar* values are directly presented by lua objects
70 - *userdata* values are converted to lua function objects using `LUA_REGISTRYINDEX`,
71 this can be used to pass functions from lua to c and vice-versa
72 - *arrays* are converted to lua tables with numeric indices suitable for `ipairs` iterations
73 - *objects* are converted to lua tables with string indices
77 - `L {lua_State}`: lua state pointer
[all …]
/freebsd/tools/pkgbase/
H A DREADME.md1 `metalog_reader.lua` is a script that reads METALOG file created by pkgbase
10 metalog_reader.lua [-h] [-a | -c | -p [-count] [-size] [-f...]] [-W...] [-v] metalog-path
33 * `metalog_reader.lua -a METALOG`
35 * `metalog_reader.lua -c METALOG`
37 * `metalog_reader.lua -c -Wcheck-notagdir METALOG`
40 * `metalog_reader.lua -p METALOG`
42 * `metalog_reader.lua -p -count -size METALOG`
45 * `metalog_reader.lua -p -size -fsetid METALOG`
48 * `metalog_reader.lua -p -fsetuid -fsetgid METALOG`
51 * `metalog_reader.lua -p -count -size -fsetuid METALOG`
/freebsd/contrib/lua/
H A DMakefile18 INSTALL_LMOD= $(INSTALL_TOP)/share/lua/$V
19 INSTALL_CMOD= $(INSTALL_TOP)/lib/lua/$V
42 TO_BIN= lua luac
43 TO_INC= lua.h luaconf.h lualib.h lauxlib.h lua.hpp
45 TO_MAN= lua.1 luac.1
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/
H A Dtst.libraries.ksh25 log_must_program $TESTPOOL $ZCP_ROOT/lua_core/tst.lib_base.lua
26 log_must_program $TESTPOOL $ZCP_ROOT/lua_core/tst.lib_coroutine.lua
28 log_must_program $TESTPOOL $ZCP_ROOT/lua_core/tst.lib_strings.lua
29 log_must_program -m 40000000 $TESTPOOL $ZCP_ROOT/lua_core/tst.lib_table.lua
/freebsd/libexec/flua/
H A DMakefile1 .include <src.lua.mk>
8 LUASRC?= ${SRCTOP}/contrib/lua/src
17 LIBADD= lua
20 SRCS+= lua.c
/freebsd/contrib/llvm-project/lldb/bindings/lua/
H A Dlua.swig12 %include "lua-typemaps.swig"
19 #include "../bindings/lua/lua-swigsafecast.swig"
30 %include "lua-wrapper.swig"
/freebsd/contrib/libucl/m4/
H A Dax_lua.m432 # 2) AX_LUA_HEADERS now checks that the version number defined in lua.h
36 # 3) The configure flag --with-lua-suffix no longer exists; the user
77 # luadir Default: $prefix/share/lua/$LUA_VERSION
78 # luaexecdir Default: $exec_prefix/lib/lua/$LUA_VERSION
99 # This macro searches for the header lua.h (and others). The search is
107 # * /usr/include/lua/X.Y
110 # * /usr/local/include/lua-X.Y
111 # * /usr/local/include/lua/X.Y
201 [lua lua5.3 lua53 lua5.2 lua52 lua5.1 lua51 lua50])
207 ax_display_LUA='lua'
[all …]
/freebsd/lib/libifconfig/
H A DMakefile29 .include <src.lua.mk>
32 .tpl.c.c .tpl.h.h: sfp.lua
33 ${LUA} ${.CURDIR}/sfp.lua ${.IMPSRC} >${.TARGET}
/freebsd/contrib/lutok/m4/
H A Dlua.m439 PKG_CHECK_MODULES([LUA], [lua${lua_release} >= ${lua_release}],
43 PKG_CHECK_MODULES([LUA], [lua-${lua_release} >= ${lua_release}],
47 PKG_CHECK_MODULES([LUA], [lua >= ${lua_release}],
55 AC_PATH_PROGS([LUA_CONFIG], [lua-config], [unset])
64 AC_MSG_ERROR([lua (5.1 or newer) is required])
/freebsd/libexec/nuageinit/
H A DMakefile3 FILES= nuage.lua yaml.lua
/freebsd/share/mk/
H A Dsrc.lua.mk7 .if !target(__<src.lua.mk>__)
8 __<src.lua.mk>__:
/freebsd/lib/liblutok/
H A DMakefile4 LIBADD= lua
16 -I${SRCTOP}/contrib/lua/src
/freebsd/sys/conf/
H A Dsysent.mk6 .include <src.lua.mk>
25 MAKESYSCALLS_SCRIPT?= ${SYSDIR}/tools/syscalls/main.lua
/freebsd/sys/contrib/openzfs/include/
H A DMakefile.am167 sys/lua/lauxlib.h \
168 sys/lua/lua.h \
169 sys/lua/luaconf.h \
170 sys/lua/lualib.h \

12345