Home
last modified time | relevance | path

Searched refs:rot (Results 1 – 25 of 71) sorted by relevance

123

/freebsd-14.2/sys/contrib/dpdk_rte_lpm/
H A Drte_jhash.h43 a -= c; a ^= rot(c, 4); c += b; \
44 b -= a; b ^= rot(a, 6); a += c; \
45 c -= b; c ^= rot(b, 8); b += a; \
48 c -= b; c ^= rot(b, 4); b += a; \
52 c ^= b; c -= rot(b, 14); \
53 a ^= c; a -= rot(c, 11); \
54 b ^= a; b -= rot(a, 25); \
55 c ^= b; c -= rot(b, 16); \
56 a ^= c; a -= rot(c, 4); \
57 b ^= a; b -= rot(a, 14); \
[all …]
/freebsd-14.2/sys/libkern/
H A Djenkins_hash.c92 a -= c; a ^= rot(c, 4); c += b; \
93 b -= a; b ^= rot(a, 6); a += c; \
94 c -= b; c ^= rot(b, 8); b += a; \
95 a -= c; a ^= rot(c,16); c += b; \
127 c ^= b; c -= rot(b,14); \
128 a ^= c; a -= rot(c,11); \
129 b ^= a; b -= rot(a,25); \
130 c ^= b; c -= rot(b,16); \
131 a ^= c; a -= rot(c,4); \
132 b ^= a; b -= rot(a,14); \
[all …]
/freebsd-14.2/crypto/openssl/crypto/md5/asm/
H A Dmd5-sparcv9.pl83 sll $a,$rot,$t3
85 srl $a,32-$rot,$a
99 sll $a,$rot,$t3
101 srl $a,32-$rot,$a
121 sll $a,$rot,$t3
123 srl $a,32-$rot,$a
146 sll $a,$rot,$t3
148 srl $a,32-$rot,$a
170 sll $a,$rot,$t3
172 srl $a,32-$rot,$a
[all …]
/freebsd-14.2/tools/test/stress2/misc/
H A Drot.sh38 sed '1,/^EOF/d' < $here/$0 > rot.c
39 mycc -o rot -Wall -Wextra -O2 -g rot.c || exit 1
40 rm -f rot.c
53 (cd $mntpoint; /tmp/rot)
54 (cd `dirname $diskimage`; /tmp/rot)
60 rm -f /tmp/rot
/freebsd-14.2/tests/sys/netgraph/
H A Dvlan_rotate.c91 int i, rot, len; in _basic() local
108 for (rot = -len + 1; rot < len; rot++) in _basic()
113 snprintf(cmd, sizeof(cmd), "setconf { min=0 max=9 rot=%d }", rot); in _basic()
122 int expect = (2 * len + i - direction * rot) % len + 1; in _basic()
127 len, rot, i, r[i], expect); in _basic()
191 int rot = rand() % (2 * len - 1) - len + 1; in _ethertype() local
214 snprintf(cmd, sizeof(cmd), "setconf { min=0 max=9 rot=%d }", rot); in _ethertype()
224 int expect = (2 * len + i - direction * rot) % len; in _ethertype()
228 len, rot, i, ntohs(r[i]), expect, vlan[expect]); in _ethertype()
/freebsd-14.2/share/examples/bootforth/
H A Dframes.4th72 2dup 1+ 4 pick 1- -rot
74 2dup 1+ swap 5 pick + swap 4 pick 1- -rot
76 2dup swap 1+ swap 5 pick 1- -rot
78 2dup swap 1+ swap 4 pick + 5 pick 1- -rot
/freebsd-14.2/usr.bin/caesar/
H A Dcaesar.c148 int ch, rot; in printit() local
150 if ((rot = atoi(arg)) < 0) { in printit()
155 putchar(ROTATE(ch, rot)); in printit()
/freebsd-14.2/stand/forth/
H A Dframes.4th126 rot ( w x y h )
128 swap rot ( y x w -- R: y+h )
137 2dup 1+ 4 pick 1- -rot
139 2dup 1+ swap 5 pick + swap 4 pick 1- -rot
141 2dup swap 1+ swap 5 pick 1- -rot
143 2dup swap 1+ swap 4 pick + 5 pick 1- -rot
H A Dmenu.4th173 rot drop ( n c-addr/u -- c-addr/u )
456 rot 1+ dup [char] 8 > if
457 -rot 2drop TRUE ( break )
459 -rot FALSE
701 rot 48 + -rot ( n c-addr/u -- n' c-addr/u ) \ convert to ASCII
850 -rot -rot \ bring buffer addr to top
1080 -rot 2drop
1147 rot tuck = if
1151 menuacpi @ over 2dup < -rot = or
1181 menuacpi @ 1+ over 2dup < -rot = or
[all …]
H A Dbrand.4th54 brandX @ brandY @ rot execute
70 brandX @ brandY @ rot execute
/freebsd-14.2/contrib/unbound/util/storage/
H A Dlookup3.c175 a -= c; a ^= rot(c, 4); c += b; \
176 b -= a; b ^= rot(a, 6); a += c; \
177 c -= b; c ^= rot(b, 8); b += a; \
178 a -= c; a ^= rot(c,16); c += b; \
210 c ^= b; c -= rot(b,14); \
211 a ^= c; a -= rot(c,11); \
212 b ^= a; b -= rot(a,25); \
213 c ^= b; c -= rot(b,16); \
214 a ^= c; a -= rot(c,4); \
215 b ^= a; b -= rot(a,14); \
[all …]
/freebsd-14.2/stand/ficl/softwords/
H A Dclasses.fr82 0 -rot c-ptr => .addr c-cell => set
93 c-ptr => get-ptr -rot ( i c addr i c )
94 --> @size + -rot ( addr' i c )
101 c-ptr => get-ptr -rot ( i c addr i c )
102 --> @size - -rot ( addr' i c )
H A Dsoftcore.fr21 : -rot ( a b c -- c a b ) 2 -roll ;
43 rot if
71 rot over - dup 0< if
H A Dficllocal.fr24 2dup 2dup ?-- -rot ?}} or 0=
/freebsd-14.2/crypto/openssl/crypto/camellia/asm/
H A Dcmll-x86.pl483 if ($rot) {
485 &shld ($i0,$i1,$rot);
503 if ($rot) {
505 &shl ($i0,$rot);
507 &shr ($idx,32-$rot);
508 &shl ($i1,$rot);
511 &shl ($i2,$rot);
513 &shr ($idx,32-$rot);
515 &shr ($Tbl,32-$rot);
517 &shr ($idx,32-$rot);
[all …]
H A Dcmll-x86_64.pl410 my ($i0,$i1,$rot)=@_;
412 if ($rot) {
415 shld \$$rot,$i1,$i0
416 shld \$$rot,%r11,$i1
425 my ($i0,$i1,$rot)=@_;
427 if ($rot) {
430 shl \$$rot,$i0
432 shr \$`64-$rot`,%r9
433 shr \$`64-$rot`,%r11
435 shl \$$rot,$i1
/freebsd-14.2/contrib/tcsh/
H A Dsh.hist.c170 a -= c; a ^= rot(c, 4); c += b; \
171 b -= a; b ^= rot(a, 6); a += c; \
172 c -= b; c ^= rot(b, 8); b += a; \
173 a -= c; a ^= rot(c,16); c += b; \
179 c ^= b; c -= rot(b,14); \
180 a ^= c; a -= rot(c,11); \
181 b ^= a; b -= rot(a,25); \
182 c ^= b; c -= rot(b,16); \
183 a ^= c; a -= rot(c, 4); \
184 b ^= a; b -= rot(a,14); \
[all …]
/freebsd-14.2/sys/contrib/pcg-c/include/
H A Dpcg_variants.h56 static inline uint8_t pcg_rotr_8(uint8_t value, unsigned int rot) in pcg_rotr_8() argument
63 __asm__ ("rorb %%cl, %0" : "=r" (value) : "0" (value), "c" (rot)); in pcg_rotr_8()
66 return (value >> rot) | (value << ((- rot) & 7)); in pcg_rotr_8()
70 static inline uint16_t pcg_rotr_16(uint16_t value, unsigned int rot) in pcg_rotr_16() argument
76 return (value >> rot) | (value << ((- rot) & 15)); in pcg_rotr_16()
80 static inline uint32_t pcg_rotr_32(uint32_t value, unsigned int rot) in pcg_rotr_32() argument
86 return (value >> rot) | (value << ((- rot) & 31)); in pcg_rotr_32()
90 static inline uint64_t pcg_rotr_64(uint64_t value, unsigned int rot) in pcg_rotr_64() argument
98 return (value >> rot) | (value << ((- rot) & 63)); in pcg_rotr_64()
103 static inline pcg128_t pcg_rotr_128(pcg128_t value, unsigned int rot) in pcg_rotr_128() argument
[all …]
/freebsd-14.2/sys/contrib/device-tree/Bindings/display/msm/
H A Dqcom,sm6115-dpu.yaml43 - const: rot
73 clock-names = "bus", "iface", "core", "lut", "rot", "vsync";
H A Dqcom,sc7180-dpu.yaml41 - const: rot
74 clock-names = "bus", "iface", "rot", "lut", "core",
/freebsd-14.2/crypto/openssl/crypto/sha/asm/
H A Dkeccak1600-c64x.pl43 my ($src,$rot,$dst,$p) = @_;
45 if ($rot&1) {
47 $p ROTL B$src,$rot/2+1,A$dst
48 || ROTL A$src,$rot/2, B$dst
52 $p ROTL A$src,$rot/2,A$dst
53 || ROTL B$src,$rot/2,B$dst
/freebsd-14.2/sys/netgraph/
H A Dng_vlan_rotate.h47 int8_t rot; member
H A Dng_vlan_rotate.c252 (abs(pcf->rot) >= pcf->max)) { in ng_vlanrotate_rcvmsg()
384 rotate = +vrp->conf.rot; in ng_vlanrotate_rcvdata()
387 rotate = -vrp->conf.rot; in ng_vlanrotate_rcvdata()
/freebsd-14.2/contrib/libucl/tests/
H A Dtest_msgpack.c76 uint32_t rot = oldstate >> 59u; in pcg32_random() local
77 return (xorshifted >> rot) | (xorshifted << ((-rot) & 31)); in pcg32_random()
/freebsd-14.2/contrib/bearssl/src/x509/
H A Dasn1.t0173 read8 8 << swap read8 rot + ;
177 read8 swap read8 8 << rot + ;
192 0 over read-blob-inner -rot 2drop ;
288 8 << swap read8 rot +
417 -rot
419 rot 1-
429 read8 rot
441 low-surrogate? ifnot rot 2drop 0 ret then
442 rot 10 << + 0x35FDC00 - ;
706 rot read-tag 0x02 check-tag-primitive -rot

123