Searched defs:Ptr (Results 1 - 25 of 71) sorted by relevance

123

/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/Common/
H A DCrc32.c312 UINT8 *Ptr; local
319 for (Index = 0, Ptr = Data; Index < DataSize; Index++, Ptr++) {
320 Crc = (Crc >> 8) ^ mCrcTable[(UINT8) Crc ^ *Ptr];
H A DMyAlloc.c278 VOID *Ptr,
292 // Ptr := Pointer to the caller's buffer to be re-allocated.
315 "\nMyRealloc(Ptr=%p, Size=%u, File=%s, Line=%u)"
317 Ptr,
328 "\nMyRealloc(Ptr=%p, Size=%u, File=%s, Line=%u)"
330 Ptr,
341 if (Ptr == NULL) {
343 } else if (&MyAllocData->Buffer[sizeof (UINT32)] == Ptr) {
349 "\nMyRealloc(Ptr=%p, Size=%u, File=%s, Line=%u)"
351 Ptr,
277 MyRealloc( VOID *Ptr, UINTN Size, UINT8 File[], UINTN Line ) argument
385 MyFree( VOID *Ptr, UINT8 File[], UINTN Line ) argument
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Bus/Usb/UsbMouseAbsolutePointerDxe/
H A DMouseHid.c255 UINT8 *Ptr; local
260 Ptr = GetNextHidItem (ReportDescriptor, DescriptorEnd, &HidItem);
261 while (Ptr != NULL) {
271 Ptr = GetNextHidItem (Ptr, DescriptorEnd, &HidItem);
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Bus/Usb/UsbMouseDxe/
H A DMouseHid.c255 UINT8 *Ptr; local
260 Ptr = GetNextHidItem (ReportDescriptor, DescriptorEnd, &HidItem);
261 while (Ptr != NULL) {
271 Ptr = GetNextHidItem (Ptr, DescriptorEnd, &HidItem);
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/RuntimeDxe/
H A DCrc32.c48 UINT8 *Ptr; local
55 for (Index = 0, Ptr = Data; Index < DataSize; Index++, Ptr++) {
56 Crc = (Crc >> 8) ^ mCrcTable[(UINT8) Crc ^ *Ptr];
/vbox/src/VBox/Devices/EFI/Firmware/VBoxPkg/VBoxSysTables/
H A DVBoxSysTables.c74 // First Search 0x0f0000 - 0x0fffff for SMBIOS Ptr
93 // First Search 0x0e0000 - 0x0fffff for MPS Ptr
115 ConvertAndInstallTable(EFI_GUID* Guid, VOID* Ptr) argument
119 rc = ConvertSystemTable(Guid, &Ptr);
122 rc = gBS->InstallConfigurationTable(Guid, Ptr);
141 VOID* Ptr; local
145 Ptr = FindSMBIOSPtr();
146 DEBUG((DEBUG_INFO, "SMBIOS=%p\n", Ptr));
147 ASSERT(Ptr != NULL);
148 if (Ptr)
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/FaultTolerantWriteDxe/
H A DUpdateWorkingBlock.c280 UINT8 *Ptr; local
293 Ptr = TempBuffer;
301 Ptr
308 Ptr += Length;
313 Ptr = TempBuffer +
320 SetMem (Ptr, FtwDevice->FtwWorkSpaceSize, FTW_ERASED_BYTE);
326 Ptr,
342 Ptr + sizeof (EFI_FAULT_TOLERANT_WORKING_BLOCK_HEADER),
351 Ptr,
379 Ptr
[all...]
H A DFaultTolerantWrite.c328 UINT8 *Ptr; local
447 Ptr = MyBuffer;
450 Status = Fvb->Read (Fvb, Lba + Index, 0, &MyLength, Ptr);
456 Ptr += MyLength;
475 Ptr = SpareBuffer;
483 Ptr
491 Ptr += MyLength;
497 Ptr = MyBuffer;
505 Ptr
513 Ptr
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BaseLib/
H A DLinkedList.c55 CONST LIST_ENTRY *Ptr; local
66 Ptr = List;
74 Ptr = Ptr->ForwardLink;
86 return (BOOLEAN)(Ptr == Node);
89 } while ((Ptr != List) && (Ptr != Node));
91 if (Ptr != Node) {
102 Ptr = Ptr
478 LIST_ENTRY *Ptr; local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/StdLib/
H A DMalloc.c126 /** The free function causes the space pointed to by Ptr to be deallocated,
129 If Ptr is a null pointer, no action occurs. Otherwise, if the argument
134 @param Ptr Pointer to a previously allocated region of memory to be freed.
138 free(void *Ptr) argument
140 (void) gBS->FreePool (Ptr);
143 /** The realloc function changes the size of the object pointed to by Ptr to
150 If Ptr is a null pointer, the realloc function behaves like the malloc
153 If Ptr does not match a pointer earlier returned by the calloc, malloc, or
157 If the space cannot be allocated, the object pointed to by Ptr is unchanged.
159 If NewSize is zero and Ptr i
186 realloc(void *Ptr, size_t NewSize) argument
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/
H A DFileImage.c274 UINT8 *Ptr; local
347 Ptr = Buffer;
352 CopyMem (Ptr, Line->Buffer, Line->Size);
353 Ptr += Line->Size;
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/
H A Devntprov.h42 ULONGLONG Ptr; member in struct:_EVENT_DATA_DESCRIPTOR
63 ULONGLONG Ptr; member in struct:_EVENT_FILTER_DESCRIPTOR
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Library/GenericBdsLib/
H A DPerformance.c153 UINT8 *Ptr; local
230 Ptr = (UINT8 *) ((UINT32) mAcpiLowMemoryBase + sizeof (PERF_HEADER));
285 CopyMem (Ptr, &mPerfData, sizeof (PERF_DATA));
286 Ptr += sizeof (PERF_DATA);
322 CopyMem (Ptr, &mPerfData, sizeof (PERF_DATA));
323 Ptr += sizeof (PERF_DATA);
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/
H A DFfs.c438 UINT8 *Ptr; local
448 Ptr = (UINT8 *) PHYSICAL_ADDRESS_TO_POINTER (
452 NextFfsFile = (EFI_FFS_FILE_HEADER *) Ptr;
454 if ((UINT8 *) PHYSICAL_ADDRESS_TO_POINTER (FvDevice->CachedFv) + FvDevice->FwVolHeader->FvLength - Ptr <
473 } while (Ptr < (UINT8 *) PHYSICAL_ADDRESS_TO_POINTER (FvDevice->CachedFv) + FvDevice->FwVolHeader->FvLength);
H A DFwVol.c205 UINT8 *Ptr; local
261 Ptr = NULL;
273 Ptr = (UINT8 *) ((UINTN) BaseAddress);
299 CopyMem (LbaStart, Ptr, BlockMap->Length);
300 Ptr += BlockMap->Length;
358 Ptr = (UINT8 *) FwVolExtHeader + FwVolExtHeader->ExtHeaderSize;
359 Ptr = (UINT8 *) ALIGN_POINTER (Ptr, 8);
361 Ptr = (UINT8 *) (UINTN) (FvDevice->CachedFv + FvDevice->FwVolHeader->HeaderLength);
368 while (Ptr < TopFvAddres
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Bus/Usb/UsbBotPei/
H A DPeiAtapi.c153 UINT8 *Ptr; local
166 Ptr = SenseKeyBuffer;
175 Sense = (ATAPI_REQUEST_SENSE_DATA *) Ptr;
186 (VOID *) Ptr,
205 Ptr += sizeof (ATAPI_REQUEST_SENSE_DATA);
207 // Ptr is byte based pointer
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Bus/Usb/UsbBusPei/
H A DUsbPeim.c695 UINT8 *Ptr; local
755 Ptr = PeiUsbDevice->ConfigurationData + SkipBytes;
756 PeiUsbDevice->ConfigDesc = (EFI_USB_CONFIG_DESCRIPTOR *) Ptr;
758 Ptr += sizeof (EFI_USB_CONFIG_DESCRIPTOR);
765 Ptr,
776 Ptr += SkipBytes;
777 PeiUsbDevice->InterfaceDesc = (EFI_USB_INTERFACE_DESCRIPTOR *) Ptr;
779 Ptr += sizeof (EFI_USB_INTERFACE_DESCRIPTOR);
794 Ptr,
805 Ptr
840 UINT8 *Ptr; local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/Dxe/FwVolBlock/
H A DFwVolBlock.c624 VOID *Ptr; local
644 Ptr = NULL;
645 Status = CoreHandleProtocol (*FVProtocolHandle, &gEfiFirmwareVolume2ProtocolGuid, (VOID **) &Ptr);
646 if (EFI_ERROR(Status) || (Ptr == NULL)) {
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Disk/PartitionDxe/
H A DGpt.c501 UINT8 *Ptr; local
508 Ptr = AllocatePool (PartHeader->NumberOfPartitionEntries * PartHeader->SizeOfPartitionEntry);
509 if (Ptr == NULL) {
519 Ptr
522 FreePool (Ptr);
528 Status = gBS->CalculateCrc32 (Ptr, Size, &Crc);
531 FreePool (Ptr);
535 FreePool (Ptr);
564 UINT8 *Ptr; local
568 Ptr
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Network/SnpDxe/
H A DSnp.c95 UINT8 *Ptr; local
98 Ptr = Buffer;
101 if (Ptr == NULL || Length == 0) {
106 Cksum = (UINT8) (Cksum + *Ptr++);
918 V2P *Ptr; local
924 for (Ptr = mV2p; Ptr != NULL; Ptr = Ptr->Next) {
925 if (Ptr
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/Application/IpsecConfig/
H A DHelper.c131 @param[in] Ptr The pointer to the string containing an Ipv4 or Ipv6 Internet Protocol address.
139 IN CHAR16 *Ptr,
145 if ((Ptr == NULL) || (Ip == NULL)) {
152 Status = NetLibStrToIp4 (Ptr, &Ip->v4);
157 Status = NetLibStrToIp6 (Ptr, &Ip->v6);
165 @param[in] Ptr The pointer to the string containing an Ipv4 or Ipv6 Internet Protocol address.
174 IN CHAR16 *Ptr,
180 if ((Ptr == NULL) || (Addr == NULL)) {
184 Status = NetLibStrToIp4 (Ptr, &Addr->Address.v4);
194 Status = NetLibStrToIp6andPrefix (Ptr,
138 EfiInetAddr2( IN CHAR16 *Ptr, OUT EFI_IP_ADDRESS *Ip ) argument
173 EfiInetAddrRange( IN CHAR16 *Ptr, OUT EFI_IP_ADDRESS_INFO *Addr ) argument
214 EfiInetPortRange( IN CHAR16 *Ptr, OUT UINT16 *Port, OUT UINT16 *PortRange ) argument
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/IpSecDxe/
H A DIpSecConfigImpl.h63 UINT8 *Ptr; member in struct:__anon12557
/vbox/src/VBox/Devices/EFI/Firmware/VBoxPkg/PartitionDxe/
H A DGpt.c528 UINT8 *Ptr; local
535 Ptr = AllocatePool (PartHeader->NumberOfPartitionEntries * PartHeader->SizeOfPartitionEntry);
536 if (Ptr == NULL) {
546 Ptr
549 FreePool (Ptr);
555 Status = gBS->CalculateCrc32 (Ptr, Size, &Crc);
558 FreePool (Ptr);
562 FreePool (Ptr);
591 UINT8 *Ptr; local
595 Ptr
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Video/mp/xpdm/
H A DVBoxMPVideoPortAPI.cpp61 static VOID vboxFreePoolVoid(IN PVOID HwDeviceExtension, IN PVOID Ptr) argument
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/
H A DLegacyBios.c212 UINT8 *Ptr; local
329 for (Ptr = (UINT8 *) TempData; Ptr < (UINT8 *) ((UINTN) 0x100000) && !Done; Ptr += 0x10) {
330 if (*(UINT32 *) Ptr == SIGNATURE_32 ('I', 'F', 'E', '$')) {
331 Table = (EFI_COMPATIBILITY16_TABLE *) Ptr;
332 PtrEnd = Ptr + Table->TableLength;
333 for (CheckSum = 0; Ptr < PtrEnd; Ptr++) {
334 CheckSum = (UINT8) (CheckSum +*Ptr);
[all...]

Completed in 317 milliseconds

123