Home
last modified time | relevance | path

Searched full:local (Results 1 – 25 of 5925) sorted by relevance

12345678910>>...237

/freebsd/tools/build/options/
H A Dmakeman.lua7 local libgen = require('posix.libgen')
8 local lfs = require('lfs')
9 local stdlib = require('posix.stdlib')
10 local unistd = require('posix.unistd')
11 local sys_wait = require('posix.sys.wait')
13 local curdate = os.date("%B %e, %Y")
15 local output_head <const> = ".\\\" DO NOT EDIT-- this file is @" .. [[generated by tools/build/opti…
114 local output_tail <const> = [[.El
136 local scriptdir <const> = libgen.dirname(stdlib.realpath(arg[0]))
137 local srcdir <const> = stdlib.realpath(scriptdir .. "/../../../")
[all …]
/freebsd/libexec/nuageinit/
H A Dnuage.lua6 local unistd = require("posix.unistd")
7 local sys_stat = require("posix.sys.stat")
8 local lfs = require("lfs")
10 local function decode_base64(input)
11 local b = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'
14 local result = {}
15 local bits = ''
19 local x = input:sub(i, i)
23 local f = b:find(x) - 1
30 local byte = bits:sub(i, i + 7)
[all …]
H A Dnuageinit7 local nuage = require("nuage")
8 local ucl = require("ucl")
9 local yaml = require("lyaml")
10 local sys_stat = require("posix.sys.stat")
15 local ni_path = arg[1]
16 local citype = arg[2]
18 local default_user = {
27 local root = os.getenv("NUAGE_FAKE_ROOTDIR")
32 local function openat(dir, name)
33 local path_dir = root .. dir
[all …]
/freebsd/crypto/openssl/test/certs/
H A Dmkcert.sh38 local key=$1; shift
40 local alg=rsa
45 local bits=2048
68 local key=$1; shift
71 local errs
81 local key=$1; shift
91 local cert=$1; shift
92 local exts=$1; shift
100 local cn=$1; shift
101 local key=$1; shift
[all …]
/freebsd/contrib/lyaml/build-aux/
H A Dluke3 local require=function(modname)if package.loaded[modname]==nil then
11 local _ENV=require'std.normalize'{}local function fatal(...)local msg=(...)if select('#',...)>1 then
19 local _ENV=require'std.normalize'{'luke._base','luke.lukefile','luke.platforms','std.functional',}l…
29 local function help()print[[
49 local function opterr(...)local msg=(...)if select('#',...)>1 then
52 local function display(...)return stdout:write(concat{...})end
53 local function dump(...)local s=concat(map(list(...),str))if len(s)>0 then
56 local function interpolate_to_substitute(s)return(gsub(s,'%$([%w_]+)','@%1@'))end
57 return{parse_arguments=function(args)local r={clidefs={},valreqs={},fname='lukefile',install={},log…
66 end,validate_arguments=function(parsed)local luke,err=loadluke(parsed.fname)diagnose(luke~=nil,'bad…
[all …]
/freebsd/tools/lua/
H A Dtemplate.lua32 local setmetatable = setmetatable
33 local loadstring = loadstring
34 local tostring = tostring
35 local setfenv = setfenv
36 local require = require
37 local concat = table.concat
38 local assert = assert
39 local write = io.write
40 local pcall = pcall
41 local phase
[all …]
/freebsd/stand/lua/
H A Dconfig.lua30 local hook = require("hook")
32 local config = {}
33 local modules = {}
34 local carousel_choices = {}
36 local env_changed = {}
38 local env_restore = {}
40 local MSG_FAILDIR = "Failed to load conf dir '%s': not a directory"
41 local MSG_FAILEXEC = "Failed to exec '%s'"
42 local MSG_FAILSETENV = "Failed to '%s' with value: %s"
43 local MSG_FAILOPENCFG = "Failed to open config: '%s'"
[all …]
H A Ddrawer.lua30 local color = require("color")
31 local config = require("config")
32 local core = require("core")
33 local screen = require("screen")
35 local drawer = {}
37 local fbsd_brand
38 local none
40 local menu_name_handlers
41 local branddefs
42 local logodefs
[all …]
H A Dpassword.lua30 local core = require("core")
31 local screen = require("screen")
33 local password = {}
35 local INCORRECT_PASSWORD = "loader: incorrect password"
37 local show_password_mask = false
38 local twiddle_chars = {"/", "-", "\\", "|"}
39 local screen_setup = false
41 local function setup_screen()
49 local str = ""
50 local twiddle_pos = 1
[all …]
/freebsd/contrib/bmake/unit-tests/
H A Dvar-scope-local.mk1 # $NetBSD: var-scope-local.mk,v 1.11 2024/03/05 23:07:58 rillig Exp $
3 # Tests for target-local variables, such as ${.TARGET} or $@. These variables
8 # The 7 built-in target-local variables are listed in the manual page. They
10 # target-local variables can be defined in dependency lines like
15 # Target-local variables in a target rule
56 # Target-local variables in an inference rule
61 # Target-local variables in a chain of inference rules
73 # The target-local variables can be used in expressions, just like other
76 # these expressions to expand right in time when the target-local variables
83 # target-local variable
[all...]
/freebsd/tools/tools/git/
H A Dmfc-candidates.lua12 local function exec_command(command)
13 local handle = assert(io.popen(command))
14 local output = handle:read("a")
23 local function read_from(from_branch, to_branch, author, dirspec)
24 local command = "git rev-list --first-parent --reverse "
36 local handle = assert(io.popen(command))
37 local content = {}
47 local function read_to(from_branch, to_branch, dirspec)
48 local command = "git log " .. from_branch .. ".." .. to_branch
57 local handle = assert(io.popen(command))
[all …]
/freebsd/usr.sbin/etcupdate/tests/
H A Dfbsdid_test.sh70 local file
84 local i
89 # remove: Remove a file where the only local difference is a
94 # old: Modify a file where the only local difference between
110 # already: Modify a file where the local file already matches
126 # add: Add a file that already exists where the only local
131 # conflict: Modify a file where the local file has a different
147 this is the local file
150 # local: A file with local modifications has a different
155 cat >> $i/local <<EOF
[all …]
/freebsd/crypto/krb5/src/windows/leash/htmlhelp/
H A DTOC.hhc13 <param name="Local" value="Html\Getting_Started.htm">
19 <param name="Local" value="Html\Getting_Started.htm">
23 <param name="Local" value="Html\Kerberos.htm">
27 <param name="Local" value="HTML\Kerberos_Terminology.htm">
31 <param name="Local" value="HTML\How_Kerberos_Works.htm">
35 <param name="Local" value="HTML\FAQ.htm">
39 <param name="Local" value="HTML\Glossary.htm">
44 <param name="Local" value="Html\Tickets.htm">
49 <param name="Local" value="Html\Tickets.htm">
53 <param name="Local" value="Html\Get_Tickets.htm">
[all …]
H A DIndex.hhk16 <param name="Local" value="HTML\Report_Bugs.htm">
21 <param name="Local" value="HTML\Report_Bugs.htm">
27 <param name="Local" value="HTML\Command_Line.htm">
33 <param name="Local" value="HTML\KCPYTKT.htm">
38 <param name="Local" value="HTML\KDESTROY.htm">
43 <param name="Local" value="HTML\KINIT.htm">
48 <param name="Local" value="HTML\KLIST.htm">
53 <param name="Local" value="HTML\KPASSWD.htm">
58 <param name="Local" value="HTML\KSWITCH.htm">
63 <param name="Local" value="HTML\KVNO.htm">
[all …]
/freebsd/usr.sbin/bsdconfig/usermgmt/share/
H A Dgroup_input.subr50 local funcname=f_input_group
51 local group="$1"
77 local prompt=
78 local menu_list="
81 local defaultitem="$1"
82 local hline="$hline_alnum_punc_tab_enter"
94 local height width rows
102 local menu_choice
115 local retval=$?
128 local __var_to_set="$1" __name="$2"
[all …]
H A Duser_input.subr71 local funcname=f_input_user
72 local user="$1"
95 local retval=$?
110 local prompt=
111 local menu_list="
114 local defaultitem="$1"
115 local hline="$hline_alnum_punc_tab_enter"
127 local height width rows
135 local menu_choice
148 local retval=$?
[all …]
/freebsd/usr.sbin/bsdinstall/scripts/
H A Dpkgbase.in10 local sys_wait = require("posix.sys.wait")
11 local unistd = require("posix.unistd")
13 local all_libcompats <const> = "%%_ALL_libcompats%%"
18 local function capture(command)
19 local p = io.popen(command)
20 local output = p:read("*a")
26 local function append_list(list, other)
34 local function read_all(fd)
35 local ret = ""
37 local buffer = assert(unistd.read(fd, 1024))
[all …]
/freebsd/contrib/lyaml/lib/lyaml/
H A Dinit.lua31 local explicit = require 'lyaml.explicit'
32 local functional = require 'lyaml.functional'
33 local implicit = require 'lyaml.implicit'
34 local yaml = require 'yaml'
36 local NULL = functional.NULL
37 local anyof = functional.anyof
38 local find = string.find
39 local format = string.format
40 local gsub = string.gsub
41 local id = functional.id
[all …]
/freebsd/usr.sbin/bluetooth/rtlbtfw/
H A Drtlbtfw.conf16 action "/usr/sbin/rtlbtfw -d $cdev -f /usr/local/share/rtlbt-firmware";
26 action "/usr/sbin/rtlbtfw -d $cdev -f /usr/local/share/rtlbt-firmware";
36 action "/usr/sbin/rtlbtfw -d $cdev -f /usr/local/share/rtlbt-firmware";
46 action "/usr/sbin/rtlbtfw -d $cdev -f /usr/local/share/rtlbt-firmware";
56 action "/usr/sbin/rtlbtfw -d $cdev -f /usr/local/share/rtlbt-firmware";
66 action "/usr/sbin/rtlbtfw -d $cdev -f /usr/local/share/rtlbt-firmware";
74 action "/usr/sbin/rtlbtfw -d $cdev -f /usr/local/share/rtlbt-firmware";
82 action "/usr/sbin/rtlbtfw -d $cdev -f /usr/local/share/rtlbt-firmware";
90 action "/usr/sbin/rtlbtfw -d $cdev -f /usr/local/share/rtlbt-firmware";
100 action "/usr/sbin/rtlbtfw -d $cdev -f /usr/local/share/rtlbt-firmware";
[all …]
/freebsd/tools/pkgbase/
H A Dmetalog_reader.lua31 local filename
32 local printall, checkonly, pkgonly =
34 local dcount, dsize, fuid, fgid, fid =
36 local verbose = false
37 local w_notagdirs = false
39 local i = 1
86 local sess = Analysis_session(filename, verbose, w_notagdirs)
88 local errors
114local sn = 'Usage: '..arg[0].. ' [-h] [-a | -c | -p [-count] [-size] [-f...]] [-W...] metalog-path…
152 local dupwarn, duperr = sess.dup_report()
[all …]
/freebsd/contrib/kyua/admin/
H A Dbuild-bintray-dist.sh31 # Builds a full Kyua installation under /usr/local for Ubuntu.
35 # tarball that provides the contents of /usr/local for Kyua.
47 local pkgsuffix=
48 local packages=
72 local name="${1}"; shift
73 local release="${1}"; shift
75 local distname="${name}-${release}"
77 local baseurl="https://github.com/jmmv/${name}"
82 local archflags=
92 CPPFLAGS="-I/usr/local/include" \
[all …]
/freebsd/release/scripts/oracle/
H A Dgenerate_metadata.lua3 local ucl = require("ucl")
6 local os_type = os.getenv("TYPE")
7 local os_version = os.getenv("OSRELEASE")
9 local capability_file = os.getenv("ORACLE_CAPABILITY")
11 local shapes_file = os.getenv("ORACLE_SHAPES")
13 local template_file = os.getenv("ORACLE_TEMPLATE")
14 local output_file = os.getenv("ORACLE_OUTPUT")
24 local function read_file(path)
25 local f = io.open(path, "r")
30 local content = f:read("*a")
[all …]
/freebsd/sys/nlm/
H A Dnlm_prot_svc.c54 bool_t (*local)(char *, void *, struct svc_req *); in nlm_prog_0() local
66 local = (bool_t (*) (char *, void *, struct svc_req *))nlm_sm_notify_0_svc; in nlm_prog_0()
80 retval = (bool_t) (*local)((char *)&argument, (void *)&result, rqstp); in nlm_prog_0()
122 bool_t (*local)(char *, void *, struct svc_req *); in nlm_prog_1() local
134 local = (bool_t (*) (char *, void *, struct svc_req *))nlm_test_1_svc; in nlm_prog_1()
140 local = (bool_t (*) (char *, void *, struct svc_req *))nlm_lock_1_svc; in nlm_prog_1()
146 local = (bool_t (*) (char *, void *, struct svc_req *))nlm_cancel_1_svc; in nlm_prog_1()
152 local = (bool_t (*) (char *, void *, struct svc_req *))nlm_unlock_1_svc; in nlm_prog_1()
158 local = (bool_t (*) (char *, void *, struct svc_req *))nlm_granted_1_svc; in nlm_prog_1()
164 local = (bool_t (*) (char *, void *, struct svc_req *))nlm_test_msg_1_svc; in nlm_prog_1()
[all …]
/freebsd/usr.sbin/syslogd/tests/
H A Dsyslogd_basic_format_test.sh10 # Single server, logging to local socket (inet disabled)
13 local format="$1"
14 local logfile="$2"
31 atf_set descr "bsd format test on local syslog message"
35 local format="bsd"
36 local logfile="${PWD}/O_flag_${format}_basic.log"
50 atf_set descr "rfc3164 format test on local syslog message"
54 local format="rfc3164"
55 local logfile="${PWD}/O_flag_${format}_basic.log"
69 atf_set descr "rfc3164-strict format test on local syslog message"
[all …]
H A Dsyslogd_forwarded_format_test.sh16 local format="$1"
17 local logfile="$2"
18 local pcapfile="$3"
51 local format="bsd"
52 local logfile="${PWD}/${format}_forwarded.log"
53 local pcapfile="${PWD}/${format}_forwarded.pcap"
78 local format="rfc3164"
79 local logfile="${PWD}/${format}_forwarded.log"
80 local pcapfile="${PWD}/${format}_forwarded.pcap"
105 local format="rfc3164-strict"
[all …]

12345678910>>...237