/freebsd/usr.bin/vgrind/ |
H A D | regexp.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 13 * 2. Redistributions in binary form must reproduce the above copyright 48 /* STRNCMP - like strncmp except that we convert the 58 if (*s2 - makelower(*s1)) in STRNCMP() 59 return (*s2 - makelower(*s1)); in STRNCMP() 64 while (--len); in STRNCMP() 67 if (*s2 - *s1) in STRNCMP() 68 return (*s2 - *s1); in STRNCMP() 73 while (--len); in STRNCMP() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/memory-controllers/ |
H A D | ti-aemif.txt | 4 provide a glue-less interface to a variety of asynchronous memory devices like 11 Davinci DM646x - http://www.ti.com/lit/ug/sprueq7c/sprueq7c.pdf 12 OMAP-L138 (DA850) - http://www.ti.com/lit/ug/spruh77a/spruh77a.pdf 13 Kestone - http://www.ti.com/lit/ug/sprugz3a/sprugz3a.pdf 17 - compatible: "ti,davinci-aemif" 18 "ti,keystone-aemif" 19 "ti,da850-aemif" 21 - reg: contains offset/length value for AEMIF control registers 24 - #address-cells: Must be 2. The partition number has to be encoded in the 25 first address cell and it may accept values 0..N-1 [all …]
|
H A D | st,stm32-fmc2-ebi-props.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/st,stm32-fmc2-ebi-props.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Christophe Kerello <christophe.kerello@foss.st.com> 11 - Marek Vasut <marex@denx.de> 14 st,fmc2-ebi-cs-transaction-type: 19 2: Asynchronous mode A SRAM/FRAM. 21 4: Asynchronous mode 2 NOR. 33 st,fmc2-ebi-cs-cclk-enable: [all …]
|
H A D | omap-gpmc.txt | 7 - compatible: Should be set to one of the following: 9 ti,omap2420-gpmc (omap2420) 10 ti,omap2430-gpmc (omap2430) 11 ti,omap3430-gpmc (omap3430 & omap3630) 12 ti,omap4430-gpmc (omap4430 & omap4460 & omap543x) 13 ti,am3352-gpmc (am335x devices) 15 - reg: A resource specifier for the register space 17 - ti,hwmods: Should be set to "ti,gpmc" until the DT transition is 19 - #address-cells: Must be set to 2 to allow memory address translation 20 - #size-cells: Must be set to 1 to allow CS address passing [all …]
|
/freebsd/lib/libiconv_modules/ISO2022/ |
H A D | citrus_iso2022.c | 3 /*- 4 * SPDX-License-Identifier: BSD-2-Clause 14 * 2. Redistributions in binary form must reproduce the above copyright 52 /* ---------------------------------------------------------------------- 60 * iso-8859-1 (ESC , A) 00000000 00000000 00000000 1xxxxxxx 71 * reserved for UCS4 co-existence (UCS4 is 31bit encoding thanks to mohta bit) 77 #define CS94MULTI (2U) 92 /* need 3 bits to hold -1, 0, ..., 3 */ 126 #define _CEI_TO_EI(_cei_) (&(_cei_)->ei) 127 #define _CEI_TO_STATE(_cei_, _func_) (_cei_)->states.s_##_func_ [all …]
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | zfs_chksum.c | 9 * or https://opensource.org/licenses/CDDL-1.0. 23 * Copyright (c) 2021-2022 Tino Reichardt <milky-zfs@mcmilk.de> 59 * Sample output on i3-1005G1 System: 62 * edonr-generic 1278 1625 1769 1776 1783 1778 1771 1767 63 * skein-generic 548 594 613 623 621 623 621 486 64 * sha256-generic 255 270 281 278 279 281 283 283 65 * sha256-x64 288 310 316 317 318 317 317 316 66 * sha256-ssse3 304 342 351 355 356 357 356 356 67 * sha256-avx 311 348 359 362 362 363 363 362 68 * sha256-avx2 330 378 389 395 395 395 395 395 [all …]
|
/freebsd/sys/geom/ |
H A D | geom_ccd.c | 1 /*- 2 * SPDX-License-Identifier: (BSD-2-Clause AND BSD-3-Clause) 4 * Copyright (c) 2003 Poul-Henning Kamp. 16 * 2. Redistributions in binary form must reproduce the above copyright 35 /*- 49 * 2. Redistributions in binary form must reproduce the above copyright 75 * Mail Stop 258-6 104 /* Mask of user-settable ccd flags. */ 109 * Computed at boot time to speed irregular-interleave lookups. 113 * remaining disks up to the size of the next-smallest (second group), [all …]
|
/freebsd/usr.sbin/ppp/ |
H A D | slcompress.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 12 * 2. Redistributions in binary form must reproduce the above copyright 37 * - Initial distribution. 85 register struct cstate *tstate = comp->tstate; in sl_compress_init() 88 for (i = max_state; i > 0; --i) { in sl_compress_init() 90 tstate[i].cs_next = &tstate[i - 1]; in sl_compress_init() 94 comp->last_cs = &tstate[0]; in sl_compress_init() 95 comp->last_recv = 255; in sl_compress_init() 96 comp->last_xmit = 255; in sl_compress_init() [all …]
|
/freebsd/lib/libc/locale/ |
H A D | mbrtocXX_iconv.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 12 * 2. Redistributions in binary form must reproduce the above copyright 61 _ConversionState *cs; in mbrtocXX_l() local 68 ps = &(XLOCALE_CTYPE(locale)->mbrtocXX); in mbrtocXX_l() 69 cs = (_ConversionState *)ps; in mbrtocXX_l() 70 handle = &cs->iconv; in mbrtocXX_l() 73 if (s == NULL || !cs->initialized) { in mbrtocXX_l() 76 cs->initialized = false; in mbrtocXX_l() 78 return (-1); in mbrtocXX_l() [all …]
|
H A D | cXXrtomb_iconv.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 12 * 2. Redistributions in binary form must reproduce the above copyright 57 _ConversionState *cs; in cXXrtomb_l() local 65 ps = &(XLOCALE_CTYPE(locale)->cXXrtomb); in cXXrtomb_l() 66 cs = (_ConversionState *)ps; in cXXrtomb_l() 67 handle = &cs->iconv; in cXXrtomb_l() 70 if (s == NULL || !cs->initialized) { in cXXrtomb_l() 73 cs->initialized = false; in cXXrtomb_l() 75 return (-1); in cXXrtomb_l() [all …]
|
/freebsd/sys/net/ |
H A D | slcompress.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 12 * 2. Redistributions in binary form must reproduce the above copyright 37 * - Initial distribution. 53 #define INCR(counter) ++comp->counter; 65 struct cstate *tstate = comp->tstate; in sl_compress_init() 67 if (max_state == -1) { in sl_compress_init() 68 max_state = MAX_STATES - 1; in sl_compress_init() 72 bzero((char *)comp->tstate, sizeof(comp->tstate)); in sl_compress_init() 73 bzero((char *)comp->rstate, sizeof(comp->rstate)); in sl_compress_init() [all …]
|
/freebsd/lib/msun/src/ |
H A D | s_sincosf.c | 1 /*- 12 /* s_sincosf.c -- float version of s_sincos.c. 26 /* Small multiples of pi/2 rounded to double precision. */ 29 p2pio2 = 2*M_PI_2, /* 0x400921FB, 0x54442D18 */ 34 sincosf(float x, float *sn, float *cs) in sincosf() argument 44 if (ix < 0x39800000) { /* |x| < 2**-12 */ in sincosf() 47 *cs = 1; in sincosf() 51 __kernel_sincosdf(x, sn, cs); in sincosf() 58 __kernel_sincosdf(x - p1pio2, cs, sn); in sincosf() 59 *cs = -*cs; in sincosf() [all …]
|
H A D | s_sincos.c | 1 /*- 24 sincos(double x, double *sn, double *cs) in sincos() argument 26 double y[2]; in sincos() 35 if (ix < 0x3e400000) { /* |x| < 2**-27 */ in sincos() 38 *cs = 1; in sincos() 42 __kernel_sincos(x, 0, 0, sn, cs); in sincos() 48 *sn = x - x; in sincos() 49 *cs = x - x; in sincos() 58 __kernel_sincos(y[0], y[1], 1, sn, cs); in sincos() 61 __kernel_sincos(y[0], y[1], 1, cs, sn); in sincos() [all …]
|
H A D | s_sincosl.c | 1 /*- 2 * Copyright (c) 2007, 2010-2013 Steven G. Kargl 11 * 2. Redistributions in binary form must reproduce the above copyright 47 sincosl(long double x, long double *sn, long double *cs) in sincosl() argument 51 long double y[2]; in sincosl() 61 * If x = +-0 or x is a subnormal number, then sin(x) = x and in sincosl() 66 *cs = 1; in sincosl() 68 __kernel_sincosl(x, 0, 0, sn, cs); in sincosl() 74 *sn = x - x; in sincosl() 75 *cs = x - x; in sincosl() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/spi/ |
H A D | spi-controller.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/spi/spi-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Mark Brown <broonie@kernel.org> 20 pattern: "^spi(@.*|-([0-9]|[1-9][0-9]+))?$" 22 "#address-cells": 25 "#size-cells": 28 cs-gpios: 32 increased automatically with max(cs-gpios, hardware chip selects). [all …]
|
/freebsd/tools/tools/nanobsd/ |
H A D | legacy.sh | 3 # Copyright (c) 2005 Poul-Henning Kamp All rights reserved. 12 # 2. Redistributions in binary form must reproduce the above copyright 31 [ -n "$NANO_SECTS" ] || NANO_SECTS=63 32 [ -n "$NANO_HEADS" ] || NANO_HEADS=16 44 cs = $3 * $4 47 cyl = int ($1 / cs) 51 dsl = int (($7 + cs - 1) / cs) 57 csl = int (($6 + cs - 1) / cs) 61 isl = int ((cyl - dsl - csl) / $2) 63 isl = int (($5 + cs - 1) / cs) [all …]
|
/freebsd/lib/libc/regex/ |
H A D | regex2.h | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 16 * 2. Redistributions in binary form must reproduce the above copyright 37 * First, the stuff that ends up in the outside-world include file 43 = struct re_guts *re_g; // none of your business :-) 64 * - OPLUS_ and O_PLUS are *inside* the loop they create. 65 * - OQUEST_ and O_QUEST are *outside* the bypass they create. 66 * - OCH_ and O_CH are *outside* the multi-way branch they create, while 84 #define OEND (1L<<OPSHIFT) /* endmarker - */ 85 #define OCHAR (2L<<OPSHIFT) /* character wide character */ [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/freescale/ |
H A D | fsl-ls1043a-rdb.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree Include file for Freescale Layerscape-1043A family SoC. 5 * Copyright 2014-2015 Freescale Semiconductor, Inc. 11 /dts-v1/; 12 #include "fsl-ls1043a.dtsi" 16 compatible = "fsl,ls1043a-rdb", "fsl,ls1043a"; 26 stdout-path = "serial0:115200n8"; 36 shunt-resistor = <1000>; 67 #address-cells = <2>; 68 #size-cells = <1>; [all …]
|
/freebsd/usr.sbin/jail/ |
H A D | command.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 12 * 2. Redistributions in binary form must reproduce the above copyright 65 int paralimit = -1; 93 error = cpuset_getid(CPU_LEVEL_ROOT, CPU_WHICH_PID, -1, &setid); in root_cpuset_id() 109 if (j->flags & JF_FROM_RUNQ) in next_command() 115 j->flags &= ~JF_FROM_RUNQ; in next_command() 116 create_failed = (j->flags & (JF_STOP | JF_FAILED)) == JF_FAILED; in next_command() 117 stopping = (j->flags & JF_STOP) != 0; in next_command() 118 comparam = *j->comparam; in next_command() [all …]
|
/freebsd/usr.bin/tr/ |
H A D | cset.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 12 * 2. Redistributions in binary form must reproduce the above copyright 47 * cset_alloc -- 53 struct cset *cs; in cset_alloc() local 55 if ((cs = malloc(sizeof(*cs))) == NULL) in cset_alloc() 57 cs->cs_root = NULL; in cset_alloc() 58 cs->cs_classes = NULL; in cset_alloc() 59 cs->cs_havecache = false; in cset_alloc() 60 cs->cs_invert = false; in cset_alloc() [all …]
|
/freebsd/usr.sbin/bluetooth/sdpd/ |
H A D | sar.c | 1 /*- 4 * SPDX-License-Identifier: BSD-2-Clause 14 * 2. Redistributions in binary form must reproduce the above copyright 52 * uint16 value16 - 3 bytes (attribute) 53 * value - N bytes (value) 61 profile_attr_create_p cf = profile_get_attr(provider->profil in server_prepare_attr_value_pair() 154 int32_t type, rsp_limit, aidlen, cslen, cs; server_prepare_service_attribute_response() local 256 uint8_t cs[3]; server_send_service_attribute_response() local [all...] |
/freebsd/sys/rpc/ |
H A D | clnt_dg.c | 3 /*- 4 * SPDX-License-Identifier: BSD-3-Clause 11 * - Redistributions of source code must retain the above copyright notice, 13 * - Redistributions in binary form must reproduce the above copyright notice, 16 * - Neither the name of Sun Microsystems, Inc. nor the names of its 33 * Copyright (c) 1986-1991 by Sun Microsystems Inc. 62 * Disable RPC exponential back-off for FreeBSD.org systems. 152 int cu_sent; /* number of in-flight RPCs */ 163 * NB: The rpch->cl_auth is initialized to null authentication. 184 struct cu_socket *cs = NULL; in clnt_dg_create() local [all …]
|
/freebsd/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_spi.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 13 * 2. Redistributions in binary form must reproduce the above copyright 58 {"broadcom,bcm2835-spi", 1}, 59 {"brcm,bcm2835-spi", 1}, 74 device_printf(dev, "CS=%b\n", reg, in bcm_spi_printr() 75 "\20\1CS0\2CS1\3CPHA\4CPOL\7CSPOL" in bcm_spi_printr() 80 if (reg % 2) in bcm_spi_printr() 81 reg--; in bcm_spi_printr() 105 mtx_assert(&sc->sc_mtx, MA_OWNED); in bcm_spi_modifyreg() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/bus/ |
H A D | imx-weim.txt | 5 wireless and mobile applications that use low-power technology. 11 - compatible: Should contain one of the following: 12 "fsl,imx1-weim" 13 "fsl,imx27-weim" 14 "fsl,imx51-weim" 15 "fsl,imx50-weim" 16 "fsl,imx6q-weim" 17 - reg: A resource specifier for the register space 19 - clocks: the clock, see the example below. 20 - #address-cells: Must be set to 2 to allow memory address translation [all …]
|
/freebsd/lib/libnetgraph/ |
H A D | msg.c | 4 * Copyright (c) 1996-1999 Whistle Communications, Inc. 13 * 2. No rights are granted, in any manner or form, to use Whistle 22 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. 55 static int NgDeliverMsg(int cs, const char *path, 59 * Send a message to a node using control socket node "cs". 60 * Returns -1 if error and sets errno appropriately. 64 NgSendMsg(int cs, const char *path, in NgSendMsg() argument 79 if (NgDeliverMsg(cs, path, &msg, args, arglen) < 0) in NgSendMsg() 80 return (-1); in NgSendMsg() 89 NgSendAsciiMsg(int cs, const char *path, const char *fmt, ...) in NgSendAsciiMsg() argument [all …]
|