Home
last modified time | relevance | path

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

12345678910>>...210

/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/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/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 warnmsg(str, prepend)
14 local tag = ""
21 local function errmsg(str, prepend)
26 local function dirname(oldpath)
30 local path = oldpath:gsub("[^/]+/*$", "")
37 local function mkdir_p(path)
41 local r, err = mkdir_p(dirname(path))
[all …]
H A Dnuageinit7 local nuage = require("nuage")
8 local ucl = require("ucl")
9 local yaml = require("yaml")
10 local sys_stat = require("posix.sys.stat")
15 local 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 …]
H A Dyaml.lua6 local table_print_value
13 local list = {}
18 local last = list[#list]
20 local rep = "{\n"
21 local comma
28 local keyRep
55 local table_print = function(tt)
59 local table_clone = function(t)
60 local clone = {}
67 local string_trim = function(s, what)
[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/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/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/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";
64 action "/usr/sbin/rtlbtfw -d $cdev -f /usr/local/share/rtlbt-firmware";
72 action "/usr/sbin/rtlbtfw -d $cdev -f /usr/local/share/rtlbt-firmware";
80 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";
98 action "/usr/sbin/rtlbtfw -d $cdev -f /usr/local/share/rtlbt-firmware";
[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/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 …]
/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/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/
H A Dtst.lib_coroutine.lua26 local f
28 local main, ismain = coroutine.running()
35 local function eqtab (t1, t2)
38 local v = t1[i]
45 local x, y = coroutine.running()
51 local arg = {...}
61 local s,a,b,c,d
79 local function foo (i) return coroutine.yield(i) end
96 local s=1
121 local x = gen(20)
[all …]
/freebsd/sys/contrib/openzfs/cmd/zed/zed.d/
H A Dzed-functions.sh34 local cmd
35 local rv=0
113 local lockfile="$1"
114 local fd="${2:-${ZED_FLOCK_FD}}"
115 local umask_bak
116 local err
155 local lockfile="$1"
156 local fd="${2:-${ZED_FLOCK_FD}}"
157 local err
187 local subject="$1"
[all …]
/freebsd/sys/contrib/openzfs/contrib/dracut/02zfsexpandknowledge/
H A Dmodule-setup.sh.in4 local typ
14 local poolconfigtemp
15 local poolconfigoutput
16 local pooldev
17 local resolved
36 local dev
37 local mp
38 local fstype
39 local _
54 local e
[all …]
/freebsd/contrib/netbsd-tests/net/
H A Dnet_common.sh36 local bus=$1
37 local old=./.__old
52 local target=$1
53 local gw=$2
54 local flags=${3:-\.\+}
55 local ifname=${4:-\.\+}
83 local target=$(echo $1 |sed 's/\./\\./g')
110 local sock=$1
111 local ip=$2
112 local backup=$RUMP_SERVER
[all …]
/freebsd/usr.bin/tftp/tests/
H A Dtftp_test.sh28 local sig=TERM
44 local remote_file="${tftp_dir}/remote.bin"
46 local local_file="local.bin"
63 local remote_file="${tftp_dir}/hello.txt"
65 local local_file="${remote_file##*/}"
82 local remote_file="${tftp_dir}/hello.txt"
84 local local_file="${remote_file##*/}"
102 local remote_file="${tftp_dir}/hello.txt"
104 local local_file="${remote_file##*/}"
121 local remote_file="${tftp_dir}/hello.txt"
[all …]

12345678910>>...210