Home
last modified time | relevance | path

Searched +full:s +full:- +full:mode (Results 1 – 25 of 1089) sorted by relevance

12345678910>>...44

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIModeRegister.cpp1 //===-- SIModeRegister.cpp - Mode Register --------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 /// This pass inserts changes to the Mode register settings as required.
11 /// rounding mode setting, but is intended to be generic enough to be easily
14 //===----------------------------------------------------------------------===//
23 #define DEBUG_TYPE "si-mode-register"
25 STATISTIC(NumSetregInserted, "Number of setreg of mode register inserted.");
30 // Mask is a bitmask where a '1' indicates the corresponding Mode bit has a
33 unsigned Mode = 0; member
[all …]
/freebsd/tests/sys/mac/bsdextended/
H A Dugidfw_test.c1 /*-
50 * rule<->string routines to confirm they work approximately as desired.
79 "subject uid root object uid root mode n",
80 "subject uid root object uid daemon mode n",
81 "subject uid daemon object uid root mode n",
82 "subject uid daemon object uid daemon mode n",
83 /* Variations on mode. */
84 "subject uid root object uid root mode a",
85 "subject uid root object uid root mode r",
86 "subject uid root object uid root mode s",
[all …]
H A Dmatches_test.sh15 if [ $(sysctl -n security.mac.bsdextended.enabled) = "0" ]; then
27 [ -c /dev/mdctl ] || atf_skip "no /dev/mdctl to create md devices"
28 mdmfs -s 25m md mnt \
31 md_device=$(mount -p | grep "$PWD/mnt" | awk '{ gsub(/^\/dev\//, "", $1); print $1 }')
32 if [ -z "$md_device" ]; then
39 cat > mnt/test-script.sh <<'EOF'
43 if [ $? -ne 0 ]; then
47 file1=mnt/test-$uidinrange
48 file2=mnt/test-$uidoutrange
49 command1="sh mnt/test-script.sh $file1"
[all …]
/freebsd/tools/tools/usbtest/
H A Dusbtest.c1 /*-
2 * Copyright (c) 2010-2022 Hans Petter Selasky
79 temp |= (-0x800000); in usb_ts_rand_noise()
107 printf("] - %s:\n\n", title); in usb_ts_show_menu()
112 printf("%s", indent[level]); in usb_ts_show_menu()
144 ptr[size - 1] = 0; in get_string()
151 else if (ptr[size - 1] == '\n') in get_string()
152 ptr[size - 1] = 0; in get_string()
166 return (-1); in get_integer()
168 return (-2); in get_integer()
[all …]
/freebsd/crypto/heimdal/appl/telnet/libtelnet/
H A Dencrypt.c1 /*-
94 #define typemask(x) ((x) > 0 ? 1 << ((x)-1) : 0)
147 while (ep->type && ep->type != type) in findencryption()
149 return(ep->type ? ep : 0); in findencryption()
159 while (ep->type && ep->type != type) in finddecryption()
161 return(ep->type ? ep : 0); in finddecryption()
196 while (ep->type) { in encrypt_init()
198 printf(">>>%s: I will support %s\r\n", in encrypt_init()
199 Name, ENCTYPE_NAME(ep->type)); in encrypt_init()
200 i_support_encrypt |= typemask(ep->type); in encrypt_init()
[all …]
/freebsd/contrib/telnet/libtelnet/
H A Dencrypt.c1 /*-
75 int EncryptType(char *type, char *mode);
76 int EncryptStart(char *mode);
77 int EncryptStop(char *mode);
93 #define typemask(x) ((x) > 0 ? 1 << ((x)-1) : 0)
147 while (ep->type && ep->type != type) in findencryption()
149 return(ep->type ? ep : 0); in findencryption()
159 while (ep->type && ep->type != type) in finddecryption()
161 return(ep->type ? ep : 0); in finddecryption()
195 while (ep->type) { in encrypt_init()
[all …]
/freebsd/crypto/heimdal/appl/telnet/telnet/
H A Dtelnet.145 .Op Fl S Ar tos
66 argument, it enters command mode,
69 In this mode, it accepts and executes the commands listed below.
75 .Bl -tag -width indent
77 Specifies an 8-bit data path. This causes an attempt to
96 Specifies an 8-bit data path on output. This causes the
98 .It Fl S Ar tos
99 Sets the IP type-of-service (TOS) option for the telnet
122 Disables the reading of the user's
150 realm realm instead of the remote host's realm, as determined
[all …]
/freebsd/contrib/sendmail/libsm/
H A Dstrio.c2 * Copyright (c) 2000-2002, 2004, 2005 Proofpoint, Inc. and its suppliers.
16 SM_IDSTR(id, "@(#)$Id: strio.c,v 1.45 2013-11-22 20:51:43 ca Exp $")
48 ** SM_STRGROW -- increase storage space for string
51 ** s -- current cookie
52 ** size -- new storage size request
61 sm_strgrow(s, size) in sm_strgrow() argument
62 SM_STR_OBJ_T *s; in sm_strgrow()
67 if (s->strio_size >= size)
69 p = sm_realloc(s->strio_base, size);
72 s->strio_base = p;
[all …]
/freebsd/contrib/telnet/telnet/
H A Dtelnet.143 .Op Fl S Ar tos
49 .Op Fl s Ar src_addr
66 argument, it enters command mode,
69 In this mode, it accepts and executes the commands listed below.
75 .Bl -tag -width indent
85 Specifies an 8-bit data path.
104 Specifies an 8-bit data path on output.
112 Quiet mode.
116 .It Fl S Ar tos
117 Sets the IP type-of-service (TOS) option for the telnet
[all …]
/freebsd/usr.sbin/bluetooth/rfcomm_pppd/
H A Drfcomm_pppd.81 .\" Copyright (c) 2001-2003 Maksim Yevmenkin <m_evmenkin@yahoo.com>
42 .Fl s
55 In client mode,
57 opens an RFCOMM connection to the specified server's
67 mode with the specified
76 In server mode,
85 mode with the specified
93 .Bl -tag -width indent
95 In client mode, this required option specifies the address of the remote
97 In server mode, this option can be used to specify the local
[all …]
/freebsd/lib/libc/tests/gen/
H A Dpopen_test.c1 /*-
28 * Limited test program for popen() as specified by IEEE Std. 1003.1-2008,
41 #include <atf-c.h>
52 check_cloexec(FILE *fp, const char *mode) in check_cloexec() argument
57 ATF_CHECK_MSG(flags != -1, "fcntl(F_GETFD) failed; errno=%d", errno); in check_cloexec()
58 if (flags == -1) in check_cloexec()
60 if (strchr(mode, 'e') != NULL) in check_cloexec()
73 const char *mode; in ATF_TC_BODY() local
77 mode = allmodes[i]; in ATF_TC_BODY()
78 fp = popen("exit 7", mode); in ATF_TC_BODY()
[all …]
/freebsd/usr.sbin/mfiutil/
H A Dmfi_bbu.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
51 fprintf(fp, "%u day%s", d, d == 1 ? "" : "s"); in mfi_autolearn_period()
56 fprintf(fp, "%u hour%s", h, h == 1 ? "" : "s"); in mfi_autolearn_period()
77 buf[len - 1] = '\0'; in mfi_next_learn_time()
81 mfi_autolearn_mode(FILE *fp, uint8_t mode) in mfi_autolearn_mode() argument
84 switch (mode) { in mfi_autolearn_mode()
95 fprintf(fp, "mode 0x%02x", mode); in mfi_autolearn_mode()
142 warnx("Failed to start BBU learn: %s", mfi_status(status)); in start_bbu_learn()
157 char *mode, *endptr; in update_bbu_props() local
[all …]
/freebsd/share/termcap/
H A Dtermcap.531 .\" * ncurses is copyright (C) 1992-1995 *
32 .\" * Zeyd M. Ben-Halim *
34 .\" * Eric S. Raymond *
77 consist of a number of `:'-separated fields.
95 should be indicated by appending a hyphen and an indicator of the mode.
98 in 132-column mode would be
99 .Dq vt100-w .
101 .Bl -column indent "With automatic margins (usually default)xx" -offset indent
103 -w Wide mode (more than 80 columns) vt100-w
104 -am With automatic margins (usually default) vt100-am
[all …]
/freebsd/sys/dev/firewire/
H A Dfirewire.c1 /*-
2 * SPDX-License-Identifier: BSD-4-Clause
5 * Copyright (c) 1998-2002 Katsushi Kobayashi and Hidetoshi Shimokawa
130 /* IEEE-1394a Table C-2 Gap count as a function of hops*/
150 STAILQ_FOREACH(fwdev, &fc->devices, link) in fw_noderesolve_nodeid()
151 if (fwdev->dst == dst && fwdev->status != FWDEVINVAL) in fw_noderesolve_nodeid()
167 STAILQ_FOREACH(fwdev, &fc->devices, link) in fw_noderesolve_eui64()
168 if (FW_EUI64_EQUAL(fwdev->eui, *eui)) in fw_noderesolve_eui64()
174 if (fwdev->status == FWDEVINVAL) in fw_noderesolve_eui64()
194 if (xfer->hand == NULL) { in fw_asyreq()
[all …]
/freebsd/tools/tools/switch_tls/
H A Dswitch_tls.c3 /*-
72 int ch, mode; in main() local
77 mode = SW_TLS; in main()
79 while ((ch = getopt(argc, argv, "ailS:s")) != -1) { in main()
85 mode = IFNET_TLS; in main()
90 case 'S': in main()
94 case 's': in main()
95 mode = SW_TLS; in main()
101 argc -= optind; in main()
109 if (!tcpswitchall(stack, mode)) in main()
[all …]
/freebsd/tests/sys/kern/tty/
H A Dreadsz.c1 /*-
4 * SPDX-License-Identifier: BSD-2-Clause
22 fprintf(stderr, "usage: %s [-b bytes | -c lines | -e] [-s buffer-size]\n", in usage()
34 enum { MODE_BYTES, MODE_COUNT, MODE_EOF } mode; in main() local
38 * -b specifies number of bytes. in main()
39 * -c specifies number of read() calls. in main()
40 * -e specifies eof (default) in main()
41 * -s to pass a buffer size in main()
43 * Reading N lines is the same as -c with a high buffer size. in main()
45 mode = MODE_EOF; in main()
[all …]
/freebsd/contrib/netbsd-tests/net/if_gif/
H A Dt_gif.sh1 # $NetBSD: t_gif.sh,v 1.9 2016/12/21 09:46:39 ozaki-r Exp $
64 DEBUG=${DEBUG:-true}
80 atf_check -s exit:0 rump.ifconfig shmif0 inet6 ${lan}
82 atf_check -s exit:0 rump.ifconfig shmif0 inet ${lan} netmask 0xffffff00
84 atf_check -s exit:0 rump.ifconfig shmif0 up
88 atf_check -s exit:0 rump.ifconfig shmif1 inet6 ${wan}
90 atf_check -s exit:0 rump.ifconfig shmif1 inet ${wan} netmask 0xff000000
92 atf_check -s exit:0 rump.ifconfig shmif1 up
105 atf_check -s exit:0 -o match:shmif0 rump.ifconfig
107 atf_check -s exit:0 -o ignore rump.ping6 -n -c 1 -X $TIMEOUT ${lan}
[all …]
/freebsd/crypto/openssh/openbsd-compat/
H A Dport-net.c33 #include "openbsd-compat/sys-queue.h"
54 socklen_t len = sizeof(dev) - 1; in sys_get_rdomain()
56 if (getsockopt(fd, SOL_SOCKET, SO_BINDTODEVICE, dev, &len) == -1) { in sys_get_rdomain()
57 error("%s: cannot determine VRF for fd=%d : %s", in sys_get_rdomain()
69 name, strlen(name)) == -1) { in sys_set_rdomain()
70 error("%s: setsockopt(%d, SO_BINDTODEVICE, %s): %s", in sys_set_rdomain()
72 return -1; in sys_set_rdomain()
87 if ((fd = socket(AF_INET, SOCK_STREAM, 0)) == -1) in sys_valid_rdomain()
90 name, strlen(name)) == -1) { in sys_valid_rdomain()
108 return -1; in sys_set_rdomain()
[all …]
/freebsd/sys/sys/
H A Dconsio.h1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
4 * Copyright (c) 1991-1996 Søren Schmidt
48 /* get/set video mode */
49 #define KD_TEXT 0 /* set text mode restore fonts */
51 #define KD_GRAPHICS 1 /* set graphics mode */
52 #define KD_TEXT1 2 /* set text mode !restore fonts */
53 #define KD_PIXEL 3 /* set pixel mode */
60 /* set up raster(pixel) text mode */
86 /* get the current video mode (equivalent to FBIO_GETMODE) */
[all …]
/freebsd/contrib/bmake/
H A Dinstall-sh4 # install.sh - portable version of install(1)
7 # install [-CNcs] [-f flags] [-i errs] [-o owner] [-g group] [-m mode] file1 file2 ...
8 # install -d [-
[all...]
/freebsd/contrib/bmake/mk/
H A Dinstall-sh4 # install.sh - portable version of install(1)
7 # install [-CNcs] [-f flags] [-i errs] [-o owner] [-g group] [-m mode] file1 file2 ...
8 # install -d [-
[all...]
/freebsd/usr.sbin/pmcstat/
H A Dpmcstat.81 .\" Copyright (c) 2003-2008 Joseph Koshy
45 .Op Fl P Ar event-spec
47 .Op Fl S Ar event-spec
52 .Op Fl c Ar cpu-spec
62 .Op Fl p Ar event-spec
65 .Op Fl s Ar event-spec
66 .Op Fl t Ar process-spec
67 .Op Fl u Ar event-spec
82 on the system's CPUs.
85 .Fl t Ar process-spec
[all …]
/freebsd/sys/contrib/ck/include/
H A Dck_ec.h31 * ck_ec implements 32- and 64- bit event counts. Event counts let us
32 * easily integrate OS-level blocking (e.g., futexes) in lock-free
33 * protocols. Waiters block conditionally, if the event count's value
40 * especially in single producer mode. The 64 bit variants are larger,
44 * available if CK supports 64-bit atomic operations. Currently,
46 * x86-64, on compilers that support GCC extended inline assembly;
53 * - Make changes to some shared data structure, without involving
55 * - After each change, call ck_ec_inc on the event count. The call
56 * acts as a write-write barrier, and wakes up any consumer blocked
61 * - Snapshot ck_ec_value of the event count. The call acts as a
[all …]
/freebsd/sys/contrib/device-tree/Bindings/input/touchscreen/
H A Dazoteq,iqs7211.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jeff LaBundy <jeff@labundy.com>
13 The Azoteq IQS7210A, IQS7211A and IQS7211E trackpad and touchscreen control-
14 lers employ projected-capacitance sensing and can track two contacts.
21 - azoteq,iqs7210a
22 - azoteq,iqs7211a
23 - azoteq,iqs7211e
28 irq-gpios:
[all …]
/freebsd/usr.sbin/ppp/
H A Dmain.c1 /*-
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>
115 SignalBundle->CleaningUp = 1; in Cleanup()
124 log_Printf(LogPHASE, "PPP Terminated (%s).\n", ex_desc(excode)); in AbortProgram()
138 log_Printf(LogPHASE, "Caught signal %d, abort connection(s)\n", signo); in CloseConnection()
186 /* Drops all child prompts and re-opens the socket */ in RestartServer()
193 fprintf(stderr, "usage: ppp [-auto | -foreground | -background | -direct |" in Usage()
194 " -dedicated | -ddial | -interactive]" in Usage()
[all …]

12345678910>>...44