Home
last modified time | relevance | path

Searched refs:Tmp (Results 1 – 25 of 36) 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
113 for (Tmp = MyAllocData; Tmp != NULL; Tmp = Tmp->Next) { in MyCheck()
114 if (memcmp(Tmp->Buffer, &MyAllocHeadMagik, sizeof MyAllocHeadMagik) || in MyCheck()
115 … memcmp(&Tmp->Buffer[Tmp->Size + sizeof(UINT32)], &MyAllocTailMagik, sizeof MyAllocTailMagik)) { in MyCheck()
122 if (Tmp != NULL) { in MyCheck()
129 Tmp->File, in MyCheck()
130 (unsigned) Tmp->Line, in MyCheck()
131 (unsigned) Tmp->Size, in MyCheck()
132 (unsigned) *(UINT32 *) (Tmp->Buffer), in MyCheck()
133 (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/OpenPlatformPkg/Library/UsbSerialNumberLib/
DUsbSerialNumberLib.c44 INT64 Quotient, Remainder, Tmp; in GenerateRandomData() local
51 Tmp = (16807 * Remainder) - (2836 * Quotient); in GenerateRandomData()
52 if (Tmp < 0) { in GenerateRandomData()
53 Tmp += RANDOM_MAX; in GenerateRandomData()
55 Tmp = Tmp % ((UINT64)RANDOM_MAX + 1); in GenerateRandomData()
56 *RandomData = (UINT64)Tmp; in GenerateRandomData()
67 UINT64 Tmp; in GenerateUsbSNBySeed() local
73 Status = GenerateRandomData (Seed, &Tmp); in GenerateUsbSNBySeed()
77 RandomSN->Data = (Tmp << 32) | Seed; in GenerateUsbSNBySeed()
89 UINT64 Tmp; in GenerateUsbSN() local
[all …]
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Marvell/Library/ParsePcdLib/
DParsePcdLib.c172 UINTN i, Tmp = 0; in ParsePcdString() local
187 Tmp = StrToUintn ((Walker + 1)); in ParsePcdString()
188 if ((UINTN)(-1) == Tmp) { in ParsePcdString()
193 ValueTable[Count - (i + 1)] = Tmp; in ParsePcdString()
202 Tmp = StrToUintn ((Walker)); in ParsePcdString()
203 if (Tmp == (UINTN)(-1)) { in ParsePcdString()
217 ValueTable[Count - (i + 1)] = Tmp; in ParsePcdString()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/D03/Library/OemMiscLib2P/
DOemMiscLib2PHi1610.c112 UINT32 Tmp; in OemIsMpBoot() local
114 Tmp = MmioRead32(0x602E0050); in OemIsMpBoot()
115 if ( ((Tmp >> 10) & 0xF) == 0x3) in OemIsMpBoot()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/SnpDxe/
DGet_status.c45 UINT64 *Tmp; in PxeGetStatus() local
47 Tmp = NULL; in PxeGetStatus()
134Tmp = AllocatePool (sizeof (UINT64) * (Snp->MaxRecycledTxBuf + SNP_TX_BUFFER_INCREASEMENT)); in PxeGetStatus()
135 if (Tmp == NULL) { in PxeGetStatus()
138 CopyMem (Tmp, Snp->RecycledTxBuf, sizeof (UINT64) * Snp->RecycledTxBufCount); in PxeGetStatus()
140 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/SecurityPkg/Tcg/Opal/OpalPasswordDxe/
DOpalHiiCallbacks.c170 OPAL_DRIVER_DEVICE *Tmp; in HiiGetOpalDiskCB() local
178 Tmp = (OPAL_DRIVER_DEVICE*) Ctx; in HiiGetOpalDiskCB()
180 return &Tmp->OpalDisk; in HiiGetOpalDiskCB()
/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/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/
DFwVolRead.c243 UINT32 Tmp; in FvGetNextFile() local
252 Tmp = *(UINT32 *) SrcPtr; in FvGetNextFile()
253 if (Tmp == 0) { in FvGetNextFile()
431 UINT32 Tmp; in FvReadFile() local
434 Tmp = *(UINT32 *) SrcPtr; in FvReadFile()
435 if (Tmp == 0) { in FvReadFile()
/device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/NorFlashDxe/
DNorFlashDxe.c913 UINT32 Tmp; in NorFlashWriteSingleBlock() local
973 TempStatus = NorFlashRead (Instance, Lba, CurOffset & ~(0x3), sizeof(Tmp), &Tmp); in NorFlashWriteSingleBlock()
988 if (~Tmp != 0) { in NorFlashWriteSingleBlock()
990 if ((Tmp ^ TmpBuf) & TmpBuf) { in NorFlashWriteSingleBlock()
1005 if ((Tmp & Mask) != Mask) { in NorFlashWriteSingleBlock()
1007 if ((Tmp ^ TmpBuf) & TmpBuf) { in NorFlashWriteSingleBlock()
1013 WordToWrite = (Tmp & ~Mask) | TmpBuf; in NorFlashWriteSingleBlock()
1024 if ((Tmp & Mask) != Mask) { in NorFlashWriteSingleBlock()
1026 if ((Tmp ^ TmpBuf) & TmpBuf) { in NorFlashWriteSingleBlock()
1032 WordToWrite = (Tmp & ~Mask) | TmpBuf; in NorFlashWriteSingleBlock()
[all …]
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellNetwork1CommandsLib/
DIfconfig.c841 ARG_LIST *Tmp; in IfConfigSetInterfaceInfo() local
1109 Tmp = VarArg; in IfConfigSetInterfaceInfo()
1111 while (Tmp != NULL) { in IfConfigSetInterfaceInfo()
1113 Tmp = Tmp->Next; in IfConfigSetInterfaceInfo()
1122 Tmp = VarArg; in IfConfigSetInterfaceInfo()
1124 while (Tmp != NULL) { in IfConfigSetInterfaceInfo()
1125 Status = NetLibStrToIp4 (Tmp->Arg, Dns + Index); in IfConfigSetInterfaceInfo()
1127 …iEx(-1, -1, NULL,STRING_TOKEN (STR_IFCONFIG_INVALID_IPADDRESS), gShellNetwork1HiiHandle, Tmp->Arg); in IfConfigSetInterfaceInfo()
1132 Tmp = Tmp->Next; in IfConfigSetInterfaceInfo()
1135 VarArg = Tmp; in IfConfigSetInterfaceInfo()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Ip4Dxe/
DIp4Config2Impl.c715 VOID *Tmp; in Ip4Config2SetDnsServerWorker() local
730 Tmp = AllocatePool (DataSize); in Ip4Config2SetDnsServerWorker()
731 if (Tmp == NULL) { in Ip4Config2SetDnsServerWorker()
735 Tmp = NULL; in Ip4Config2SetDnsServerWorker()
744 if (Tmp != NULL) { in Ip4Config2SetDnsServerWorker()
745 FreePool (Tmp); in Ip4Config2SetDnsServerWorker()
752 if (Tmp != NULL) { in Ip4Config2SetDnsServerWorker()
753 FreePool (Tmp); in Ip4Config2SetDnsServerWorker()
788 if (Tmp != NULL) { in Ip4Config2SetDnsServerWorker()
792 Item->Data.Ptr = Tmp; in Ip4Config2SetDnsServerWorker()
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/
DIp6ConfigImpl.c1207 VOID *Tmp; in Ip6ConfigSetGateway() local
1241 Tmp = AllocatePool (DataSize); in Ip6ConfigSetGateway()
1242 if (Tmp == NULL) { in Ip6ConfigSetGateway()
1246 Tmp = NULL; in Ip6ConfigSetGateway()
1285 if (Tmp != NULL) { in Ip6ConfigSetGateway()
1289 Item->Data.Ptr = Tmp; in Ip6ConfigSetGateway()
1337 VOID *Tmp; in Ip6ConfigSetDnsServer() local
1355 Tmp = AllocatePool (DataSize); in Ip6ConfigSetDnsServer()
1356 if (Tmp == NULL) { in Ip6ConfigSetDnsServer()
1360 Tmp = NULL; in Ip6ConfigSetDnsServer()
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/HttpDxe/
DHttpImpl.c942 CHAR8 *Tmp; in HttpResponseWorker() local
1072 Tmp = AsciiStrStr (HttpHeaders, HTTP_CRLF_STR); in HttpResponseWorker()
1073 if (Tmp == NULL) { in HttpResponseWorker()
1084 Tmp = Tmp + AsciiStrLen (HTTP_CRLF_STR); in HttpResponseWorker()
1085 if (CompareMem (Tmp, HTTP_CRLF_STR, AsciiStrLen (HTTP_CRLF_STR)) == 0) { in HttpResponseWorker()
1088 SizeofHeaders = SizeofHeaders - (Tmp - HttpHeaders); in HttpResponseWorker()
1125 CopyMem (HeaderTmp, Tmp, SizeofHeaders); in HttpResponseWorker()
/device/linaro/bootloader/edk2/Nt32Pkg/SnpNt32Dxe/
DSnpNt32.c935 UINT64 *Tmp; in SnpNt32Transmit() local
972Tmp = AllocatePool (sizeof (UINT64) * (GlobalData->MaxRecycledTxBuf + SNP_TX_BUFFER_INCREASEMENT)); in SnpNt32Transmit()
973 if (Tmp == NULL) { in SnpNt32Transmit()
976 CopyMem (Tmp, GlobalData->RecycledTxBuf, sizeof (UINT64) * GlobalData->RecycledTxBufCount); in SnpNt32Transmit()
978 GlobalData->RecycledTxBuf = Tmp; in SnpNt32Transmit()
/device/linaro/bootloader/edk2/ArmVirtPkg/Library/FdtPciHostBridgeLib/
DFdtPciHostBridgeLib.c144 INT32 Tmp; in ProcessPciHost()
151 "pci-host-ecam-generic", Node, &Tmp); in ProcessPciHost()

12