Lines Matching refs:numItems
280 static SRes RememberBitVector(CSzData *sd, UInt32 numItems, const Byte **v) in RememberBitVector() argument
282 UInt32 numBytes = (numItems + 7) >> 3; in RememberBitVector()
290 static UInt32 CountDefinedBits(const Byte *bits, UInt32 numItems) in CountDefinedBits() argument
295 for (; numItems != 0; numItems--) in CountDefinedBits()
308 static MY_NO_INLINE SRes ReadBitVector(CSzData *sd, UInt32 numItems, Byte **v, ISzAllocPtr alloc) in ReadBitVector() argument
312 UInt32 numBytes = (numItems + 7) >> 3; in ReadBitVector()
329 unsigned numBits = (unsigned)numItems & 7; in ReadBitVector()
336 static MY_NO_INLINE SRes ReadUi32s(CSzData *sd2, UInt32 numItems, CSzBitUi32s *crcs, ISzAllocPtr al… in ReadUi32s() argument
342 MY_ALLOC_ZE(UInt32, crcs->Vals, numItems, alloc); in ReadUi32s()
346 for (i = 0; i < numItems; i++) in ReadUi32s()
357 static SRes ReadBitUi32s(CSzData *sd, UInt32 numItems, CSzBitUi32s *crcs, ISzAllocPtr alloc) in ReadBitUi32s() argument
360 RINOK(ReadBitVector(sd, numItems, &crcs->Defs, alloc)); in ReadBitUi32s()
361 return ReadUi32s(sd, numItems, crcs, alloc); in ReadBitUi32s()
364 static SRes SkipBitUi32s(CSzData *sd, UInt32 numItems) in SkipBitUi32s() argument
367 UInt32 numDefined = numItems; in SkipBitUi32s()
371 size_t numBytes = (numItems + 7) >> 3; in SkipBitUi32s()
374 numDefined = CountDefinedBits(sd->Data, numItems); in SkipBitUi32s()