Searched refs:lims (Results 1 – 7 of 7) sorted by relevance
16 struct rlimit lims; in test_limit() local19 if (getrlimit(RLIMIT_MEMLOCK, &lims)) { in test_limit()29 map = mmap(NULL, 2 * lims.rlim_max, PROT_READ | PROT_WRITE, in test_limit()35 munmap(map, 2 * lims.rlim_max); in test_limit()
43 if (p->bufs[BCJ2_STREAM_RC] == p->lims[BCJ2_STREAM_RC]) in Bcj2Dec_Decode()113 if (p->bufs[BCJ2_STREAM_RC] == p->lims[BCJ2_STREAM_RC]) in Bcj2Dec_Decode()126 SizeT num = p->lims[BCJ2_STREAM_MAIN] - src; in Bcj2Dec_Decode()181 p->lims[BCJ2_STREAM_MAIN] ? in Bcj2Dec_Decode()219 if (cur == p->lims[cj]) in Bcj2Dec_Decode()250 if (p->range < kTopValue && p->bufs[BCJ2_STREAM_RC] != p->lims[BCJ2_STREAM_RC]) in Bcj2Dec_Decode()
62 if (buf == p->lims[BCJ2_STREAM_RC]) in RangeEnc_ShiftLow()85 if (cur == p->lims[p->state]) in Bcj2Enc_Encode_2()119 if (num > (SizeT)(p->lims[BCJ2_STREAM_MAIN] - dest)) in Bcj2Enc_Encode_2()121 num = p->lims[BCJ2_STREAM_MAIN] - dest; in Bcj2Enc_Encode_2()217 if (cur == p->lims[cj]) in Bcj2Enc_Encode_2()
65 const Byte *lims[BCJ2_NUM_STREAMS]; member97 const Byte *lims[BCJ2_NUM_STREAMS]; member
478 p.bufs[0] = tempBuf3; p.lims[0] = tempBuf3 + tempSize3; in SzFolder_Decode2()479 p.bufs[1] = tempBuf[0]; p.lims[1] = tempBuf[0] + tempSizes[0]; in SzFolder_Decode2()480 p.bufs[2] = tempBuf[1]; p.lims[2] = tempBuf[1] + tempSizes[1]; in SzFolder_Decode2()481 p.bufs[3] = tempBuf[2]; p.lims[3] = tempBuf[2] + tempSizes[2]; in SzFolder_Decode2()492 if (p.bufs[i] != p.lims[i]) in SzFolder_Decode2()
145 enc.lims[i] = _bufs[i] + _bufsCurSizes[i]; in CodeReal()251 enc.lims[enc.state] = _bufs[enc.state] + _bufsCurSizes[enc.state]; in CodeReal()340 dec.lims[i] = dec.bufs[i] = _bufs[i]; in InitCommon()385 dec.lims[dec.state] = in Code()439 dec.lims[dec.state] = _bufs[dec.state] + totalRead; in Code()469 …const UInt64 inSize2 = outSize2 + _inStreamsProcessed[BCJ2_STREAM_RC] - (dec.lims[BCJ2_STREAM_RC] … in Code()501 size_t rem = dec.lims[i] - dec.bufs[i] + _extraReadSizes[i]; in Code()594 dec.lims[dec.state] = in Read()635 dec.lims[dec.state] = _bufs[dec.state] + totalRead; in Read()661 const size_t rem = dec.lims[streamIndex] - dec.bufs[streamIndex] + _extraReadSizes[streamIndex]; in GetInStreamProcessedSize2()
115751 lims %7773