Home
last modified time | relevance | path

Searched refs:Pos (Results 1 – 25 of 56) sorted by relevance

123

/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DStringFuncs.c74 CHAR8 *Pos; in StripInfDscStringInPlace() local
83 for (Pos = String; isspace ((int)*Pos); Pos++) { in StripInfDscStringInPlace()
85 if (Pos != String) { in StripInfDscStringInPlace()
86 memmove (String, Pos, strlen (Pos) + 1); in StripInfDscStringInPlace()
96 Pos = (CHAR8 *) strstr (String, "//"); in StripInfDscStringInPlace()
97 if (Pos != NULL) { in StripInfDscStringInPlace()
98 *Pos = '\0'; in StripInfDscStringInPlace()
101 Pos = (CHAR8 *) strchr (String, '#'); in StripInfDscStringInPlace()
102 if (Pos != NULL) { in StripInfDscStringInPlace()
103 *Pos = '\0'; in StripInfDscStringInPlace()
[all …]
DTianoCompress.c1226 UINT32 Pos; in SendBlock() local
1259 Pos = 0; in SendBlock()
1262 Flags = mBuf[Pos++]; in SendBlock()
1268 EncodeC (mBuf[Pos++] + (1U << UINT8_BIT)); in SendBlock()
1269 Index3 = mBuf[Pos++]; in SendBlock()
1272 Index3 += mBuf[Pos++]; in SendBlock()
1277 EncodeC (mBuf[Pos++]); in SendBlock()
1294 IN UINT32 Pos in Output() argument
1333 mBuf[mOutputPos++] = (UINT8) (Pos >> 24); in Output()
1334 mBuf[mOutputPos++] = (UINT8) (Pos >> 16); in Output()
[all …]
DOsPath.c60 CHAR8 *Pos;
132 CHAR8 *Pos;
/device/linaro/bootloader/edk2/FatPkg/FatPei/
DFatLiteAccess.c273 IN UINT32 Pos in FatSetFilePos() argument
284 if (Pos >= MultU64x32 (File->Volume->RootEntries, 32) - File->CurrentPos) { in FatSetFilePos()
288 File->CurrentPos += Pos; in FatSetFilePos()
299 AlignedPos + File->Volume->ClusterSize <= File->CurrentPos + Pos in FatSetFilePos()
317 File->CurrentPos += Pos; in FatSetFilePos()
457 CHAR16 *Pos; in FatReadNextDirectoryEntry() local
501 Pos = (UINT16 *) SubFile->FileName; in FatReadNextDirectoryEntry()
502 SetMem ((UINT8 *) Pos, FAT_MAX_FILE_NAME_LENGTH, 0); in FatReadNextDirectoryEntry()
503 CopyMem ((UINT8 *) Pos, (UINT8 *) BaseName, 2 * (StrLen (BaseName) + 1)); in FatReadNextDirectoryEntry()
506 Pos += StrLen (BaseName); in FatReadNextDirectoryEntry()
[all …]
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/
DBufferImage.c261 UINTN Pos; in HBufferImagePrintLine() local
326 Pos = 10 + (Index * 3); in HBufferImagePrintLine()
328 ShellPrintEx ((INT32)Pos - 1, (INT32)Row - 1, L"0"); in HBufferImagePrintLine()
329 Pos++; in HBufferImagePrintLine()
333 ShellPrintEx ((INT32)Pos - 1, (INT32)Row - 1, L"%x ", Line->Buffer[Index]); in HBufferImagePrintLine()
335 ShellPrintEx ((INT32)Pos - 1, (INT32)Row - 1, L"%x ", Line->Buffer[Index]); in HBufferImagePrintLine()
342 Pos = 10 + (Index * 3); in HBufferImagePrintLine()
343 ShellPrintEx ((INT32)Pos - 1, (INT32)Row - 1, L" "); in HBufferImagePrintLine()
363 Pos = 10 + (Index * 3) + 1; in HBufferImagePrintLine()
365 ShellPrintEx ((INT32)Pos - 1, (INT32)Row - 1, L"0"); in HBufferImagePrintLine()
[all …]
DBufferImage.h186 IN UINTN Pos,
202 IN UINTN Pos,
/device/linaro/bootloader/edk2/FatPkg/EnhancedFatDxe/
DFileSpace.c37 UINTN Pos; in FatLoadFatEntry() local
49 Pos = FAT_POS_FAT12 (Index); in FatLoadFatEntry()
53 Pos = FAT_POS_FAT16 (Index); in FatLoadFatEntry()
57 Pos = FAT_POS_FAT32 (Index); in FatLoadFatEntry()
62 Volume->FatEntryPos = Volume->FatPos + Pos; in FatLoadFatEntry()
95 VOID *Pos; in FatGetFatEntry() local
101 Pos = FatLoadFatEntry (Volume, Index); in FatGetFatEntry()
109 En12 = Pos; in FatGetFatEntry()
116 En16 = Pos; in FatGetFatEntry()
122 En32 = Pos; in FatGetFatEntry()
[all …]
/device/linaro/bootloader/edk2/Nt32Pkg/Library/PlatformBootManagerLib/
DMemoryTest.c57 CHAR16 *Pos; in PlatformBootManagerMemoryTest() local
69 Pos = AllocateZeroPool (StrTotalMemorySize); in PlatformBootManagerMemoryTest()
70 ASSERT (Pos != NULL); in PlatformBootManagerMemoryTest()
82 StrTotalMemory = Pos; in PlatformBootManagerMemoryTest()
102 FreePool (Pos); in PlatformBootManagerMemoryTest()
119 FreePool (Pos); in PlatformBootManagerMemoryTest()
257 FreePool (Pos); in PlatformBootManagerMemoryTest()
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Dxe/
DMeasureBootPeCoff.c118 UINTN Pos; in MeasurePeImageAndExtend() local
343 Pos = Index; in MeasurePeImageAndExtend()
344 while ((Pos > 0) && (Section->PointerToRawData < SectionHeader[Pos - 1].PointerToRawData)) { in MeasurePeImageAndExtend()
345 CopyMem (&SectionHeader[Pos], &SectionHeader[Pos - 1], sizeof(EFI_IMAGE_SECTION_HEADER)); in MeasurePeImageAndExtend()
346 Pos--; in MeasurePeImageAndExtend()
348 CopyMem (&SectionHeader[Pos], Section, sizeof(EFI_IMAGE_SECTION_HEADER)); in MeasurePeImageAndExtend()
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEEDxe/
DMeasureBootPeCoff.c118 UINTN Pos; in MeasurePeImageAndExtend() local
343 Pos = Index; in MeasurePeImageAndExtend()
344 while ((Pos > 0) && (Section->PointerToRawData < SectionHeader[Pos - 1].PointerToRawData)) { in MeasurePeImageAndExtend()
345 CopyMem (&SectionHeader[Pos], &SectionHeader[Pos - 1], sizeof(EFI_IMAGE_SECTION_HEADER)); in MeasurePeImageAndExtend()
346 Pos--; in MeasurePeImageAndExtend()
348 CopyMem (&SectionHeader[Pos], Section, sizeof(EFI_IMAGE_SECTION_HEADER)); in MeasurePeImageAndExtend()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/
DMemoryTest.c226 CHAR16 *Pos; in BdsMemoryTest() local
239 Pos = AllocateZeroPool (StrTotalMemorySize); in BdsMemoryTest()
241 if (Pos == NULL) { in BdsMemoryTest()
245 StrTotalMemory = Pos; in BdsMemoryTest()
265 FreePool (Pos); in BdsMemoryTest()
282 FreePool (Pos); in BdsMemoryTest()
420 FreePool (Pos); in BdsMemoryTest()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/
DLegacyBootMaintUi.c276 UINTN Pos; in UpdateBBSOption() local
391 Pos = Tmp / 8; in UpdateBBSOption()
393 if ((DisMap[Pos] & (1 << Bit)) != 0) { in UpdateBBSOption()
926 UINTN Pos; in AdjustOptionValue() local
988 Pos = OldValue / 8; in AdjustOptionValue()
990 DisMap[Pos] = (UINT8) (DisMap[Pos] | (UINT8) (1 << Bit)); in AdjustOptionValue()
1031 Pos = NewValue / 8; in AdjustOptionValue()
1033 DisMap[Pos] = (UINT8) (DisMap[Pos] & (~ (UINT8) (1 << Bit))); in AdjustOptionValue()
1040 Pos = OldValue / 8; in AdjustOptionValue()
1042 DisMap[Pos] = (UINT8) (DisMap[Pos] | (UINT8) (1 << Bit)); in AdjustOptionValue()
[all …]
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Include/
DCommonIncludes.h126 #define BIT(Pos, Value) (1 << (Pos) & (Value))
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/
DSetVar.c43 CONST CHAR16 *Pos; in IsStringOfHexNibbles() local
45 for (Pos = String; *Pos != L'\0'; ++Pos) { in IsStringOfHexNibbles()
46 if (!ShellIsHexaDecimalDigitCharacter (*Pos)) { in IsStringOfHexNibbles()
DCompress.c1099 UINT32 Pos; in SendBlock() local
1133 Pos = 0; in SendBlock()
1136 Flags = mBuf[Pos++]; in SendBlock()
1141 EncodeC(mBuf[Pos++] + (1U << UINT8_BIT)); in SendBlock()
1142 LoopVar3 = mBuf[Pos++] << UINT8_BIT; in SendBlock()
1143 LoopVar3 += mBuf[Pos++]; in SendBlock()
1147 EncodeC (mBuf[Pos++]); in SendBlock()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/
DTianoCompress.c1239 UINT32 Pos; in SendBlock() local
1272 Pos = 0; in SendBlock()
1275 Flags = mBuf[Pos++]; in SendBlock()
1281 EncodeC (mBuf[Pos++] + (1U << UINT8_BIT)); in SendBlock()
1282 Index3 = mBuf[Pos++]; in SendBlock()
1285 Index3 += mBuf[Pos++]; in SendBlock()
1290 EncodeC (mBuf[Pos++]); in SendBlock()
1307 IN UINT32 Pos in Output() argument
1346 mBuf[mOutputPos++] = (UINT8) (Pos >> 24); in Output()
1347 mBuf[mOutputPos++] = (UINT8) (Pos >> 16); in Output()
[all …]
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTpmMeasureBootLib/
DDxeTpmMeasureBootLib.c322 UINTN Pos; in TcgMeasurePeImage() local
580 Pos = Index; in TcgMeasurePeImage()
581 while ((Pos > 0) && (Section->PointerToRawData < SectionHeader[Pos - 1].PointerToRawData)) { in TcgMeasurePeImage()
582 CopyMem (&SectionHeader[Pos], &SectionHeader[Pos - 1], sizeof(EFI_IMAGE_SECTION_HEADER)); in TcgMeasurePeImage()
583 Pos--; in TcgMeasurePeImage()
585 CopyMem (&SectionHeader[Pos], Section, sizeof(EFI_IMAGE_SECTION_HEADER)); in TcgMeasurePeImage()
/device/linaro/bootloader/edk2/OvmfPkg/Library/QemuBootOrderLib/
DQemuBootOrderLib.c122 UINTN Pos; in SubstringEq() local
125 Pos = 0; in SubstringEq()
128 while (Pos < Substring.Len && Substring.Ptr[Pos] == *Chr) { in SubstringEq()
129 ++Pos; in SubstringEq()
133 return (BOOLEAN)(Pos == Substring.Len && *Chr == '\0'); in SubstringEq()
187 UINTN Pos; // current position within UnitAddress in ParseUnitAddressHexList() local
194 for (Pos = 0; Pos < UnitAddress.Len; ++Pos) { in ParseUnitAddressHexList()
198 Chr = UnitAddress.Ptr[Pos]; in ParseUnitAddressHexList()
/device/linaro/bootloader/edk2/BaseTools/Source/C/TianoCompress/
DTianoCompress.c1051 UINT32 Pos; in SendBlock() local
1085 Pos = 0; in SendBlock()
1088 Flags = mBuf[Pos++]; in SendBlock()
1094 EncodeC (mBuf[Pos++] + (1U << UINT8_BIT)); in SendBlock()
1095 Index3 = mBuf[Pos++]; in SendBlock()
1098 Index3 += mBuf[Pos++]; in SendBlock()
1103 EncodeC (mBuf[Pos++]); in SendBlock()
1120 IN UINT32 Pos in Output() argument
1159 mBuf[mOutputPos++] = (UINT8) (Pos >> 24); in Output()
1160 mBuf[mOutputPos++] = (UINT8) (Pos >> 16); in Output()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/HiiPack/
DIfrParse.c541 char *Pos; in IfrParseCheck() local
549 Pos = Buffer; in IfrParseCheck()
551 while ((Pos >= Start) && (Pos < End)) { in IfrParseCheck()
552 OpHeader = (EFI_IFR_OP_HEADER *) Pos; in IfrParseCheck()
556 if (Pos + OpHeader->Length > End) { in IfrParseCheck()
557 … Error (NULL, 0, 0, FileName, "invalid IFR opcode size at offset 0x%X", (int) Pos - (int) Start); in IfrParseCheck()
562 Error (NULL, 0, 0, FileName, "IFR opcode size=0 at offset 0x%X", (int) Pos - (int) Start); in IfrParseCheck()
574 Pos += OpHeader->Length; in IfrParseCheck()
/device/linaro/bootloader/edk2/MdePkg/Library/BaseUefiDecompressLib/
DBaseUefiDecompressLib.c277 UINT32 Pos; in DecodeP() local
300 Pos = Val; in DecodeP()
302 Pos = (UINT32) ((1U << (Val - 1)) + GetBits (Sd, (UINT16) (Val - 1))); in DecodeP()
305 return Pos; in DecodeP()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/
DBootMaint.c700 UINTN Pos; in BootMaintCallback() local
919 Pos = OldValue / 8; in BootMaintCallback()
921 DisMap[Pos] = (UINT8) (DisMap[Pos] | (UINT8) (1 << Bit)); in BootMaintCallback()
962 Pos = NewValue / 8; in BootMaintCallback()
964 DisMap[Pos] = (UINT8) (DisMap[Pos] & (~ (UINT8) (1 << Bit))); in BootMaintCallback()
971 Pos = OldValue / 8; in BootMaintCallback()
973 DisMap[Pos] = (UINT8) (DisMap[Pos] | (UINT8) (1 << Bit)); in BootMaintCallback()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/
Ddeflate.h86 typedef ush Pos; typedef
87 typedef Pos FAR Posf;
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDecompressLib/
DBaseUefiDecompressLib.c290 UINT32 Pos; in GlueDecodeP() local
313 Pos = Val; in GlueDecodeP()
315 Pos = (UINT32) ((1U << (Val - 1)) + GetBits (Sd, (UINT16) (Val - 1))); in GlueDecodeP()
318 return Pos; in GlueDecodeP()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/
Ddeflate.h89 typedef ush Pos; typedef
90 typedef Pos FAR Posf;

123