Home
last modified time | relevance | path

Searched refs:rotr (Results 1 – 25 of 48) sorted by relevance

12

/third_party/skia/third_party/externals/abseil-cpp/absl/numeric/
Dbits_test.cc67 static_assert(rotr(uint8_t{0x12}, 0) == uint8_t{0x12}, ""); in TEST()
68 static_assert(rotr(uint16_t{0x1234}, 0) == uint16_t{0x1234}, ""); in TEST()
69 static_assert(rotr(uint32_t{0x12345678UL}, 0) == uint32_t{0x12345678UL}, ""); in TEST()
70 static_assert(rotr(uint64_t{0x12345678ABCDEF01ULL}, 0) == in TEST()
74 EXPECT_EQ(rotr(uint8_t{0x12}, 0), uint8_t{0x12}); in TEST()
75 EXPECT_EQ(rotr(uint16_t{0x1234}, 0), uint16_t{0x1234}); in TEST()
76 EXPECT_EQ(rotr(uint32_t{0x12345678UL}, 0), uint32_t{0x12345678UL}); in TEST()
77 EXPECT_EQ(rotr(uint64_t{0x12345678ABCDEF01ULL}, 0), in TEST()
80 EXPECT_EQ(rotr(uint8_t{0x12}, 8), uint8_t{0x12}); in TEST()
81 EXPECT_EQ(rotr(uint16_t{0x1234}, 16), uint16_t{0x1234}); in TEST()
[all …]
Dbits.h65 rotr(T x, int s) noexcept { in rotr() function
118 using std::rotr;
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Daes_i.h70 static inline u32 rotr(u32 val, int bits) in rotr() function
76 #define TE1(i) rotr(Te0[((i) >> 16) & 0xff], 8)
77 #define TE2(i) rotr(Te0[((i) >> 8) & 0xff], 16)
78 #define TE3(i) rotr(Te0[(i) & 0xff], 24)
94 #define TD1(i) rotr(Td0[((i) >> 16) & 0xff], 8)
95 #define TD2(i) rotr(Td0[((i) >> 8) & 0xff], 16)
96 #define TD3(i) rotr(Td0[(i) & 0xff], 24)
102 #define TD1_(i) rotr(Td0[(i) & 0xff], 8)
103 #define TD2_(i) rotr(Td0[(i) & 0xff], 16)
104 #define TD3_(i) rotr(Td0[(i) & 0xff], 24)
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Daes_i.h70 static inline u32 rotr(u32 val, int bits) in rotr() function
76 #define TE1(i) rotr(Te0[((i) >> 16) & 0xff], 8)
77 #define TE2(i) rotr(Te0[((i) >> 8) & 0xff], 16)
78 #define TE3(i) rotr(Te0[(i) & 0xff], 24)
94 #define TD1(i) rotr(Td0[((i) >> 16) & 0xff], 8)
95 #define TD2(i) rotr(Td0[((i) >> 8) & 0xff], 16)
96 #define TD3(i) rotr(Td0[(i) & 0xff], 24)
102 #define TD1_(i) rotr(Td0[(i) & 0xff], 8)
103 #define TD2_(i) rotr(Td0[(i) & 0xff], 16)
104 #define TD3_(i) rotr(Td0[(i) & 0xff], 24)
/third_party/openssl/crypto/des/asm/
Dcrypt586.pl117 &rotr( $t, 4 );
182 { &rotr($tt, 3-$lr); }
188 { &rotr($r, 2-$lr); }
201 else { &rotr($r, $lr-2); }
207 else { &rotr($l, $lr-3); }
215 &rotr($tt , 4);
Ddes-586.pl198 &rotr($L,3); # r
200 &rotr($R,3); # l
228 &rotr( $t, 4 );
290 { &rotr($tt, 3-$lr); }
296 { &rotr($r, 2-$lr); }
309 else { &rotr($r, $lr-2); }
315 else { &rotr($l, $lr-3); }
323 &rotr($tt , 4);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86InstrShiftRotate.td559 [(set GR8:$dst, (rotr GR8:$src1, CL))]>;
562 [(set GR16:$dst, (rotr GR16:$src1, CL))]>, OpSize16;
565 [(set GR32:$dst, (rotr GR32:$src1, CL))]>, OpSize32;
568 [(set GR64:$dst, (rotr GR64:$src1, CL))]>;
573 [(set GR8:$dst, (rotr GR8:$src1, (i8 relocImm:$src2)))]>;
576 [(set GR16:$dst, (rotr GR16:$src1, (i8 relocImm:$src2)))]>,
580 [(set GR32:$dst, (rotr GR32:$src1, (i8 relocImm:$src2)))]>,
585 [(set GR64:$dst, (rotr GR64:$src1, (i8 relocImm:$src2)))]>;
590 [(set GR8:$dst, (rotr GR8:$src1, (i8 1)))]>;
593 [(set GR16:$dst, (rotr GR16:$src1, (i8 1)))]>, OpSize16;
[all …]
/third_party/abseil-cpp/absl/random/internal/
Dfastmath.h63 inline constexpr uint32_t rotr(uint32_t value, uint8_t bits) { in rotr() function
66 inline constexpr uint64_t rotr(uint64_t value, uint8_t bits) { in rotr() function
Dpcg_engine.h264 return random_internal::rotr(s, rotate); in operator()
284 return random_internal::rotr( in operator()
/third_party/openssl/crypto/rc5/asm/
Drc5-586.pl97 &rotr($B, &LB("ecx"));
103 &rotr($A, &LB("ecx"));
/third_party/flutter/skia/bench/
DFontCacheBench.cpp58 static uint32_t rotr(uint32_t value, unsigned bits) { in rotr() function
105 if (false) rotr(0, 0); in FontCacheEfficiency()
/third_party/skia/bench/
DFontCacheBench.cpp58 static uint32_t rotr(uint32_t value, unsigned bits) { in rotr() function
105 if (false) rotr(0, 0); in FontCacheEfficiency()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyInstrInteger.td70 defm ROTR : BinaryInt<rotr, "rotr", 0x78, 0x8a>;
98 def : Pat<(rotr I32:$lhs, (and I32:$rhs, 31)), (ROTR_I32 I32:$lhs, I32:$rhs)>;
100 def : Pat<(rotr I64:$lhs, (and I64:$rhs, 63)), (ROTR_I64 I64:$lhs, I64:$rhs)>;
/third_party/boost/libs/multiprecision/example/
Dcpp_int_mul_timing.cpp38 static ArithmeticType rotr(const ArithmeticType& value_being_shifted, in rotr() function in random_pcg32_fast_base
82 const xtype result = rotr(xtype(internal_value_xor >> bottomspare), amprot); in output()
/third_party/openssl/crypto/sha/asm/
Dsha1-586.pl185 &rotr($b,2); # b=ROTATE(b,30)
212 &rotr($b,$n==16?2:7); # b=ROTATE(b,30)
229 &rotr($b,2); # b=ROTATE(b,30)
254 &rotr($b,7); # b=ROTATE(b,30)
262 &rotr($a,5) if ($n==79);
272 &rotr($b,2); # b=ROTATE(b,30)
297 &rotr($b,7); # b=ROTATE(b,30)
316 &rotr($b,2); # b=ROTATE(b,30)
/third_party/pixman/pixman/
Dpixman-mips-dspr2-asm.S356 rotr t3, t3, 16 /* t3 = B1 | R2 | G2 | B2 */
361 rotr t5, t5, 24 /* t5 = R4 | R3 | G3 | B3 */
363 rotr t2, t2, 16 /* t2 = B3 | R4 | G4 | B4 */
395 rotr t0, t0, 24 /* t0 = R3 | R2 | G2 | B2 */
396 rotr t3, t3, 16 /* t3 = B2 | R3 | G3 | B3 */
397 rotr t4, t4, 24 /* t4 = R5 | R4 | G4 | B4 */
407 rotr t7, t2, 16 /* t7 = xx | R5 | G5 | B5 */
429 rotr t0, t0, 16 /* t0 = B1 | R2 | G2 | B2 */
431 rotr t1, t1, 24 /* t1 = R4 | R3 | G3 | B3 */
433 rotr t3, t3, 16 /* t3 = B3 | R4 | G4 | B4 */
[all …]
/third_party/openssl/crypto/perlasm/
Dcbc.pl290 &rotr("edx", 16);
301 &rotr("ecx", 16);
Dx86asm.pl72 sub ::rotr { &ror(@_); }
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
Dpcg_engine.h265 return rotr(s, rotate); in operator()
285 return rotr(static_cast<uint32_t>(((state >> 18) ^ state) >> 27), in operator()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h864 APInt rotr(unsigned rotateAmt) const;
885 APInt rotr(const APInt &rotateAmt) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMInstrThumb2.td58 [shl,srl,sra,rotr]> {
2175 def : T2Pat<(sext_inreg (rotr rGPR:$Rn, rot_imm:$rot), i8),
2177 def : T2Pat<(sext_inreg (rotr rGPR:$Rn, rot_imm:$rot), i16),
2180 (sext_inreg (rotr rGPR:$Rm, rot_imm:$rot), i8)),
2183 (sext_inreg (rotr rGPR:$Rm, rot_imm:$rot), i16)),
2189 def : Thumb2DSPPat<(int_arm_sxtb16 (rotr rGPR:$Rn, rot_imm:$rot)),
2191 def : Thumb2DSPPat<(int_arm_sxtab16 rGPR:$Rn, (rotr rGPR:$Rm, rot_imm:$rot)),
2205 (rotr rGPR:$Rm, (i32 24)), i16)),
2219 def : Thumb2DSPPat<(and (rotr rGPR:$Rm, rot_imm:$rot), 0x000000FF),
2221 def : Thumb2DSPPat<(and (rotr rGPR:$Rm, rot_imm:$rot), 0x0000FFFF),
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPInt.h1019 APInt rotr(unsigned rotateAmt) const;
1058 APInt rotr(const APInt &rotateAmt) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUInstructions.td734 // rotr pattern
736 (rotr i32:$src0, i32:$src1),
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMicroMipsInstrInfo.td794 def ROTR_MM : MMRel, shift_rotate_imm<"rotr", uimm5, GPR32Opnd, II_ROTR>,
797 (rotr GPR32Opnd:$rt, immZExt5:$shamt))];
802 (rotr GPR32Opnd:$rt, GPR32Opnd:$rs))];
1390 def : MipsInstAlias<"rotr $rt, $imm",
DMipsScheduleP5600.td221 // add, addi, addiu, addu, andi, ori, rotr, se[bh], sllv?, sr[al]v?, slt, sltu,
617 // Reason behind guess: rotr is in the same category and the two register forms

12