Lines Matching refs:CK
77 static QualType getCharPtrType(ASTContext &Ctx, CharKind CK) { in getCharPtrType() argument
78 return Ctx.getPointerType(CK == CharKind::Regular ? Ctx.CharTy in getCharPtrType()
200 void evalMemcpy(CheckerContext &C, const CallEvent &Call, CharKind CK) const;
201 void evalMempcpy(CheckerContext &C, const CallEvent &Call, CharKind CK) const;
202 void evalMemmove(CheckerContext &C, const CallEvent &Call, CharKind CK) const;
207 bool Restricted, bool IsMempcpy, CharKind CK) const;
209 void evalMemcmp(CheckerContext &C, const CallEvent &Call, CharKind CK) const;
318 CharKind CK = CharKind::Regular) const;
322 CharKind CK = CharKind::Regular) const;
326 CharKind CK = CharKind::Regular) const;
405 const ElementRegion *ER, CharKind CK) { in getIndex() argument
409 if (CK == CharKind::Regular) { in getIndex()
552 CharKind CK) const { in CheckLocation()
568 std::optional<NonLoc> Idx = getIndex(state, ER, CK); in CheckLocation()
600 AccessKind Access, CharKind CK) const { in CheckBufferAccess()
609 QualType PtrTy = getCharPtrType(Ctx, CK); in CheckBufferAccess()
625 State = CheckLocation(C, State, Buffer, BufStart, Access, CK); in CheckBufferAccess()
650 State = CheckLocation(C, State, Buffer, BufEnd, Access, CK); in CheckBufferAccess()
667 CharKind CK) const { in CheckOverlap()
746 QualType CharPtrTy = getCharPtrType(Ctx, CK); in CheckOverlap()
1440 bool IsMempcpy, CharKind CK) const { in evalCopyCommon()
1487 state = CheckBufferAccess(C, state, Dest, Size, AccessKind::write, CK); in evalCopyCommon()
1488 state = CheckBufferAccess(C, state, Source, Size, AccessKind::read, CK); in evalCopyCommon()
1491 state = CheckOverlap(C, state, Size, Dest, Source, CK); in evalCopyCommon()
1502 QualType CharPtrTy = getCharPtrType(Ctx, CK); in evalCopyCommon()
1541 CharKind CK) const { in evalMemcpy()
1552 evalCopyCommon(C, Call, State, Size, Dest, Src, IsRestricted, IsMempcpy, CK); in evalMemcpy()
1556 CharKind CK) const { in evalMempcpy()
1566 IsMempcpy, CK); in evalMempcpy()
1570 CharKind CK) const { in evalMemmove()
1580 IsMempcpy, CK); in evalMemmove()
1596 CharKind CK) const { in evalMemcmp()
1657 State = CheckBufferAccess(C, State, Right, Size, AccessKind::read, CK); in evalMemcmp()
1658 State = CheckBufferAccess(C, State, Left, Size, AccessKind::read, CK); in evalMemcmp()