Home
last modified time | relevance | path

Searched +full:y +full:- +full:rc (Results 1 – 25 of 398) sorted by relevance

12345678910>>...16

/freebsd/usr.sbin/bhyve/
H A Drfb.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
91 /* Client-to-server msg types */
186 #define RFB_ENCODING_RESIZE -223
187 #define RFB_ENCODING_EXT_KEYEVENT -258
212 uint16_t y; member
241 uint16_t y; member
252 uint16_t y; member
272 sinfo.width = htons(gc_image->width); in rfb_send_server_init_msg()
273 sinfo.height = htons(gc_image->height); in rfb_send_server_init_msg()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/media/
H A Dvideo-interface-devices.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/media/video-interface-devices.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jacopo Mondi <jacopo@jmondi.org>
11 - Sakari Ailus <sakari.ailus@linux.intel.com>
14 flash-leds:
15 $ref: /schemas/types.yaml#/definitions/phandle-array
17 An array of phandles, each referring to a flash LED, a sub-node of the LED
20 lens-focus:
[all …]
/freebsd/sys/dev/ath/ath_rate/sample/
H A Dsample.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
17 * 3. Neither the names of the above-listed copyright holders nor the names
86 * in "Bit-rate Selection in Wireless Networks"
87 * (http://www.pdos.lcs.mit.edu/papers/jbicket-ms.ps)
89 * SampleRate chooses the bit-rate it predicts will provide the most
90 * throughput based on estimates of the expected per-packet
91 * transmission time for each bit-rate. SampleRate periodically sends
92 * packets at bit-rates other than the current one to estimate when
93 * another bit-rate will provide better performance. SampleRate
[all …]
/freebsd/contrib/ntp/libntp/
H A Dicom.c38 * Frames begin with a two-octet preamble PR-PR followyd by the
48 * +------+------+------+------+------+--//--+------+
50 * +------+------+------+------+------+--//--+------+
64 * icom_freq(fd, ident, freq) - load radio frequency
68 * -1 (error)
81 int rc; in icom_freq() local
89 rc = write(fd, cmd, temp + 7); in icom_freq()
90 if (rc == -1) { in icom_freq()
92 return -1; in icom_freq()
93 } else if (rc != temp + 7) { in icom_freq()
[all …]
/freebsd/crypto/openssl/crypto/ec/
H A Decp_s390x_nistp.c2 * Copyright 2019-2022 The OpenSSL Project Authors. All Rights Reserved.
54 BIGNUM *x, *y; in ec_GFp_s390x_nistp_mul() local
58 int rc = -1; in ec_GFp_s390x_nistp_mul() local
61 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ec_GFp_s390x_nistp_mul()
69 y = BN_CTX_get(ctx); in ec_GFp_s390x_nistp_mul()
70 if (x == NULL || y == NULL) { in ec_GFp_s390x_nistp_mul()
71 rc = 0; in ec_GFp_s390x_nistp_mul()
93 rc = EC_POINT_set_to_infinity(group, r); in ec_GFp_s390x_nistp_mul()
99 if (group->meth->point_get_affine_coordinates(group, point_ptr, in ec_GFp_s390x_nistp_mul()
100 x, y, ctx) != 1 in ec_GFp_s390x_nistp_mul()
[all …]
/freebsd/contrib/hyperv/tools/scripts/
H A Dhv_set_ifconfig18 # IPADDR_x=ipaddry (where y = x + 1)
21 # NETMASK_x=netmasky (where y = x + 1)
24 # GATEWAY_x=ipaddry (where y = x + 1)
41 sed -i".bak" '/ifconfig_hn0="SYNCDHCP"/d' /etc/rc.conf
42 sed -i".bak" '/ifconfig_hn0="DHCP"/d' /etc/rc.conf
51 sed -i".bak" '/nameserver/d' /etc/resolv.conf
60 #/etc/rc.d/netif restart
61 #/etc/rc.d/routing restart
65 if [ $DHCP -eq 1 ]
67 echo ifconfig_hn0=\"DHCP\" >> /etc/rc.conf
[all …]
/freebsd/contrib/ncurses/ncurses/win32con/
H A Dwin_driver.c2 * Copyright 2018-2021,2023 Thomas E. Dickey *
3 * Copyright 2008-2016,2017 Free Software Foundation, Inc. *
36 * TODO - GetMousePos(POINT * result) from ntconio.c
37 * TODO - implement nodelay
38 * TODO - improve screen-repainting performance, using implied wraparound to reduce write's
39 * TODO - make it optional whether screen is restored or not when non-buffered
73 #define AssertTCB() assert(TCB != 0 && (TCB->magic == WINMAGIC))
74 #define SetSP() assert(TCB->csp != 0); sp = TCB->csp; (void) sp
87 /* *INDENT-OFF* */
114 /* *INDENT-ON* */
[all …]
/freebsd/contrib/ncurses/ncurses/tinfo/
H A Dlib_win32con.c2 * Copyright 2020-2021,2023 Thomas E. Dickey *
3 * Copyright 1998-2009,2010 Free Software Foundation, Inc. *
36 * TODO - GetMousePos(POINT * result) from ntconio.c
144 *Lines = (int) (WINCONSOLE.SBI.dwSize.Y); in _nc_console_size()
147 *Lines = (int) (WINCONSOLE.SBI.srWindow.Bottom + 1 - in _nc_console_size()
149 *Cols = (int) (WINCONSOLE.SBI.srWindow.Right + 1 - in _nc_console_size()
220 T(("lib_win32con:validateHandle %d -> WINCONSOLE.inp", fd)); in _nc_console_fd2handle()
222 T(("lib_win32con:validateHandle %d -> WINCONSOLE.hdl", fd)); in _nc_console_fd2handle()
224 T(("lib_win32con:validateHandle %d -> WINCONSOLE.out", fd)); in _nc_console_fd2handle()
235 T(("lib_win32con:validateHandle forcing WINCONSOLE.out -> WINCONSOLE.hdl")); in _nc_console_fd2handle()
[all …]
H A Dlib_tparm.c2 * Copyright 2018-2021,2023 Thomas E. Dickey *
3 * Copyright 1998-2016,2017 Free Software Foundation, Inc. *
31 * Author: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1992,1995 *
65 * Cursor addressing and other strings requiring parame-
86 * as in printf, flags are [-+#] and space
87 * The ':' is used to avoid making %+ or %-
90 * %p[1-9] push ith parm
91 * %P[a-z] set dynamic variable [a-z] to pop()
92 * %g[a-z] get dynamic variable [a-z] and push it
93 * %P[A-Z] set static variable [A-Z] to pop()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DBitTracker.h1 //===- BitTracker.h ---------------------------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
54 void put(RegisterRef RR, const RegisterCell &RC);
151 // any register, it is more of an abstraction of the two-element set of
174 // In practice there is a special case for values that are not associa-
183 // one in which V will be contained. If the RefI.Pos refers to the posi-
217 // (2) x.y = y.x
218 // (3) x.(y.z) = (x.y).z
225 // To prove that it satisfies the conditions (1)-(5), it is sufficient
[all …]
/freebsd/release/tools/
H A Dvagrant.conf11 firstboot-freebsd-update firstboot-pkgs"
13 # Set to a list of third-party software to enable in rc.conf(5).
17 # The firstboot_pkgs rc.d script will download the repository
21 env ASSUME_ALWAYS_YES=yes pkg -c ${DESTDIR} clean -y -a
22 env ASSUME_ALWAYS_YES=yes pkg -c ${DESTDIR} delete -f -y pkg
23 rm ${DESTDIR}/var/db/pkg/repo-*.sqlite
26 echo 'ifconfig_DEFAULT="SYNCDHCP"' >> ${DESTDIR}/etc/rc.conf
29 echo 'sshd_enable="YES"' >> ${DESTDIR}/etc/rc.conf
34 echo 'sendmail_enable="NO"' >> ${DESTDIR}/etc/rc.conf
35 echo 'sendmail_submit_enable="NO"' >> ${DESTDIR}/etc/rc.conf
[all …]
H A Dvmimage.subr9 . ${scriptdir}/../../tools/boot/install-boot.sh
14 # Platform-specific large-scale setup
33 if [ -c "${DESTDIR}/dev/null" ]; then
42 mkdir -p ${DESTDIR}
60 mkdir -p ${DESTDIR}/var/db/etcupdate
61 etcupdate extract -B \
62 -M "TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH}" \
63 -s ${WORLDDIR} -d ${DESTDIR}/var/db/etcupdate
71 if [ -z "${NOSWAP}" ]; then
77 hostname="$(echo $(uname -o) | tr '[:upper:]' '[:lower:]')"
[all …]
/freebsd/lib/libsecureboot/
H A Dvets.c1 /*-
2 * Copyright (c) 2017-2018, Juniper Networks, Inc.
27 * @file vets.c - trust store
36 #include "libsecureboot-priv.h"
112 int rc; in ve_error_set() local
117 rc = 0; in ve_error_set()
121 ebuf[sizeof(ebuf) - 1] = '\0'; in ve_error_set()
122 rc = strlen(ebuf); in ve_error_set()
124 rc = vsnprintf(ebuf, sizeof(ebuf), fmt, ap); in ve_error_set()
128 return (rc); in ve_error_set()
[all …]
/freebsd/share/examples/ipfw/
H A Dchange_rules.sh3 # SPDX-License-Identifier: BSD-2-Clause
53 if [ -r /etc/defaults/rc.conf ]; then
54 . /etc/defaults/rc.conf
56 elif [ -r /etc/rc.conf ]; then
57 . /etc/rc.conf
60 EDITOR=${EDITOR:-/usr/bin/vi}
61 PAGER=${PAGER:-/usr/bin/more}
64 TMPFILE=`mktemp -t ${tempfoo}` || exit 1
69 echo -n "$1 (Y/N) ? "
70 read -t 30 a
[all …]
/freebsd/sys/fs/cd9660/
H A Dcd9660_node.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
60 struct vnode *vp = ap->a_vp; in cd9660_inactive()
68 if (ip->inode.iso_mode == 0) in cd9660_inactive()
79 struct vnode *vp = ap->a_vp; in cd9660_reclaim()
89 free(vp->v_data, M_ISOFSNODE); in cd9660_reclaim()
90 vp->v_data = NULL; in cd9660_reclaim()
108 &isodir->date[6]: isodir->flags)&2) { in cd9660_defattr()
109 inop->inode.iso_mode = S_IFDIR; in cd9660_defattr()
114 inop->inode.iso_links = 1; in cd9660_defattr()
[all …]
/freebsd/crypto/libecc/include/libecc/hash/
H A Dkeccak.h2 * Copyright (C) 2017 - This file is part of libecc project
7 * Jean-Pierre FLORI <jean-pierre.flori@ssi.gouv.fr>
21 #define _KECCAK_ROTL_(x, y) (((x) << (y)) | ((x) >> ((sizeof(u64) * 8) - (y)))) argument
23 /* We handle the case where one of the shifts is more than 64-bit: in this
27 #define KECCAK_ROTL(x, y) ((((y) < (sizeof(u64) * 8)) && ((y) > 0)) ? (_KECCAK_ROTL_(x, y)) : (x)) argument
65 #define SWAP64_Idx(a) ((sizeof(u64) * ((u8)(a) / sizeof(u64))) + (sizeof(u64) - 1 - ((u8)(a) % si…
67 #define Idx_slices(x, y) ((x) + (KECCAK_SLICES * (y))) argument
68 #define Idx(A, x, y) ((A)[Idx_slices(x, y)]) argument
70 #define KECCAKROUND(A, RC) do { \ argument
71 int x, y; \
[all …]
/freebsd/contrib/netbsd-tests/lib/libpthread/
H A Dt_fpu.c61 #include <atf-c.h>
77 double y = *q++; in stir() local
81 x = sin ((y = cos (x + y + .4)) - (z = cos (x + z + .6))); in stir()
88 mul3(double x, double y, double z) in mul3() argument
93 return x * y * z; in mul3()
100 int rc; in bar() local
106 rc = recursion_depth++; in bar()
109 if (rc < N_RECURSE) in bar()
/freebsd/sys/dev/ocs_fc/
H A Docs_os.h1 /*-
81 /* OCS_OS_MAX_ISR_TIME_MSEC - maximum time driver code should spend in an interrupt
112 #define B32_NEXT_POWER_OF_2(x) (B32((x)-1) + 1)
115 * likely/unlikely - branch prediction hint
128 #define OCS_MAX(x, y) ((x) > (y) ? (x) : (y)) argument
129 #define OCS_MIN(x, y) ((x) < (y) ? (x) : (y)) argument
138 * - OCS_INCLUDE_DEBUG include low-level SLI debug support
170 * @brief return the lower 32-bits of a bus address
173 * @return lower 32-bits of a bus address
188 * @brief return the upper 32-bits of a bus address
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetInstrInfo.cpp1 //===-- TargetInstrInfo.cpp - Target Instruction Information --------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
42 "disable-sched-hazard", cl::Hidden, cl::init(false),
56 return TRI->getPointerRegClass(MF, RegClass); in getRegClass()
63 return TRI->getRegClass(RegClass); in getRegClass()
66 /// insertNoop - Insert a noop into the instruction stream at the specified
73 /// insertNoops - Insert noops into the instruction stream at the specified
91 /// Any other non-whitespace text is considered an instruction, with
[all …]
/freebsd/contrib/ncurses/ncurses/base/
H A Dlib_mouse.c2 * Copyright 2018-2023,2024 Thomas E. Dickey *
3 * Copyright 1998-2016,2017 Free Software Foundation, Inc. *
31 * Author: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1992,1995 *
33 * and: Thomas E. Dickey 1996-on *
41 * The primary method used is xterm's internal mouse-tracking facility.
45 * special-purpose mouse interface for OS/2 EMX.
47 * Notes for implementors of new mouse-interface methods:
50 * in a device-dependent format and an upper level that parses mouse gestures
62 * accepted to parse the digested mouse reports (low-level MEVENTs) into
63 * a gesture (a high-level or composite MEVENT).
[all …]
H A Dlib_window.c3 * Copyright 1998-2010,2016 Free Software Foundation, Inc. *
31 * Author: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1992,1995 *
49 if (win->_immed) in NCURSES_EXPORT()
51 if (win->_sync) in NCURSES_EXPORT()
56 mvderwin(WINDOW *win, int y, int x) in mvderwin() argument
60 int rc = ERR; in mvderwin() local
62 T((T_CALLED("mvderwin(%p,%d,%d)"), (void *) win, y, x)); in mvderwin()
65 && (orig = win->_parent) != 0 in mvderwin()
66 && (x >= 0 && y >= 0) in mvderwin()
68 && (y + getmaxy(win) <= getmaxy(orig))) { in mvderwin()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXInstrInfo.td1 //===- NVPTXInstrInfo.td - NVPTX Instruction defs -------------*- tblgen-*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
31 //===----------------------------------------------------------------------===//
33 //===----------------------------------------------------------------------===//
129 //===----------------------------------------------------------------------===//
131 //===----------------------------------------------------------------------===//
134 def hasAtomAddF64 : Predicate<"Subtarget->hasAtomAddF64()">;
135 def hasAtomScope : Predicate<"Subtarget->hasAtomScope()">;
[all …]
/freebsd/usr.bin/sed/tests/
H A Dregress.sh9 REGRESSION_TEST(`bcb', `sed s/X/$(jot -n -bx -s "" 2043)\\\\zz/ <${SRCDIR}/regress.in')
10 REGRESSION_TEST(`y', `echo -n foo | sed y/o/O/')
34 rc=0
38 jot -w "l${n}_%d" 9 | tee lines.in.$n lines._in.$n | \
46 sed -i "" "$expr" $ins
47 sed -I "" "$expr" $_ins
50 diff -u lines.out.$n lines.in.$n || rc=1
52 cat $_ins | diff -u lines.out - || rc=1
53 rm -f $ins $outs $_ins lines.out
55 return $rc
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dxattrtest.c9 * or https://opensource.org/licenses/CDDL-1.0.
56 { "verify", no_argument, 0, 'y' },
102 "usage: %s [-hvycdrRk] [-n <nth>] [-f <files>] [-x <xattrs>]\n" in usage()
103 " [-s <bytes>] [-p <path>] [-t <script> ] [-o <phase>]\n", in usage()
107 " --help -h This help\n" in usage()
108 " --verbose -v Increase verbosity\n" in usage()
109 " --verify -y Verify xattr contents\n" in usage()
110 " --nth -n <nth> Print every nth file\n" in usage()
111 " --files -f <files> Set xattrs on N files\n" in usage()
112 " --xattrs -x <xattrs> Set N xattrs on each file\n" in usage()
[all …]
/freebsd/sys/dev/ntb/test/
H A Dntb_tool.c1 /*-
55 * root@local# sysctl -a | grep ntb_tool
74 * dev.ntb_tool.0.peer0.link: Y
90 * dev.ntb_tool.0.link: Y
102 *-----------------------------------------------------------------------------
110 *-----------------------------------------------------------------------------
114 * root@local# sysctl dev.ntb_tool.0.link=Y
125 *-----------------------------------------------------------------------------
149 *-----------------------------------------------------------------------------
159 *-----------------------------------------------------------------------------
[all …]

12345678910>>...16