Home
last modified time | relevance | path

Searched +full:cs +full:- +full:1 (Results 1 – 25 of 1107) sorted by relevance

12345678910>>...45

/freebsd/contrib/nvi/vi/
H A Dv_word.c1 /*-
25 * There are two types of "words". Bigwords are easy -- groups of anything
34 * same as "eeee" -- in particular, single character words, and commands that
36 * you have to resolve the cursor after each search so that the look-ahead to
39 * Empty lines, and lines that consist of only white-space characters count
50 * One historic note -- in the original vi, the 'w', 'W' and 'B' commands
56 * command, go absolutely nuts. If the lines contained only white-space
60 * implementation treats all of these cases as a single white-space word.
70 * v_wordW -- [count]W
82 * v_wordw -- [count]w
[all …]
H A Dv_sentence.c1 /*-
36 * white-space characters.
39 * treats lines containing only white-space characters as empty lines.
45 * v_sentencef -- [count])
54 VCS cs; in v_sentencef() local
58 cs.cs_lno = vp->m_start.lno; in v_sentencef()
59 cs.cs_cno = vp->m_start.cno; in v_sentencef()
60 if (cs_init(sp, &cs)) in v_sentencef()
61 return (1); in v_sentencef()
63 cnt = F_ISSET(vp, VC_C1SET) ? vp->count : 1; in v_sentencef()
[all …]
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzfs_chksum.c9 * 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:
61 * implementation 1k 4k 16k 64k 256k 1m 4m 16m
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
[all …]
/freebsd/usr.bin/vgrind/
H A Dregexp.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
11 * 1. Redistributions of source code must retain 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/contrib/tcpdump/
H A Dcpack.c1 /*-
7 * 1. Redistributions of source code must retain the above copyright
34 #include "netdissect-stdinc.h"
44 size_t misalignment = (size_t)(p - buf) % alignment; in nd_cpack_next_boundary()
49 return p + (alignment - misalignment); in nd_cpack_next_boundary()
57 nd_cpack_align_and_reserve(struct cpack_state *cs, size_t wordsize) in nd_cpack_align_and_reserve() argument
62 next = nd_cpack_next_boundary(cs->c_buf, cs->c_next, wordsize); in nd_cpack_align_and_reserve()
65 if (next - cs->c_buf + wordsize > cs->c_len) in nd_cpack_align_and_reserve()
73 nd_cpack_advance(struct cpack_state *cs, const size_t toskip) in nd_cpack_advance() argument
76 if (cs->c_next - cs->c_buf + toskip > cs->c_len) in nd_cpack_advance()
[all …]
/freebsd/sys/cam/ctl/
H A Dctl_frontend_iscsi.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
12 * 1. Redistributions of source code must retain the above copyright
90 static int debug = 1;
92 &debug, 1, "Enable debug messages");
95 &ping_timeout, 5, "Interval between ping (NOP-Out) requests, in seconds");
105 if (debug > 1) { \
121 if (debug > 1) { \
123 __func__, S->cs_initiator_addr, \
124 S->cs_initiator_name, ## __VA_ARGS__); \
[all …]
/freebsd/sys/contrib/device-tree/Bindings/memory-controllers/
H A Dti-aemif.txt4 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 Dst,stm32-fmc2-ebi-props.yaml1 # 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:
17 0: Asynchronous mode 1 SRAM/FRAM.
18 1: Asynchronous mode 1 PSRAM.
33 st,fmc2-ebi-cs-cclk-enable:
[all …]
/freebsd/lib/libc/locale/
H A DmbrtocXX_iconv.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
10 * 1. Redistributions of source code must retain 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 …]
/freebsd/lib/libiconv_modules/ISO2022/
H A Dcitrus_iso2022.c3 /*-
4 * SPDX-License-Identifier: BSD-2-Clause
12 * 1. Redistributions of source code must retain the above copyright
52 /* ----------------------------------------------------------------------
60 * iso-8859-1 (ESC , A) 00000000 00000000 00000000 1xxxxxxx
62 * 94 charset (ESC ( M F) 0fffffff 1mmmmmmm 00000000 0xxxxxxx
63 * 96 charset (ESC , F) 0fffffff 00000000 00000000 1xxxxxxx
64 * 96 charset (ESC , M F) 0fffffff 1mmmmmmm 00000000 1xxxxxxx
66 * 96x96 charset (ESC $ , F) 0fffffff 00000000 0xxxxxxx 1xxxxxxx
68 * 0fffffff 1vvvvvvv 0xxxxxxx 0xxxxxxx
[all …]
/freebsd/usr.bin/tr/
H A Dcset.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
10 * 1. Redistributions of source code must retain 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/sys/geom/
H A Dgeom_ccd.c1 /*-
2 * SPDX-License-Identifier: (BSD-2-Clause AND BSD-3-Clause)
4 * Copyright (c) 2003 Poul-Henning Kamp.
14 * 1. Redistributions of source code must retain the above copyright
35 /*-
47 * 1. Redistributions of source code must retain 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/sys/rpc/
H A Dclnt_dg.c3 /*-
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.
64 #define RPC_MAX_BACKOFF 1 /* second */
152 int cu_sent; /* number of in-flight RPCs */
163 * NB: The rpch->cl_auth is initialized to null authentication.
[all …]
/freebsd/sys/net/
H A Dslcompress.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
10 * 1. Redistributions of source code must retain 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/usr.sbin/ppp/
H A Dslcompress.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
10 * 1. Redistributions of source code must retain 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/msun/src/
H A Ds_sincosf.c1 /*-
12 /* s_sincosf.c -- float version of s_sincos.c.
28 p1pio2 = 1*M_PI_2, /* 0x3FF921FB, 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()
61 __kernel_sincosdf(x + p1pio2, cs, sn); in sincosf()
[all …]
H A Ds_sincos.c1 /*-
24 sincos(double x, double *sn, double *cs) in sincos() argument
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()
60 case 1: in sincos()
61 __kernel_sincos(y[0], y[1], 1, cs, sn); in sincos()
[all …]
H A Ds_sincosl.c1 /*-
2 * Copyright (c) 2007, 2010-2013 Steven G. Kargl
8 * 1. Redistributions of source code must retain the above copyright
47 sincosl(long double x, long double *sn, long double *cs) in sincosl() argument
61 * If x = +-0 or x is a subnormal number, then sin(x) = x and in sincosl()
62 * cos(x) = 1. 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 Dspi-controller.yaml1 # 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":
23 enum: [0, 1]
25 "#size-cells":
28 cs-gpios:
[all …]
/freebsd/lib/libnetgraph/
H A Dmsg.c4 * Copyright (c) 1996-1999 Whistle Communications, Inc.
11 * 1. Any and all reproductions of the source or object code must include the
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
73 msg.header.token = atomic_fetch_add(&gMsgId, 1) & INT_MAX; in NgSendMsg()
79 if (NgDeliverMsg(cs, path, &msg, args, arglen) < 0) in NgSendMsg()
80 return (-1); in NgSendMsg()
[all …]
/freebsd/usr.sbin/jail/
H A Dcommand.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
10 * 1. Redistributions of source code must retain the above copyright
65 int paralimit = -1;
81 static struct cfstring dummystring = { .len = 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()
113 return 1; 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()
[all …]
/freebsd/lib/libc/regex/
H A Dregex2.h1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
14 * 1. Redistributions of source code must retain 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 - */
86 #define OBOL (3L<<OPSHIFT) /* left anchor - */
[all …]
H A Dregcomp.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
19 * 1. Redistributions of source code must retain the above copyright
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/contrib/nvi/regex/
H A Dregcomp.c3 /*-
14 * 1. Redistributions of source code must retain the above copyright
62 RCHAR_T *end; /* end of string (-> NUL normally) */
70 # define NPAREN 10 /* we need to remember () 1-9 for back refs */
71 sopno pbegin[NPAREN]; /* -> ( ([0] unused) */
72 sopno pend[NPAREN]; /* -> ) ([0] unused) */
88 static void p_b_term(struct parse *p, cset *cs);
89 static void p_b_cclass(struct parse *p, cset *cs);
90 static void p_b_eclass(struct parse *p, cset *cs);
100 static void freeset(struct parse *p, cset *cs);
[all …]
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DOpDescriptor.cpp1 //===-- OpDescriptor.cpp --------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
16 static cl::opt<bool> UseUndef("use-undef",
20 void fuzzerop::makeConstantsWithType(Type *T, std::vector<Constant *> &Cs) { in makeConstantsWithType() argument
22 uint64_t W = IntTy->getBitWidth(); in makeConstantsWithType()
23 Cs.push_back(ConstantInt::get(IntTy, 0)); in makeConstantsWithType()
24 Cs.push_back(ConstantInt::get(IntTy, 1)); in makeConstantsWithType()
25 Cs.push_back(ConstantInt::get(IntTy, 42)); in makeConstantsWithType()
26 Cs.push_back(ConstantInt::get(IntTy, APInt::getMaxValue(W))); in makeConstantsWithType()
[all …]

12345678910>>...45