Lines Matching refs:MemoryOperationKind
188 enum class MemoryOperationKind { enum in __anone8977cbd0111::MallocChecker
266 MemoryOperationKind MemKind) const;
549 if (isCMemFunction(FD, C, AF_Malloc, MemoryOperationKind::MOK_Any)) in isMemFunction()
552 if (isCMemFunction(FD, C, AF_IfNameIndex, MemoryOperationKind::MOK_Any)) in isMemFunction()
555 if (isCMemFunction(FD, C, AF_Alloca, MemoryOperationKind::MOK_Any)) in isMemFunction()
567 MemoryOperationKind MemKind) const { in isCMemFunction()
571 bool CheckFree = (MemKind == MemoryOperationKind::MOK_Any || in isCMemFunction()
572 MemKind == MemoryOperationKind::MOK_Free); in isCMemFunction()
573 bool CheckAlloc = (MemKind == MemoryOperationKind::MOK_Any || in isCMemFunction()
574 MemKind == MemoryOperationKind::MOK_Allocate); in isCMemFunction()
1204 if (isCMemFunction(FD, Ctx, AF_Malloc, MemoryOperationKind::MOK_Any)) in getAllocationFamily()
1215 if (isCMemFunction(FD, Ctx, AF_IfNameIndex, MemoryOperationKind::MOK_Any)) in getAllocationFamily()
1218 if (isCMemFunction(FD, Ctx, AF_Alloca, MemoryOperationKind::MOK_Any)) in getAllocationFamily()
2190 (isCMemFunction(FD, Ctx, AF_Malloc, MemoryOperationKind::MOK_Free) || in checkPreCall()
2192 MemoryOperationKind::MOK_Free))) in checkPreCall()