Home
last modified time | relevance | path

Searched refs:g_FastPos (Results 1 – 3 of 3) sorted by relevance

/external/lzma/Java/SevenZip/Compression/LZMA/
DEncoder.java19 static byte[] g_FastPos = new byte[1 << 11]; field in Encoder
25 g_FastPos[0] = 0;
26 g_FastPos[1] = 1;
31 g_FastPos[c] = (byte)slotFast;
38 return g_FastPos[pos]; in GetPosSlot()
40 return (g_FastPos[pos >> 10] + 20); in GetPosSlot()
41 return (g_FastPos[pos >> 20] + 40); in GetPosSlot()
47 return (g_FastPos[pos >> 6] + 12); in GetPosSlot2()
49 return (g_FastPos[pos >> 16] + 32); in GetPosSlot2()
50 return (g_FastPos[pos >> 26] + 52); in GetPosSlot2()
/external/lzma/CS/7zip/Compress/LZMA/
DLzmaEncoder.cs19 static Byte[] g_FastPos = new Byte[1 << 11]; field in SevenZip.Compression.LZMA.Encoder
25 g_FastPos[0] = 0; in Encoder()
26 g_FastPos[1] = 1; in Encoder()
31 g_FastPos[c] = slotFast; in Encoder()
38 return g_FastPos[pos]; in GetPosSlot()
40 return (UInt32)(g_FastPos[pos >> 10] + 20); in GetPosSlot()
41 return (UInt32)(g_FastPos[pos >> 20] + 40); in GetPosSlot()
47 return (UInt32)(g_FastPos[pos >> 6] + 12); in GetPosSlot2()
49 return (UInt32)(g_FastPos[pos >> 16] + 32); in GetPosSlot2()
50 return (UInt32)(g_FastPos[pos >> 26] + 52); in GetPosSlot2()
/external/lzma/C/
DLzmaEnc.c123 static void LzmaEnc_FastPosInit(Byte *g_FastPos) in LzmaEnc_FastPosInit() argument
126 g_FastPos[0] = 0; in LzmaEnc_FastPosInit()
127 g_FastPos[1] = 1; in LzmaEnc_FastPosInit()
128 g_FastPos += 2; in LzmaEnc_FastPosInit()
135 g_FastPos[j] = (Byte)slot; in LzmaEnc_FastPosInit()
136 g_FastPos += k; in LzmaEnc_FastPosInit()
154 res = p->g_FastPos[pos >> zz] + (zz * 2); }
162 #define GetPosSlot1(pos) p->g_FastPos[pos]
164 #define GetPosSlot(pos, res) { if (pos < kNumFullDistances) res = p->g_FastPos[pos & (kNumFullDista…
378 Byte g_FastPos[1 << kNumLogBits]; member
[all …]