Home
last modified time | relevance | path

Searched refs:mHeap (Results 1 – 6 of 6) sorted by relevance

/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/
DCompress.c89 STATIC INT16 mHeap[NC + 1]; variable
647 LoopVar2 = mHeap[i]; in DownHeap()
650 if (LoopVar1 < mHeapSize && mFreq[mHeap[LoopVar1]] > mFreq[mHeap[LoopVar1 + 1]]) { in DownHeap()
654 if (mFreq[LoopVar2] <= mFreq[mHeap[LoopVar1]]) { in DownHeap()
658 mHeap[i] = mHeap[LoopVar1]; in DownHeap()
663 mHeap[i] = (INT16) LoopVar2; in DownHeap()
800 mHeap[1] = 0; in MakeTree()
805 mHeap[mHeapSize] = (INT16) LoopVar1; in MakeTree()
810 CodeParm[mHeap[1]] = 0; in MakeTree()
811 return mHeap[1]; in MakeTree()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/
DEfiCompress.c253 STATIC INT16 mHeap[NC + 1]; variable
1466 k = mHeap[i]; in DownHeap()
1468 if (j < mHeapSize && mFreq[mHeap[j]] > mFreq[mHeap[j + 1]]) { in DownHeap()
1471 if (mFreq[k] <= mFreq[mHeap[j]]) { in DownHeap()
1474 mHeap[i] = mHeap[j]; in DownHeap()
1477 mHeap[i] = (INT16)k; in DownHeap()
1553 mHeap[1] = 0; in MakeTree()
1557 mHeap[++mHeapSize] = (INT16)i; in MakeTree()
1561 CodeParm[mHeap[1]] = 0; in MakeTree()
1562 return mHeap[1]; in MakeTree()
[all …]
DTianoCompress.c271 STATIC INT16 mHeap[NC + 1]; variable
1619 Index3 = mHeap[Index]; in DownHeap()
1622 if (Index2 < mHeapSize && mFreq[mHeap[Index2]] > mFreq[mHeap[Index2 + 1]]) { in DownHeap()
1626 if (mFreq[Index3] <= mFreq[mHeap[Index2]]) { in DownHeap()
1630 mHeap[Index] = mHeap[Index2]; in DownHeap()
1635 mHeap[Index] = (INT16) Index3; in DownHeap()
1714 mHeap[1] = 0; in MakeTree()
1719 mHeap[mHeapSize] = (INT16) Index; in MakeTree()
1724 CodeParm[mHeap[1]] = 0; in MakeTree()
1725 return mHeap[1]; in MakeTree()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DEfiCompress.c243 STATIC INT16 mHeap[NC + 1]; variable
1463 k = mHeap[i]; in DownHeap()
1465 if (j < mHeapSize && mFreq[mHeap[j]] > mFreq[mHeap[j + 1]]) { in DownHeap()
1468 if (mFreq[k] <= mFreq[mHeap[j]]) { in DownHeap()
1471 mHeap[i] = mHeap[j]; in DownHeap()
1474 mHeap[i] = (INT16)k; in DownHeap()
1550 mHeap[1] = 0; in MakeTree()
1554 mHeap[++mHeapSize] = (INT16)i; in MakeTree()
1558 CodeParm[mHeap[1]] = 0; in MakeTree()
1559 return mHeap[1]; in MakeTree()
[all …]
DTianoCompress.c252 STATIC INT16 mHeap[NC + 1]; variable
1606 Index3 = mHeap[Index]; in DownHeap()
1609 if (Index2 < mHeapSize && mFreq[mHeap[Index2]] > mFreq[mHeap[Index2 + 1]]) { in DownHeap()
1613 if (mFreq[Index3] <= mFreq[mHeap[Index2]]) { in DownHeap()
1617 mHeap[Index] = mHeap[Index2]; in DownHeap()
1622 mHeap[Index] = (INT16) Index3; in DownHeap()
1701 mHeap[1] = 0; in MakeTree()
1706 mHeap[mHeapSize] = (INT16) Index; in MakeTree()
1711 CodeParm[mHeap[1]] = 0; in MakeTree()
1712 return mHeap[1]; in MakeTree()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/TianoCompress/
DTianoCompress.c70 STATIC INT16 mHeap[NC + 1]; variable
1434 Index3 = mHeap[Index]; in DownHeap()
1437 if (Index2 < mHeapSize && mFreq[mHeap[Index2]] > mFreq[mHeap[Index2 + 1]]) { in DownHeap()
1441 if (mFreq[Index3] <= mFreq[mHeap[Index2]]) { in DownHeap()
1445 mHeap[Index] = mHeap[Index2]; in DownHeap()
1450 mHeap[Index] = (INT16) Index3; in DownHeap()
1529 mHeap[1] = 0; in MakeTree()
1534 mHeap[mHeapSize] = (INT16) Index; in MakeTree()
1539 CodeParm[mHeap[1]] = 0; in MakeTree()
1540 return mHeap[1]; in MakeTree()
[all …]