Lines Matching refs:AK
1468 void warnIfMutexNotHeld(const NamedDecl *D, const Expr *Exp, AccessKind AK,
1474 void checkAccess(const Expr *Exp, AccessKind AK,
1476 void checkPtAccess(const Expr *Exp, AccessKind AK,
1502 AccessKind AK, Expr *MutexExp, in warnIfMutexNotHeld() argument
1505 LockKind LK = getLockKindFromAccessKind(AK); in warnIfMutexNotHeld()
1586 void BuildLockset::checkAccess(const Expr *Exp, AccessKind AK, in checkAccess() argument
1608 checkPtAccess(UO->getSubExpr(), AK, POK); in checkAccess()
1613 checkPtAccess(AE->getLHS(), AK, POK); in checkAccess()
1619 checkPtAccess(ME->getBase(), AK, POK); in checkAccess()
1621 checkAccess(ME->getBase(), AK, POK); in checkAccess()
1629 Analyzer->Handler.handleNoMutexHeld("mutex", D, POK, AK, Loc); in checkAccess()
1633 warnIfMutexNotHeld(D, Exp, AK, I->getArg(), POK, in checkAccess()
1640 void BuildLockset::checkPtAccess(const Expr *Exp, AccessKind AK, in checkPtAccess() argument
1651 checkAccess(CE->getSubExpr(), AK, POK); in checkPtAccess()
1669 Analyzer->Handler.handleNoMutexHeld("mutex", D, PtPOK, AK, in checkPtAccess()
1673 warnIfMutexNotHeld(D, Exp, AK, I->getArg(), PtPOK, in checkPtAccess()
2398 LockKind threadSafety::getLockKindFromAccessKind(AccessKind AK) { in getLockKindFromAccessKind() argument
2399 switch (AK) { in getLockKindFromAccessKind()