Home
last modified time | relevance | path

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

/system/connectivity/shill/
Dcrypto_rot47.cc42 int rot = ch + kRotHalf; in Encrypt() local
43 ch = (rot > kRotMax) ? rot - kRotSize : rot; in Encrypt()
/system/core/libpixelflinger/codeflinger/
DARMAssembler.cpp458 uint32_t immediate, uint32_t& rot, uint32_t& imm) in buildImmediate() argument
460 rot = 0; in buildImmediate()
468 rot += 2; in buildImmediate()
469 if (rot == 32) { in buildImmediate()
470 rot = 0; in buildImmediate()
475 rot = (16 - (rot>>1)) & 0xF; in buildImmediate()
480 if (((imm>>(rot<<1)) | (imm<<(32-(rot<<1)))) != immediate) in buildImmediate()
490 uint32_t rot, imm; in isValidImmediate() local
491 return buildImmediate(immediate, rot, imm) == 0; in isValidImmediate()
496 uint32_t rot, imm; in imm() local
[all …]
DGGLAssembler.cpp868 static void normalize(uint32_t& val, uint32_t& rot) in normalize() argument
870 rot = 0; in normalize()
876 rot += 2; in normalize()
877 if (rot == 32) { in normalize()
878 rot = 0; in normalize()
886 uint32_t rot; in build_and_immediate() local
914 normalize(mask, rot); in build_and_immediate()
919 int shift = rot + bitpos; in build_and_immediate()
DARMAssemblerProxy.cpp81 int ARMAssemblerProxy::buildImmediate(uint32_t i, uint32_t& rot, uint32_t& imm) in buildImmediate() argument
83 return mTarget->buildImmediate(i, rot, imm); in buildImmediate()
DArm64Assembler.cpp861 uint32_t immediate, uint32_t& rot, uint32_t& imm) in buildImmediate() argument
863 rot = 0; in buildImmediate()
871 uint32_t rot, imm; in isValidImmediate() local
872 return buildImmediate(immediate, rot, imm) == 0; in isValidImmediate()
DARMAssemblerProxy.h56 virtual int buildImmediate(uint32_t i, uint32_t& rot, uint32_t& imm);
DARMAssembler.h67 virtual int buildImmediate(uint32_t i, uint32_t& rot, uint32_t& imm);
DMIPSAssembler.h65 virtual int buildImmediate(uint32_t i, uint32_t& rot, uint32_t& imm);
323 void RORIsyn(int Rd, int Rt, int rot); // synthetic: d = s rotated by immed
DMIPSAssembler.cpp211 uint32_t immediate, uint32_t& rot, uint32_t& imm) in buildImmediate() argument
214 rot = 0; in buildImmediate()
1669 void MIPSAssembler::RORIsyn(int Rd, int Rt, int rot) in RORIsyn() argument
1673 MIPSAssembler::SLL(R_at2, Rt, 32-rot); in RORIsyn()
1674 MIPSAssembler::SRL(Rd, Rt, rot); in RORIsyn()
DMIPS64Assembler.h70 virtual int buildImmediate(uint32_t i, uint32_t& rot, uint32_t& imm);
DArm64Assembler.h80 virtual int buildImmediate(uint32_t i, uint32_t& rot, uint32_t& imm);
DARMAssemblerInterface.h78 virtual int buildImmediate(uint32_t i, uint32_t& rot, uint32_t& imm) = 0;
DMIPS64Assembler.cpp205 uint32_t immediate, uint32_t& rot, uint32_t& imm) in buildImmediate() argument
208 rot = 0; in buildImmediate()
/system/extras/ksmutils/
Dlookup3.c69 #define rot(x,k) (((x)<<(k)) | ((x)>>(32-(k)))) macro
117 a -= c; a ^= rot(c, 4); c += b; \
118 b -= a; b ^= rot(a, 6); a += c; \
119 c -= b; c ^= rot(b, 8); b += a; \
120 a -= c; a ^= rot(c,16); c += b; \
121 b -= a; b ^= rot(a,19); a += c; \
122 c -= b; c ^= rot(b, 4); b += a; \
152 c ^= b; c -= rot(b,14); \
153 a ^= c; a -= rot(c,11); \
154 b ^= a; b -= rot(a,25); \
[all …]
/system/keymaster/
Dattestation_record.cpp652 KM_ROOT_OF_TRUST* rot = record->root_of_trust; in extract_auth_list() local
653 if (!rot->verified_boot_key) in extract_auth_list()