Home
last modified time | relevance | path

Searched refs:Tmp (Results 1 – 25 of 30) sorted by relevance

12

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/
DMyAlloc.c78 MY_ALLOC_STRUCT *Tmp; in MyCheck() local
109 for (Tmp = MyAllocData; Tmp != NULL; Tmp = Tmp->Next) { in MyCheck()
110 if (memcmp(Tmp->Buffer, &MyAllocHeadMagik, sizeof MyAllocHeadMagik) || in MyCheck()
111 … memcmp(&Tmp->Buffer[Tmp->Size + sizeof(UINT32)], &MyAllocTailMagik, sizeof MyAllocTailMagik)) { in MyCheck()
118 if (Tmp != NULL) { in MyCheck()
125 Tmp->File, in MyCheck()
126 Tmp->Line, in MyCheck()
127 Tmp->Size, in MyCheck()
128 *(UINT32 *) (Tmp->Buffer), in MyCheck()
129 *(UINT32 *) (&Tmp->Buffer[Tmp->Size + sizeof (UINT32)]) in MyCheck()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DMyAlloc.c71 MY_ALLOC_STRUCT *Tmp; in MyCheck() local
102 for (Tmp = MyAllocData; Tmp != NULL; Tmp = Tmp->Next) { in MyCheck()
103 if (memcmp(Tmp->Buffer, &MyAllocHeadMagik, sizeof MyAllocHeadMagik) || in MyCheck()
104 … memcmp(&Tmp->Buffer[Tmp->Size + sizeof(UINT32)], &MyAllocTailMagik, sizeof MyAllocTailMagik)) { in MyCheck()
111 if (Tmp != NULL) { in MyCheck()
118 Tmp->File, in MyCheck()
119 (unsigned) Tmp->Line, in MyCheck()
120 (unsigned) Tmp->Size, in MyCheck()
121 (unsigned) *(UINT32 *) (Tmp->Buffer), in MyCheck()
122 (unsigned) *(UINT32 *) (&Tmp->Buffer[Tmp->Size + sizeof (UINT32)]) in MyCheck()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Xml/
DPackageSurfaceAreaXml.py114 Tmp = HelpTextXml()
115 NodeList.append(Tmp.ToXml(Item))
167 Tmp = PackageHeaderXml()
168 Tmp.FromXml(XmlNode(Item, '/PackageSurfaceArea/Header'), 'Header', Package)
172 Tmp = ClonedFromXml()
174 ClonedFrom = Tmp.FromXml(XmlNode(Item, '/PackageSurfaceArea/ClonedFrom'), 'ClonedFrom')
181 Tmp = LibraryClassXml()
182 LibraryClass = Tmp.FromXml(SubItem, 'LibraryClass')
193 Tmp = IndustryStandardHeaderXml()
194 Include = Tmp.FromXml(SubItem, 'IndustryStandardHeader')
[all …]
DModuleSurfaceAreaXml.py139 Tmp = FilenameXml()
140 NodeList.append(Tmp.ToXml(Filename, 'Filename'))
153 Tmp = PcdEntryXml()
154 AsBuiltNodeList.append(Tmp.ToXml4(Pcd, 'PatchPcdValue'))
158 Tmp = PcdEntryXml()
159 AsBuiltNodeList.append(Tmp.ToXml4(Pcd, 'PcdExValue'))
174 Tmp = BuildFlagXml()
331 Tmp = HelpTextXml()
332 NodeList.append(Tmp.ToXml(Depex.GetHelpText(), 'HelpText'))
374 Tmp = HelpTextXml()
[all …]
DPcdXml.py438 Tmp = HelpTextXml()
439 NodeList.append(Tmp.ToXml(Item))
441 Tmp = PcdErrorXml()
442 NodeList.append(Tmp.ToXml(Item, 'PcdError'))
469 Tmp = PromptXml()
470 NodeList.append(Tmp.ToXml(Item))
473 Tmp = HelpTextXml()
474 NodeList.append(Tmp.ToXml(Item))
477 Tmp = PcdErrorXml()
478 NodeList.append(Tmp.ToXml(Item, 'PcdError'))
[all …]
DGuidProtocolPpiXml.py100 Tmp = HelpTextXml()
101 NodeList.append(Tmp.ToXml(Item))
167 Tmp = HelpTextXml()
168 NodeList.append(Tmp.ToXml(Item))
226 Tmp = HelpTextXml()
227 NodeList.append(Tmp.ToXml(Item))
281 Tmp = HelpTextXml()
282 NodeList.append(Tmp.ToXml(Item))
DXmlParser.py175 Tmp = DistributionPackageHeaderXml()
177Tmp.FromXml(XmlNode(self.Pkg, '/DistributionPackage/DistributionHeader'), 'DistributionHeader')
201 Tmp = MiscellaneousFileXml()
202 … self.DistP.Tools = Tmp.FromXml2(XmlNode(self.Pkg, '/DistributionPackage/Tools'), 'Tools')
207 Tmp = MiscellaneousFileXml()
209 Tmp.FromXml2(XmlNode(self.Pkg, \
217 Tmp = UserExtensionsXml()
218 self.DistP.UserExtensions.append(Tmp.FromXml2(Item, 'UserExtensions'))
239 Tmp = DistributionPackageHeaderXml()
240 Root.appendChild(Tmp.ToXml(DistP.Header, 'DistributionHeader'))
[all …]
DCommonXml.py646 Tmp = UserExtensionSourceXml()
647 SourceDict = Tmp.FromXml(SourcesItem, 'Sources')
650 Tmp = UserExtensionBinaryXml()
651 BinariesDict = Tmp.FromXml(BinariesItem, 'Binaries')
731 Tmp = UserExtensionSourceXml()
732 Root.appendChild(Tmp.ToXml(SourcesDict, 'Sources'))
736 Tmp = UserExtensionBinaryXml()
737 Root.appendChild(Tmp.ToXml(BinariesDict, 'Binaries'))
928 Tmp = HelpTextXml()
929 NodeList.append(Tmp.ToXml(Item))
[all …]
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/
Dhte.c79 UINT32 Tmp; in WaitForHteComplete() local
93 Tmp = isbR32m(HTE, 0x00020011); in WaitForHteComplete()
94 Tmp = Tmp | BIT9; in WaitForHteComplete()
95 Tmp = Tmp & ~(BIT13 | BIT12); in WaitForHteComplete()
96 isbW32m(HTE, 0x00020011, Tmp); in WaitForHteComplete()
115 UINT32 Tmp; in ClearHteErrorRegisters() local
121 Tmp = isbR32m(HTE, 0x000200A1); in ClearHteErrorRegisters()
122 Tmp |= BIT8; in ClearHteErrorRegisters()
123 isbW32m(HTE, 0x000200A1, Tmp); in ClearHteErrorRegisters()
352 UINT32 Tmp; in ReadWriteDataCompareHte() local
[all …]
/device/linaro/bootloader/edk2/MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/
DBaseOrderedCollectionRedBlackTreeLib.c593 RED_BLACK_TREE_NODE *Tmp; in OrderedCollectionInsert() local
599 Tmp = Tree->Root; in OrderedCollectionInsert()
607 while (Tmp != NULL) { in OrderedCollectionInsert()
608 Result = Tree->UserStructCompare (UserStruct, Tmp->UserStruct); in OrderedCollectionInsert()
612 Parent = Tmp; in OrderedCollectionInsert()
613 Tmp = (Result < 0) ? Tmp->Left : Tmp->Right; in OrderedCollectionInsert()
616 if (Tmp != NULL) { in OrderedCollectionInsert()
618 *Node = Tmp; in OrderedCollectionInsert()
627 Tmp = AllocatePool (sizeof *Tmp); in OrderedCollectionInsert()
628 if (Tmp == NULL) { in OrderedCollectionInsert()
[all …]
/device/linaro/bootloader/edk2/ArmPkg/Include/
DAsmMacroIoLib.h125 #define SetPrimaryStack(StackTop, GlobalSize, Tmp) \ argument
126 and Tmp, GlobalSize, #7 ; \
127 rsbne Tmp, Tmp, #8 ; \
128 add GlobalSize, GlobalSize, Tmp ; \
131 mov Tmp, sp ; \
134 cmp Tmp, StackTop ; \
136 str GlobalSize, [Tmp], #4 ; \
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/SnpDxe/
DGet_status.c44 UINT64 *Tmp; in PxeGetStatus() local
46 Tmp = NULL; in PxeGetStatus()
137Tmp = AllocatePool (sizeof (UINT64) * (Snp->MaxRecycledTxBuf + SNP_TX_BUFFER_INCREASEMENT)); in PxeGetStatus()
138 if (Tmp == NULL) { in PxeGetStatus()
141 CopyMem (Tmp, Snp->RecycledTxBuf, sizeof (UINT64) * Snp->RecycledTxBufCount); in PxeGetStatus()
143 Snp->RecycledTxBuf = Tmp; in PxeGetStatus()
/device/linaro/bootloader/edk2/OptionRomPkg/UndiRuntimeDxe/
DE100b.c1575 UINT16 Tmp; in next() local
1577 Tmp = (UINT16) (ind + 1); in next()
1578 if (Tmp >= (TX_BUFFER_COUNT << 1)) { in next()
1579 Tmp = 0; in next()
1582 return Tmp; in next()
1789 UINT8 Tmp; in shift_bits_out() local
1805 Tmp = (UINT8) (InByte (AdapterInfo, EEAddr) &~EE_DI); in shift_bits_out()
1806 Tmp = (UINT8) (Tmp | dataval); in shift_bits_out()
1807 OutByte (AdapterInfo, Tmp, EEAddr); in shift_bits_out()
1812 OutByte (AdapterInfo, (UINT8) (Tmp | EE_SHIFT_CLK), EEAddr); in shift_bits_out()
[all …]
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/Pk/
DCryptPkcs7Sign.c66 UINT8 *Tmp; in Pkcs7Sign() local
162 Tmp = P7Data; in Pkcs7Sign()
163 P7DataSize = i2d_PKCS7 (Pkcs7, (unsigned char **) &Tmp); in Pkcs7Sign()
/device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/NorFlashDxe/
DNorFlashDxe.c854 UINT32 Tmp; in NorFlashWriteSingleBlock() local
914 TempStatus = NorFlashRead (Instance, Lba, CurOffset & ~(0x3), sizeof(Tmp), &Tmp); in NorFlashWriteSingleBlock()
929 if (~Tmp != 0) { in NorFlashWriteSingleBlock()
931 if ((Tmp ^ TmpBuf) & TmpBuf) { in NorFlashWriteSingleBlock()
946 if ((Tmp & Mask) != Mask) { in NorFlashWriteSingleBlock()
948 if ((Tmp ^ TmpBuf) & TmpBuf) { in NorFlashWriteSingleBlock()
954 WordToWrite = (Tmp & ~Mask) | TmpBuf; in NorFlashWriteSingleBlock()
965 if ((Tmp & Mask) != Mask) { in NorFlashWriteSingleBlock()
967 if ((Tmp ^ TmpBuf) & TmpBuf) { in NorFlashWriteSingleBlock()
973 WordToWrite = (Tmp & ~Mask) | TmpBuf; in NorFlashWriteSingleBlock()
[all …]
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/
DFwVolRead.c243 UINT32 Tmp; in FvGetNextFile() local
252 Tmp = *(UINT32 *) SrcPtr; in FvGetNextFile()
253 if (Tmp == 0) { in FvGetNextFile()
428 UINT32 Tmp; in FvReadFile() local
431 Tmp = *(UINT32 *) SrcPtr; in FvReadFile()
432 if (Tmp == 0) { in FvReadFile()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellNetwork1CommandsLib/
DIfconfig.c869 ARG_LIST *Tmp; in IfConfigSetInterfaceInfo() local
1146 Tmp = VarArg; in IfConfigSetInterfaceInfo()
1148 while (Tmp != NULL) { in IfConfigSetInterfaceInfo()
1150 Tmp = Tmp->Next; in IfConfigSetInterfaceInfo()
1155 Tmp = VarArg; in IfConfigSetInterfaceInfo()
1157 while (Tmp != NULL) { in IfConfigSetInterfaceInfo()
1158 Status = NetLibStrToIp4 (Tmp->Arg, Dns + Index); in IfConfigSetInterfaceInfo()
1160 …iEx(-1, -1, NULL,STRING_TOKEN (STR_IFCONFIG_INVALID_IPADDRESS), gShellNetwork1HiiHandle, Tmp->Arg); in IfConfigSetInterfaceInfo()
1165 Tmp = Tmp->Next; in IfConfigSetInterfaceInfo()
1168 VarArg = Tmp; in IfConfigSetInterfaceInfo()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Ip4Dxe/
DIp4Config2Impl.c716 VOID *Tmp; in Ip4Config2SetDnsServerWorker() local
731 Tmp = AllocatePool (DataSize); in Ip4Config2SetDnsServerWorker()
732 if (Tmp == NULL) { in Ip4Config2SetDnsServerWorker()
736 Tmp = NULL; in Ip4Config2SetDnsServerWorker()
746 FreePool (Tmp); in Ip4Config2SetDnsServerWorker()
752 FreePool (Tmp); in Ip4Config2SetDnsServerWorker()
786 if (Tmp != NULL) { in Ip4Config2SetDnsServerWorker()
790 Item->Data.Ptr = Tmp; in Ip4Config2SetDnsServerWorker()
1338 VOID *Tmp; in Ip4Config2SetGateway() local
1374 Tmp = AllocatePool (DataSize); in Ip4Config2SetGateway()
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/
DIp6ConfigImpl.c1208 VOID *Tmp; in Ip6ConfigSetGateway() local
1242 Tmp = AllocatePool (DataSize); in Ip6ConfigSetGateway()
1243 if (Tmp == NULL) { in Ip6ConfigSetGateway()
1247 Tmp = NULL; in Ip6ConfigSetGateway()
1286 if (Tmp != NULL) { in Ip6ConfigSetGateway()
1290 Item->Data.Ptr = Tmp; in Ip6ConfigSetGateway()
1338 VOID *Tmp; in Ip6ConfigSetDnsServer() local
1356 Tmp = AllocatePool (DataSize); in Ip6ConfigSetDnsServer()
1357 if (Tmp == NULL) { in Ip6ConfigSetDnsServer()
1361 Tmp = NULL; in Ip6ConfigSetDnsServer()
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/HttpDxe/
DHttpImpl.c833 CHAR8 *Tmp; in HttpResponseWorker() local
938 Tmp = AsciiStrStr (HttpHeaders, HTTP_CRLF_STR); in HttpResponseWorker()
939 if (Tmp == NULL) { in HttpResponseWorker()
943 Tmp = Tmp + AsciiStrLen (HTTP_CRLF_STR); in HttpResponseWorker()
944 SizeofHeaders = SizeofHeaders - (Tmp - HttpHeaders); in HttpResponseWorker()
950 CopyMem (HeaderTmp, Tmp, SizeofHeaders); in HttpResponseWorker()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/
DVariable.c1149 UINT16 Tmp; in Var_UpdateBBSOption() local
1245 Tmp = (UINT16) (DevOrder->Data[Index2] & 0xFF); in Var_UpdateBBSOption()
1246 Pos = Tmp / 8; in Var_UpdateBBSOption()
1247 Bit = 7 - (Tmp % 8); in Var_UpdateBBSOption()
1249 NewOrder[Index] = (UINT16) (0xFF00 | Tmp); in Var_UpdateBBSOption()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/
DLegacyBootMaintUi.c252 UINT16 Tmp; in UpdateBBSOption() local
361 Tmp = (UINT16) (DevOrder->Data[Index2] & 0xFF); in UpdateBBSOption()
362 Pos = Tmp / 8; in UpdateBBSOption()
363 Bit = 7 - (Tmp % 8); in UpdateBBSOption()
365 NewOrder[Index] = (UINT16) (0xFF00 | Tmp); in UpdateBBSOption()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DEdkIIWorkspaceBuild.py481 Tmp = set()
484 Tmp.add(Item)
485 self.SupArchList = list(Tmp)
486 Tmp = set()
489 Tmp.add(Item)
490 self.BuildTarget = list(Tmp)
/device/linaro/bootloader/edk2/NetworkPkg/UefiPxeBcDxe/
DPxeBcBoot.c34 UINT8 Tmp; in PxeBcDisplayBootItem() local
40 Tmp = Str[Len]; in PxeBcDisplayBootItem()
47 Str[Len] = Tmp; in PxeBcDisplayBootItem()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/
DBufferImage.c756 UINTN Tmp; in HBufferImageRefresh() local
819 Tmp = StartRow; in HBufferImageRefresh()
821 EndRow = Tmp; in HBufferImageRefresh()

12