/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/ |
H A D | CBCBlockCipher.java | 15 private byte[] IV; field in class:CBCBlockCipher 34 this.IV = new byte[blockSize]; 50 * Initialise the cipher and, possibly, the initialisation vector (IV). 51 * If an IV isn't passed as part of the parameter, the IV will be all zeros. 78 System.arraycopy(iv, 0, IV, 0, iv.length); 82 // if null it's an IV changed only. 152 * reset the chaining vector back to the IV and reset the underlying 157 System.arraycopy(IV, 0, cbcV, 0, IV [all...] |
H A D | CFBBlockCipher.java | 15 private byte[] IV; field in class:CFBBlockCipher 37 this.IV = new byte[cipher.getBlockSize()]; 53 * Initialise the cipher and, possibly, the initialisation vector (IV). 54 * If an IV isn't passed as part of the parameter, the IV will be all zeros. 55 * An IV which is too short is handled in FIPS compliant fashion. 75 if (iv.length < IV.length) 77 // prepend the supplied IV with zeros (per FIPS PUB 81) 78 System.arraycopy(iv, 0, IV, IV [all...] |
H A D | OFBBlockCipher.java | 14 private byte[] IV; field in class:OFBBlockCipher 35 this.IV = new byte[cipher.getBlockSize()]; 51 * Initialise the cipher and, possibly, the initialisation vector (IV). 52 * If an IV isn't passed as part of the parameter, the IV will be all zeros. 53 * An IV which is too short is handled in FIPS compliant fashion. 71 if (iv.length < IV.length) 73 // prepend the supplied IV with zeros (per FIPS PUB 81) 74 System.arraycopy(iv, 0, IV, IV [all...] |
H A D | SICBlockCipher.java | 18 private byte[] IV; field in class:SICBlockCipher 32 this.IV = new byte[blockSize]; 58 System.arraycopy(iv, 0, IV, 0, IV.length); 62 // if null it's an IV changed only. 110 System.arraycopy(IV, 0, counter, 0, counter.length);
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | DereferenceChecker.cpp | 80 const ObjCIvarRefExpr *IV = cast<ObjCIvarRefExpr>(Ex); local 82 << " ivar '" << IV->getDecl()->getName() << "')"; 83 SourceLocation L = IV->getLocation(); 151 const ObjCIvarRefExpr *IV = cast<ObjCIvarRefExpr>(S); local 152 os << "Access to instance variable '" << *IV->getDecl() 154 AddDerefSource(os, Ranges, IV->getBase()->IgnoreParenCasts(),
|
/external/ipsec-tools/src/racoon/missing/crypto/rijndael/ |
H A D | rijndael-api-fst.c | 79 int rijndael_cipherInit(cipherInstance *cipher, BYTE mode, char *IV) { argument 85 if (IV != NULL) { 86 bcopy(IV, cipher->IV, MAX_IV_SIZE); 88 bzero(cipher->IV, MAX_IV_SIZE); 120 bcopy(cipher->IV, block, 16); 127 ((word32*)block)[0] = ((word32*)cipher->IV)[0] ^ ((word32*)input)[0]; 128 ((word32*)block)[1] = ((word32*)cipher->IV)[1] ^ ((word32*)input)[1]; 129 ((word32*)block)[2] = ((word32*)cipher->IV)[2] ^ ((word32*)input)[2]; 130 ((word32*)block)[3] = ((word32*)cipher->IV)[ [all...] |
H A D | rijndael-api-fst.h | 44 #define MAX_IV_SIZE 16 /* # bytes needed to represent an IV */ 70 u_int8_t IV[MAX_IV_SIZE]; /* A possible Initialization Vector for ciphering */ member in struct:__anon22453 86 int rijndael_cipherInit(cipherInstance *cipher, u_int8_t mode, char *IV);
|
/external/llvm/lib/Analysis/ |
H A D | SparsePropagation.cpp | 235 LatticeVal IV = LatticeFunc->ComputeInstructionState(PN, *this); local 236 if (IV != LatticeFunc->getUntrackedVal()) 237 UpdateState(PN, IV); 285 LatticeVal IV = LatticeFunc->ComputeInstructionState(I, *this); 286 if (IV != LatticeFunc->getUntrackedVal()) 287 UpdateState(I, IV);
|
H A D | InstructionSimplify.cpp | 3155 InsertValueInst *IV = cast<InsertValueInst>(I); local 3156 Result = SimplifyInsertValueInst(IV->getAggregateOperand(), 3157 IV->getInsertedValueOperand(), 3158 IV->getIndices(), DL, TLI, DT);
|
/external/llvm/lib/Transforms/Utils/ |
H A D | LoopSimplify.cpp | 411 Value *IV = PN->getIncomingValue(i); local 415 NewPN->addIncoming(IV, IBB); 418 UniqueValue = IV; 419 else if (UniqueValue != IV)
|
/external/llvm/unittests/ExecutionEngine/MCJIT/ |
H A D | MCJITTestBase.h | 133 Constant *IV = ConstantInt::get(Context, APInt(32, InitialValue)); local 138 IV,
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | ExprEngineC.cpp | 700 APSInt IV; local 701 if (OOE->EvaluateAsInt(IV, getContext())) { 702 assert(IV.getBitWidth() == getContext().getTypeSize(OOE->getType())); 705 assert(IV.isSigned() == OOE->getType()->isSignedIntegerType()); 706 SVal X = svalBuilder.makeIntVal(IV);
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | JumpThreading.cpp | 1339 Value *IV = PN->getIncomingValueForBlock(OldPred); local 1342 if (Instruction *Inst = dyn_cast<Instruction>(IV)) { 1345 IV = I->second; 1348 PN->addIncoming(IV, NewPred); 1573 if (Value *IV = SimplifyInstruction(New, DL)) { 1575 ValueMapping[BI] = IV;
|
H A D | LoopRerollPass.cpp | 330 Instruction *&IV, 332 bool collectAllRoots(Loop *L, uint64_t Inc, uint64_t Scale, Instruction *IV, 336 bool reroll(Instruction *IV, Loop *L, BasicBlock *Header, const SCEV *IterCount, 390 DEBUG(dbgs() << "LRR: Possible IV: " << *I << " = " << 466 // including root increments in the use set of the primary IV. 545 // and, if found, set IV = %scaled.iv, and add %iv.next to LoopIncs. 547 Instruction *&IV, 596 IV = User1; 611 Instruction *IV, 615 for (User *U : IV 546 findScaleFromMul(Instruction *RealIV, uint64_t &Scale, Instruction *&IV, SmallInstructionVector &LoopIncs) argument 610 collectAllRoots(Loop *L, uint64_t Inc, uint64_t Scale, Instruction *IV, SmallVector<SmallInstructionVector, 32> &Roots, SmallInstructionSet &AllRoots, SmallInstructionVector &LoopIncs) argument 770 reroll(Instruction *IV, Loop *L, BasicBlock *Header, const SCEV *IterCount, ReductionTracker &Reductions) argument [all...] |
H A D | SCCP.cpp | 230 LatticeVal &IV = TrackedGlobals[GV]; local 232 IV.markConstant(GV->getInitializer()); 307 void markConstant(LatticeVal &IV, Value *V, Constant *C) { argument 308 if (!IV.markConstant(C)) return; 310 if (IV.isOverdefined()) 323 LatticeVal &IV = ValueState[V]; local 324 IV.markForcedConstant(C); 326 if (IV.isOverdefined()) 336 void markOverdefined(LatticeVal &IV, Value *V) { argument 337 if (!IV 348 mergeInValue(LatticeVal &IV, Value *V, LatticeVal MergeWithV) argument 675 LatticeVal IV = getValueState(PN.getIncomingValue(i)); local 850 LatticeVal &IV = ValueState[&I]; local 908 LatticeVal &IV = ValueState[&I]; local 1605 LatticeVal IV = Solver.getLatticeValueFor(Inst); local 1769 LatticeVal IV = Solver.getLatticeValueFor(AI); local 1813 LatticeVal IV = Solver.getLatticeValueFor(Inst); local [all...] |
H A D | IndVarSimplify.cpp | 57 STATISTIC(NumElimExt , "Number of IV sign/zero extends eliminated"); 257 // Check IV increment. Reject this PN if increment operation is not 291 // of the loop. If not, the new IV can overflow and no one will notice. 358 // exactly land on the exit value, otherwise the IV condition will wrap 359 // around and do things the fp IV wouldn't. 365 // transform the IV. 385 // exactly land on the exit value, otherwise the IV condition will wrap 386 // around and do things the fp IV wouldn't. 392 // transform the IV. 429 // variable, we chose to eliminate the IV an 1132 IndVarSimplifyVisitor(PHINode *IV, ScalarEvolution *SCEV, const DataLayout *DL, const DominatorTree *DTree) argument [all...] |
H A D | LoopStrengthReduce.cpp | 97 // Stress test IV chain generation. 100 cl::desc("Stress test LSR IV chains")); 741 /// We currently allow expansion of IV increments that involve adds, 744 /// TODO: Allow UDivExpr if we can find an existing IV increment that is an 1067 OS << ", plus " << NumIVMuls << " IV mul" << (NumIVMuls == 1 ? "" : "s"); 1590 /// IVInc - An individual increment in a Chain of IV increments. 1591 /// Relate an IV user to an expression that computes the IV it uses from the IV 1596 /// chain collection, before LSR replaces IV user 2046 const SCEV *IV = SE.getSCEV(Cond->getOperand(0)); local [all...] |
/external/clang/lib/Sema/ |
H A D | SemaExprMember.cpp | 1278 ObjCIvarDecl *IV = IDecl->lookupInstanceVariable(Member, ClassDeclared); local 1280 if (!IV) { 1287 IV = Corrected.getCorrectionDeclAs<ObjCIvarDecl>(); 1295 Decl *D = cast<Decl>(IV->getDeclContext()); 1319 if (IV->isInvalidDecl()) 1323 if (S.DiagnoseUseOfDecl(IV, MemberLoc)) 1325 if (IV->getAccessControl() != ObjCIvarDecl::Public && 1326 IV->getAccessControl() != ObjCIvarDecl::Package) { 1345 if (IV->getAccessControl() == ObjCIvarDecl::Private) { 1349 << IV [all...] |
H A D | SemaObjCProperty.cpp | 1477 /// IvarBacksCurrentMethodAccessor - This routine returns 'true' if 'IV' is 1482 ObjCMethodDecl *Method, ObjCIvarDecl *IV) { 1483 if (!IV->getSynthesize()) 1495 (Property->getPropertyIvarDecl() == IV)) 1481 IvarBacksCurrentMethodAccessor(ObjCInterfaceDecl *IFace, ObjCMethodDecl *Method, ObjCIvarDecl *IV) argument
|
H A D | SemaDeclAttr.cpp | 227 bool IV = HP && isFunctionOrMethodVariadic(D); local 241 if (Idx < 1 || (!IV && Idx > NumParams)) {
|
H A D | SemaDeclObjC.cpp | 3470 if (ObjCIvarDecl *IV = PDecl->getPropertyIvarDecl()) { 3474 IV = const_cast<ObjCInterfaceDecl *>(IDecl)->lookupInstanceVariable( 3475 IV->getIdentifier()); 3476 return IV; 3530 const ObjCIvarDecl *IV = GetIvarBackingPropertyAccessor(CurMethod, PDecl); local 3531 if (!IV) 3534 UnusedBackingIvarChecker Checker(*this, CurMethod, IV); 3543 if (!IV->isReferenced() || !Checker.InvokedSelfMethod) { 3544 Diag(Loc, DIAG) << IV;
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fShaderOperatorTests.cpp | 225 IV = VALUE_INT_VEC, enumerator in enum:deqp::gles2::Functional::ValueType 995 << BuiltinOperInfo("add", "+", IV, Value(IV, -4.0f, 6.0f), Value(I, -6.0f, 5.0f), notUsed, 0.1f, 0.5f, PRECMASK_ALL, INT_VEC_FUNCS(addVecScalar)) 997 << BuiltinOperInfo("add", "+", IV, Value(I, -4.0f, 6.0f), Value(IV, -6.0f, 5.0f), notUsed, 0.1f, 0.5f, PRECMASK_ALL, INT_VEC_FUNCS(addScalarVec)) 1001 << BuiltinOperInfo("sub", "-", IV, Value(IV, -4.0f, 6.0f), Value(I, -6.0f, 5.0f), notUsed, 0.1f, 0.5f, PRECMASK_ALL, INT_VEC_FUNCS(subVecScalar)) 1003 << BuiltinOperInfo("sub", "-", IV, Value(I, -4.0f, 6.0f), Value(IV, -6.0f, 5.0f), notUsed, 0.1f, 0.5f, PRECMASK_ALL, INT_VEC_FUNCS(subScalarVec)) 1007 << BuiltinOperInfo("mul", "*", IV, Valu [all...] |
/external/deqp/modules/gles3/functional/ |
H A D | es3fShaderOperatorTests.cpp | 289 IV = VALUE_INT_VEC, enumerator in enum:deqp::gles3::Functional::ValueType 1473 << operInfoFunc(addName, addOp, IV, Value(IV, -4.0f, 6.0f), Value(I, -6.0f, 5.0f), notUsed, 0.1f, 0.5f, PRECMASK_LOWP_MEDIUMP, INT_VEC_FUNCS(addVecScalar)) 1474 << operInfoFunc(addName, addOp, IV, Value(IV, -2e9f, 2e9f), Value(I, -2e9f, 2e9f), notUsed, 4e-10f, 0.5f, PRECMASK_HIGHP, INT_VEC_FUNCS(addVecScalar)) 1481 << operInfoFunc(addName, addOp, IV, Value(I, -4.0f, 6.0f), Value(IV, -6.0f, 5.0f), notUsed, 0.1f, 0.5f, PRECMASK_LOWP_MEDIUMP, INT_VEC_FUNCS(addScalarVec)) 1482 << operInfoFunc(addName, addOp, IV, Value(I, -2e9f, 2e9f), Value(IV, -2e9f, 2e9f), notUsed, 4e-10f, 0.5f, PRECMASK_HIGHP, INT_VEC_FUNCS(addScalarVec)) 1495 << operInfoFunc(subName, subOp, IV, Valu [all...] |
/external/clang/lib/CodeGen/ |
H A D | CGObjCMac.cpp | 1439 const ObjCIvarDecl *IV) { 1454 return IV->getContainingInterface()->isSuperClassOf(ID); 1438 IsIvarOffsetKnownIdempotent(const CodeGen::CodeGenFunction &CGF, const ObjCIvarDecl *IV) argument
|
/external/clang/lib/Rewrite/Frontend/ |
H A D | RewriteObjC.cpp | 351 virtual Stmt *RewriteObjCIvarRefExpr(ObjCIvarRefExpr *IV) = 0; 550 Stmt *RewriteObjCIvarRefExpr(ObjCIvarRefExpr *IV) override; 5376 for (auto *IV : IDecl->ivars()) 5377 IVars.push_back(IV); 5858 Stmt *RewriteObjCFragileABI::RewriteObjCIvarRefExpr(ObjCIvarRefExpr *IV) { argument 5859 SourceRange OldRange = IV->getSourceRange(); 5860 Expr *BaseExpr = IV->getBase(); 5866 IV->setBase(BaseExpr); 5869 ObjCIvarDecl *D = IV->getDecl(); 5871 Expr *Replacement = IV; [all...] |