• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/

Lines Matching defs:Family

114 static void printExpectedAllocName(raw_ostream &os, AllocationFamily Family);
118 static void printExpectedDeallocName(raw_ostream &os, AllocationFamily Family);
146 AllocationFamily Family;
149 : S(s), K(k), Family(family) {
159 AllocationFamily getAllocationFamily() const { return Family; }
163 return K == X.K && S == X.S && Family == X.Family;
186 ID.AddInteger(Family);
215 AllocationFamily Family,
445 AllocationFamily Family) const;
495 AllocationFamily Family);
510 AllocationFamily Family);
568 AllocationFamily Family,
594 AllocationFamily Family,
613 AllocationFamily Family,
679 Optional<CheckKind> getCheckIfTracked(AllocationFamily Family,
690 AllocationFamily Family) const;
700 const Expr *DeallocExpr, AllocationFamily Family,
716 AllocationFamily Family) const;
1406 AllocationFamily Family) const {
1426 State = MallocUpdateRefState(C, NE, State, Family, Target);
1557 AllocationFamily Family) {
1562 return MallocMemAux(C, Call, C.getSVal(SizeEx), Init, State, Family);
1568 AllocationFamily Family) {
1607 return MallocUpdateRefState(C, CE, State, Family);
1612 AllocationFamily Family,
1631 return State->set<RegionState>(Sym, RefState::getAllocated(Family, E));
1661 AllocationFamily Family,
1670 IsKnownToBeAllocated, Family, ReturnsNullOnFailure);
1727 static void printExpectedAllocName(raw_ostream &os, AllocationFamily Family) {
1729 switch(Family) {
1740 static void printExpectedDeallocName(raw_ostream &os, AllocationFamily Family) {
1741 switch(Family) {
1755 AllocationFamily Family, bool ReturnsNullOnFailure) const {
1800 if (Family != AF_Malloc || !isArgZERO_SIZE_PTR(State, C, ArgVal))
1802 Family);
1811 Family);
1832 Family);
1871 bool DeallocMatchesAlloc = RsBase->getAllocationFamily() == Family;
1886 Family, AllocExpr);
1894 Family);
1916 assert(!RsBase || (RsBase && RsBase->getAllocationFamily() == Family));
1921 RefState::getRelinquished(Family,
1925 RefState::getReleased(Family, ParentExpr));
1929 MallocChecker::getCheckIfTracked(AllocationFamily Family,
1931 switch (Family) {
2064 AllocationFamily Family) const {
2071 Optional<MallocChecker::CheckKind> CheckKind = getCheckIfTracked(Family);
2099 printExpectedAllocName(os, Family);
2196 AllocationFamily Family,
2204 Optional<MallocChecker::CheckKind> CheckKind = getCheckIfTracked(Family);
2383 AllocationFamily Family) const {
2389 Optional<MallocChecker::CheckKind> CheckKind = getCheckIfTracked(Family);
2422 AllocationFamily Family, bool SuffixWithN) const {
2472 C, Call, TotalSize, UndefinedVal(), StatePtrIsNull, Family);
2490 C, Call, StateSizeIsZero, 0, false, IsKnownToBeAllocated, Family))
2495 FreeMemAux(C, Call, State, 0, false, IsKnownToBeAllocated, Family)) {
2498 MallocMemAux(C, Call, TotalSize, UnknownVal(), stateFree, Family);
2594 AllocationFamily Family = RS->getAllocationFamily();
2596 if (Family == AF_Alloca)
2600 CheckKind = getCheckIfTracked(Family, true);
3278 const auto Family = RSCurr->getAllocationFamily();
3279 switch (Family) {
3421 AllocationFamily Family = RefS->getAllocationFamily();
3422 Optional<MallocChecker::CheckKind> CheckKind = getCheckIfTracked(Family);
3424 CheckKind = getCheckIfTracked(Family, true);
3442 AllocationFamily Family = AF_InnerBuffer;
3443 return State->set<RegionState>(Sym, RefState::getReleased(Family, Origin));