Lines Matching refs:IsSafe
438 static void renameMemcpy(StringRef Name, bool IsCopy, bool IsSafe, in renameMemcpy() argument
444 NewFuncName += IsSafe ? "_s" : ""; in renameMemcpy()
875 bool IsSafe = UseSafeFunctions && IsOverflows && isKnownDest(Result) && in memcpyFix() local
879 IsSafe && getLangOpts().CPlusPlus && in memcpyFix()
882 renameMemcpy(Name, IsCopy, IsSafe, Result, Diag); in memcpyFix()
884 if (IsSafe && !IsDestLengthNotRequired) in memcpyFix()
890 if (!IsCopy && !IsSafe) in memcpyFix()
904 bool IsSafe = IsOverflows; in memcpy_sFix() local
906 renameMemcpy(Name, IsCopy, IsSafe, Result, Diag); in memcpy_sFix()
908 if (!IsSafe || (IsSafe && RemoveDestLength)) in memcpy_sFix()
916 if (!IsCopy && !IsSafe) in memcpy_sFix()