Lines Matching refs:if
37 if (pos < (1 << 11))
39 if (pos < (1 << 21))
46 if (pos < (1 << 17))
48 if (pos < (1 << 27))
97 if (same)
113 if (matchMode)
121 if (matchBit != bit)
145 if (m_Coders != null && m_NumPrevBits == numPrevBits && m_NumPosBits == numPosBits)
198 if (symbol < Base.kNumLowLenSymbols)
207 if (symbol < Base.kNumMidLenSymbols)
229 if (i >= numSymbols)
235 if (i >= numSymbols)
274 if (--_counters[posState] == 0)
364 if (_matchFinder == null)
368 if (_matchFinderType == EMatchFinderType.BT2)
375 if (_dictionarySize == _dictionarySizePrev && _numFastBytesPrev == _numFastBytes)
435 if (numDistancePairs > 0)
438 if (lenRes == _numFastBytes)
448 if (num > 0)
464 if (repIndex == 0)
472 if (repIndex == 1)
493 if (pos < Base.kNumFullDistances)
508 if (_optimum[cur].Prev1IsChar)
512 if (_optimum[cur].Prev2)
541 if (_optimumEndIndex != _optimumCurrentIndex)
551 if (!_longestMatchWasFound)
563 if (numAvailableBytes < 2)
568 if (numAvailableBytes > Base.kMatchMaxLen)
577 if (repLens[i] > repLens[repMaxIndex])
580 if (repLens[repMaxIndex] >= _numFastBytes)
588 if (lenMain >= _numFastBytes)
598 if (lenMain < 2 && currentByte != matchByte && repLens[repMaxIndex] < 2)
615 if (matchByte == currentByte)
618 if (shortRepPrice < _optimum[1].Price)
627 if(lenEnd < 2)
648 if (repLen < 2)
655 if (curAndLenPrice < optimum.Price)
669 if (len <= lenMain)
679 if (curAndLenPrice < optimum.Price)
686 if (len == _matchDistances[offs])
689 if (offs == numDistancePairs)
700 if (cur == lenEnd)
704 if (newLen >= _numFastBytes)
714 if (_optimum[cur].Prev1IsChar)
717 if (_optimum[cur].Prev2)
720 if (_optimum[cur].BackPrev2 < Base.kNumRepDistances)
731 if (posPrev == cur - 1)
733 if (_optimum[cur].IsShortRep())
741 if (_optimum[cur].Prev1IsChar && _optimum[cur].Prev2)
750 if (pos < Base.kNumRepDistances)
756 if (pos < Base.kNumRepDistances)
758 if (pos == 0)
765 else if (pos == 1)
772 else if (pos == 2)
815 if (curAnd1Price < nextOptimum.Price)
826 if (matchByte == currentByte &&
830 if (shortRepPrice <= nextOptimum.Price)
843 if (numAvailableBytes < 2)
845 if (numAvailableBytes > _numFastBytes)
847 if (!nextIsChar && matchByte != currentByte)
852 if (lenTest2 >= 2)
867 if (curAndLenPrice < optimum.Price)
884 if (lenTest < 2)
893 if (curAndLenPrice < optimum.Price)
904 if (repIndex == 0)
907 // if (_maxMode)
908 if (lenTest < numAvailableBytesFull)
912 if (lenTest2 >= 2)
936 if (curAndLenPrice < optimum.Price)
951 if (newLen > numAvailableBytes)
958 if (newLen >= startLen)
973 if (curAndLenPrice < optimum.Price)
981 if (lenTest == _matchDistances[offs])
983 if (lenTest < numAvailableBytesFull)
987 if (lenTest2 >= 2)
1009 if (curAndLenPrice < optimum.Price)
1022 if (offs == numDistancePairs)
1038 if (!_writeEndMark)
1069 if (_inStream != null)
1075 if (_trainSize > 0)
1079 if (_finished)
1085 if (nowPos64 == 0)
1087 if (_matchFinder.GetNumAvailableBytes() == 0)
1103 if (_matchFinder.GetNumAvailableBytes() == 0)
1115 if (len == 1 && pos == 0xFFFFFFFF)
1120 if (!_state.IsCharState())
1133 if (pos < Base.kNumRepDistances)
1136 if (pos == 0)
1139 if (len == 1)
1147 if (pos == 1)
1155 if (len == 1)
1163 if (pos != 0)
1180 if (posSlot >= Base.kStartPosModelIndex)
1186 if (posSlot < Base.kEndPosModelIndex)
1206 if (_additionalOffset == 0)
1208 // if (!_fastMode)
1209 if (_matchPriceCount >= (1 << 7))
1211 if (_alignPriceCount >= Base.kAlignTableSize)
1215 if (_matchFinder.GetNumAvailableBytes() == 0)
1221 if (nowPos64 - progressPosValuePrev >= (1 << 12))
1233 if (_matchFinder != null && _needReleaseMFStream)
1258 // if (!_fastMode)
1286 if (finished)
1288 if (progress != null)
1363 if (s == kMatchFinderIDs[m])
1377 if (!(prop is Int32))
1380 if (numFastBytes < 5 || numFastBytes > Base.kMatchMaxLen)
1388 if (!(prop is Int32))
1398 if (!(prop is String))
1402 if (m < 0)
1405 if (_matchFinder != null && matchFinderIndexPrev != _matchFinderType)
1415 if (!(prop is Int32))
1418 if (dictionarySize < (UInt32)(1 << Base.kDicLogSizeMin) ||
1424 if (dictionarySize <= ((UInt32)(1) << dicLogSize))
1431 if (!(prop is Int32))
1434 if (v < 0 || v > (UInt32)Base.kNumPosStatesBitsEncodingMax)
1442 if (!(prop is Int32))
1445 if (v < 0 || v > (UInt32)Base.kNumLitPosStatesBitsEncodingMax)
1452 if (!(prop is Int32))
1455 if (v < 0 || v > (UInt32)Base.kNumLitContextBitsMax)
1462 if (!(prop is Boolean))