/freebsd/lib/libiconv_modules/ISO2022/ |
H A D | citrus_iso2022.c | 3 /*- 4 * SPDX-License-Identifier: BSD-2-Clause 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) 78 #define CS96MULTI (3U) 92 /* need 3 bits to hold -1, 0, ..., 3 */ 93 int gl:3, 94 gr:3, 95 singlegl:3, [all …]
|
/freebsd/sys/net/ |
H A D | slcompress.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 15 * 3. Neither the name of the University nor the names of its contributors 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/usr.sbin/ppp/ |
H A D | slcompress.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 15 * 3. Neither the name of the University nor the names of its contributors 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/msun/src/ |
H A D | s_sincosf.c | 1 /*- 12 /* s_sincosf.c -- float version of s_sincos.c. 30 p3pio2 = 3*M_PI_2, /* 0x4012D97C, 0x7F3321D2 */ 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() 56 if (ix <= 0x4016cbe3) { /* |x| ~<= 3pi/4 */ in sincosf() 58 __kernel_sincosdf(x - p1pio2, cs, sn); in sincosf() 59 *cs = -*cs; in sincosf() [all …]
|
/freebsd/lib/libc/regex/ |
H A D | regex2.h | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 19 * 3. Neither the name of the University nor the names of its contributors 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 - */ 86 #define OBOL (3L<<OPSHIFT) /* left anchor - */ [all …]
|
H A D | regcomp.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 24 * 3. Neither the name of the University nor the names of its contributors 62 * Branching context, used to keep track of branch state for all of the branch- 66 * also for whether we're in a sub-expression or not. 85 const char *end; /* end of string (-> NUL normally) */ 93 # define NPAREN 10 /* we need to remember () 1-9 for back refs */ 94 sopno pbegin[NPAREN]; /* -> ( ([0] unused) */ 95 sopno pend[NPAREN]; /* -> ) ([0] unused) */ 98 int pflags; /* other parsing flags -- legacy escapes? */ [all …]
|
/freebsd/usr.sbin/bluetooth/sdpd/ |
H A D | sar.c | 1 /*- 4 * SPDX-License-Identifier: BSD-2-Clause 52 * uint16 value16 - 3 bytes (attribute) 53 * value - N bytes (value) 61 profile_attr_create_p cf = profile_get_attr(provider->profile, attr); in server_prepare_attr_value_pair() 67 if (buf + 3 > eo 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...] |
H A D | ssr.c | 1 /*- 4 * SPDX-License-Identifier: BSD-2-Clause 47 #include "uuid-private.h" 56 uint8_t const *req = srv->req + sizeof(sdp_pdu_t); in server_prepare_service_search_response() 57 uint8_t const *req_end = req + ((sdp_pdu_p)(srv->req))->len; in server_prepare_service_search_response() 58 uint8_t *rsp = srv->fdid in server_prepare_service_search_response() 62 int32_t type, ssplen, rsp_limit, rcount, cslen, cs; server_prepare_service_search_response() local 223 uint8_t cs[3]; server_send_service_search_response() local [all...] |
/freebsd/tools/tools/nanobsd/ |
H A D | legacy.sh | 3 # Copyright (c) 2005 Poul-Henning Kamp All rights reserved. 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) 67 print $3, isl * cs - $3, 1 [all …]
|
/freebsd/usr.bin/vgrind/ |
H A D | regexp.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 16 * 3. Neither the name of the University nor the names of its contributors 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/usr.sbin/jail/ |
H A D | command.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 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() 120 if (j->comstring == NULL) { in next_command() [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/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. 35 /*- 52 * 3. Neither the name of the University nor the names of its contributors 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), 118 * three components of 5, 3, and 7 DEV_BSIZE blocks interleaved at [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/gpio/ |
H A D | spear_spics.txt | 1 === ST Microelectronics SPEAr SPI CS Driver === 17 * compatible: should be defined as "st,spear-spics-gpio" 19 * st-spics,peripcfg-reg: peripheral configuration register offset 20 * st-spics,sw-enable-bit: bit offset to enable sw control 21 * st-spics,cs-value-bit: bit offset to drive chipselect low or high 22 * st-spics,cs-enable-mask: chip select number bit mask 23 * st-spics,cs-enable-shift: chip select number program offset 24 * gpio-controller: Marks the device node as gpio controller 25 * #gpio-cells: should be 1 and will mention chip select number 30 ------- [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/contrib/sendmail/cf/cf/ |
H A D | ucbvax.mc | 1 divert(-1) 25 VERSIONID(`$Id: ucbvax.mc,v 8.15 2013-11-22 20:51:08 ca Exp $') 26 OSTYPE(bsd4.3) 27 DOMAIN(CS.Berkeley.EDU) 28 MASQUERADE_AS(CS.Berkeley.EDU) 38 CF CS 55 UUCPSMTP(lbl-csam, lbl-csam.arpa) 56 UUCPSMTP(pur-ee, ecn.purdue.edu) 65 UUCPSMTP(ucla-cs, cs.ucla.edu) 66 UUCPSMTP(ucla-se, seas.ucla.edu) [all …]
|
/freebsd/tests/sys/netgraph/ |
H A D | util.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 16 * 3. Neither the name of the copyright holder nor the names of its 34 #include <atf-c.h> 45 static int cs = -1, ds = -1; variable 80 CHECK(, -1 != NgSendMsg(cs, path1, in _ng_connect() 96 CHECK(, -1 != NgSendMsg(cs, path1, in _ng_mkpeer() 109 CHECK(, -1 != NgSendMsg(cs, path, in _ng_rmhook() 122 CHECK(, -1 != NgSendMsg(cs, path, in _ng_name() 131 CHECK(, -1 != NgSendMsg(cs, path, in _ng_shutdown() [all …]
|
/freebsd/lib/libiconv_modules/EUC/ |
H A D | citrus_euc.c | 3 /*- 29 /*- 30 * SPDX-License-Identifier: BSD-3-Clause 46 * 3. Neither the name of the University nor the names of its contributors 82 /* ---------------------------------------------------------------------- 88 char ch[3]; 101 #define _CEI_TO_EI(_cei_) (&(_cei_)->ei) 102 #define _CEI_TO_STATE(_cei_, _func_) (_cei_)->states.s_##_func_ 107 #define _ENCODING_MB_CUR_MAX(_ei_) (_ei_)->mb_cur_max 118 return ((c & 0x80) ? c == _SS3 ? 3 : c == _SS2 ? 2 : 1 : 0); in _citrus_EUC_cs() [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/contrib/netbsd-tests/lib/libc/gen/ |
H A D | t_cpuset.c | 3 /*- 34 #include <atf-c.h> 45 #define cpuset_destroy(cs) free(cs) argument 48 cpuset_set(size_t i, cpuset_t *cs) in cpuset_set() argument 52 return (-1); in cpuset_set() 53 CPU_SET(i, cs); in cpuset_set() 58 cpuset_clr(size_t i, cpuset_t *cs) in cpuset_clr() argument 62 return (-1); in cpuset_clr() 63 CPU_CLR(i, cs); in cpuset_clr() 68 cpuset_isset(size_t i, cpuset_t *cs) in cpuset_isset() argument [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/exynos/google/ |
H A D | gs101-pinctrl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * GS101 SoC pin-mux and pin-config device tree source 5 * Copyright 2019-2023 Google LLC 6 * Copyright 2023 Linaro Ltd - <peter.griffin@linaro.org> 9 #include "gs101-pinctrl.h" 12 gpa0: gpa0-gpio-bank { 13 gpio-controller; 14 #gpio-cells = <2>; 15 interrupt-controller; 16 #interrupt-cells = <2>; [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/contrib/nvi/regex/ |
H A D | regex2.h | 3 /*- 19 * 3. Neither the name of the University nor the names of its contributors 35 * @(#)regex2.h 8.3 (Berkeley) 3/16/94 39 * First, the stuff that ends up in the outside-world include file 45 = struct re_guts *re_g; // none of your business :-) 66 * - OPLUS_ and O_PLUS are *inside* the loop they create. 67 * - OQUEST_ and O_QUEST are *outside* the bypass they create. 68 * - OCH_ and O_CH are *outside* the multi-way branch they create, while 80 #define OEND (1) /* endmarker - */ 82 #define OBOL (3) /* left anchor - */ [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | regex2.h | 1 /*- 19 * 3. Neither the name of the University nor the names of its contributors 35 * @(#)regex2.h 8.4 (Berkeley) 3/20/94 58 * - OPLUS_ and O_PLUS are *inside* the loop they create. 59 * - OQUEST_ and O_QUEST are *outside* the bypass they create. 60 * - OCH_ and O_CH are *outside* the multi-way branch they create, while 78 #define OEND (1LU<<OPSHIFT) /* endmarker - */ 80 #define OBOL (3LU<<OPSHIFT) /* left anchor - */ 81 #define OEOL (4LU<<OPSHIFT) /* right anchor - */ 82 #define OANY (5LU<<OPSHIFT) /* . - */ [all …]
|
/freebsd/lib/libnetgraph/ |
H A D | netgraph.3 | 1 .\" Copyright (c) 1996-1999 Whistle Communications, Inc. 19 .\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. 34 .\" $Whistle: netgraph.3,v 1.7 1999/01/25 07:14:06 archie Exp $ 62 .Fn NgNameNode "int cs" "const char *path" "const char *fmt" ... 65 .Fa "int cs" "const char *path" "int cookie" "int cmd" "const void *arg" 69 .Fn NgSendAsciiMsg "int cs" "const char *path" "const char *fmt" ... 72 .Fa "int cs" "const char *path" "struct ng_mesg *msg" "const void *arg" 76 .Fn NgRecvMsg "int cs" "struct ng_mesg *rep" "size_t replen" "char *path" 78 .Fn NgAllocRecvMsg "int cs" "struct ng_mesg **rep" "char *path" 80 .Fn NgRecvAsciiMsg "int cs" "struct ng_mesg *rep" "size_t replen" "char *path" [all …]
|