/freebsd/contrib/llvm-project/lldb/source/Commands/ |
H A D | Options.td | 7 def tm_smn : Option<"show-mangled-names", "m">, Group<1>, 14 def tm_errors_only : Option<"errors-only", "e">, Group<1>, 19 def help_hide_aliases : Option<"hide-aliases", "a">, 21 def help_hide_user : Option<"hide-user-commands", "u">, 22 Desc<"Hide user-defined commands from the list.">; 23 def help_show_hidden : Option<"show-hidden-commands", "h">, 38 def setwrite_file : Option<"file", "f">, Required, Arg<"Filename">, 40 Desc<"The file into which to write the settings.">; 42 Desc<"Append to saved settings file if it exists.">; 46 def setread_file : Option<"file", "f">, Required, Arg<"Filename">, [all …]
|
/freebsd/contrib/ntp/ntpd/ |
H A D | ntpdbase-opts.def | 1 #include autogen-version.def 3 include = <<- _EOF_ 14 flags-cant = ipv6; 16 doc = <<- _EndOfDoc_ 25 flags-cant = ipv4; 27 doc = <<- _EndOfDoc_ 37 flags-cant = authnoreq; 38 doc = <<- _EndOfDoc_ 49 flags-cant = authreq; 50 doc = <<- _EndOfDoc_ [all …]
|
/freebsd/lib/libsys/ |
H A D | fcntl.2 | 33 .Nd file control 53 .Fa arg . 55 .Fa arg 58 .Bl -tag -width F_DUP2FD_CLOEXEC 62 .Bl -bullet -compact -offset 4n 65 .Fa arg . 69 New descriptor shares the same file offset if the object 70 was a file. 74 Same file status flags (i.e., both file descriptors 75 share the same file status flags). [all …]
|
/freebsd/contrib/ntp/sntp/ |
H A D | sntp-opts.def | 1 /* -*- Mode: Text -*- */ 5 #include autogen-version.def 8 prog-name = "sntp"; 9 prog-title = "reference Simple Network Time Protocol client"; 10 argument = '[ hostname-or-IP ...]'; 14 long-opts; 16 config-header = "config.h"; 25 flags-cant = ipv6; 27 doc = <<- _EndOfDoc_ 36 flags-cant = ipv4; [all …]
|
/freebsd/contrib/llvm-project/lld/MachO/ |
H A D | Driver.cpp | 1 //===- Driver.cpp ---------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 39 #include "llvm/Config/llvm-config.h" 69 // TODO: -r, -dylinker, -preload... in getOutputType() 70 Arg *outputArg = args.getLastArg(OPT_bundle, OPT_dylib, OPT_execute); in getOutputType() 74 switch (outputArg->getOption().getID()) { in getOutputType() 91 return entry->second; in findLibrary() 97 return findPathCombination(name, config->librarySearchPaths, {""}); in findLibrary() 98 if (config->searchDylibsFirst) { in findLibrary() [all …]
|
H A D | DriverUtils.cpp | 1 //===- DriverUtils.cpp ----------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 21 #include "llvm/Option/Arg.h" 41 std::size(NAME##_init) - 1); 70 // Set color diagnostics according to --color-diagnostics={auto,always,never} 71 // or --no-color-diagnostics flags. 73 const Arg *arg = in handleColorDiagnostics() local 76 if (!arg) in handleColorDiagnostics() 78 if (arg->getOption().getID() == OPT_color_diagnostics) { in handleColorDiagnostics() [all …]
|
/freebsd/usr.sbin/periodic/ |
H A D | periodic.sh | 1 #!/bin/sh - 6 # usage: periodic { daily | weekly | monthly | security } - run standard scripts 7 # periodic /absolute/path/to/directory - run periodic scripts in dir 23 *) pipe="mail -E -s '$host ${2}${2:+ }${1##*/} run output' $output";; 28 if [ $# -lt 1 ] ; then 32 # If possible, check the global system configuration file, 34 if [ -r /etc/defaults/periodic.conf ]; then 46 # If we were called normally, then create a lock file for each argument 53 for arg; do 54 lockfile=/var/run/periodic.${arg##*/}.lock [all …]
|
/freebsd/bin/pax/ |
H A D | ftree.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 52 * file args supplied to pax are stored on a single linked list (of type FTREE) 54 * the expansion of each arg into the corresponding file tree (if the arg is a 56 * is modified by the -n and -u flags. The user is informed when a specific 57 * file arg does not generate any selected files. -n keeps expanding the file 58 * tree arg until one of its files is selected, then skips to the next file 59 * arg. when the user does not supply the file trees as command line args to 65 static char *farray[2]; /* array for passing each arg to fts */ 66 static FTREE *fthead = NULL; /* head of linked list of file args */ [all …]
|
/freebsd/contrib/llvm-project/lld/ELF/ |
H A D | Driver.cpp | 1 //===- Driver.cpp ---------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 19 // be harmful when you are doing cross-linking. Therefore, in LLD, we 23 //===----------------------------------------------------------------------===// 53 #include "llvm/Config/llvm-config.h" 88 if (config->noinhibitExec) in errorOrWarn() 130 // This driver-specific context will be freed later by unsafeLldMain(). in link() 133 ctx->e.initialize(stdoutOS, stderrOS, exitEarly, disableOutput); in link() 134 ctx->e.cleanupCallback = []() { in link() [all …]
|
/freebsd/crypto/heimdal/lib/asn1/ |
H A D | main.c | 2 * Copyright (c) 1997-2005 Kungliga Tekniska Högskolan 40 extern FILE *yyin; 74 { "encode-rfc1510-bit-string", 0, arg_flag, &rfc1510_bitstring }, 75 { "decode-dce-ber", 0, arg_flag, &support_ber }, 76 { "support-ber", 0, arg_flag, &support_ber }, 77 { "preserve-binary", 0, arg_strings, &preserve }, 79 { "one-code-file", 0, arg_flag, &one_code_file }, 80 { "option-file", 0, arg_string, &option_file }, 89 arg_printusage(args, num_args, NULL, "[asn1-file [name]]"); in usage() 99 const char *file; in main() local [all …]
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/ |
H A D | Host.h | 1 //===-- Host.h --------------------------------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 #include "lldb/Host/File.h" 18 #include "lldb/lldb-private-forward.h" 19 #include "lldb/lldb-private.h" 120 /// \b A file spec with the module that contains \a host_addr, 127 /// path to a file within a bundle to the bundle directory itself. 129 /// \param[in] file 130 /// A file spec that might point to a file in a bundle. [all …]
|
/freebsd/contrib/llvm-project/lld/COFF/ |
H A D | Driver.cpp | 1 //===- Driver.cpp ---------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 29 #include "llvm/Config/llvm-config.h" 34 #include "llvm/Option/Arg.h" 51 #include "llvm/ToolDrivers/llvm-lib/LibDriver.h" 67 // This driver-specific context will be freed later by unsafeLldMain(). in link() 70 ctx->e.initialize(stdoutOS, stderrOS, exitEarly, disableOutput); in link() 71 ctx->e.logName = args::getFilenameWithoutExe(args[0]); in link() 72 ctx->e.errorLimitExceededMsg = "too many errors emitted, stopping now" in link() [all …]
|
H A D | DriverUtils.cpp | 1 //===- DriverUtils.cpp ----------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // This file contains utility functions for the driver. Because there 10 // are so many small functions, we created this separate file to make 13 //===----------------------------------------------------------------------===// 27 #include "llvm/Option/Arg.h" 83 void LinkerDriver::parseNumbers(StringRef arg, uint64_t *addr, uint64_t *size) { in parseNumbers() argument 84 auto [s1, s2] = arg.split(','); in parseNumbers() 93 void LinkerDriver::parseVersion(StringRef arg, uint32_t *major, in parseVersion() argument [all …]
|
/freebsd/sys/tools/syscalls/scripts/ |
H A D | sysproto_h.lua | 2 -- 3 -- SPDX-License-Identifier: BSD-2-Clause 4 -- 5 -- Copyright (c) 2024 Tyler Baxter <agge@FreeBSD.org> 6 -- Copyright (c) 2019 Kyle Evans <kevans@FreeBSD.org> 7 -- 9 -- Setup to be a module, or ran as its own script. 11 local script = not pcall(debug.getlocal, 4, 1) -- TRUE if script. 13 -- Add library root to the package path. 14 local path = arg[0]:gsub("/[^/]+.lua$", "") [all …]
|
H A D | systrace_args.lua | 2 -- 3 -- SPDX-License-Identifier: BSD-2-Clause 4 -- 5 -- Copyright (c) 2024 Tyler Baxter <agge@FreeBSD.org> 6 -- Copyright (c) 2023 Warner Losh <imp@bsdimp.com> 7 -- Copyright (c) 2019 Kyle Evans <kevans@FreeBSD.org> 8 -- 10 -- Setup to be a module, or ran as its own script. 12 local script = not pcall(debug.getlocal, 4, 1) -- TRUE if script. 14 -- Add library root to the package path. [all …]
|
/freebsd/sys/tools/syscalls/ |
H A D | main.lua | 2 -- 3 -- SPDX-License-Identifier: BSD-2-Clause 4 -- 5 -- Copyright (c) 2024 Tyler Baxter <agge@FreeBSD.org> 6 -- Copyright (c) 2023 Warner Losh <imp@bsdimp.com> 7 -- Copyright (c) 2019 Kyle Evans <kevans@FreeBSD.org> 8 -- 9 -- Thanks to Kyle Evans for his makesyscall.lua in FreeBSD which served as 10 -- inspiration for this, and as a source of code at times. 11 -- [all …]
|
/freebsd/contrib/wpa/wpa_supplicant/doc/docbook/ |
H A D | eapol_test.sgml | 1 <!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN"> 21 <arg>-nWS</arg> 22 <arg>-c<replaceable>config file</replaceable></arg> 23 <arg>-a<replaceable>server IP address</replaceable></arg> 24 <arg>-A<replaceable>client IP address</replaceable></arg> 25 <arg>-p<replaceable>UDP port</replaceable></arg> 26 <arg>-s<replaceable>shared secret</replaceable></arg> 27 <arg>-r<replaceable>re-authentications</replaceable></arg> 28 <arg>-t<replaceable>timeout</replaceable></arg> 29 <arg>-C<replaceable>Connect-Info</replaceable></arg> [all …]
|
/freebsd/crypto/openssl/util/ |
H A D | ck_errf.pl | 2 # Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved. 5 # this file except in compliance with the License. You can obtain a copy 6 # in the file LICENSE in the source distribution or at 31 -conf FILE Use the named config file FILE instead of the default. 33 -debug Verbose output debugging on stderr. 35 -internal Generate code that is to be built as part of OpenSSL itself. 38 -strict If any error was found, fail with exit code 1, otherwise 0. 40 -help Show this help text. 42 ... Additional arguments are added to the file list to scan, 43 if '-internal' was NOT specified on the command line. [all …]
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | spectral.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (c) 2013-2017 Qualcomm Atheros, Inc. 9 #include "wmi-ops.h" 16 if (!ar->spectral.rfs_chan_spec_scan) in send_fft_sample() 19 length = __be16_to_cpu(fft_sample_tlv->length) + in send_fft_sample() 21 relay_write(ar->spectral.rfs_chan_spec_scan, fft_sample_tlv, length); in send_fft_sample() 33 if (dc_pos < max_index || -dc_pos >= max_index) in get_max_exp() 58 bin_len -= ar->hw_params.spectral_bin_discard; in ath10k_spectral_fix_bin_size() 80 return -EINVAL; in ath10k_spectral_process_fft() 82 reg0 = __le32_to_cpu(fftr->reg0); in ath10k_spectral_process_fft() [all …]
|
/freebsd/contrib/llvm-project/lldb/tools/driver/ |
H A D | Driver.cpp | 1 //===-- Driver.cpp ----------------------------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 67 std::size(NAME##_init) - 1); 130 SBFileSpec file(command.c_str()); in AddInitialCommand() local 131 if (file.Exists()) in AddInitialCommand() 132 command_set->push_back(InitialCmdEntry(command, is_file)); in AddInitialCommand() 133 else if (file.ResolveExecutableLocation()) { in AddInitialCommand() 135 file.GetPath(final_path, sizeof(final_path)); in AddInitialCommand() 136 command_set->push_back(InitialCmdEntry(final_path, is_file)); in AddInitialCommand() [all …]
|
/freebsd/usr.sbin/ppp/ |
H A D | systems.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 1996 - 2001 Brian Somers <brian@Awfulhak.org> 5 * based on work by Toshiharu OHNO <tony-o@iij.ad.jp> 48 FILE * 49 OpenSecret(const char *file) in OpenSecret() argument 51 FILE *fp; in OpenSecret() 54 snprintf(line, sizeof line, "%s/%s", PPP_CONFDIR, file); in OpenSecret() 62 CloseSecret(FILE *fp) in CloseSecret() 79 endto = to + LINE_LEN - 1; in InterpretArg() [all …]
|
/freebsd/crypto/heimdal/ |
H A D | ltmain.sh | 16 # if you distribute this file as part of a program or library that 17 # is built using GNU Libtool, you may include this file under the 26 # along with GNU Libtool; see the file COPYING. If not, a copy 29 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 31 # Usage: $progname [OPTION]... [MODE-ARG]... 33 # Provide generalized library-building support services. 35 # --config show all configuration variables 36 # --debug enable verbose shell tracing 37 # -n, --dry-run display commands without modifying any files 38 # --features display basic configuration information and exit [all …]
|
/freebsd/contrib/googletest/googlemock/test/ |
H A D | gmock_output_test_golden.txt | 3 FILE:#: EXPECT_CALL(foo_, Bar2(0, _)) invoked 6 FILE:#: Mock function call matches EXPECT_CALL(foo_, Bar2(0, _))... 13 FILE:#: EXPECT_CALL(foo_, Bar3(0, _)) invoked 16 FILE:#: Mock function call matches EXPECT_CALL(foo_, Bar3(0, _))... 23 FILE:#: Too few actions specified in EXPECT_CALL(foo_, Bar2(_, _))... 26 FILE:#: Actions ran out in EXPECT_CALL(foo_, Bar2(_, _))... 27 Called 2 times, but only 1 WillOnce() is specified - returning default value. 31 unknown file: Failure 33 Unexpected mock function call - returning default value. 38 FILE:#: EXPECT_CALL(foo_, Bar2(0, _))... [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-lib/ |
H A D | LibDriver.cpp | 1 //===- LibDriver.cpp - lib.exe-compatible driver --------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // Defines an interface to a lib.exe-compatible driver that also understands 10 // bitcode files. Used by llvm-lib and lld-link /lib. 12 //===----------------------------------------------------------------------===// 14 #include "llvm/ToolDrivers/llvm-lib/LibDriver.h" 24 #include "llvm/Option/Arg.h" 50 std::size(NAME##_init) - 1); 68 SmallString<128> Val = StringRef(FirstMember.Buf->getBufferIdentifier()); in getDefaultOutputPath() [all …]
|
/freebsd/stand/userboot/ |
H A D | userboot.h | 1 /*- 63 int (*getc)(void *arg); 68 void (*putc)(void *arg, int ch); 71 * Return non-zero if a key can be read from the console 73 int (*poll)(void *arg); 80 * Open a file in the host filesystem 82 int (*open)(void *arg, const char *filename, void **h_return); 85 * Close a file 87 int (*close)(void *arg, void *h); 90 * Return non-zero if the file is a directory [all …]
|