Lines Matching full:buffer

17   Copies a source buffer to a destination buffer, and returns the destination buffer.
26 @param DestinationBuffer The pointer to the destination buffer of the memory copy.
27 @param SourceBuffer The pointer to the source buffer of the memory copy.
42 Fills a target buffer with a byte value, and returns the target buffer.
44 This function fills Length bytes of Buffer with Value, and returns Buffer.
46 If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
48 @param Buffer The memory to set.
50 @param Value The value with which to fill Length bytes of Buffer.
52 @return Buffer.
58 OUT VOID *Buffer,
64 Fills a target buffer with a 16-bit value, and returns the target buffer.
66 This function fills Length bytes of Buffer with the 16-bit value specified by
67 Value, and returns Buffer. Value is repeated every 16-bits in for Length
68 bytes of Buffer.
70 If Length > 0 and Buffer is NULL, then ASSERT().
71 If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
72 If Buffer is not aligned on a 16-bit boundary, then ASSERT().
75 @param Buffer The pointer to the target buffer to fill.
76 @param Length The number of bytes in Buffer to fill.
77 @param Value The value with which to fill Length bytes of Buffer.
79 @return Buffer.
85 OUT VOID *Buffer,
91 Fills a target buffer with a 32-bit value, and returns the target buffer.
93 This function fills Length bytes of Buffer with the 32-bit value specified by
94 Value, and returns Buffer. Value is repeated every 32-bits in for Length
95 bytes of Buffer.
97 If Length > 0 and Buffer is NULL, then ASSERT().
98 If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
99 If Buffer is not aligned on a 32-bit boundary, then ASSERT().
102 @param Buffer The pointer to the target buffer to fill.
103 @param Length The number of bytes in Buffer to fill.
104 @param Value The value with which to fill Length bytes of Buffer.
106 @return Buffer.
112 OUT VOID *Buffer,
118 Fills a target buffer with a 64-bit value, and returns the target buffer.
120 This function fills Length bytes of Buffer with the 64-bit value specified by
121 Value, and returns Buffer. Value is repeated every 64-bits in for Length
122 bytes of Buffer.
124 If Length > 0 and Buffer is NULL, then ASSERT().
125 If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
126 If Buffer is not aligned on a 64-bit boundary, then ASSERT().
129 @param Buffer The pointer to the target buffer to fill.
130 @param Length The number of bytes in Buffer to fill.
131 @param Value The value with which to fill Length bytes of Buffer.
133 @return Buffer.
139 OUT VOID *Buffer,
145 Fills a target buffer with a value that is size UINTN, and returns the target buffer.
147 This function fills Length bytes of Buffer with the UINTN sized value specified by
148 Value, and returns Buffer. Value is repeated every sizeof(UINTN) bytes for Length
149 bytes of Buffer.
151 If Length > 0 and Buffer is NULL, then ASSERT().
152 If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
153 If Buffer is not aligned on a UINTN boundary, then ASSERT().
156 @param Buffer The pointer to the target buffer to fill.
157 @param Length The number of bytes in Buffer to fill.
158 @param Value The value with which to fill Length bytes of Buffer.
160 @return Buffer.
166 OUT VOID *Buffer,
172 Fills a target buffer with zeros, and returns the target buffer.
174 This function fills Length bytes of Buffer with zeros, and returns Buffer.
176 If Length > 0 and Buffer is NULL, then ASSERT().
177 If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
179 @param Buffer The pointer to the target buffer to fill with zeros.
180 @param Length The number of bytes in Buffer to fill with zeros.
182 @return Buffer.
188 OUT VOID *Buffer,
205 @param DestinationBuffer The pointer to the destination buffer to compare.
206 @param SourceBuffer The pointer to the source buffer to compare.
223 Scans a target buffer for an 8-bit value, and returns a pointer to the matching 8-bit value
224 in the target buffer.
226 This function searches target the buffer specified by Buffer and Length from the lowest
228 then a pointer to the matching byte in the target buffer is returned. If no match is found,
231 If Length > 0 and Buffer is NULL, then ASSERT().
232 If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
234 @param Buffer The pointer to the target buffer to scan.
235 @param Length The number of bytes in Buffer to scan.
236 @param Value The value to search for in the target buffer.
238 @return A pointer to the matching byte in the target buffer, otherwise NULL.
244 IN CONST VOID *Buffer,
250 Scans a target buffer for a 16-bit value, and returns a pointer to the matching 16-bit value
251 in the target buffer.
253 This function searches target the buffer specified by Buffer and Length from the lowest
255 then a pointer to the matching byte in the target buffer is returned. If no match is found,
258 If Length > 0 and Buffer is NULL, then ASSERT().
259 If Buffer is not aligned on a 16-bit boundary, then ASSERT().
261 If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
263 @param Buffer The pointer to the target buffer to scan.
264 @param Length The number of bytes in Buffer to scan.
265 @param Value The value to search for in the target buffer.
267 @return A pointer to the matching byte in the target buffer, otherwise NULL.
273 IN CONST VOID *Buffer,
279 Scans a target buffer for a 32-bit value, and returns a pointer to the matching 32-bit value
280 in the target buffer.
282 This function searches target the buffer specified by Buffer and Length from the lowest
284 then a pointer to the matching byte in the target buffer is returned. If no match is found,
287 If Length > 0 and Buffer is NULL, then ASSERT().
288 If Buffer is not aligned on a 32-bit boundary, then ASSERT().
290 If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
292 @param Buffer The pointer to the target buffer to scan.
293 @param Length The number of bytes in Buffer to scan.
294 @param Value The value to search for in the target buffer.
296 @return A pointer to the matching byte in the target buffer, otherwise NULL.
302 IN CONST VOID *Buffer,
308 Scans a target buffer for a 64-bit value, and returns a pointer to the matching 64-bit value
309 in the target buffer.
311 This function searches target the buffer specified by Buffer and Length from the lowest
313 then a pointer to the matching byte in the target buffer is returned. If no match is found,
316 If Length > 0 and Buffer is NULL, then ASSERT().
317 If Buffer is not aligned on a 64-bit boundary, then ASSERT().
319 If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
321 @param Buffer The pointer to the target buffer to scan.
322 @param Length The number of bytes in Buffer to scan.
323 @param Value The value to search for in the target buffer.
325 @return A pointer to the matching byte in the target buffer, otherwise NULL.
331 IN CONST VOID *Buffer,
337 Scans a target buffer for a UINTN sized value, and returns a pointer to the matching
338 UINTN sized value in the target buffer.
340 This function searches target the buffer specified by Buffer and Length from the lowest
342 then a pointer to the matching byte in the target buffer is returned. If no match is found,
345 If Length > 0 and Buffer is NULL, then ASSERT().
346 If Buffer is not aligned on a UINTN boundary, then ASSERT().
348 If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
350 @param Buffer The pointer to the target buffer to scan.
351 @param Length The number of bytes in Buffer to scan.
352 @param Value The value to search for in the target buffer.
354 @return A pointer to the matching byte in the target buffer, otherwise NULL.
360 IN CONST VOID *Buffer,
411 Scans a target buffer for a GUID, and returns a pointer to the matching GUID
412 in the target buffer.
414 This function searches target the buffer specified by Buffer and Length from
417 GUID in the target buffer is returned. If no match is found, then NULL is returned.
420 If Length > 0 and Buffer is NULL, then ASSERT().
421 If Buffer is not aligned on a 32-bit boundary, then ASSERT().
423 If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
425 @param Buffer The pointer to the target buffer to scan.
426 @param Length The number of bytes in Buffer to scan.
427 @param Guid The value to search for in the target buffer.
429 @return A pointer to the matching Guid in the target buffer, otherwise NULL.
435 IN CONST VOID *Buffer,
461 Checks if the contents of a buffer are all zeros.
463 This function checks whether the contents of a buffer are all zeros. If the
466 If Length > 0 and Buffer is NULL, then ASSERT().
467 If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
469 @param Buffer The pointer to the buffer to be checked.
470 @param Length The size of the buffer (in bytes) to be checked.
472 @retval TRUE Contents of the buffer are all zeros.
473 @retval FALSE Contents of the buffer are not all zeros.
479 IN CONST VOID *Buffer,