• Home
  • Raw
  • Download

Lines Matching refs:DestMax

187   IN  UINTN        DestMax,  in StrCpyS()  argument
206 SAFE_STRING_CONSTRAINT_CHECK ((DestMax <= RSIZE_MAX), RETURN_INVALID_PARAMETER); in StrCpyS()
212 SAFE_STRING_CONSTRAINT_CHECK ((DestMax != 0), RETURN_INVALID_PARAMETER); in StrCpyS()
217 SourceLen = StrnLenS (Source, DestMax); in StrCpyS()
218 SAFE_STRING_CONSTRAINT_CHECK ((DestMax > SourceLen), RETURN_BUFFER_TOO_SMALL); in StrCpyS()
223 …SAFE_STRING_CONSTRAINT_CHECK (InternalSafeStringNoStrOverlap (Destination, DestMax, (CHAR16 *)Sour… in StrCpyS()
271 IN UINTN DestMax, in StrnCpyS() argument
291 SAFE_STRING_CONSTRAINT_CHECK ((DestMax <= RSIZE_MAX), RETURN_INVALID_PARAMETER); in StrnCpyS()
298 SAFE_STRING_CONSTRAINT_CHECK ((DestMax != 0), RETURN_INVALID_PARAMETER); in StrnCpyS()
303 SourceLen = StrnLenS (Source, DestMax); in StrnCpyS()
304 if (Length >= DestMax) { in StrnCpyS()
305 SAFE_STRING_CONSTRAINT_CHECK ((DestMax > SourceLen), RETURN_BUFFER_TOO_SMALL); in StrnCpyS()
314 …SAFE_STRING_CONSTRAINT_CHECK (InternalSafeStringNoStrOverlap (Destination, DestMax, (CHAR16 *)Sour… in StrnCpyS()
365 IN UINTN DestMax, in StrCatS() argument
379 DestLen = StrnLenS (Destination, DestMax); in StrCatS()
380 CopyLen = DestMax - DestLen; in StrCatS()
392 SAFE_STRING_CONSTRAINT_CHECK ((DestMax <= RSIZE_MAX), RETURN_INVALID_PARAMETER); in StrCatS()
398 SAFE_STRING_CONSTRAINT_CHECK ((DestMax != 0), RETURN_INVALID_PARAMETER); in StrCatS()
414 …SAFE_STRING_CONSTRAINT_CHECK (InternalSafeStringNoStrOverlap (Destination, DestMax, (CHAR16 *)Sour… in StrCatS()
467 IN UINTN DestMax, in StrnCatS() argument
482 DestLen = StrnLenS (Destination, DestMax); in StrnCatS()
483 CopyLen = DestMax - DestLen; in StrnCatS()
495 SAFE_STRING_CONSTRAINT_CHECK ((DestMax <= RSIZE_MAX), RETURN_INVALID_PARAMETER); in StrnCatS()
502 SAFE_STRING_CONSTRAINT_CHECK ((DestMax != 0), RETURN_INVALID_PARAMETER); in StrnCatS()
523 …SAFE_STRING_CONSTRAINT_CHECK (InternalSafeStringNoStrOverlap (Destination, DestMax, (CHAR16 *)Sour… in StrnCatS()
617 IN UINTN DestMax, in AsciiStrCpyS() argument
633 SAFE_STRING_CONSTRAINT_CHECK ((DestMax <= ASCII_RSIZE_MAX), RETURN_INVALID_PARAMETER); in AsciiStrCpyS()
639 SAFE_STRING_CONSTRAINT_CHECK ((DestMax != 0), RETURN_INVALID_PARAMETER); in AsciiStrCpyS()
644 SourceLen = AsciiStrnLenS (Source, DestMax); in AsciiStrCpyS()
645 SAFE_STRING_CONSTRAINT_CHECK ((DestMax > SourceLen), RETURN_BUFFER_TOO_SMALL); in AsciiStrCpyS()
650 …SAFE_STRING_CONSTRAINT_CHECK (InternalSafeStringNoAsciiStrOverlap (Destination, DestMax, (CHAR8 *)… in AsciiStrCpyS()
696 IN UINTN DestMax, in AsciiStrnCpyS() argument
713 SAFE_STRING_CONSTRAINT_CHECK ((DestMax <= ASCII_RSIZE_MAX), RETURN_INVALID_PARAMETER); in AsciiStrnCpyS()
720 SAFE_STRING_CONSTRAINT_CHECK ((DestMax != 0), RETURN_INVALID_PARAMETER); in AsciiStrnCpyS()
725 SourceLen = AsciiStrnLenS (Source, DestMax); in AsciiStrnCpyS()
726 if (Length >= DestMax) { in AsciiStrnCpyS()
727 SAFE_STRING_CONSTRAINT_CHECK ((DestMax > SourceLen), RETURN_BUFFER_TOO_SMALL); in AsciiStrnCpyS()
736 …SAFE_STRING_CONSTRAINT_CHECK (InternalSafeStringNoAsciiStrOverlap (Destination, DestMax, (CHAR8 *)… in AsciiStrnCpyS()
785 IN UINTN DestMax, in AsciiStrCatS() argument
796 DestLen = AsciiStrnLenS (Destination, DestMax); in AsciiStrCatS()
797 CopyLen = DestMax - DestLen; in AsciiStrCatS()
809 SAFE_STRING_CONSTRAINT_CHECK ((DestMax <= ASCII_RSIZE_MAX), RETURN_INVALID_PARAMETER); in AsciiStrCatS()
815 SAFE_STRING_CONSTRAINT_CHECK ((DestMax != 0), RETURN_INVALID_PARAMETER); in AsciiStrCatS()
831 …SAFE_STRING_CONSTRAINT_CHECK (InternalSafeStringNoAsciiStrOverlap (Destination, DestMax, (CHAR8 *)… in AsciiStrCatS()
882 IN UINTN DestMax, in AsciiStrnCatS() argument
894 DestLen = AsciiStrnLenS (Destination, DestMax); in AsciiStrnCatS()
895 CopyLen = DestMax - DestLen; in AsciiStrnCatS()
907 SAFE_STRING_CONSTRAINT_CHECK ((DestMax <= ASCII_RSIZE_MAX), RETURN_INVALID_PARAMETER); in AsciiStrnCatS()
914 SAFE_STRING_CONSTRAINT_CHECK ((DestMax != 0), RETURN_INVALID_PARAMETER); in AsciiStrnCatS()
935 …SAFE_STRING_CONSTRAINT_CHECK (InternalSafeStringNoAsciiStrOverlap (Destination, DestMax, (CHAR8 *)… in AsciiStrnCatS()
1000 IN UINTN DestMax in UnicodeStrToAsciiStrS() argument
1017 SAFE_STRING_CONSTRAINT_CHECK ((DestMax <= ASCII_RSIZE_MAX), RETURN_INVALID_PARAMETER); in UnicodeStrToAsciiStrS()
1020 SAFE_STRING_CONSTRAINT_CHECK ((DestMax <= RSIZE_MAX), RETURN_INVALID_PARAMETER); in UnicodeStrToAsciiStrS()
1026 SAFE_STRING_CONSTRAINT_CHECK ((DestMax != 0), RETURN_INVALID_PARAMETER); in UnicodeStrToAsciiStrS()
1031 SourceLen = StrnLenS (Source, DestMax); in UnicodeStrToAsciiStrS()
1032 SAFE_STRING_CONSTRAINT_CHECK ((DestMax > SourceLen), RETURN_BUFFER_TOO_SMALL); in UnicodeStrToAsciiStrS()
1037 …SAFE_STRING_CONSTRAINT_CHECK (!InternalSafeStringIsOverlap (Destination, DestMax, (VOID *)Source, … in UnicodeStrToAsciiStrS()
1098 IN UINTN DestMax in AsciiStrToUnicodeStrS() argument
1115 SAFE_STRING_CONSTRAINT_CHECK ((DestMax <= RSIZE_MAX), RETURN_INVALID_PARAMETER); in AsciiStrToUnicodeStrS()
1118 SAFE_STRING_CONSTRAINT_CHECK ((DestMax <= ASCII_RSIZE_MAX), RETURN_INVALID_PARAMETER); in AsciiStrToUnicodeStrS()
1124 SAFE_STRING_CONSTRAINT_CHECK ((DestMax != 0), RETURN_INVALID_PARAMETER); in AsciiStrToUnicodeStrS()
1129 SourceLen = AsciiStrnLenS (Source, DestMax); in AsciiStrToUnicodeStrS()
1130 SAFE_STRING_CONSTRAINT_CHECK ((DestMax > SourceLen), RETURN_BUFFER_TOO_SMALL); in AsciiStrToUnicodeStrS()
1135 …SAFE_STRING_CONSTRAINT_CHECK (!InternalSafeStringIsOverlap (Destination, DestMax * sizeof(CHAR16),… in AsciiStrToUnicodeStrS()