/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BaseMemoryLib/ |
H A D | CompareMemWrapper.c | 30 This function compares Length bytes of SourceBuffer to Length bytes of DestinationBuffer. 33 mismatched byte in DestinationBuffer. 35 If Length > 0 and DestinationBuffer is NULL, then ASSERT(). 37 If Length is greater than (MAX_ADDRESS - DestinationBuffer + 1), then ASSERT(). 40 @param DestinationBuffer A pointer to the destination buffer to compare. 46 mismatched byte in DestinationBuffer. 52 IN CONST VOID *DestinationBuffer, 57 if (Length == 0 || DestinationBuffer == SourceBuffer) { 60 ASSERT (DestinationBuffer != NULL); 62 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN)DestinationBuffer)); 51 CompareMem( IN CONST VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length ) argument [all...] |
H A D | CopyMemWrapper.c | 31 This function copies Length bytes from SourceBuffer to DestinationBuffer, and returns 32 DestinationBuffer. The implementation must be reentrant, and it must handle the case 33 where SourceBuffer overlaps DestinationBuffer. 35 If Length is greater than (MAX_ADDRESS - DestinationBuffer + 1), then ASSERT(). 38 @param DestinationBuffer A pointer to the destination buffer of the memory copy. 40 @param Length The number of bytes to copy from SourceBuffer to DestinationBuffer. 42 @return DestinationBuffer. 48 OUT VOID *DestinationBuffer, 54 return DestinationBuffer; 56 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN)DestinationBuffer)); 47 CopyMem( OUT VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length ) argument [all...] |
H A D | CopyMem.c | 25 @param DestinationBuffer The target of the copy request. 35 OUT VOID *DestinationBuffer, 48 if (SourceBuffer > DestinationBuffer) { 49 Destination8 = (UINT8*)DestinationBuffer; 54 } else if (SourceBuffer < DestinationBuffer) { 55 Destination8 = (UINT8*)DestinationBuffer + Length; 61 return DestinationBuffer; 34 InternalMemCopyMem( OUT VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length ) argument
|
H A D | MemLibGeneric.c | 116 @param DestinationBuffer The first memory buffer. 118 @param Length Length of DestinationBuffer and SourceBuffer memory 123 mismatched byte in DestinationBuffer. 129 IN CONST VOID *DestinationBuffer, 135 (*(INT8*)DestinationBuffer == *(INT8*)SourceBuffer)) { 136 DestinationBuffer = (INT8*)DestinationBuffer + 1; 139 return (INTN)*(UINT8*)DestinationBuffer - (INTN)*(UINT8*)SourceBuffer; 128 InternalMemCompareMem( IN CONST VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length ) argument
|
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BaseMemoryLibMmx/ |
H A D | CompareMemWrapper.c | 30 This function compares Length bytes of SourceBuffer to Length bytes of DestinationBuffer. 33 mismatched byte in DestinationBuffer. 35 If Length > 0 and DestinationBuffer is NULL, then ASSERT(). 37 If Length is greater than (MAX_ADDRESS - DestinationBuffer + 1), then ASSERT(). 40 @param DestinationBuffer The pointer to the destination buffer to compare. 46 mismatched byte in DestinationBuffer. 52 IN CONST VOID *DestinationBuffer, 57 if (Length == 0 || DestinationBuffer == SourceBuffer) { 60 ASSERT (DestinationBuffer != NULL); 62 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN)DestinationBuffer)); 51 CompareMem( IN CONST VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length ) argument [all...] |
H A D | CopyMemWrapper.c | 31 This function copies Length bytes from SourceBuffer to DestinationBuffer, and returns 32 DestinationBuffer. The implementation must be reentrant, and it must handle the case 33 where SourceBuffer overlaps DestinationBuffer. 35 If Length is greater than (MAX_ADDRESS - DestinationBuffer + 1), then ASSERT(). 38 @param DestinationBuffer The pointer to the destination buffer of the memory copy. 40 @param Length The number of bytes to copy from SourceBuffer to DestinationBuffer. 42 @return DestinationBuffer. 48 OUT VOID *DestinationBuffer, 54 return DestinationBuffer; 56 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN)DestinationBuffer)); 47 CopyMem( OUT VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length ) argument [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BaseMemoryLibOptDxe/ |
H A D | CompareMemWrapper.c | 30 This function compares Length bytes of SourceBuffer to Length bytes of DestinationBuffer. 33 mismatched byte in DestinationBuffer. 35 If Length > 0 and DestinationBuffer is NULL, then ASSERT(). 37 If Length is greater than (MAX_ADDRESS - DestinationBuffer + 1), then ASSERT(). 40 @param DestinationBuffer The pointer to the destination buffer to compare. 46 mismatched byte in DestinationBuffer. 52 IN CONST VOID *DestinationBuffer, 57 if (Length == 0 || DestinationBuffer == SourceBuffer) { 60 ASSERT (DestinationBuffer != NULL); 62 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN)DestinationBuffer)); 51 CompareMem( IN CONST VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length ) argument [all...] |
H A D | CopyMemWrapper.c | 31 This function copies Length bytes from SourceBuffer to DestinationBuffer, and returns 32 DestinationBuffer. The implementation must be reentrant, and it must handle the case 33 where SourceBuffer overlaps DestinationBuffer. 35 If Length is greater than (MAX_ADDRESS - DestinationBuffer + 1), then ASSERT(). 38 @param DestinationBuffer The pointer to the destination buffer of the memory copy. 40 @param Length The number of bytes to copy from SourceBuffer to DestinationBuffer. 42 @return DestinationBuffer. 48 OUT VOID *DestinationBuffer, 54 return DestinationBuffer; 56 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN)DestinationBuffer)); 47 CopyMem( OUT VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length ) argument [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BaseMemoryLibOptPei/ |
H A D | CompareMemWrapper.c | 30 This function compares Length bytes of SourceBuffer to Length bytes of DestinationBuffer. 33 mismatched byte in DestinationBuffer. 35 If Length > 0 and DestinationBuffer is NULL, then ASSERT(). 37 If Length is greater than (MAX_ADDRESS - DestinationBuffer + 1), then ASSERT(). 40 @param DestinationBuffer The pointer to the destination buffer to compare. 46 mismatched byte in DestinationBuffer. 52 IN CONST VOID *DestinationBuffer, 57 if (Length == 0 || DestinationBuffer == SourceBuffer) { 60 ASSERT (DestinationBuffer != NULL); 62 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN)DestinationBuffer)); 51 CompareMem( IN CONST VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length ) argument [all...] |
H A D | CopyMemWrapper.c | 31 This function copies Length bytes from SourceBuffer to DestinationBuffer, and returns 32 DestinationBuffer. The implementation must be reentrant, and it must handle the case 33 where SourceBuffer overlaps DestinationBuffer. 35 If Length is greater than (MAX_ADDRESS - DestinationBuffer + 1), then ASSERT(). 38 @param DestinationBuffer The pointer to the destination buffer of the memory copy. 40 @param Length The number of bytes to copy from SourceBuffer to DestinationBuffer. 42 @return DestinationBuffer. 48 OUT VOID *DestinationBuffer, 54 return DestinationBuffer; 56 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN)DestinationBuffer)); 47 CopyMem( OUT VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length ) argument [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BaseMemoryLibRepStr/ |
H A D | CompareMemWrapper.c | 30 This function compares Length bytes of SourceBuffer to Length bytes of DestinationBuffer. 33 mismatched byte in DestinationBuffer. 35 If Length > 0 and DestinationBuffer is NULL, then ASSERT(). 37 If Length is greater than (MAX_ADDRESS - DestinationBuffer + 1), then ASSERT(). 40 @param DestinationBuffer The pointer to the destination buffer to compare. 46 mismatched byte in DestinationBuffer. 52 IN CONST VOID *DestinationBuffer, 57 if (Length == 0 || DestinationBuffer == SourceBuffer) { 60 ASSERT (DestinationBuffer != NULL); 62 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN)DestinationBuffer)); 51 CompareMem( IN CONST VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length ) argument [all...] |
H A D | CopyMemWrapper.c | 31 This function copies Length bytes from SourceBuffer to DestinationBuffer, and returns 32 DestinationBuffer. The implementation must be reentrant, and it must handle the case 33 where SourceBuffer overlaps DestinationBuffer. 35 If Length is greater than (MAX_ADDRESS - DestinationBuffer + 1), then ASSERT(). 38 @param DestinationBuffer The pointer to the destination buffer of the memory copy. 40 @param Length The number of bytes to copy from SourceBuffer to DestinationBuffer. 42 @return DestinationBuffer. 48 OUT VOID *DestinationBuffer, 54 return DestinationBuffer; 56 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN)DestinationBuffer)); 47 CopyMem( OUT VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length ) argument [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BaseMemoryLibSse2/ |
H A D | CompareMemWrapper.c | 30 This function compares Length bytes of SourceBuffer to Length bytes of DestinationBuffer. 33 mismatched byte in DestinationBuffer. 35 If Length > 0 and DestinationBuffer is NULL, then ASSERT(). 37 If Length is greater than (MAX_ADDRESS - DestinationBuffer + 1), then ASSERT(). 40 @param DestinationBuffer The pointer to the destination buffer to compare. 46 mismatched byte in DestinationBuffer. 52 IN CONST VOID *DestinationBuffer, 57 if (Length == 0 || DestinationBuffer == SourceBuffer) { 60 ASSERT (DestinationBuffer != NULL); 62 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN)DestinationBuffer)); 51 CompareMem( IN CONST VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length ) argument [all...] |
H A D | CopyMemWrapper.c | 31 This function copies Length bytes from SourceBuffer to DestinationBuffer, and returns 32 DestinationBuffer. The implementation must be reentrant, and it must handle the case 33 where SourceBuffer overlaps DestinationBuffer. 35 If Length is greater than (MAX_ADDRESS - DestinationBuffer + 1), then ASSERT(). 38 @param DestinationBuffer The pointer to the destination buffer of the memory copy. 40 @param Length The number of bytes to copy from SourceBuffer to DestinationBuffer. 42 @return DestinationBuffer. 48 OUT VOID *DestinationBuffer, 54 return DestinationBuffer; 56 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN)DestinationBuffer)); 47 CopyMem( OUT VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length ) argument [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/PeiMemoryLib/ |
H A D | CompareMemWrapper.c | 30 This function compares Length bytes of SourceBuffer to Length bytes of DestinationBuffer. 33 mismatched byte in DestinationBuffer. 35 If Length > 0 and DestinationBuffer is NULL, then ASSERT(). 37 If Length is greater than (MAX_ADDRESS - DestinationBuffer + 1), then ASSERT(). 40 @param DestinationBuffer The pointer to the destination buffer to compare. 46 mismatched byte in DestinationBuffer. 52 IN CONST VOID *DestinationBuffer, 57 if (Length == 0 || DestinationBuffer == SourceBuffer) { 60 ASSERT (DestinationBuffer != NULL); 62 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN)DestinationBuffer)); 51 CompareMem( IN CONST VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length ) argument [all...] |
H A D | CopyMemWrapper.c | 31 This function copies Length bytes from SourceBuffer to DestinationBuffer, and returns 32 DestinationBuffer. The implementation must be reentrant, and it must handle the case 33 where SourceBuffer overlaps DestinationBuffer. 35 If Length is greater than (MAX_ADDRESS - DestinationBuffer + 1), then ASSERT(). 38 @param DestinationBuffer The pointer to the destination buffer of the memory copy. 40 @param Length The number of bytes to copy from SourceBuffer to DestinationBuffer. 42 @return DestinationBuffer. 48 OUT VOID *DestinationBuffer, 54 return DestinationBuffer; 56 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN)DestinationBuffer)); 47 CopyMem( OUT VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length ) argument [all...] |
H A D | MemLibGeneric.c | 116 @param DestinationBuffer The first memory buffer 118 @param Length The length of DestinationBuffer and SourceBuffer memory 123 mismatched byte in DestinationBuffer. 129 IN CONST VOID *DestinationBuffer, 135 (*(INT8*)DestinationBuffer == *(INT8*)SourceBuffer)) { 136 DestinationBuffer = (INT8*)DestinationBuffer + 1; 139 return (INTN)*(UINT8*)DestinationBuffer - (INTN)*(UINT8*)SourceBuffer; 128 InternalMemCompareMem( IN CONST VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length ) argument
|
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/UefiMemoryLib/ |
H A D | CompareMemWrapper.c | 30 This function compares Length bytes of SourceBuffer to Length bytes of DestinationBuffer. 33 mismatched byte in DestinationBuffer. 35 If Length > 0 and DestinationBuffer is NULL, then ASSERT(). 37 If Length is greater than (MAX_ADDRESS - DestinationBuffer + 1), then ASSERT(). 40 @param DestinationBuffer The pointer to the destination buffer to compare. 46 mismatched byte in DestinationBuffer. 52 IN CONST VOID *DestinationBuffer, 57 if (Length == 0 || DestinationBuffer == SourceBuffer) { 60 ASSERT (DestinationBuffer != NULL); 62 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN)DestinationBuffer)); 51 CompareMem( IN CONST VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length ) argument [all...] |
H A D | CopyMemWrapper.c | 31 This function copies Length bytes from SourceBuffer to DestinationBuffer, and returns 32 DestinationBuffer. The implementation must be reentrant, and it must handle the case 33 where SourceBuffer overlaps DestinationBuffer. 35 If Length is greater than (MAX_ADDRESS - DestinationBuffer + 1), then ASSERT(). 38 @param DestinationBuffer The pointer to the destination buffer of the memory copy. 40 @param Length The number of bytes to copy from SourceBuffer to DestinationBuffer. 42 @return DestinationBuffer. 48 OUT VOID *DestinationBuffer, 54 return DestinationBuffer; 56 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN)DestinationBuffer)); 47 CopyMem( OUT VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length ) argument [all...] |
H A D | MemLibGeneric.c | 116 @param DestinationBuffer The first memory buffer 118 @param Length The length of DestinationBuffer and SourceBuffer memory 123 mismatched byte in DestinationBuffer. 129 IN CONST VOID *DestinationBuffer, 135 (*(INT8*)DestinationBuffer == *(INT8*)SourceBuffer)) { 136 DestinationBuffer = (INT8*)DestinationBuffer + 1; 139 return (INTN)*(UINT8*)DestinationBuffer - (INTN)*(UINT8*)SourceBuffer; 128 InternalMemCompareMem( IN CONST VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length ) argument
|
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/ |
H A D | LightMemoryTest.c | 51 This function compares Length bytes of SourceBuffer to Length bytes of DestinationBuffer. 54 mismatched byte in DestinationBuffer. 58 @param[in] DestinationBuffer The pointer to the destination buffer to compare. 64 mismatched byte in DestinationBuffer. 70 IN CONST VOID *DestinationBuffer, 77 (*(INT8*)DestinationBuffer == *(INT8*)SourceBuffer)) { 78 DestinationBuffer = (INT8*)DestinationBuffer + 1; 81 return (INTN)*(UINT8*)DestinationBuffer - (INTN)*(UINT8*)SourceBuffer; 69 CompareMemWithoutCheckArgument( IN CONST VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length ) argument
|
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/PiSmmCore/ |
H A D | PiSmmIpl.c | 865 EFI_PHYSICAL_ADDRESS DestinationBuffer; local 922 DestinationBuffer = SmramRange->CpuStart + SmramRange->PhysicalSize; 927 ImageContext.ImageAddress = DestinationBuffer; 940 DestinationBuffer = SmramRange->CpuStart + SmramRange->PhysicalSize; 945 ImageContext.ImageAddress = DestinationBuffer;
|
/vbox/src/VBox/Devices/EFI/Firmware/ShellPkg/Library/UefiHandleParsingLib/ |
H A D | UefiHandleParsingLib.c | 1177 If DestinationBuffer is NULL, then ASSERT(). 1179 @param[in, out] DestinationBuffer The pointer to the pointer to the buffer to append onto. 1180 @param[in, out] DestinationSize The pointer to the size of DestinationBuffer. 1181 @param[in] SourceBuffer The pointer to the buffer to append onto DestinationBuffer. 1186 @return A pointer to (*DestinationBuffer). 1191 IN OUT VOID **DestinationBuffer, 1200 ASSERT(DestinationBuffer != NULL); 1203 return (*DestinationBuffer); 1220 *DestinationBuffer = AllocateZeroPool(LocalDestinationFinalSize); 1223 *DestinationBuffer 1190 BuffernCatGrow( IN OUT VOID **DestinationBuffer, IN OUT UINTN *DestinationSize, IN VOID *SourceBuffer, IN UINTN SourceSize ) argument [all...] |