Lines Matching defs:Family

125 static void printExpectedAllocName(raw_ostream &os, AllocationFamily Family);
129 static void printExpectedDeallocName(raw_ostream &os, AllocationFamily Family);
157 AllocationFamily Family;
160 : S(s), K(k), Family(family) {
170 AllocationFamily getAllocationFamily() const { return Family; }
174 return K == X.K && S == X.S && Family == X.Family;
197 ID.AddInteger(Family);
226 AllocationFamily Family,
469 AllocationFamily Family) const;
473 AllocationFamily Family) const;
489 AllocationFamily Family) const;
535 SVal Init, ProgramStateRef State, AllocationFamily Family) const;
549 AllocationFamily Family) const;
601 AllocationFamily Family, bool ReturnsNullOnFailure = false) const;
627 AllocationFamily Family, bool ReturnsNullOnFailure = false,
645 ProgramStateRef State, AllocationFamily Family,
710 std::optional<CheckKind> getCheckIfTracked(AllocationFamily Family,
721 AllocationFamily Family) const;
731 const Expr *DeallocExpr, AllocationFamily Family,
747 AllocationFamily Family) const;
1579 AllocationFamily Family) const {
1604 State = MallocUpdateRefState(C, NE, State, Family, Target);
1688 AllocationFamily Family) const {
1693 return MallocMemAux(C, Call, C.getSVal(SizeEx), Init, State, Family);
1699 AllocationFamily Family) const {
1715 AllocationFamily Family) const {
1749 State, C, TaintedSyms, Family);
1755 AllocationFamily Family) const {
1772 ((Family == AF_Alloca) ? SVB.getAllocaRegionVal(CE, LCtx, Count)
1790 return MallocUpdateRefState(C, CE, State, Family);
1795 AllocationFamily Family,
1823 return State->set<RegionState>(Sym, RefState::getAllocated(Family, E));
1853 AllocationFamily Family,
1862 IsKnownToBeAllocated, Family, ReturnsNullOnFailure);
1919 static void printExpectedAllocName(raw_ostream &os, AllocationFamily Family) {
1921 switch(Family) {
1932 static void printExpectedDeallocName(raw_ostream &os, AllocationFamily Family) {
1933 switch(Family) {
1948 AllocationFamily Family, bool ReturnsNullOnFailure,
1994 if (Family != AF_Malloc || !isArgZERO_SIZE_PTR(State, C, ArgVal))
1996 Family);
2005 Family);
2023 Family);
2062 bool DeallocMatchesAlloc = RsBase->getAllocationFamily() == Family;
2077 Family, AllocExpr);
2085 Family);
2107 assert(!RsBase || (RsBase && RsBase->getAllocationFamily() == Family));
2112 RefState::getRelinquished(Family,
2116 RefState::getReleased(Family, ParentExpr));
2120 MallocChecker::getCheckIfTracked(AllocationFamily Family,
2122 switch (Family) {
2257 AllocationFamily Family) const {
2264 std::optional<MallocChecker::CheckKind> CheckKind = getCheckIfTracked(Family);
2292 printExpectedAllocName(os, Family);
2389 AllocationFamily Family,
2397 std::optional<MallocChecker::CheckKind> CheckKind = getCheckIfTracked(Family);
2577 AllocationFamily Family) const {
2583 std::optional<MallocChecker::CheckKind> CheckKind = getCheckIfTracked(Family);
2616 AllocationFamily Family, bool SuffixWithN) const {
2667 C, Call, TotalSize, UndefinedVal(), StatePtrIsNull, Family);
2685 C, Call, StateSizeIsZero, 0, false, IsKnownToBeAllocated, Family))
2690 FreeMemAux(C, Call, State, 0, false, IsKnownToBeAllocated, Family)) {
2693 MallocMemAux(C, Call, TotalSize, UnknownVal(), stateFree, Family);
2789 AllocationFamily Family = RS->getAllocationFamily();
2791 if (Family == AF_Alloca)
2795 getCheckIfTracked(Family, true);
3485 const auto Family = RSCurr->getAllocationFamily();
3486 switch (Family) {
3631 AllocationFamily Family = RefS->getAllocationFamily();
3633 getCheckIfTracked(Family);
3635 CheckKind = getCheckIfTracked(Family, true);
3653 AllocationFamily Family = AF_InnerBuffer;
3654 return State->set<RegionState>(Sym, RefState::getReleased(Family, Origin));