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

12

/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.c1219 UINT32 Pos; local
1252 Pos = 0;
1255 Flags = mBuf[Pos++];
1261 EncodeC (mBuf[Pos++] + (1U << UINT8_BIT));
1262 Index3 = mBuf[Pos++];
1265 Index3 += mBuf[Pos++];
1270 EncodeC (mBuf[Pos++]);
1287 IN UINT32 Pos
1298 Pos - The 'Position' field of a Pointer
1326 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/SecurityPkg/Tcg/Tcg2Dxe/
H A DMeasureBootPeCoff.c66 UINTN Pos; local
273 Pos = Index;
274 while ((Pos > 0) && (Section->PointerToRawData < SectionHeader[Pos - 1].PointerToRawData)) {
275 CopyMem (&SectionHeader[Pos], &SectionHeader[Pos - 1], sizeof(EFI_IMAGE_SECTION_HEADER));
276 Pos--;
278 CopyMem (&SectionHeader[Pos], Section, sizeof(EFI_IMAGE_SECTION_HEADER));
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEEDxe/
H A DMeasureBootPeCoff.c66 UINTN Pos; local
273 Pos = Index;
274 while ((Pos > 0) && (Section->PointerToRawData < SectionHeader[Pos - 1].PointerToRawData)) {
275 CopyMem (&SectionHeader[Pos], &SectionHeader[Pos - 1], sizeof(EFI_IMAGE_SECTION_HEADER));
276 Pos--;
278 CopyMem (&SectionHeader[Pos], Section, sizeof(EFI_IMAGE_SECTION_HEADER));
/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
1896 HBufferImageDeleteCharacterFromBuffer( IN UINTN Pos, IN UINTN Count, OUT UINT8 *DeleteBuffer ) argument
2025 HBufferImageAddCharacterToBuffer( IN UINTN Pos, IN UINTN Count, IN UINT8 *AddBuffer ) argument
[all...]
H A DBufferImage.h179 @param[in] Pos Position, Pos starting from 0.
187 IN UINTN Pos,
195 @param[in] Pos Position, Pos starting from 0.
203 IN UINTN Pos,
/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/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.c249 UINTN Pos; local
362 Pos = Tmp / 8;
364 if ((DisMap[Pos] & (1 << Bit)) != 0) {
894 UINTN Pos; local
963 Pos = OldValue / 8;
965 DisMap[Pos] = (UINT8) (DisMap[Pos] | (UINT8) (1 << Bit));
1006 Pos = NewValue / 8;
1008 DisMap[Pos] = (UINT8) (DisMap[Pos]
1182 UINTN Pos; local
[all...]
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/
H A DSetVar.c44 CONST CHAR16 *Pos; local
46 for (Pos = String; *Pos != L'\0'; ++Pos) {
47 if (!ShellIsHexaDecimalDigitCharacter (*Pos)) {
H A DCompress.c1125 UINT32 Pos; local
1159 Pos = 0;
1162 Flags = mBuf[Pos++];
1167 EncodeC(mBuf[Pos++] + (1U << UINT8_BIT));
1168 LoopVar3 = mBuf[Pos++] << UINT8_BIT;
1169 LoopVar3 += mBuf[Pos++];
1173 EncodeC (mBuf[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...]
H A DEfiCompress.c1123 UINT32 i, k, Flags, Root, Pos, Size; local
1152 Pos = 0;
1155 Flags = mBuf[Pos++];
1160 EncodeC(mBuf[Pos++] + (1U << UINT8_BIT));
1161 k = mBuf[Pos++] << UINT8_BIT;
1162 k += mBuf[Pos++];
1165 EncodeC(mBuf[Pos++]);
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTpmMeasureBootLib/
H A DDxeTpmMeasureBootLib.c320 UINTN Pos; local
578 Pos = Index;
579 while ((Pos > 0) && (Section->PointerToRawData < SectionHeader[Pos - 1].PointerToRawData)) {
580 CopyMem (&SectionHeader[Pos], &SectionHeader[Pos - 1], sizeof(EFI_IMAGE_SECTION_HEADER));
581 Pos--;
583 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.c1042 UINT32 Pos; local
1076 Pos = 0;
1079 Flags = mBuf[Pos++];
1085 EncodeC (mBuf[Pos++] + (1U << UINT8_BIT));
1086 Index3 = mBuf[Pos++];
1089 Index3 += mBuf[Pos++];
1094 EncodeC (mBuf[Pos++]);
1111 IN UINT32 Pos
1122 Pos - The 'Position' field of a Pointer
1150 mBuf[mOutputPos++] = (UINT8) (Pos >> 2
2271 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/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/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/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 418 milliseconds

12