Lines Matching refs:props
77 CLzmaEncProps props = *props2;
78 LzmaEncProps_Normalize(&props);
79 return props.dictSize;
414 CLzmaEncProps props = *props2;
415 LzmaEncProps_Normalize(&props);
417 if (props.lc > LZMA_LC_MAX || props.lp > LZMA_LP_MAX || props.pb > LZMA_PB_MAX ||
418 props.dictSize > (1 << kDicLogSizeMaxCompress) || props.dictSize > (1 << 30))
420 p->dictSize = props.dictSize;
421 p->matchFinderCycles = props.mc;
423 unsigned fb = props.fb;
430 p->lc = props.lc;
431 p->lp = props.lp;
432 p->pb = props.pb;
433 p->fastMode = (props.algo == 0);
434 p->matchFinderBase.btMode = props.btMode;
437 if (props.btMode)
439 if (props.numHashBytes < 2)
441 else if (props.numHashBytes < 4)
442 numHashBytes = props.numHashBytes;
447 p->matchFinderBase.cutValue = props.mc;
449 p->writeEndMark = props.writeEndMark;
459 p->multiThread = (props.numThreads > 1);
1706 CLzmaEncProps props;
1707 LzmaEncProps_Init(&props);
1708 LzmaEnc_SetProps(p, &props);
2206 SRes LzmaEnc_WriteProperties(CLzmaEncHandle pp, Byte *props, SizeT *size)
2214 props[0] = (Byte)((p->pb * 5 + p->lp) * 9 + p->lc);
2231 props[1 + i] = (Byte)(dictSize >> (8 * i));
2261 const CLzmaEncProps *props, Byte *propsEncoded, SizeT *propsSize, int writeEndMark,
2269 res = LzmaEnc_SetProps(p, props);