Lines Matching refs:CK
73 static QualType getCharPtrType(ASTContext &Ctx, CharKind CK) { in getCharPtrType() argument
74 return Ctx.getPointerType(CK == CharKind::Regular ? Ctx.CharTy in getCharPtrType()
176 void evalMemcpy(CheckerContext &C, const CallEvent &Call, CharKind CK) const;
177 void evalMempcpy(CheckerContext &C, const CallEvent &Call, CharKind CK) const;
178 void evalMemmove(CheckerContext &C, const CallEvent &Call, CharKind CK) const;
183 bool Restricted, bool IsMempcpy, CharKind CK) const;
185 void evalMemcmp(CheckerContext &C, const CallEvent &Call, CharKind CK) const;
290 CharKind CK = CharKind::Regular) const;
294 CharKind CK = CharKind::Regular) const;
298 CharKind CK = CharKind::Regular) const;
381 CharKind CK) const { in CheckLocation()
402 if (CK == CharKind::Regular) { in CheckLocation()
459 AccessKind Access, CharKind CK) const { in CheckBufferAccess()
468 QualType PtrTy = getCharPtrType(Ctx, CK); in CheckBufferAccess()
484 State = CheckLocation(C, State, Buffer, BufStart, Access, CK); in CheckBufferAccess()
508 State = CheckLocation(C, State, Buffer, BufEnd, Access, CK); in CheckBufferAccess()
523 CharKind CK) const { in CheckOverlap()
602 QualType CharPtrTy = getCharPtrType(Ctx, CK); in CheckOverlap()
1295 bool IsMempcpy, CharKind CK) const { in evalCopyCommon()
1339 state = CheckBufferAccess(C, state, Dest, Size, AccessKind::write, CK); in evalCopyCommon()
1340 state = CheckBufferAccess(C, state, Source, Size, AccessKind::read, CK); in evalCopyCommon()
1343 state = CheckOverlap(C, state, Size, Dest, Source, CK); in evalCopyCommon()
1354 QualType CharPtrTy = getCharPtrType(Ctx, CK); in evalCopyCommon()
1393 CharKind CK) const { in evalMemcpy()
1404 evalCopyCommon(C, Call, State, Size, Dest, Src, IsRestricted, IsMempcpy, CK); in evalMemcpy()
1408 CharKind CK) const { in evalMempcpy()
1418 IsMempcpy, CK); in evalMempcpy()
1422 CharKind CK) const { in evalMemmove()
1432 IsMempcpy, CK); in evalMemmove()
1448 CharKind CK) const { in evalMemcmp()
1509 State = CheckBufferAccess(C, State, Right, Size, AccessKind::read, CK); in evalMemcmp()
1510 State = CheckBufferAccess(C, State, Left, Size, AccessKind::read, CK); in evalMemcmp()