Home
last modified time | relevance | path

Searched refs:SourceLen (Results 1 – 1 of 1) sorted by relevance

/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/
DSafeString.c191 UINTN SourceLen; in StrCpyS() local
217 SourceLen = StrnLenS (Source, DestMax); in StrCpyS()
218 SAFE_STRING_CONSTRAINT_CHECK ((DestMax > SourceLen), RETURN_BUFFER_TOO_SMALL); in StrCpyS()
223 …InternalSafeStringNoStrOverlap (Destination, DestMax, (CHAR16 *)Source, SourceLen + 1), RETURN_ACC… in StrCpyS()
276 UINTN SourceLen; in StrnCpyS() local
303 SourceLen = StrnLenS (Source, DestMax); in StrnCpyS()
305 SAFE_STRING_CONSTRAINT_CHECK ((DestMax > SourceLen), RETURN_BUFFER_TOO_SMALL); in StrnCpyS()
311 if (SourceLen > Length) { in StrnCpyS()
312 SourceLen = Length; in StrnCpyS()
314 …InternalSafeStringNoStrOverlap (Destination, DestMax, (CHAR16 *)Source, SourceLen + 1), RETURN_ACC… in StrnCpyS()
[all …]