Lines Matching refs:Destination

26   string Destination, and returns Destination. If Source and Destination

29 If Destination is NULL, then ASSERT().
30 If Destination is not aligned on a 16-bit boundary, then ASSERT().
33 If Source and Destination overlap, then ASSERT().
38 @param Destination A pointer to a Null-terminated Unicode string.
41 @return Destination.
47 OUT CHAR16 *Destination,
54 // Destination cannot be NULL
56 ASSERT (Destination != NULL);
57 ASSERT (((UINTN) Destination & BIT0) == 0);
60 // Destination and source cannot overlap
62 ASSERT ((UINTN)(Destination - Source) > StrLen (Source));
63 ASSERT ((UINTN)(Source - Destination) > StrLen (Source));
65 ReturnValue = Destination;
67 *(Destination++) = *(Source++);
69 *Destination = 0;
80 string Destination, and returns Destination. At most, Length Unicode
81 characters are copied from Source to Destination. If Length is 0, then
82 Destination is returned unmodified. If Length is greater that the number of
83 Unicode characters in Source, then Destination is padded with Null Unicode
84 characters. If Source and Destination overlap, then the results are
87 If Length > 0 and Destination is NULL, then ASSERT().
88 If Length > 0 and Destination is not aligned on a 16-bit boundary, then ASSERT().
91 If Source and Destination overlap, then ASSERT().
98 @param Destination A pointer to a Null-terminated Unicode string.
102 @return Destination.
108 OUT CHAR16 *Destination,
116 return Destination;
120 // Destination cannot be NULL if Length is not zero
122 ASSERT (Destination != NULL);
123 ASSERT (((UINTN) Destination & BIT0) == 0);
126 // Destination and source cannot overlap
128 ASSERT ((UINTN)(Destination - Source) > StrLen (Source));
129 ASSERT ((UINTN)(Source - Destination) >= Length);
135 ReturnValue = Destination;
138 *(Destination++) = *(Source++);
142 ZeroMem (Destination, Length * sizeof (*Destination));
338 Null-terminated Unicode string Destination. The Null-terminated concatenated
339 Unicode String is returned. If Source and Destination overlap, then the
342 If Destination is NULL, then ASSERT().
343 If Destination is not aligned on a 16-bit boundary, then ASSERT().
346 If Source and Destination overlap, then ASSERT().
347 If PcdMaximumUnicodeStringLength is not zero, and Destination contains more
353 If PcdMaximumUnicodeStringLength is not zero, and concatenating Destination
358 @param Destination A pointer to a Null-terminated Unicode string.
361 @return Destination.
367 IN OUT CHAR16 *Destination,
371 StrCpy (Destination + StrLen (Destination), Source);
377 ASSERT (StrSize (Destination) != 0);
378 return Destination;
390 Null-terminated Unicode string Destination, and Destination is returned. At
392 Destination, and Destination is always Null-terminated. If Length is 0, then
393 Destination is returned unmodified. If Source and Destination overlap, then
396 If Destination is NULL, then ASSERT().
397 If Length > 0 and Destination is not aligned on a 16-bit boundary, then ASSERT().
400 If Source and Destination overlap, then ASSERT().
403 If PcdMaximumUnicodeStringLength is not zero, and Destination contains more
409 If PcdMaximumUnicodeStringLength is not zero, and concatenating Destination
413 @param Destination A pointer to a Null-terminated Unicode string.
418 @return Destination.
424 IN OUT CHAR16 *Destination,
431 DestinationLen = StrLen (Destination);
432 StrnCpy (Destination + DestinationLen, Source, Length);
433 Destination[DestinationLen + Length] = L'\0';
439 ASSERT (StrSize (Destination) != 0);
440 return Destination;
1008 to the ASCII string Destination by copying the lower 8 bits of
1009 each Unicode character. It returns Destination.
1011 The caller is responsible to make sure Destination points to a buffer with size
1017 If Destination is NULL, then ASSERT().
1020 If Source and Destination overlap, then ASSERT().
1031 @param Destination A pointer to a Null-terminated ASCII string.
1033 @return Destination.
1040 OUT CHAR8 *Destination
1045 ASSERT (Destination != NULL);
1054 // Source and Destination should not overlap
1056 ASSERT ((UINTN) (Destination - (CHAR8 *) Source) >= StrSize (Source));
1057 ASSERT ((UINTN) ((CHAR8 *) Source - Destination) > StrLen (Source));
1060 ReturnValue = Destination;
1067 *(Destination++) = (CHAR8) *(Source++);
1070 *Destination = '\0';
1073 // ASSERT Original Destination is less long than PcdMaximumAsciiStringLength.
1090 string Destination, and returns Destination. If Source and Destination
1093 If Destination is NULL, then ASSERT().
1095 If Source and Destination overlap, then ASSERT().
1100 @param Destination A pointer to a Null-terminated ASCII string.
1103 @return Destination
1109 OUT CHAR8 *Destination,
1116 // Destination cannot be NULL
1118 ASSERT (Destination != NULL);
1121 // Destination and source cannot overlap
1123 ASSERT ((UINTN)(Destination - Source) > AsciiStrLen (Source));
1124 ASSERT ((UINTN)(Source - Destination) > AsciiStrLen (Source));
1126 ReturnValue = Destination;
1128 *(Destination++) = *(Source++);
1130 *Destination = 0;
1141 string Destination, and returns Destination. At most, Length ASCII characters
1142 are copied from Source to Destination. If Length is 0, then Destination is
1144 in Source, then Destination is padded with Null ASCII characters. If Source
1145 and Destination overlap, then the results are undefined.
1147 If Destination is NULL, then ASSERT().
1149 If Source and Destination overlap, then ASSERT().
1156 @param Destination A pointer to a Null-terminated ASCII string.
1160 @return Destination
1166 OUT CHAR8 *Destination,
1174 return Destination;
1178 // Destination cannot be NULL
1180 ASSERT (Destination != NULL);
1183 // Destination and source cannot overlap
1185 ASSERT ((UINTN)(Destination - Source) > AsciiStrLen (Source));
1186 ASSERT ((UINTN)(Source - Destination) >= Length);
1192 ReturnValue = Destination;
1195 *(Destination++) = *(Source++);
1199 ZeroMem (Destination, Length * sizeof (*Destination));
1210 If Length > 0 and Destination is NULL, then ASSERT().
1494 terminated ASCII string Destination. The Null-terminated concatenated ASCII
1497 If Destination is NULL, then ASSERT().
1499 If PcdMaximumAsciiStringLength is not zero and Destination contains more than
1505 If PcdMaximumAsciiStringLength is not zero and concatenating Destination and
1509 @param Destination A pointer to a Null-terminated ASCII string.
1512 @return Destination
1518 IN OUT CHAR8 *Destination,
1522 AsciiStrCpy (Destination + AsciiStrLen (Destination), Source);
1528 ASSERT (AsciiStrSize (Destination) != 0);
1529 return Destination;
1541 terminated ASCII string Destination, and Destination is returned. At most,
1543 Destination, and Destination is always Null-terminated. If Length is 0, then
1544 Destination is returned unmodified. If Source and Destination overlap, then
1547 If Length > 0 and Destination is NULL, then ASSERT().
1549 If Source and Destination overlap, then ASSERT().
1552 If PcdMaximumAsciiStringLength is not zero, and Destination contains more than
1558 If PcdMaximumAsciiStringLength is not zero, and concatenating Destination and
1562 @param Destination A pointer to a Null-terminated ASCII string.
1567 @return Destination
1573 IN OUT CHAR8 *Destination,
1580 DestinationLen = AsciiStrLen (Destination);
1581 AsciiStrnCpy (Destination + DestinationLen, Source, Length);
1582 Destination[DestinationLen + Length] = '\0';
1588 ASSERT (AsciiStrSize (Destination) != 0);
1589 return Destination;
1995 string Destination, and returns Destination. The function terminates the
1996 Unicode string Destination by appending a Null-terminator character at the end.
1997 The caller is responsible to make sure Destination points to a buffer with size
2000 If Destination is NULL, then ASSERT().
2001 If Destination is not aligned on a 16-bit boundary, then ASSERT().
2003 If Source and Destination overlap, then ASSERT().
2012 @param Destination A pointer to a Null-terminated Unicode string.
2014 @return Destination.
2021 OUT CHAR16 *Destination
2026 ASSERT (Destination != NULL);
2034 // Source and Destination should not overlap
2036 ASSERT ((UINTN) ((CHAR8 *) Destination - Source) > AsciiStrLen (Source));
2037 ASSERT ((UINTN) (Source - (CHAR8 *) Destination) >= (AsciiStrSize (Source) * sizeof (CHAR16)));
2040 ReturnValue = Destination;
2042 *(Destination++) = (CHAR16) *(Source++);
2045 // End the Destination with a NULL.
2047 *Destination = '\0';
2050 // ASSERT Original Destination is less long than PcdMaximumUnicodeStringLength