/freebsd/crypto/openssl/crypto/sha/asm/ |
H A D | keccak1600-s390x.pl | 21 # sha/keccak1600.c) with C[5] and D[5] held in register bank. Though 48 my @A = map([ 8*$_, 8*($_+1), 8*($_+2), 8*($_+3), 8*($_+4) ], (0,5,10,15,20)); 50 my @C = map("%r$_",(0,1,5..7)); 59 my @rhotates = ([ 0, 1, 62, 28, 27 ], 65 { my @C = @C; # copy, because we mess them up... 75 lg @C[0],$A[4][0]($src) 76 lg @C[1],$A[4][1]($src) 77 lg @C[2],$A[4][2]($src) 78 lg @C[3],$A[4][3]($src) 79 lg @C[4],$A[4][4]($src) [all …]
|
H A D | keccak1600-x86_64.pl | 21 # sha/keccak1600.c) with C[5] and D[5] held in register bank. Though 58 $win64=0; $win64=1 if ($flavour =~ /[nm]asm|mingw64/ || $output =~ /\.asm$/); 60 $0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1; 69 my @A = map([ 8*$_-100, 8*($_+1)-100, 8*($_+2)-100, 72 my @C = ("%rax","%rbx","%rcx","%rdx","%rbp"); 77 my @rhotates = ([ 0, 1, 62, 28, 27 ], 90 mov $A[4][0](%rdi),@C[0] 91 mov $A[4][1](%rdi),@C[1] 92 mov $A[4][2](%rdi),@C[2] 93 mov $A[4][3](%rdi),@C[3] [all …]
|
H A D | keccak1600-armv4.pl | 20 # Non-NEON code is KECCAK_1X variant (see sha/keccak1600.c) with bit 30 # Switch to KECCAK_2X variant for non-NEON code and merge almost 1/2 39 # e.g. 'eor a,b>>>x,c>>>y'. This conundrum is resolved by using 40 # 'eor a,b,c>>>(x-y)' and then merge-rotating 'a' in next operation 44 # is the keyword, i.e. "almost 1/2" is kind of complexity cap [for the 79 $0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1; 90 my @C = map("r$_",(0..9)); 111 my @A = map([ 8*$_, 8*($_+1), 8*($_+2), 8*($_+3), 8*($_+4) ], (0,5,10,15,20)); 113 my @T = map([ 8*$_, 8*($_+1), 8*($_+2), 8*($_+3), 8*($_+4) ], (30,35,40,45,50)); 159 add @C[9],sp,#$A[4][2] [all …]
|
H A D | keccak1600-armv8.pl | 39 # hash] as long as vector instructions issue rate is limited to 1 per 67 $0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1; 76 my @rhotates = ([ 0, 1, 62, 28, 27 ], 119 my @A = map([ "x$_", "x".($_+1), "x".($_+2), "x".($_+3), "x".($_+4) ], 123 my @C = map("x$_", (26,27,28,30)); 130 adr $C[2],iotas 131 stp $C[2],x30,[sp,#16] // 32 bytes on top are mine 136 eor $C[0],$A[0][0],$A[1][0] 137 stp $A[0][4],$A[1][4],[sp,#0] // offload pair... 138 eor $C[1],$A[0][1],$A[1][1] [all …]
|
H A D | keccak1600-c64x.pl | 20 # This is straightforward KECCAK_1X_ALT variant (see sha/keccak1600.c) 30 my @A = map([ $_, ($_+1), ($_+2), ($_+3), ($_+4) ], (5,10,16,21,26)); 31 $A[1][4] = 31; # B14 is reserved, A14 is used as iota[] 32 ($A[3][0],$A[4][1]) = ($A[4][1],$A[3][0]); 33 my @C = (0..4,$A[3][0],$A[4][0]); 36 my @rhotates = ([ 0, 1, 62, 28, 27 ], 45 if ($rot&1) { 47 $p ROTL B$src,$rot/2+1,A$dst 63 # +1--->+------+------+<- -9 below 4 slots are used by KeccakF1600_int 79 # +9--->+------+------+<- -1 [all …]
|
H A D | keccak1600-mmx.pl | 20 # Below code is KECCAK_2X implementation (see sha/keccak1600.c) with 21 # C[5] held in register bank and D[5] offloaded to memory. Though 64 $0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1; 72 my @C = map("mm$_",(0..4)); 74 my @A = map([ 8*$_-100, 8*($_+1)-100, 8*($_+2)-100, 77 my @rhotates = ([ 0, 1, 62, 28, 27 ], 86 &movq (@C[0],&QWP($A[4][0],"esi")); 87 &movq (@C[1],&QWP($A[4][1],"esi")); 88 &movq (@C[2],&QWP($A[4][2],"esi")); 89 &movq (@C[3],&QWP($A[4][3],"esi")); [all …]
|
H A D | keccak1600-ppc64.pl | 54 $0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1; 68 my @A = map([ "r$_", "r".($_+1), "r".($_+2), "r".($_+3), "r".($_+4) ], 70 $A[1][1] = "r6"; # r13 is reserved 72 my @C = map("r$_", (0,3,4,5)); 74 my @rhotates = ([ 0, 1, 62, 28, 27 ], 91 xor $C[0],$A[0][0],$A[1][0] ; Theta 93 xor $C[1],$A[0][1],$A[1][1] 94 std $A[1][4],`$TEMP+8`($sp) 95 xor $C[2],$A[0][2],$A[1][2] 97 xor $C[3],$A[0][3],$A[1][3] [all …]
|
/freebsd/contrib/one-true-awk/testdir/ |
H A D | T.int-expr | 9 $1 == "pat" { pattern = $2; next } 11 check = ($1 ~ pattern) 12 printf("%s ~ /%s/ -> should be %d, is %d\n", $1, pattern, $2, check) 17 pat ab{0}c 18 ac 1 21 pat a(b{0})c 22 ac 1 25 pat ab{0}*c 26 ac 1 29 pat a(b{0})*c [all …]
|
/freebsd/crypto/openssl/crypto/sha/ |
H A D | keccak1600.c | 63 if (offset & 1) { in ROL64() 66 offset >>= 1; in ROL64() 68 lo = ROL32(tmp, offset + 1); in ROL64() 70 offset >>= 1; in ROL64() 80 { 0, 1, 62, 28, 27 }, 119 * possible. With one caveat. Because of the way C stores matrices, 126 uint64_t C[5], D[5]; in Theta() local 129 C[0] = A[0][0]; in Theta() 130 C[1] = A[0][1]; in Theta() 131 C[2] = A[0][2]; in Theta() [all …]
|
/freebsd/lib/libc/regex/grot/ |
H A D | tests | 4 # C flag given, regcomp() is expected to fail, and the third field is the 22 # C regcomp() error expected, third field is error name 39 a|b|c - abc a 42 a(b)c - abc abc 43 a\(b\)c b abc abc 44 a( C EPAREN 49 a(b C EPAREN 92 a*(^b$)c* - b b 93 a*\(^b$\)c* b b b 96 | C EMPTY [all …]
|
/freebsd/contrib/netbsd-tests/bin/sh/ |
H A D | t_arith.sh | 3 # Copyright (c) 2016 The NetBSD Foundation, Inc. 9 # 1. Redistributions of source code must retain the above copyright 34 # only digits to examine, and it is good to be sure that 1 + 1 really gives 2 44 if ! ${TEST_SH} -c ': $(( 0x10000 ))' 2>/dev/null 49 test $( ${TEST_SH} -c 'echo $(( 0x1FFFF ))' ) = 131071 || return 53 # 1. syntax error (maybe even core dump...) and fail 64 if ! ${TEST_SH} -c ': $(( 0xC0000000 ))' 2>/dev/null 71 -c 'case $(( 0xC0000000 )); in (-*) exit 0;; esac; exit 1' 76 if ${TEST_SH} -c '[ $(( 0xC0000000 )) != 3221225472 ]' 2>/dev/null 82 if ! ${TEST_SH} -c ': $(( 0xC000000000000000 ))' 2>/dev/null [all …]
|
/freebsd/share/ctypedef/ |
H A D | Makefile | 14 localedef ${LOCALEDEF_ENDIAN} -D -U -c -w ${MAPLOC}/widths.txt \ 18 LOCALES+= C.UTF-8 21 LOCALES+= ca_IT.ISO8859-1 24 LOCALES+= en_US.ISO8859-1 48 SAME+= C.UTF-8 en_US.UTF-8 49 SAME+= C.UTF-8 ru_RU.UTF-8 50 SAME+= C.UTF-8 zh_TW.UTF-8 51 SAME+= C.UTF-8 zh_HK.UTF-8 52 SAME+= C.UTF-8 zh_CN.UTF-8 53 SAME+= C.UTF-8 uk_UA.UTF-8 [all …]
|
/freebsd/sys/netpfil/ipfw/test/ |
H A D | main.c | 41 int cur_fs; /* used in generation, between 0 and max_y - 1 */ 76 int state; /* 0 = going up (enqueue), 1: going down (dequeue) */ 84 * 2^{i-1}+1 .. 2^i entries. 86 #define BACKLOG 30 /* this many backlogged classes, we only need BACKLOG+1 */ 98 #define FI2Q(c, i) ((struct dn_queue *)((c)->q + (c)->q_len * (i))) argument 99 #define Q2FI(c, q) (((char *)(q) - (c)->q)/(c)->q_len) argument 105 static void controller(struct cfg_s *c); 112 drop(struct cfg_s *c, struct mbuf *m) in drop() argument 117 c->drop++; in drop() 118 q = FI2Q(c, m->flow_id); in drop() [all …]
|
/freebsd/contrib/netbsd-tests/lib/libc/regex/data/ |
H A D | repet_bounded.in | 3 { C BADRPT 7 {} C BADRPT 14 {abc C BADRPT 16 {1 C BADRPT 17 {1} C BADRPT 20 a{b C BADRPT 22 a{1}b - ab ab 23 a\{1\}b b ab ab 24 a{1,}b - ab ab 25 a\{1,\}b b ab ab [all …]
|
/freebsd/usr.bin/gh-bc/ |
H A D | Makefile | 8 SRCS= args.c bc.c bc_lex.c bc_parse.c data.c dc.c dc_lex.c dc_parse.c file.c history.c 9 SRCS+= lang.c lex.c main.c num.c opt.c parse.c program.c rand.c read.c vector.c vm.c 10 SRCS+= bc_help.c dc_help.c lib.c lib2.c 14 MAN= bc.1 dc.1 21 CATALOGS+= de_DE.UTF-8 de_DE.ISO8859-1 22 CATALOGS+= es_ES.UTF-8 es_ES.ISO8859-1 23 CATALOGS+= fr_FR.UTF-8 fr_FR.ISO8859-1 25 CATALOGS+= nl_NL.UTF-8 nl_NL.ISO8859-1 27 CATALOGS+= pt_PT.UTF-8 pt_PT.ISO8859-1 36 CFLAGS+= -DBC_DEFAULT_EXPR_EXIT=1 [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | UnicodeCaseFold.cpp | 16 int llvm::sys::unicode::foldCharSimple(int C) { in foldCharSimple() argument 17 if (C < 0x0041) in foldCharSimple() 18 return C; in foldCharSimple() 20 if (C <= 0x005a) in foldCharSimple() 21 return C + 32; in foldCharSimple() 23 if (C == 0x00b5) in foldCharSimple() 25 if (C < 0x00c0) in foldCharSimple() 26 return C; in foldCharSimple() 28 if (C <= 0x00d6) in foldCharSimple() 29 return C in foldCharSimple() [all...] |
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | CharInfo.h | 1 //===--- clang/Basic/CharInfo.h - Classifying ASCII Characters --*- C++ -*-===// 41 LLVM_READNONE inline bool isASCII(char c) { in isASCII() argument 42 return static_cast<unsigned char>(c) <= 127; in isASCII() 45 LLVM_READNONE inline bool isASCII(unsigned char c) { return c <= 127; } in isASCII() argument 48 LLVM_READNONE inline bool isASCII(uint32_t c) { return c <= 127; } in isASCII() argument 49 LLVM_READNONE inline bool isASCII(int64_t c) { return 0 <= c && c <= 127; } in isASCII() argument 51 /// Returns true if this is a valid first character of a C identifier, 53 LLVM_READONLY inline bool isAsciiIdentifierStart(unsigned char c, 56 if (InfoTable[c] & (CHAR_UPPER|CHAR_LOWER|CHAR_UNDER)) 58 return AllowDollar && c == '$'; [all …]
|
/freebsd/contrib/ntp/ |
H A D | CommitLog | 5 ChangeLog@1.2103 +1 -0 8 ntpd/invoke-ntp.conf.texi@1.231 +1 -1 11 ntpd/invoke-ntp.keys.texi@1.214 +1 -1 23 ntpd/ntp.conf.html@1.213 +1 -1 38 ntpd/ntp.keys.html@1.208 +1 -1 47 ntpd/ntpd-opts.c [all...] |
/freebsd/crypto/openssl/crypto/modes/ |
H A D | xts128.c | 17 typedef u64 u64_a1 __attribute((__aligned__(1))); 32 u8 c[16]; in CRYPTO_xts128_encrypt() member 37 return -1; in CRYPTO_xts128_encrypt() 39 memcpy(tweak.c, iv, 16); in CRYPTO_xts128_encrypt() 41 (*ctx->block2) (tweak.c, tweak.c, ctx->key2); in CRYPTO_xts128_encrypt() 48 memcpy(scratch.c, inp, 16); in CRYPTO_xts128_encrypt() 50 scratch.u[1] ^= tweak.u[1]; in CRYPTO_xts128_encrypt() 53 scratch.u[1] = ((u64_a1 *)inp)[1] ^ tweak.u[1]; in CRYPTO_xts128_encrypt() 55 (*ctx->block1) (scratch.c, scratch.c, ctx->key1); in CRYPTO_xts128_encrypt() 58 scratch.u[1] ^= tweak.u[1]; in CRYPTO_xts128_encrypt() [all …]
|
/freebsd/secure/lib/libcrypto/man/man3/ |
H A D | OpenSSL_version.3 | 20 .\" double quote, and \*(R" will give a right double quote. \*(C+ will 21 .\" give a nicer C++. Capital omega is used to do unbreakable dashes and 22 .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, 23 .\" nothing in troff, for use with C<>. 29 . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch 30 . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch 33 . ds C` "" 34 . ds C' "" 41 . ds C` 42 . ds C' [all …]
|
/freebsd/stand/forth/ |
H A D | menusets.4th | 1 \ Copyright (c) 2012 Devin Teske <dteske@FreeBSD.org> 7 \ 1. Redistributions of source code must retain the above copyright 34 create menuset_x 1 allot 35 create menuset_y 1 allot 51 ( u1 -- u1 c-addr2 u2 ) 54 ( u1 -- u1 c-addr2 u2 ) 56 evaluate ( u1 c-addr2 u2 -- u1 ) 57 s" cmdbuf" getenv ( u1 -- u1 c-addr2 u2 ) 59 ( u1 c-addr2 u2 -- c-addr2 u2 c-addr1 u1 ) 61 getenv dup -1 = if [all …]
|
H A D | menu.4th | 1 \ Copyright (c) 2003 Scott Long <scottl@FreeBSD.org> 2 \ Copyright (c) 2003 Aleksander Fafula <alex@fafula.com> 3 \ Copyright (c) 2006-2015 Devin Teske <dteske@FreeBSD.org> 9 \ 1. Redistributions of source code must retain the above copyright 51 1 constant menu_start \ Numerical prefix of first menu item 143 : arch-i386? ( -- BOOL ) \ Returns TRUE (-1) on i386, FALSE (0) otherwise. 151 dup -1 = if 160 dup -1 <> if 170 : +c! ( N C-ADDR/U K -- C-ADDR/U ) 171 3 pick 3 pick ( n c-addr/u k -- n c-addr/u k n c-addr ) [all …]
|
/freebsd/contrib/libfido2/fuzz/ |
H A D | functions.txt | 1 File '/libfido2/src/aes256.c': 6 aes256_gcm_enc 1 0 100.00% 3 0 100.00% 7 aes256_gcm_dec 1 0 100.00% 3 0 100.00% 8 aes256.c:aes256_cbc_fips 26 1 96.15% 42 4 90.48% 9 aes256.c:aes256_cbc 29 1 96.55% 36 3 91.67% 10 aes256.c:aes256_cbc_proto1 1 0 100.00% 5 0 100.00% 11 aes256.c [all...] |
/freebsd/contrib/bmake/unit-tests/ |
H A D | varmod-subst-regex.mk | 3 # Tests for the :C,from,to, variable modifier. 9 all: mod-regex-limits-{1,2,3,4,5,6} 10 all: mod-regex-errors-{1,2} 16 .if ${:Ua b b c:C,a b,,} != "a b b c" 20 # Using the '1' modifier does not change anything. The '1' modifier just 21 # means to apply at most 1 replacement in the whole expression. 22 .if ${:Ua b b c:C,a b,,1} != "a b b c" 29 .if ${:Ua b b c:C,a b,,W} != " b c" 35 .if ${:Ua b b c:C,b,,g} != "a c" 39 # The first :C modifier has the 'W' modifier, which makes the whole [all …]
|
/freebsd/share/doc/papers/diskperf/ |
H A D | results.ms | 1 .\" Copyright (c) 1983 The Regents of the University of California. 7 .\" 1. Redistributions of source code must retain the above copyright 38 fragment size of 1 Kilobyte. The second sets of measurements 50 c s s s s 51 c s s s s 52 c s s s s 56 l | c c | c c. 60 from an \fB8K/1K\fR 4.2BSD File System (Kbytes/sec.) 64 1 Drive 2 Drives 1 Drive 2 Drives 72 c s s s s [all …]
|