Searched refs:Pos (Results 1 - 25 of 53) sorted by relevance

123

/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
H A DStringFuncs.c74 CHAR8 *Pos; local
83 for (Pos = String; isspace ((int)*Pos); Pos++) {
85 if (Pos != String) {
86 memmove (String, Pos, strlen (Pos) + 1);
96 Pos = (CHAR8 *) strstr (String, "//");
97 if (Pos != NULL) {
98 *Pos
141 CHAR8 *Pos; local
[all...]
H A DOsPath.c60 CHAR8 *Pos;
132 CHAR8 *Pos;
H A DTianoCompress.c1226 UINT32 Pos; local
1259 Pos = 0;
1262 Flags = mBuf[Pos++];
1268 EncodeC (mBuf[Pos++] + (1U << UINT8_BIT));
1269 Index3 = mBuf[Pos++];
1272 Index3 += mBuf[Pos++];
1277 EncodeC (mBuf[Pos++]);
1294 IN UINT32 Pos
1305 Pos - The 'Position' field of a Pointer
1333 mBuf[mOutputPos++] = (UINT8) (Pos >> 2
[all...]
H A DEfiCompress.c1120 UINT32 i, k, Flags, Root, Pos, Size; local
1149 Pos = 0;
1152 Flags = mBuf[Pos++];
1157 EncodeC(mBuf[Pos++] + (1U << UINT8_BIT));
1158 k = mBuf[Pos++] << UINT8_BIT;
1159 k += mBuf[Pos++];
1162 EncodeC(mBuf[Pos++]);
/device/linaro/bootloader/edk2/FatPkg/EnhancedFatDxe/
H A DFileSpace.c37 UINTN Pos; local
49 Pos = FAT_POS_FAT12 (Index);
53 Pos = FAT_POS_FAT16 (Index);
57 Pos = FAT_POS_FAT32 (Index);
62 Volume->FatEntryPos = Volume->FatPos + Pos;
95 VOID *Pos; local
101 Pos = FatLoadFatEntry (Volume, Index);
109 En12 = Pos;
116 En16 = Pos;
122 En32 = Pos;
151 VOID *Pos; local
[all...]
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/
H A DBufferImage.c261 UINTN Pos; local
326 Pos = 10 + (Index * 3);
328 ShellPrintEx ((INT32)Pos - 1, (INT32)Row - 1, L"0");
329 Pos++;
333 ShellPrintEx ((INT32)Pos - 1, (INT32)Row - 1, L"%x ", Line->Buffer[Index]);
335 ShellPrintEx ((INT32)Pos - 1, (INT32)Row - 1, L"%x ", Line->Buffer[Index]);
342 Pos = 10 + (Index * 3);
343 ShellPrintEx ((INT32)Pos - 1, (INT32)Row - 1, L" ");
363 Pos = 10 + (Index * 3) + 1;
365 ShellPrintEx ((INT32)Pos
1891 HBufferImageDeleteCharacterFromBuffer( IN UINTN Pos, IN UINTN Count, OUT UINT8 *DeleteBuffer ) argument
2020 HBufferImageAddCharacterToBuffer( IN UINTN Pos, IN UINTN Count, IN UINT8 *AddBuffer ) argument
[all...]
H A DBufferImage.h178 @param[in] Pos Position, Pos starting from 0.
186 IN UINTN Pos,
194 @param[in] Pos Position, Pos starting from 0.
202 IN UINTN Pos,
/device/linaro/bootloader/edk2/FatPkg/FatPei/
H A DFatLiteAccess.c261 @param Pos the Position which is offset from the file's
265 @retval EFI_INVALID_PARAMETER Pos is beyond file's size.
273 IN UINT32 Pos
284 if (Pos >= MultU64x32 (File->Volume->RootEntries, 32) - File->CurrentPos) {
288 File->CurrentPos += Pos;
299 AlignedPos + File->Volume->ClusterSize <= File->CurrentPos + Pos
317 File->CurrentPos += Pos;
457 CHAR16 *Pos; local
501 Pos = (UINT16 *) SubFile->FileName;
502 SetMem ((UINT8 *) Pos, FAT_MAX_FILE_NAME_LENGT
[all...]
/device/linaro/bootloader/edk2/Nt32Pkg/Library/PlatformBootManagerLib/
H A DMemoryTest.c57 CHAR16 *Pos; local
69 Pos = AllocateZeroPool (StrTotalMemorySize);
70 ASSERT (Pos != NULL);
82 StrTotalMemory = Pos;
102 FreePool (Pos);
119 FreePool (Pos);
257 FreePool (Pos);
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Dxe/
H A DMeasureBootPeCoff.c118 UINTN Pos; local
343 Pos = Index;
344 while ((Pos > 0) && (Section->PointerToRawData < SectionHeader[Pos - 1].PointerToRawData)) {
345 CopyMem (&SectionHeader[Pos], &SectionHeader[Pos - 1], sizeof(EFI_IMAGE_SECTION_HEADER));
346 Pos--;
348 CopyMem (&SectionHeader[Pos], Section, sizeof(EFI_IMAGE_SECTION_HEADER));
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEEDxe/
H A DMeasureBootPeCoff.c118 UINTN Pos; local
343 Pos = Index;
344 while ((Pos > 0) && (Section->PointerToRawData < SectionHeader[Pos - 1].PointerToRawData)) {
345 CopyMem (&SectionHeader[Pos], &SectionHeader[Pos - 1], sizeof(EFI_IMAGE_SECTION_HEADER));
346 Pos--;
348 CopyMem (&SectionHeader[Pos], Section, sizeof(EFI_IMAGE_SECTION_HEADER));
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Include/
H A DCommonIncludes.h126 #define BIT(Pos, Value) (1 << (Pos) & (Value))
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/
H A DMemoryTest.c226 CHAR16 *Pos; local
239 Pos = AllocateZeroPool (StrTotalMemorySize);
241 if (Pos == NULL) {
245 StrTotalMemory = Pos;
265 FreePool (Pos);
282 FreePool (Pos);
420 FreePool (Pos);
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/
H A DLegacyBootMaintUi.c276 UINTN Pos; local
391 Pos = Tmp / 8;
393 if ((DisMap[Pos] & (1 << Bit)) != 0) {
926 UINTN Pos; local
988 Pos = OldValue / 8;
990 DisMap[Pos] = (UINT8) (DisMap[Pos] | (UINT8) (1 << Bit));
1031 Pos = NewValue / 8;
1033 DisMap[Pos] = (UINT8) (DisMap[Pos]
1222 UINTN Pos; local
[all...]
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/
H A DSetVar.c43 CONST CHAR16 *Pos; local
45 for (Pos = String; *Pos != L'\0'; ++Pos) {
46 if (!ShellIsHexaDecimalDigitCharacter (*Pos)) {
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/
H A DTianoCompress.c1239 UINT32 Pos; local
1272 Pos = 0;
1275 Flags = mBuf[Pos++];
1281 EncodeC (mBuf[Pos++] + (1U << UINT8_BIT));
1282 Index3 = mBuf[Pos++];
1285 Index3 += mBuf[Pos++];
1290 EncodeC (mBuf[Pos++]);
1307 IN UINT32 Pos
1318 Pos - The 'Position' field of a Pointer
1346 mBuf[mOutputPos++] = (UINT8) (Pos >> 2
[all...]
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTpmMeasureBootLib/
H A DDxeTpmMeasureBootLib.c322 UINTN Pos; local
580 Pos = Index;
581 while ((Pos > 0) && (Section->PointerToRawData < SectionHeader[Pos - 1].PointerToRawData)) {
582 CopyMem (&SectionHeader[Pos], &SectionHeader[Pos - 1], sizeof(EFI_IMAGE_SECTION_HEADER));
583 Pos--;
585 CopyMem (&SectionHeader[Pos], Section, sizeof(EFI_IMAGE_SECTION_HEADER));
/device/linaro/bootloader/edk2/OvmfPkg/Library/QemuBootOrderLib/
H A DQemuBootOrderLib.c122 UINTN Pos; local
125 Pos = 0;
128 while (Pos < Substring.Len && Substring.Ptr[Pos] == *Chr) {
129 ++Pos;
133 return (BOOLEAN)(Pos == Substring.Len && *Chr == '\0');
187 UINTN Pos; // current position within UnitAddress local
194 for (Pos = 0; Pos < UnitAddress.Len; ++Pos) {
[all...]
/device/linaro/bootloader/edk2/BaseTools/Source/C/TianoCompress/
H A DTianoCompress.c1051 UINT32 Pos; local
1085 Pos = 0;
1088 Flags = mBuf[Pos++];
1094 EncodeC (mBuf[Pos++] + (1U << UINT8_BIT));
1095 Index3 = mBuf[Pos++];
1098 Index3 += mBuf[Pos++];
1103 EncodeC (mBuf[Pos++]);
1120 IN UINT32 Pos
1131 Pos - The 'Position' field of a Pointer
1159 mBuf[mOutputPos++] = (UINT8) (Pos >> 2
2295 UINT32 Pos; local
[all...]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDecompressLib/
H A DBaseUefiDecompressLib.c290 UINT32 Pos; local
313 Pos = Val;
315 Pos = (UINT32) ((1U << (Val - 1)) + GetBits (Sd, (UINT16) (Val - 1)));
318 return Pos;
/device/linaro/bootloader/edk2/MdePkg/Library/BaseUefiDecompressLib/
H A DBaseUefiDecompressLib.c277 UINT32 Pos; local
300 Pos = Val;
302 Pos = (UINT32) ((1U << (Val - 1)) + GetBits (Sd, (UINT16) (Val - 1)));
305 return Pos;
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/HiiPack/
H A DIfrParse.c541 char *Pos; local
549 Pos = Buffer;
551 while ((Pos >= Start) && (Pos < End)) {
552 OpHeader = (EFI_IFR_OP_HEADER *) Pos;
556 if (Pos + OpHeader->Length > End) {
557 Error (NULL, 0, 0, FileName, "invalid IFR opcode size at offset 0x%X", (int) Pos - (int) Start);
562 Error (NULL, 0, 0, FileName, "IFR opcode size=0 at offset 0x%X", (int) Pos - (int) Start);
574 Pos += OpHeader->Length;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/
H A Ddeflate.h89 typedef ush Pos; typedef
90 typedef Pos FAR Posf;
93 /* A Pos is an index in the character window. We use short instead of int to
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/
H A Ddeflate.h86 typedef ush Pos; typedef
87 typedef Pos FAR Posf;
90 /* A Pos is an index in the character window. We use short instead of int to
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/
H A DBootMaint.c700 UINTN Pos; local
919 Pos = OldValue / 8;
921 DisMap[Pos] = (UINT8) (DisMap[Pos] | (UINT8) (1 << Bit));
962 Pos = NewValue / 8;
964 DisMap[Pos] = (UINT8) (DisMap[Pos] & (~ (UINT8) (1 << Bit)));
971 Pos = OldValue / 8;
973 DisMap[Pos] = (UINT8) (DisMap[Pos] | (UINT
[all...]

Completed in 453 milliseconds

123