Lines Matching refs:UInt32
32 #define U2B(nu) ((UInt32)(nu) * UNIT_SIZE)
39 #define REF(ptr) ((UInt32)((Byte *)(ptr) - (p)->Base))
60 UInt32
83 UInt32 *scale);
125 static Bool Ppmd7_Alloc(CPpmd7 *p, UInt32 size) in Ppmd7_Alloc()
217 UInt32 nu = (UInt32)node->NU; in GlueFreeBlocks()
264 UInt32 numBytes = U2B(I2U(indx)); in AllocUnitsRare()
266 return ((UInt32)(p->UnitsStart - p->Text) > numBytes) ? (p->UnitsStart -= numBytes) : (NULL); in AllocUnitsRare()
277 UInt32 numBytes; in AllocUnits()
281 if (numBytes <= (UInt32)(p->HiUnit - p->LoUnit)) in AllocUnits()
291 UInt32 *d = (UInt32 *)dest; \
292 const UInt32 *s = (const UInt32 *)src; \
293 UInt32 n = num; \
316 #define SUCCESSOR(p) ((CPpmd_Void_Ref)((p)->SuccessorLow | ((UInt32)(p)->SuccessorHigh << 16)))
320 (p)->SuccessorLow = (UInt16)((UInt32)(v) & 0xFFFF); in SetSuccessor()
321 (p)->SuccessorHigh = (UInt16)(((UInt32)(v) >> 16) & 0xFFFF); in SetSuccessor()
420 UInt32 cf, s0; in CreateSuccessors()
544 UInt32 cf, sf; in UpdateModel()
585 cf = 2 * (UInt32)p->FoundState->Freq * (c->SummFreq + 6); in UpdateModel()
586 sf = (UInt32)s0 + c->SummFreq; in UpdateModel()
672 static CPpmd_See *Ppmd7_MakeEscFreq(CPpmd7 *p, unsigned numMasked, UInt32 *escFreq) in Ppmd7_MakeEscFreq()
775 static UInt32 Range_GetThreshold(void *pp, UInt32 total) in Range_GetThreshold()
798 static void Range_Decode_7z(void *pp, UInt32 start, UInt32 size) in Range_Decode_7z()
806 static void Range_Decode_RAR(void *pp, UInt32 start, UInt32 size) in Range_Decode_RAR()
814 static UInt32 Range_DecodeBit_7z(void *pp, UInt32 size0) in Range_DecodeBit_7z()
817 UInt32 newBound = (p->Range >> 14) * size0; in Range_DecodeBit_7z()
818 UInt32 symbol; in Range_DecodeBit_7z()
834 static UInt32 Range_DecodeBit_RAR(void *pp, UInt32 size0) in Range_DecodeBit_RAR()
837 UInt32 bit, value = p->p.GetThreshold(p, PPMD_BIN_SCALE); in Range_DecodeBit_RAR()
874 UInt32 count, hiCnt; in Ppmd7_DecodeSymbol()
928 UInt32 freqSum, count, hiCnt; in Ppmd7_DecodeSymbol()
991 if ((UInt32)p->Low < (UInt32)0xFF000000 || (unsigned)(p->Low >> 32) != 0) in RangeEnc_ShiftLow()
1000 p->Cache = (Byte)((UInt32)p->Low >> 24); in RangeEnc_ShiftLow()
1003 p->Low = ((UInt32)p->Low << 8) & 0xFFFFFFFF; in RangeEnc_ShiftLow()
1006 static void RangeEnc_Encode(CPpmd7z_RangeEnc *p, UInt32 start, UInt32 size, UInt32 total) in RangeEnc_Encode()
1017 static void RangeEnc_EncodeBit_0(CPpmd7z_RangeEnc *p, UInt32 size0) in RangeEnc_EncodeBit_0()
1027 static void RangeEnc_EncodeBit_1(CPpmd7z_RangeEnc *p, UInt32 size0) in RangeEnc_EncodeBit_1()
1029 UInt32 newBound = (p->Range >> 14) * size0; in RangeEnc_EncodeBit_1()
1055 UInt32 sum; in Ppmd7_EncodeSymbol()
1111 UInt32 escFreq; in Ppmd7_EncodeSymbol()
1114 UInt32 sum; in Ppmd7_EncodeSymbol()
1134 UInt32 low = sum; in Ppmd7_EncodeSymbol()