Home
last modified time | relevance | path

Searched +full:src +full:- +full:2 (Results 1 – 25 of 1098) sorted by relevance

12345678910>>...44

/freebsd/contrib/arm-optimized-routines/string/arm/
H A Dmemcpy.S2 * memcpy - copy memory area
4 * Copyright (c) 2013-2022, Arm Limited.
5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
9 This memcpy routine is optimised for Cortex-A15 cores and takes advantage
14 ARMv6 (ARMv7-a if using Neon)
29 .arch armv7-a
59 #define src r1 macro
69 #define A_l r2 /* Call-clobbered. */
70 #define A_h r3 /* Call-clobbered. */
79 /* Number of lines ahead to pre-fetch data. If you change this the code
[all …]
/freebsd/contrib/cortex-strings/src/arm/
H A Dmemcpy.S33 This memcpy routine is optimised for Cortex-A15 cores and takes advantage
38 ARMv6 (ARMv7-a if using Neon)
51 .arch armv7-a
81 #define src r1 macro
91 #define A_l r2 /* Call-clobbered. */
92 #define A_h r3 /* Call-clobbered. */
101 /* Number of lines ahead to pre-fetch data. If you change this the code
109 vldr \vreg, [src, #\base]
111 vldr d0, [src, #\base + 8]
113 vldr d1, [src, #\base + 16]
[all …]
/freebsd/crypto/openssl/crypto/sha/asm/
H A Dkeccak1600-s390x.pl2 # Copyright 2017-2020 The OpenSSL Project Authors. All Rights Reserved.
16 # Keccak-1600 for s390x.
22 # instead of actually unrolling the loop pair-wise I simply flip
31 # faster than compiler-generated code.
48 my @A = map([ 8*$_, 8*($_+1), 8*($_+2), 8*($_+3), 8*($_+4) ], (0,5,10,15,20));
53 my ($src,$dst,$iotas) = map("%r$_",(2..4));
63 [ 18, 2, 61, 56, 14 ]);
75 lg @C[0],$A[4][0]($src)
76 lg @C[1],$A[4][1]($src)
77 lg @C[2],$A[4][2]($src)
[all …]
/freebsd/contrib/libfido2/fuzz/
H A Dsummary.txt2 ----------
[all...]
/freebsd/contrib/elftoolchain/libdwarf/
H A Dlibdwarf_rw.c1 /*-
11 * 2. Redistributions in binary form must reproduce the above copyright
30 ELFTC_VCSID("$Id: libdwarf_rw.c 3286 2015-12-31 16:45:46Z emaste $");
36 uint8_t *src; in _dwarf_read_lsb() local
38 src = data + *offsetp; in _dwarf_read_lsb()
43 ret |= ((uint64_t) src[4]) << 32 | ((uint64_t) src[5]) << 40; in _dwarf_read_lsb()
44 ret |= ((uint64_t) src[6]) << 48 | ((uint64_t) src[7]) << 56; in _dwarf_read_lsb()
47 ret |= ((uint64_t) src[2]) << 16 | ((uint64_t) src[3]) << 24; in _dwarf_read_lsb()
49 case 2: in _dwarf_read_lsb()
50 ret |= ((uint64_t) src[1]) << 8; in _dwarf_read_lsb()
[all …]
/freebsd/tools/tools/kerninclude/
H A Dkerninclude.sh2 # ----------------------------------------------------------------------------
3 # "THE BEER-WARE LICENSE" (Revision 42):
6 # this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
7 # ----------------------------------------------------------------------------
14 set -e
32 make clean > /dev/null 2>&1
33 make cleandir > /dev/null 2>&1
34 make cleandir > /dev/null 2>&1
35 make clean > /dev/null 2>&1
36 make clean > /dev/null 2>&1
[all …]
/freebsd/tools/boot/
H A Drootgen.sh10 # Builds all the bat-shit crazy combinations we support booting from,
18 # This assumes an external program install-boot.sh which will install
25 . $(dirname $0)/install-boot.sh
28 src=$1
29 dst=$2
32 (cd $src ; tar cf - .) | (cd $dst; tar xf -)
44 src=$1
45 img=$2
47 ufs_fstab ${src}
48 makefs -t ffs -B little -s 200m -o label=root ${img}.p2 ${src}
[all …]
/freebsd/contrib/ntp/ntpd/
H A Dntp_parser.c1 /* A Bison parser, made by GNU Bison 3.8.2. */
3 /* Bison implementation for Yacc-like parsers in C
5 Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation,
35 simplifying the original so-called "semantic" parser. */
52 #define YYBISON_VERSION "3.8.2"
145 YYEMPTY = -2,
366 #define YYEMPTY -
1262 YYCOPY(Dst,Src,Count) global() argument
1265 YYCOPY(Dst,Src,Count) global() argument
[all...]
/freebsd/contrib/wireguard-tools/
H A Dencoding.c1 // SPDX-License-Identifier: GPL-2.0 OR MIT
3 * Copyright (C) 2015-2020 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
5 * This is a specialized constant-time base64/hex implementation that resists side-channel attacks.
11 static inline void encode_base64(char dest[static 4], const uint8_t src[static 3]) in encode_base64()
13 …onst uint8_t input[] = { (src[0] >> 2) & 63, ((src[0] << 4) | (src[1] >> 4)) & 63, ((src[1] << 2) … in encode_base64()
17 + (((25 - input[i]) >> 8) & 6) in encode_base64()
18 - (((51 - input[i]) >> 8) & 75) in encode_base64()
19 - (((61 - input[i]) >> 8) & 15) in encode_base64()
20 + (((62 - input[i]) >> 8) & 3); in encode_base64()
31 base64[WG_KEY_LEN_BASE64 - 2] = '='; in key_to_base64()
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/private/
H A Dcommon.h8 #define COMPILER_ASSERT(X) (void) sizeof(char[(X) ? 1 : -1])
22 return (x << b) | (x >> (32 - b)); in rotl32()
29 return (x << b) | (x >> (64 - b)); in rotl64()
36 return (x >> b) | (x << (32 - b)); in rotr32()
43 return (x >> b) | (x << (64 - b)); in rotr64()
46 #define LOAD64_LE(SRC) load64_le(SRC) argument
48 load64_le(const uint8_t src[8]) in load64_le()
52 memcpy(&w, src, sizeof w); in load64_le()
55 uint64_t w = (uint64_t) src[0]; in load64_le()
56 w |= (uint64_t) src[1] << 8; in load64_le()
[all …]
/freebsd/contrib/unbound/sldns/
H A Dparseutil.c2 * parseutil.c - parse utilities for string and wire conversion
4 * (c) NLnet Labs, 2004-2006
24 while (table->name != NULL) { in sldns_lookup_by_name()
25 if (strcasecmp(name, table->name) == 0) in sldns_lookup_by_name()
35 while (table->name != NULL) { in sldns_lookup_by_id()
36 if (table->id == id) in sldns_lookup_by_id()
49 #define LDNS_DIV(x,y) (((x) % (y) < 0) ? ((x) / (y) - 1 ) : ((x) / (y)))
61 --y1; in leap_days()
62 --y2; in leap_days()
63 return (LDNS_DIV(y2, 4) - LDNS_DIV(y1, 4)) - in leap_days()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86InstComments.cpp1 //===-- X86InstComments.cpp - Generate verbose-asm comments for instrs ----===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 // an output stream for -fverbose-asm.
12 //===----------------------------------------------------------------------===//
25 #define CASE_SSE_INS_COMMON(Inst, src) \ argument
26 case X86::Inst##src:
28 #define CASE_AVX_INS_COMMON(Inst, Suffix, src) \ argument
29 case X86::V##Inst##Suffix##src:
31 #define CASE_MASK_INS_COMMON(Inst, Suffix, src) \ argument
[all …]
/freebsd/share/ctypedef/
H A DMakefile7 .SUFFIXES: .src .LC_CTYPE
8 MAPLOC= ${.CURDIR}/../../tools/tools/locale/etc/final-maps
11 .include <src.opts.mk>
13 .src.LC_CTYPE:
14 localedef ${LOCALEDEF_ENDIAN} -D -U -c -w ${MAPLOC}/widths.txt \
15 -f ${MAPLOC}/map.${.IMPSRC:T:R:E} \
16 -i ${.IMPSRC} ${.OBJDIR}/${.IMPSRC:T:R}
18 LOCALES+= C.UTF-8
21 LOCALES+= ca_IT.ISO8859-1
22 LOCALES+= ca_IT.ISO8859-15
[all …]
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dlzjb.c8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or https://opensource.org/licenses/CDDL-1.0.
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
30 * 2. Our version of lzjb does not have a number of checks that the
44 #define MATCH_MAX ((1 << MATCH_BITS) + (MATCH_MIN - 1))
45 #define OFFSET_MASK ((1 << (16 - MATCH_BITS)) - 1)
53 uchar_t *src = s_start; in zfs_lzjb_compress_buf() local
57 int copymask = 1 << (NBBY - 1); in zfs_lzjb_compress_buf()
63 while (src < (uchar_t *)s_start + s_len) { in zfs_lzjb_compress_buf()
65 if (dst >= (uchar_t *)d_start + d_len - 1 - 2 * NBBY) { in zfs_lzjb_compress_buf()
[all …]
/freebsd/sys/contrib/zstd/lib/legacy/
H A Dzstd_legacy.h5 * This source code is licensed under both the BSD-style license (found in the
8 * You may select, at your option, one of the above-listed licenses.
33 #if (ZSTD_LEGACY_SUPPORT <= 2)
56 MEM_STATIC unsigned ZSTD_isLegacy(const void* src, size_t srcSize) in ZSTD_isLegacy() argument
60 magicNumberLE = MEM_readLE32(src); in ZSTD_isLegacy()
66 #if (ZSTD_LEGACY_SUPPORT <= 2) in ZSTD_isLegacy()
67 case ZSTDv02_magicNumber : return 2; in ZSTD_isLegacy()
89 MEM_STATIC unsigned long long ZSTD_getDecompressedSize_legacy(const void* src, size_t srcSize) in ZSTD_getDecompressedSize_legacy() argument
91 U32 const version = ZSTD_isLegacy(src, srcSize); in ZSTD_getDecompressedSize_legacy()
96 size_t const frResult = ZSTDv05_getFrameParams(&fParams, src, srcSize); in ZSTD_getDecompressedSize_legacy()
[all …]
/freebsd/sys/dev/isp/
H A Disp_library.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2009-2020 Alexander Motin <mav@FreeBSD.org>
5 * Copyright (c) 1997-2009 by Matthew Jacob
14 * 2. Redistributions in binary form must reproduce the above copyright
58 …* Command shipping- finish off first queue entry and do dma mapping and additional segments as nee…
74 nxt = ISP_NXT_QENTRY(isp->isp_reqidx, RQUEST_QUEUE_LEN(isp)); in isp_send_cmd()
75 type = ((isphdr_t *)fqe)->rqs_entry_type; in isp_send_cmd()
89 dsp64 = &((ispreqt7_t *)fqe)->req_dataseg; in isp_send_cmd()
94 dsp64 = &((ct7_entry_t *)fqe)->rsp.m0.ds; in isp_send_cmd()
[all …]
/freebsd/usr.bin/whereis/
H A Dpathnames.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
11 * 2. Redistributions in binary form must reproduce the above copyright
33 "/usr/src/bin:/usr/src/usr.bin:/usr/src/sbin:" \
34 "/usr/src/usr.sbin:/usr/src/libexec:" \
35 "/usr/src/gnu/bin:/usr/src/gnu/usr.bin:" \
36 "/usr/src/gnu/sbin:/usr/src/gnu/usr.sbin:" \
37 "/usr/src/contrib:" \
38 "/usr/src/secure/bin:/usr/src/secure/usr.bin:" \
39 "/usr/src/secure/sbin:/usr/src/secure/usr.sbin:" \
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstrInfo.td1 //===-- AMDGPUInstrInfo.td - AMDGPU DAG nodes --------------*- tablegen -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
13 //===----------------------------------------------------------------------===//
15 //===----------------------------------------------------------------------===//
18 SDTCisSameAs<0, 1>, SDTCisSameAs<0, 2>, SDTCisInt<0>, SDTCisInt<3>
21 def AMDGPUFPClassOp : SDTypeProfile<1, 2,
22 [SDTCisInt<0>, SDTCisFP<1>, SDTCisInt<2>]
25 def AMDGPUFPPackOp : SDTypeProfile<1, 2,
[all …]
/freebsd/contrib/wpa/src/utils/
H A Dbase64.c3 * Copyright (c) 2005-2019, Jouni Malinen <j@w1.fi>
19 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_";
26 static char * base64_gen_encode(const unsigned char *src, size_t len, in base64_gen_encode() argument
36 olen = len * 4 / 3 + 4; /* 3-byte blocks to 4-byte */ in base64_gen_encode()
46 end = src + len; in base64_gen_encode()
47 in = src; in base64_gen_encode()
50 while (end - in >= 3) { in base64_gen_encode()
51 *pos++ = table[(in[0] >> 2) & 0x3f]; in base64_gen_encode()
53 *pos++ = table[(((in[1] & 0x0f) << 2) | (in[2] >> 6)) & 0x3f]; in base64_gen_encode()
54 *pos++ = table[in[2] & 0x3f]; in base64_gen_encode()
[all …]
/freebsd/contrib/bmake/unit-tests/
H A Ddeptgt-suffixes.exp2 # ".custom-null" (num 1, ref 1) (SUFF_NULL)
6 # ".src-left" (num 2, ref 2)
7 # To: .tgt-right
10 # ".tgt-right" (num 3, ref 2)
12 # From: .src-left
14 # ".tgt-left" (num 4, ref 2)
16 # From: .src-right
18 # ".src-right" (num 5, ref 2)
19 # To: .tgt-left
23 .src-left.tgt-right:
[all …]
/freebsd/sys/contrib/device-tree/src/arm/st/
H A Dste-nomadik-stn8815.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree for the ST-Ericsson Nomadik 8815 STn8815 SoC
6 #include <dt-bindings/gpio/gpio.h>
9 #address-cells = <1>;
10 #size-cells = <1>;
18 L2: cache-controller {
19 compatible = "arm,l210-cache";
21 interrupt-paren
190 src: src@101e0000 { global() label
[all...]
/freebsd/contrib/elftoolchain/libelf/
H A Dlibelf_convert.m41 /*-
2 * Copyright (c) 2006-2011 Joseph Koshy
10 * 2. Redistributions in binary form must reproduce the above copyright
33 ELFTC_VCSID("$Id: libelf_convert.m4 3712 2019-03-16 22:23:34Z jkoshy $");
37 divert(-1)
39 # Generate conversion routines for converting between in-memory and
53 # 2. Whether the type has word size dependent variants. For example,
56 # can be 32- or 64- bit wide.
69 # `In-memory' representations of an Elf data structure use natural
73 # tighter than its `in-memory' representation, and could be of a
[all …]
/freebsd/sys/contrib/openzfs/module/icp/include/aes/
H A Daes_impl.h8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or https://opensource.org/licenses/CDDL-1.0.
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
43 ((((uintptr_t)(v) | (uintptr_t)(w)) & ((uintptr_t)(a) - 1)) == 0)
46 /* Round constant length, in number of 32-bit elements: */
47 #define RC_LENGTH (5 * ((AES_BLOCK_LEN) / 4 - 2))
49 #define AES_COPY_BLOCK(src, dst) \ argument
50 (dst)[0] = (src)[0]; \
51 (dst)[1] = (src)[1]; \
52 (dst)[2] = (src)[2]; \
[all …]
/freebsd/tools/tools/locale/tools/
H A Dfinalize3 # SPDX-License-Identifier: BSD-2-Clause
12 # 2. Redistributions in binary form must reproduce the above copyright
35 set -e
44 [ $# -ne 1 ] && usage
45 [ $1 = "monetdef" -o $1 = "msgdef" -o $1 = "colldef" -o \
46 $1 = "numericdef" -o $1 = "timedef" -o $1 = "ctypedef" ] || usage
49 base=${BASEDIR:-$(dirname ${self})}
62 FULLMAP=${TMPDIR}/utf8-map
63 FULLEXTRACT=${TMPDIR}/extracted-names
73 mkdir -p $old $new
[all …]
/freebsd/contrib/ldns/
H A Dutil.c8 * (c) NLnet Labs, 2004-2006
32 while (table->name != NULL) { in ldns_lookup_by_name()
33 if (strcasecmp(name, table->name) == 0) in ldns_lookup_by_name()
43 while (table->name != NULL) { in ldns_lookup_by_id()
44 if (table->id == id) in ldns_lookup_by_id()
58 return (int) (bits[index / 8] & (1 << (7 - index % 8))); in ldns_get_bit()
93 case '2': return 2; in ldns_hexdigit_to_int()
108 return -1; in ldns_hexdigit_to_int()
118 case 2: return '2'; in ldns_int_to_hexdigit()
143 return -1; in ldns_hexstring_to_data()
[all …]

12345678910>>...44